/**
 * Planet Mebli — оновлені стилі (структура site-* / hero / section-head)
 * Палітра: --pm-primary #5d4037, --pm-warm #8b6b61, --pm-accent #c75b39, --pm-light #efebe9, --pm-peach #ffbb93
 */

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  max-width: 100%;
}

:root {
  --pm-primary: #5d4037;
  --pm-warm: #8b6b61;
  --pm-accent: #c75b39;
  --pm-light: #efebe9;
  --pm-peach: #ffbb93;
  --pm-text: #3e2723;
  --pm-muted: #6d5c54;
  --pm-radius: 10px;
  --pm-shadow: 0 4px 20px rgba(50, 25, 17, 0.1);
  --pm-shadow-hover: 0 10px 28px rgba(50, 25, 17, 0.14);
  --pm-header-offset: 13.5rem;
}

@media (max-width: 1199.98px) {
  :root {
    --pm-header-offset: 4.25rem;
  }

  header#header.site-nav {
    min-height: 3.25rem;
    overflow: visible;
  }

  header#header.site-nav .site-nav__inner {
    overflow: visible;
    min-height: 3.25rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  /* Десктопне меню — лише в mburger/off-canvas */
  header#header.site-nav .site-nav__menu {
    display: none !important;
  }

  header#header.site-nav #navbarNav,
  .site-nav__menu #navbarNav {
    display: none !important;
  }

  header#header.site-nav .site-nav__lang {
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: auto;
    order: 1;
    overflow: visible;
  }

  header#header.site-nav .site-nav__lang .nav-item.dropdown {
    position: relative;
  }

  /* Кнопка зліва — список теж зліва (не dropdown-menu-end) */
  header#header.site-nav .site-nav__lang .dropdown-menu {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 100% !important;
    transform: none !important;
    margin-top: 0.35rem;
    min-width: 11rem;
  }

  header#header.site-nav a.mburger {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none;
    margin: 0 0 0 auto;
    flex-shrink: 0;
    order: 2;
  }
}

/* ═══════════════════════════════════════
   Хедер
   ═══════════════════════════════════════ */

/* —— Верхня службова смуга —— */
section.top-panel-navigation.site-bar {
  background: var(--pm-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: none;
}

.site-bar__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.site-bar__nav {
  flex-wrap: nowrap !important;
  padding: 0;
  margin: 0;
}

.site-bar__nav .nav-item {
  flex-shrink: 0;
}

.site-bar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  color: rgba(239, 235, 233, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  line-height: 1.35;
  border-radius: 4px;
}

.site-bar .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-bar .nav-link .icon--mdi {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

.site-bar .badge {
  font-size: 0.65rem;
  padding: 0.15em 0.4em;
  background: var(--pm-accent) !important;
}

.site-bar .btn-primary {
  padding: 0.35rem 0.7rem;
  font-size: 0.95rem;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.site-bar .nav-item__user {
  gap: 0.25rem;
}

.site-bar .nav-item__user > .nav-link {
  padding: 0.2rem 0.4rem;
  white-space: nowrap;
}

/* —— Інфо-блок (один ряд) —— */
section.top-info-panel.site-info {
  background: var(--pm-warm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1.05rem;
}

.site-info__grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  padding: 0.85rem 0;
  min-height: 0;
}

.site-info__logo {
  flex: 0 0 auto;
  align-self: center;
}

.site-info__logo img {
  display: block;
  max-width: 210px;
  max-height: 62px;
  width: auto;
  height: auto;
}

.site-info__list {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 0 1 auto;
  min-width: 0;
}

/* графік: іконка зліва, 3 рядки справа */
.site-info__list--hours {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: repeat(3, auto);
  column-gap: 0.4rem;
  row-gap: 0.02rem;
  align-items: center;
}

.site-info__list--hours .site-info__list-icon {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
}

.site-info__list--hours li:not(.site-info__list-icon) {
  grid-column: 2;
}

/* телефон: іконка + 2 рядки */
.site-info__list--phone {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 0.4rem;
  row-gap: 0.05rem;
  align-items: center;
}

.site-info__list--phone .site-info__list-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

.site-info__list--phone li:not(.site-info__list-icon) {
  grid-column: 2;
}

.site-info__list-icon {
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-info__list-icon .icon--mdi {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--pm-light);
  opacity: 0.9;
}

.site-info__list--hours li:not(.site-info__list-icon),
.site-info__list--phone li:not(.site-info__list-icon) {
  white-space: nowrap;
  color: var(--pm-light);
  line-height: 1.65;
  font-size: 0.95rem;
}

.site-info__list li span {
  font-weight: 600;
}

.site-info__phone {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff !important;
}

.site-info__callback {
  color: var(--pm-peach) !important;
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-info__callback:hover {
  color: #fff !important;
}

.site-info__list--social {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  flex-shrink: 0;
}

.site-info__list--social > li {
  flex-shrink: 0;
}

.site-info__social {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--pm-light) !important;
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-info__social .icon--mdi {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.site-info__messengers {
  display: flex;
  align-items: center;
}

.site-info__messengers .messengers-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin: 0;
}

section.top-info-panel ul::before,
section.top-info-panel ul.socials li a::before,
section.top-info-panel .site-info__list::before {
  content: none !important;
}

section.top-info-panel.site-info ul {
  margin: 0 !important;
  position: static;
}

/* —— Головне меню каталогу (вертикальне центрування через flex) —— */
header#header.site-nav {
  display: flex;
  align-items: center;
  background: var(--pm-primary) !important;
  border: 0;
  border-bottom: 3px solid var(--pm-accent);
  box-shadow: 0 2px 6px rgba(50, 25, 17, 0.12);
  margin-bottom: 0 !important;
  min-height: 3.25rem;
  box-sizing: border-box;
}

header#header.site-nav .site-nav__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
  gap: 0.5rem;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 3.25rem;
  box-sizing: border-box;
}

header#header.site-nav .site-nav__menu,
header#header.site-nav .site-nav__lang {
  display: flex;
  align-items: center;
  align-self: center;
  padding: 0 !important;
  margin: 0;
}

header#header.site-nav nav.navbar {
  display: flex !important;
  align-items: center !important;
  align-self: center;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

@media (min-width: 1200px) {
  header#header.site-nav .site-nav__lang .dropdown-menu {
    left: auto !important;
    right: 0 !important;
  }

  .site-nav__menu {
    flex: 1 1 auto;
    min-width: 0;
  }

  header#header.site-nav #navbarNav {
    display: flex !important;
    align-items: center !important;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .site-nav__menu #navbarNav {
    width: 100%;
  }

  header#header nav.navbar ul.navbar-nav {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: auto;
    max-width: none;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
}

header#header .navbar-nav .nav-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

header#header .navbar-light .navbar-nav .nav-link,
header#header .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  color: var(--pm-peach) !important;
  font-weight: 600;
  font-size: 1.05rem !important;
  line-height: 1.2 !important;
  padding: 0.45rem 0.75rem !important;
  margin: 0 0.35rem !important;
  border-radius: 4px;
  box-sizing: border-box;
}

header#header .navbar-nav .nav-link:hover,
header#header .navbar-nav .nav-link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

header#header .navbar-nav .nav-link__icon,
header#header .navbar-nav .nav-link .icon--mdi {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

header#header .dropdown-menu {
  border: 0;
  border-radius: 8px;
  box-shadow: var(--pm-shadow-hover);
  padding: 0.35rem 0;
}

header#header .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
}

header#header .dropdown-item img {
  width: 36px;
  height: 36px;
}

.site-nav__lang {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.site-nav__lang .navbar-nav {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-nav__lang .nav-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.site-nav__lang .nav-link {
  display: inline-flex;
  align-items: center;
  color: var(--pm-peach) !important;
  font-weight: 700;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  padding: 0.45rem 0.75rem !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 187, 147, 0.35);
  border-radius: 4px;
  white-space: nowrap;
  box-sizing: border-box;
}

.site-nav__lang .nav-link:hover {
  color: #fff !important;
}

/* mhead: закріплений стан — та сама вертикальна центровка */
header#header.site-nav.mh-pinned,
#header.mh-pinned {
  display: flex;
  align-items: center;
  min-height: 60px;
}

header#header.site-nav.mh-pinned .site-nav__inner {
  min-height: 60px;
  padding-top: 0;
  padding-bottom: 0;
  align-items: center;
}

/* вузький desktop XL */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  header#header .navbar-nav .nav-link {
    font-size: 1rem !important;
    margin: 0 0.35rem !important;
  }

  .site-info__social-name {
    display: none;
  }
}

/* ═══════════════════════════════════════
   Hero (головний банер) — на всю ширину екрана
   ═══════════════════════════════════════ */
.hero-banner {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--pm-warm);
  /* hero займає весь екран під хедером */
  min-height: calc(100dvh - var(--pm-header-offset));
  min-height: calc(100vh - var(--pm-header-offset));
}

.hero-banner__jumbo.jumbotron-fluid {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 12px solid var(--pm-warm);
  border-radius: 0;
  height: calc(100dvh - var(--pm-header-offset)) !important;
  height: calc(100vh - var(--pm-header-offset)) !important;
  min-height: calc(100dvh - var(--pm-header-offset));
  min-height: calc(100vh - var(--pm-header-offset));
  padding: 0;
  display: flex;
  align-items: stretch;
  background-color: var(--pm-warm);
  background-image: url(/public/images/main.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* затемнення для читабельності тексту (особливо на мобільному) */
.hero-banner__jumbo.jumbotron-fluid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(45, 28, 24, 0.88) 0%,
    rgba(62, 39, 35, 0.72) 42%,
    rgba(93, 64, 55, 0.45) 100%
  );
  pointer-events: none;
}

.hero-banner__container {
  position: relative;
  z-index: 1;
  height: 100% !important;
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: stretch;
  padding-left: clamp(1rem, 4vw, 1.5rem);
  padding-right: clamp(1rem, 4vw, 1.5rem);
}

.hero-banner .hero-banner__intro.intro {
  width: 50%;
  max-width: none;
  height: 100% !important;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  color: #ccc;
  overflow: visible;
  padding: 0;
  position: relative;
}

/* скидання старих правил .jumbotron-fluid .intro p / h2 / h3 */
.hero-banner .hero-banner__intro .hero-banner__eyebrow,
.hero-banner .hero-banner__intro .hero-banner__note {
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 1.45;
  font-size: inherit;
}

.hero-banner__eyebrow {
  display: block;
  margin: 0 0 0.5rem;
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pm-peach);
  opacity: 0.95;
}

.hero-banner .hero-banner__intro h2.hero-banner__title {
  margin: 0;
  font-size: 2.7rem !important;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-banner .hero-banner__intro h3.hero-banner__subtitle {
  margin: 1.5vh 0 0;
  font-size: 5vh !important;
  font-weight: 600;
  line-height: 1.15;
  color: var(--pm-peach);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-banner__note {
  margin: 2vh 0 0;
  max-width: 32rem;
  font-size: 2rem !important;
  line-height: 1.15;
  color: rgba(239, 235, 233, 0.92);
  padding-top: 1vh;
  border-top: 1px solid rgba(239, 235, 233, 0.45);
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: clamp(1rem, 3vw, 1.5rem);
}

.hero-banner__cta {
  background: var(--pm-accent);
  border-color: var(--pm-accent);
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  padding: 0.6rem 1.25rem;
  box-shadow: 0 4px 14px rgba(199, 91, 57, 0.4);
}

.hero-banner__cta:hover {
  background: #b54e32;
  border-color: #b54e32;
}

.hero-banner__cta-secondary {
  border-width: 2px;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  padding: 0.55rem 1.25rem;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-banner__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* планшет */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero-banner .hero-banner__intro h2.hero-banner__title {
    font-size: 4vw !important;
  }

  .hero-banner .hero-banner__intro h3.hero-banner__subtitle {
    font-size: 3vw !important;
  }

  .hero-banner__note {
    font-size: 2vw !important;
  }
}

/* мобільний — на весь екран (як раніше) */
@media (max-width: 767.98px) {
  .hero-banner__jumbo.jumbotron-fluid {
    height: calc(100vh - var(--pm-header-offset)) !important;
    min-height: calc(100vh - var(--pm-header-offset));
    padding: 3vh 0;
    background-position: center left;
    align-items: stretch;
  }

  .hero-banner__jumbo.jumbotron-fluid::before {
    background: linear-gradient(
      180deg,
      rgba(45, 28, 24, 0.4) 0%,
      rgba(45, 28, 24, 0.75) 40%,
      rgba(62, 39, 35, 0.88) 100%
    );
  }

  .hero-banner .hero-banner__intro.intro {
    width: 100%;
    justify-content: center;
  }

  .hero-banner .hero-banner__intro h2.hero-banner__title {
    font-size: 7.5vw !important;
  }

  .hero-banner .hero-banner__intro h3.hero-banner__subtitle {
    font-size: 6.5vw !important;
  }

  .hero-banner__note {
    font-size: 4.5vw !important;
  }

  .hero-banner__actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 2vh;
  }

  .hero-banner__cta,
  .hero-banner__cta-secondary {
    width: auto;
    flex: 1 1 auto;
    min-width: 9rem;
  }
}

@media (max-width: 380px) {
  .hero-banner__container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-banner__cta,
  .hero-banner__cta-secondary {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  section.home-trust .home-trust__notes {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    font-size: 0.9rem;
  }

  section.home-trust .home-trust__link {
    white-space: normal;
  }

  section.home-trust .home-trust__item {
    padding: 1.45rem 1.1rem 1.5rem;
  }
}

/* Статистика на головній — стилі в home.css (.page-index) */

/* ═══════════════════════════════════════
   Заголовки секцій
   ═══════════════════════════════════════ */
.section-head {
  margin-bottom: 1.75rem;
}

.section-head--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section-head__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--pm-primary);
  line-height: 1.25;
}

.section-head--catalog .section-head__title.scategory-title,
h2.scategory-title.section-head__title {
  margin: 0 0 0.35rem;
  padding: 0;
  background: transparent;
  color: var(--pm-primary);
  position: static;
}

.section-head__lead {
  margin: 0;
  font-size: 1rem;
  color: var(--pm-muted);
  line-height: 1.55;
}

.section-head--catalog .section-head__lead.note {
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════
   Переваги
   ═══════════════════════════════════════ */
section.advantages {
  margin: 3rem 0;
  padding: 2.5rem 0;
  background: #faf8f6;
  border-top: 1px solid rgba(93, 64, 55, 0.08);
  border-bottom: 1px solid rgba(93, 64, 55, 0.08);
}

.advantage-card {
  border: 1px solid rgba(93, 64, 55, 0.1);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  background: #fff;
}

.advantage-card:hover {
  box-shadow: var(--pm-shadow-hover);
  transform: translateY(-3px);
}

.advantage-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.advantage-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(199, 91, 57, 0.12);
  color: var(--pm-accent);
}

.advantage-card__icon .icon--mdi {
  width: 1.75rem;
  height: 1.75rem;
}

.advantage-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pm-primary);
  margin-bottom: 0.65rem;
}

.advantage-card__text {
  color: var(--pm-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════
   Каталог на головній
   ═══════════════════════════════════════ */
.page-catalog {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.catalog-group {
  margin-top: 2rem;
}

.catalog-group__label {
  margin-bottom: 0.75rem;
}

.catalog-group__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pm-primary);
  padding-left: 0.75rem;
  border-left: 4px solid var(--pm-accent);
}

.catalog-group__items {
  margin-bottom: 0.5rem;
}

.page-catalog .card__category {
  border-radius: var(--pm-radius);
  overflow: hidden;
  box-shadow: var(--pm-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(93, 64, 55, 0.08);
}

.page-catalog .card__category:hover {
  box-shadow: var(--pm-shadow-hover);
  transform: translateY(-2px);
}

.page-section {
  padding: 2.5rem 0;
}

.page-section__footer {
  margin-top: 1.5rem;
}

/* ═══════════════════════════════════════
   Legacy bundle — підтягнути min CSS під палітру
   (min/6292… завантажується перед цим файлом)
   ═══════════════════════════════════════ */

header#header,
header#header#header {
  background-color: var(--pm-primary) !important;
}

section.top-panel-navigation {
  background-color: var(--pm-primary) !important;
}

section.top-info-panel {
  background-color: var(--pm-warm) !important;
}

section.top-info-panel ul li,
section.top-info-panel ul li a,
section.top-info-panel ul.socials li a {
  color: var(--pm-light) !important;
}

.btn-primary,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--pm-accent) !important;
  border-color: var(--pm-accent) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
  background-color: #b54e32 !important;
  border-color: #b54e32 !important;
}

.btn-outline-primary {
  color: var(--pm-accent) !important;
  border-color: var(--pm-accent) !important;
}

.btn-outline-primary:hover {
  background-color: var(--pm-accent) !important;
  border-color: var(--pm-accent) !important;
}

ol.breadcrumb,
ol.breadcrumb li a {
  color: var(--pm-primary) !important;
}

.breadcrumb-item.active {
  color: var(--pm-accent) !important;
}

h2.scategory-title:not(.section-head__title) {
  background-color: var(--pm-primary) !important;
  color: var(--pm-light) !important;
}

h3.category-title {
  color: var(--pm-primary) !important;
}

.card-footer .btn-primary,
.card-body .btn-primary {
  background-color: var(--pm-accent) !important;
  border-color: var(--pm-accent) !important;
}

.form-control:focus,
.custom-select:focus {
  border-color: var(--pm-accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(199, 91, 57, 0.22) !important;
}

.page-link {
  color: var(--pm-primary);
}

.page-item.active .page-link {
  background-color: var(--pm-accent) !important;
  border-color: var(--pm-accent) !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--pm-accent) !important;
  border-color: var(--pm-accent) var(--pm-accent) #fff !important;
}

.badge-primary,
.badge.bg-primary {
  background-color: var(--pm-accent) !important;
}

.text-primary {
  color: var(--pm-primary) !important;
}

.border-primary {
  border-color: var(--pm-primary) !important;
}

.big-footer,
section.big-footer,
.small-footer,
section.small-footer {
  background-color: var(--pm-primary) !important;
}

.small-footer {
  border-top-color: var(--pm-accent) !important;
}

/* ═══════════════════════════════════════
   Доставка / оплата / повернення (усі сторінки)
   ═══════════════════════════════════════ */

section.home-trust.bottom-cards-icon {
  padding: 4rem 0 3.5rem;
  margin: 0;
  background: linear-gradient(165deg, #4a332c 0%, #5d4037 40%, #6d5349 100%);
}

section.home-trust .home-trust__panel {
  padding: 0.3rem;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 187, 147, 0.25) 0%,
    rgba(239, 235, 233, 0.12) 50%,
    rgba(199, 91, 57, 0.2) 100%
  );
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

section.home-trust .home-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(247, 242, 237, 0.94);
}

@media (min-width: 768px) {
  section.home-trust .home-trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

section.home-trust .home-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.85rem 1.5rem 1.9rem;
  text-align: center;
}

section.home-trust .home-trust__item:not(:last-child) {
  border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

@media (min-width: 768px) {
  section.home-trust .home-trust__item:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid rgba(93, 64, 55, 0.1);
  }
}

section.home-trust .home-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--pm-accent) 0%, #a85a3f 100%);
  box-shadow: 0 8px 22px rgba(199, 91, 57, 0.35);
}

section.home-trust .home-trust__icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

section.home-trust .home-trust__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pm-primary);
}

section.home-trust .home-trust__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--pm-muted);
}

section.home-trust .home-trust__footer {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

section.home-trust .home-trust__notes {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.35rem 1rem 0;
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: center;
  color: rgba(239, 235, 233, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

section.bottom-cards-icon .notes {
  border-top: none !important;
  margin-top: 0 !important;
  text-align: center !important;
}

section.home-trust .home-trust__link {
  display: inline;
  margin-left: 0.25em;
  color: var(--pm-peach);
  font-weight: 700;
  white-space: nowrap;
}

section.home-trust .home-trust__link:hover {
  color: #fff;
}

section.bottom-cards-icon .card.home-trust__card {
  display: none;
}

/* ═══════════════════════════════════════
   Адаптив
   ═══════════════════════════════════════ */

