

/* Start:/local/templates/urasalut/assets/css/style.css?178003240478234*/
:root {
  --brand-yellow: #fbd400;
  --brand-dark: #333;
  --brand-red: #e30613;
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: open-sans;
  font-style: light;
  font-weight: 200;
  src: url(/local/templates/urasalut/assets/css/../fonts/OpenSans-Light.woff2) format("woff2");
}

@font-face {
  font-family: open-sans;
  font-style: normal;
  font-weight: 400;
  src: url(/local/templates/urasalut/assets/css/../fonts/OpenSans-Regular.woff2) format("woff2");
}

@font-face {
  font-family: open-sans;
  font-style: italic;
  font-weight: 400;
  src: url(/local/templates/urasalut/assets/css/../fonts/OpenSans-Italic.woff2) format("woff2");
}

@font-face {
  font-family: open-sans;
  font-style: normal;
  font-weight: 700;
  src: url(/local/templates/urasalut/assets/css/../fonts/OpenSans-Bold.woff2) format("woff2");
}

@font-face {
  font-family: marutya;
  font-style: normal;
  font-weight: "400";
  src: url(/local/templates/urasalut/assets/css/../fonts/Marutya.woff2) format("woff2");
}

@font-face {
  font-family: lato;
  font-style: normal;
  font-weight: "400";
  src: url(/local/templates/urasalut/assets/css/../fonts/Lato-Regular.woff2) format("woff2");
}

@font-face {
  font-family: pfd;
  font-style: normal;
  font-weight: "400";
  src: url(/local/templates/urasalut/assets/css/../fonts/PFDinTextCompProMedium.woff2) format("woff2");
}

@font-face {
  font-family: quicksand;
  font-style: normal;
  font-weight: "400";
  src: url(/local/templates/urasalut/assets/css/../fonts/QuicksandMedium.woff2) format("woff2");
}

@font-face {
  font-family: myriad-pro;
  font-style: normal;
  font-weight: "400";
  src: url(/local/templates/urasalut/assets/css/../fonts/MyriadPro-Regular.woff2) format("woff2");
}

@font-face {
  font-family: myriad-pro;
  font-style: italic;
  font-weight: "600";
  src: url(/local/templates/urasalut/assets/css/../fonts/MyriadPro-BoldIt.woff2) format("woff2");
}

body {
  font-family:
    "Open Sans",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: #222;
}

h2 {
  font-family: pfd, sans-serif;
}

/* ограничение контейнера как у дизайна */
.container {
  max-width: 1280px;
}

/* TOPBAR */
.topbar {
  background: #333;
  color: #fff;
}

.topbar-link {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}

.topbar-link:hover {
  color: #fff;
  text-decoration: underline;
}

.topbar-ico {
  width: 20px;
  height: 20px;
}

.topbar-city {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.85);
}

/* Logo placeholder (как у тебя header__logo) */
.brand-logo {
  width: 160px;
  height: 40px;
  background: url("/local/templates/urasalut/assets/css/../img/logo.svg") center/contain no-repeat;
}

/* HEADER */
.header-main {
  background: #fff;
  margin-top: 10px;
}

.articletitle {
  font-family: pfd, sans-serif;
}

/* Catalog button */
.btn-catalog {
  background: var(--brand-yellow);
  border: 0;
  border-radius: 3px;
  padding: 10px 14px;
  height: 50px;
}

.btn-catalog:focus {
  box-shadow: 0 0 0 0.25rem rgba(251, 212, 0, 0.25);
}

.burger {
  position: relative;
  width: 28px;
  height: 18px;
  display: inline-block;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #333;
}

.burger::before {
  top: 2px;
}

.burger::after {
  bottom: 2px;
}

.burger {
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  height: 14px;
}

.burger::before {
  display: none;
}

/* оставляем 3 линии через border-top/mid/bottom */
.burger::after {
  display: none;
}

.dropdown-catalog {
  background: #333;
  border-radius: 3px;
  padding: 10px 0;
  border: 0;
}

.dropdown-catalog .dropdown-item {
  color: #fff;
  font-size: 14px;
  padding: 10px 16px;
}

.dropdown-catalog .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: underline;
}

/* Search */
.search-form {
  border: 1px solid var(--brand-yellow);
  border-radius: 3px;
  overflow: hidden;
  height: 50px;
}

.search-input {
  border: 0;
  border-radius: 0;
}

.search-input:focus {
  box-shadow: none;
}

.search-btn {
  background: var(--brand-yellow);
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  font-size: 20px;
  font-weight: 200;
}

/* Icons */
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.icon-svg {
  width: 26px;
  height: 26px;
  fill: #333;
}

.icon-img {
  width: 22px;
  height: 22px;
}

.cart {
  color: #111;
}

.cart:hover {
  color: #111;
}

.cart-svg {
  width: 30px;
  height: 30px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--brand-yellow);
}

/* HERO */
.hero-carousel {
  min-height: 260px;
}

.hero-img {
  height: 100%;
  object-fit: cover;
}

.hero-indicators {
  margin-bottom: 12px;
}

.hero-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Bonus card with image on right like screenshot */
.bonus-card {
  background: #f1acba;
}

.bonus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/local/templates/urasalut/assets/css/../img/man.jpg");
  background-size: cover;
  background-position: 100% 50%;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
  opacity: 1;
}

.bonus-card:hover::before {
  transform: scale(1.05) translateX(5px);
}

.bonus-body {
  z-index: 2;
  padding-left: 2em;
}

.bonus-ribbon {
  z-index: 3;
  background: #fff;
  padding: 0 10px;
  width: 180px;
  height: 40px;
  line-height: 40px;
  left: -70px;
  bottom: 70px;
  transform: rotate(-90deg);
  font-size: 21px;
}

.bonus-subtitle {
  max-width: 140px;
  line-height: 1.25;
}

/* Categories */
.cat-tile {
  display: block;
  height: 100px;
  border-radius: 3px;
  background-color: #333;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50% 100%;
  transition: background-position 0s ease;
}

.cat-tile:hover {
  background-position: 50% 0%;
}

@media (max-width: 768px) {
  .cat-tile {
    height: 70px;
  }
}

/* Popular products */
.product {
  border-radius: 8px;
}

.product-media {
  background: #fff;
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img {
  max-height: 170px;
  object-fit: contain;
}

.product-like {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  padding: 0;
  line-height: 32px;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.popular-prev,
.popular-next {
  width: 44px;
}

.popular-prev .carousel-control-prev-icon,
.popular-next .carousel-control-next-icon {
  filter: invert(1) grayscale(1);
}

/* SOCIAL band like screenshot */
.social-band {
  background: var(--brand-yellow);
}

.social-hashtag {
  position: absolute;
  left: 20px;
  top: -10px;
  width: 225px;
  height: auto;
}

.social-ico {
  width: 90px;
  height: 90px;
  display: inline-block;
  background: url("/local/templates/urasalut/assets/css/../img/ico_vk.svg") center/contain no-repeat;
  transition: opacity 0.2s ease;
}

.social-ico--tg {
  background-image: url("/local/templates/urasalut/assets/css/../img/ico_tg.svg");
}

.social-ico:hover {
  opacity: 0.85;
}

@media (max-width: 992px) {
  .social-hashtag {
    width: 150px;
    top: -6px;
    left: 10px;
    opacity: 0.9;
  }

  .social-ico {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 576px) {
  .social-hashtag {
    width: 110px;
  }

  .social-ico {
    width: 70px;
    height: 70px;
  }
}

/* Holiday tiles */
.holiday-tile {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  text-decoration: none;
}

.holiday-overlay {
  inset: auto 0 0 0;
  padding: 16px;
  color: #111;
  height: 100%;
}

.holiday-overlay .btn-warning {
  line-height: 30px;
  padding: 0px 10px;
  position: absolute;
  bottom: 15px;
}

.holiday-overlay div.block-title {
  font-family: pfd, sans-serif;
  font-size: clamp(1rem, 1rem + 1vw, 1.8rem);
  line-height: 2rem;
  padding-bottom: 1rem;
}

/* Instruction band */
.instruction-band {
  background: var(--brand-yellow);
}

/* info boxes */
.info-box {
  border: 1px dashed rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 22px 16px;
}

.info-box:hover {
  background: var(--brand-yellow);
}

.info-ico {
  top: 100px;
  width: 60px;
  height: 60px;
  display: block;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  margin: 0 auto 10px;
  font-weight: 700;
  margin-top: -40px;
  background: var(--brand-yellow);
  display: flex;
}

.info-ico img {
  width: 60%;
}

/* Footer */
.footer {
  background: #2b2b2b;
  color: #fff;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin: 8px 0;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-social {
  width: 34px;
  height: 34px;
  display: inline-block;
  background: url("/local/templates/urasalut/assets/css/../img/ico_vk.svg") center/contain no-repeat;
  opacity: 0.9;
}

.footer-social--tg {
  background-image: url("/local/templates/urasalut/assets/css/../img/ico_tg.svg");
}

.footer-social:hover {
  opacity: 1;
}

.selebrate_item_section ul li {
  list-style: url("/local/templates/urasalut/assets/css/../img/arrow-right.svg");
}

.selebrate_item_section ul li a {
  text-decoration: none;
  color: #2e2e2e;
}

.selebrate_item_section ul li a:hover {
  text-decoration: underline;
}

.product {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  background: #fff;
}

.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-media {
  position: relative;
  background: #fff;
  padding: 12px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-link {
  display: block;
  width: 100%;
}

.product-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.product-like {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

.product-video {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.product-video svg {
  width: 48px;
  height: 48px;
  display: block;
}

.product .card-body {
  padding: 14px 14px 16px;
}

.product-price {
  font-size: 22px;
  line-height: 1.2;
  color: #111;
}

.product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.product-title:hover {
  color: #111;
  text-decoration: underline;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 56px;
}

.product-features-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f6f7f9;
  color: #333;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.product-feature img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}

.product .btn {
  min-height: 38px;
  font-weight: 600;
  border-radius: 10px;
}

.ruble {
  font-size: 0.9em;
}

.how-to__visual {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  background-color: #67ca8c;
  list-style: none;
  bottom: -45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-start;
  padding: 15px;
  position: relative;
  width: 50%;
  margin-left: 30%;
}

.how-to__visual__item {
  content: "";
  height: 100px;
  width: 100px;
}

.how-to__visual__item .icon {
  max-height: 100%;
  max-width: 100%;
}

/* ITEM */
/* PRODUCT PAGE */
.product-page {
  background: #fff;
}

.product-breadcrumb {
  font-size: 14px;
}

.product-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.product-breadcrumb a:hover {
  text-decoration: underline;
}

.product-page-title {
  font-family: pfd, sans-serif;
  font-size: clamp(2rem, 1.6rem + 1.2vw, 3rem);
  line-height: 1;
  margin: 0;
}

.product-page-description p {
  color: #333;
  line-height: 1.7;
}

.product-page-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-page-spec {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  background: #fff;
}

.product-page-spec__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f6f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-page-spec__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.product-page-spec__label {
  font-size: 13px;
  color: #777;
  line-height: 1.2;
  margin-bottom: 4px;
}

.product-page-spec__value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

/* BUY BOX */
.product-buy-box {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 20px;
}

.product-photo-carousel {
  background: #fff;
}

.product-buy-box__image {
  height: 340px;
  object-fit: contain;
  padding: 20px;
}

.product-buy-box .carousel-control-prev-icon,
.product-buy-box .carousel-control-next-icon {
  filter: invert(1) grayscale(1);
}

.product-buy-box__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
}

.product-buy-box__sku {
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}

.product-buy-box__prices {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-buy-box__price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-buy-box__price-label {
  font-size: 14px;
  color: #666;
}

.product-buy-box__price-main {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #111;
  white-space: nowrap;
}

.product-buy-box__price-opt {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-red);
  white-space: nowrap;
}

.product-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffe7ea;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 700;
}

.product-buy-box__note {
  padding: 12px 14px;
  background: #fff7d6;
  border: 1px solid rgba(251, 212, 0, 0.45);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.product-availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f8fa;
}

.product-availability__title {
  font-size: 14px;
  color: #666;
}

.product-availability__value {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.product-pack-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-pack-option {
  display: block;
  cursor: pointer;
  margin: 0;
}

.product-pack-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-pack-option__box {
  display: block;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  background: #fff;
}

.product-pack-option__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.product-pack-option__title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.product-pack-option__price {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

.product-pack-option__meta {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #777;
  line-height: 1.35;
}

.product-pack-option.active .product-pack-option__box,
.product-pack-option input:checked + .product-pack-option__box {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(251, 212, 0, 0.18);
  background: #fffef5;
}

.product-pack-option.disabled {
  cursor: not-allowed;
}

.product-pack-option.disabled .product-pack-option__box {
  background: #f8f8f8;
  opacity: 0.8;
}

.product-buy-box__summary {
  border-top: 1px solid #eee;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-buy-box__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

.review-card {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.review-rating {
  color: #f2b400;
  letter-spacing: 1px;
  font-size: 16px;
}

/* form controls in product page */
.product-page .form-control,
.product-page .form-select {
  min-height: 46px;
  border-radius: 10px;
}

.product-page textarea.form-control {
  min-height: auto;
}

/* responsive */
@media (max-width: 991.98px) {
  .product-buy-box {
    position: static;
  }

  .product-buy-box__image {
    height: 280px;
  }
}

@media (max-width: 767.98px) {
  .product-page-specs-grid {
    grid-template-columns: 1fr;
  }

  .product-pack-option__top {
    flex-direction: column;
    gap: 6px;
  }

  .product-buy-box__price-row {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

.product-page-video {
  background: #000;
}

.product-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===== Bitrix integration helpers ===== */
.page-section {
  padding: 2rem 0;
}

.breadcrumb-wrap {
  padding-top: 1rem;
}

.bx-breadcrumb {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bx-breadcrumb-item {
  font-size: 0.95rem;
  color: #6c757d;
}

.bx-breadcrumb-item a {
  color: #6c757d;
  text-decoration: none;
}

/* Breadcrumbs clean view */
.breadcrumb-wrap {
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.bx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bx-breadcrumb-item {
  font-size: 14px;
  color: #6c757d;
}

.bx-breadcrumb-item + .bx-breadcrumb-item::before {
  content: none !important;
}

.bx-breadcrumb-item a {
  color: #6c757d;
  text-decoration: none;
}

.bx-breadcrumb-item a:hover {
  color: #333;
  text-decoration: underline;
}

.bx-breadcrumb-item.active span {
  color: #333;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 991.98px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
}

.catalog-sidebar {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 1rem;
}

.catalog-sidebar__title {
  font-family: pfd, sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.catalog-content__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.catalog-content__count {
  color: #6c757d;
  font-size: 0.95rem;
}

.filter-section {
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.filter-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-section__title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.filter-input,
.filter-select {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 0.65rem 0.75rem;
  width: 100%;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.filter-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.filter-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-actions .btn {
  border-radius: 10px;
}

.catalog-toolbar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.catalog-sort {
  min-width: 220px;
}

.catalog-empty {
  padding: 3rem 1rem;
  background: #fff;
  border: 1px dashed #ddd;
  border-radius: 16px;
  text-align: center;
  color: #6c757d;
}

.pagination-wrap {
  margin-top: 1.5rem;
}

.pagination {
  gap: 0.35rem;
  flex-wrap: wrap;
}

.page-link {
  border-radius: 10px;
  color: #333;
  border-color: #e5e5e5;
}

.page-item.active .page-link {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #111;
}

.product-grid .col {
  display: flex;
}

.product .product-title {
  color: #111;
  text-decoration: none;
}

.product .product-title:hover {
  text-decoration: underline;
}

.product-features-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.product-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #555;
}

.product-feature img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.product-video {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.product-video svg {
  width: 42px;
  height: 42px;
  display: block;
}

.product-like.active {
  color: #d11;
}

.product-page-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 767.98px) {
  .product-page-specs-grid {
    grid-template-columns: 1fr;
  }
}

.product-page-spec {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 1rem;
  align-items: center;
}

.product-page-spec__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff5b8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-page-spec__icon img {
  max-width: 28px;
  max-height: 28px;
}

.product-page-spec__label {
  font-size: 0.9rem;
  color: #6c757d;
}

.product-page-spec__value {
  font-weight: 700;
  font-size: 1.1rem;
}

.product-buy-box {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.product-buy-box__image {
  height: 360px;
  object-fit: contain;
  background: #fff;
}

.product-buy-box__title {
  font-weight: 700;
  font-size: 1.1rem;
}

.product-buy-box__sku {
  font-size: 0.9rem;
  color: #6c757d;
}

.product-buy-box__prices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-buy-box__price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.product-buy-box__price-label {
  color: #6c757d;
}

.product-buy-box__price-main,
.product-buy-box__price-opt {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.product-discount-badge {
  background: #e30613;
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-buy-box__note {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff9dc;
  font-size: 0.95rem;
}

.product-availability {
  padding: 0.85rem 1rem;
  border: 1px dashed #ddd;
  border-radius: 12px;
}

.product-availability__title {
  color: #6c757d;
}

.product-availability__value {
  font-weight: 700;
}

.product-pack-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-pack-option {
  display: block;
  cursor: pointer;
}

.product-pack-option input {
  display: none;
}

.product-pack-option__box {
  display: block;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  transition: 0.2s ease;
  background: #fff;
}

.product-pack-option__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.product-pack-option__title {
  font-weight: 700;
}

.product-pack-option__price {
  font-weight: 700;
}

.product-pack-option__meta {
  display: block;
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 0.35rem;
}

.product-pack-option.active .product-pack-option__box,
.product-pack-option input:checked + .product-pack-option__box {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 0.2rem rgba(251, 212, 0, 0.18);
}

.product-pack-option.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.product-buy-box__summary {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-buy-box__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.review-card {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.review-rating {
  color: #f4b400;
  letter-spacing: 1px;
}

.contacts-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.contacts-card__title {
  font-family: pfd, sans-serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-page__form {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.search-result {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.search-result__title {
  font-weight: 700;
  font-size: 1.1rem;
}

.search-result__meta {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.search-result__title a {
  color: #111;
  text-decoration: none;
}

.search-result__title a:hover {
  text-decoration: underline;
}

.search-suggest-empty {
  padding: 2rem 1rem;
  background: #fff9dc;
  border-radius: 14px;
}

.header-main .search-form {
  margin-bottom: 0;
}

.footer-brand {
  font-size: 1.5rem;
}

.dropdown-menu.dropdown-catalog {
  background: #fbd400 !important;
  border: 0 !important;
  border-radius: 3px;
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dropdown-menu.dropdown-catalog .dropdown-item {
  color: #333 !important;
}

.dropdown-menu.dropdown-catalog .dropdown-item:hover,
.dropdown-menu.dropdown-catalog .dropdown-item:focus {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #333 !important;
}

.product-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  padding: 4px 8px;
  background: #333;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
}

.product-badge--new {
  background: #e30613;
}

.product-badge--sale {
  background: #222;
  top: 42px;
}

/* ===== Product mini card ===== */
.product-mini-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px;
  background: #f3f3f3;
  border-radius: 18px;
  overflow: hidden;
}

.product-mini-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  margin-bottom: 10px;
}

.product-mini-badge {
  font-size: 22px;
  line-height: 1;
  color: #60c83d;
  font-weight: 400;
}

.product-mini-badge--sale {
  color: #ff5a3d;
}

.product-mini-video {
  width: 40px;
  height: 40px;
  border: 2px solid #ff4d3b;
  background: #fff;
  border-radius: 50%;
  position: relative;
  flex: 0 0 40px;
}

.product-mini-video__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ff4d3b;
}

.product-mini-slider-wrap {
  margin-bottom: 10px;
}

.product-mini-slider {
  position: relative;
}

.product-mini-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 8px;
}

.product-mini-image {
  display: block;
  max-width: 100%;
  max-height: 170px;
  object-fit: contain;
}

.product-mini-slider__nav {
  width: 34px;
  opacity: 1;
}

.product-mini-slider__nav .carousel-control-prev-icon,
.product-mini-slider__nav .carousel-control-next-icon {
  width: 18px;
  height: 18px;
  filter: invert(30%);
}

.product-mini-slider .carousel-control-prev {
  left: -6px;
}

.product-mini-slider .carousel-control-next {
  right: -6px;
}

.product-mini-article {
  margin: 4px 0 6px;
  color: #6b645f;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 400;
}

.product-mini-title {
  display: block;
  margin: 0 0 16px;
  color: #000;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 400;
  text-decoration: none;
}

.product-mini-title:hover {
  color: #000;
  text-decoration: none;
}

.product-mini-divider {
  height: 1px;
  background: #d8d2cc;
  margin: 0 0 16px;
}

.product-mini-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-bottom: 16px;
}

.product-mini-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
}

.product-mini-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.product-mini-feature__icon img {
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
}

.product-mini-feature__value {
  font-size: 24px;
  line-height: 1.15;
  color: #000;
}

.product-mini-packs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.product-mini-pack {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.product-mini-pack__main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #000;
  font-size: 25px;
  line-height: 1.15;
}

.product-mini-pack__main small {
  font-size: 0.85em;
  color: #000;
}

.product-mini-pack__main input {
  margin-top: 6px;
  accent-color: #2a6df5;
}

.product-mini-pack__price {
  font-size: 25px;
  line-height: 1.15;
  color: #6b5b43;
  font-weight: 700;
  white-space: nowrap;
}

.product-mini-pack.active .product-mini-pack__price {
  color: #000;
}

.product-mini-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.product-mini-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-mini-qty__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #6e655e;
  border-radius: 6px;
  background: #f3f3f3;
  font-size: 30px;
  line-height: 1;
  color: #000;
}

.product-mini-qty__input {
  width: 42px;
  height: 48px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 24px;
  padding: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.product-mini-qty__input::-webkit-outer-spin-button,
.product-mini-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-mini-stock {
  max-width: 150px;
  text-align: right;
  color: #52bf33;
  font-size: 22px;
  line-height: 1.15;
}

.product-mini-stock__label {
  display: block;
}

.product-mini-stock__value {
  display: block;
}

.product-mini-total {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 14px;
  color: #000;
  font-size: 22px;
  line-height: 1.2;
}

.product-mini-total strong {
  font-size: 28px;
}

.product-mini-actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: auto;
}

.product-mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 600;
  flex: 1 1 auto;
}

.product-mini-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  min-width: 62px;
  border-radius: 8px;
  background: #e8e6e6;
  text-decoration: none;
}

.product-mini-compare span,
.product-mini-compare span:before,
.product-mini-compare span:after {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: #111;
  content: "";
}

.product-mini-compare span {
  height: 18px;
  position: relative;
}

.product-mini-compare span:before {
  position: absolute;
  left: -8px;
  bottom: 0;
  height: 12px;
}

.product-mini-compare span:after {
  position: absolute;
  left: 8px;
  bottom: 0;
  height: 24px;
}

.product-video-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
}

.product-video-modal .modal-body {
  padding: 0;
  background: #000;
}

.product-video-modal video {
  display: block;
  max-height: 75vh;
  background: #000;
}

@media (max-width: 1399px) {
  .product-mini-badge {
    font-size: 18px;
  }

  .product-mini-title {
    font-size: 26px;
  }

  .product-mini-article {
    font-size: 18px;
  }

  .product-mini-feature__value,
  .product-mini-pack__main,
  .product-mini-pack__price {
    font-size: 18px;
  }

  .product-mini-stock {
    font-size: 17px;
  }

  .product-mini-total {
    font-size: 18px;
  }

  .product-mini-total strong {
    font-size: 22px;
  }

  .product-mini-btn {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .product-mini-card {
    padding: 16px;
    border-radius: 16px;
  }

  .product-mini-title {
    font-size: 18px;
  }

  .product-mini-article {
    font-size: 15px;
  }

  .product-mini-features {
    gap: 10px 12px;
  }

  .product-mini-feature__value,
  .product-mini-pack__main,
  .product-mini-pack__price {
    font-size: 16px;
  }

  .product-mini-row {
    gap: 10px;
  }

  .product-mini-qty__btn {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .product-mini-qty__input {
    height: 36px;
    font-size: 16px;
  }

  .product-mini-stock {
    font-size: 14px;
    max-width: 110px;
  }

  .product-mini-total {
    font-size: 15px;
  }

  .product-mini-total strong {
    font-size: 18px;
  }

  .product-mini-btn {
    min-height: 46px;
    font-size: 16px;
  }

  .product-mini-compare {
    width: 48px;
    min-width: 48px;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
}

.search-results-list {
  display: grid;
  gap: 10px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.search-result-card:hover {
  border-color: #f0b400;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  color: inherit;
  text-decoration: none;
}

.search-result-card__image {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
}

.search-result-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.search-result-card__placeholder {
  font-size: 11px;
  color: #999;
}

.search-result-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.search-result-card__title {
  font-weight: 600;
  line-height: 1.3;
}

.search-result-card__article {
  font-size: 13px;
  color: #777;
}

.search-result-card__price {
  white-space: nowrap;
  font-weight: 700;
  font-size: 16px;
}

.live-search {
  position: relative;
  width: 100%;
}

.live-search__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.live-search__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #f1f1f1;
}

.live-search__item:last-child {
  border-bottom: none;
}

.live-search__item:hover {
  background: #fafafa;
  color: inherit;
  text-decoration: none;
}

.live-search__image {
  width: 48px;
  height: 48px;
  background: #f7f7f7;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.live-search__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.live-search__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.live-search__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.live-search__article {
  font-size: 12px;
  color: #777;
}

.live-search__price {
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
}

.live-search__empty {
  padding: 12px;
  color: #777;
  font-size: 14px;
}

.live-search {
  position: relative;
  width: 100%;
}

.live-search__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 99999;
  display: none;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.live-search__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #f1f1f1;
}

.live-search__item:last-child {
  border-bottom: none;
}

.live-search__item:hover {
  background: #fafafa;
  color: inherit;
  text-decoration: none;
}

.live-search__image {
  width: 48px;
  height: 48px;
  background: #f7f7f7;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.live-search__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.live-search__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.live-search__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.live-search__article {
  font-size: 12px;
  color: #777;
}

.live-search__price {
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
}

.live-search__empty {
  padding: 12px;
  color: #777;
  font-size: 14px;
}

.search-form {
  position: relative;
}

.live-search {
  position: relative;
  width: 100%;
}

.live-search__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 999999;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.live-search__dropdown.is-active {
  display: block !important;
}

.live-search__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.live-search__item:last-child {
  border-bottom: none;
}

.live-search__item:hover {
  background: #f7f7f7;
  color: #222;
  text-decoration: none;
}

.live-search__image {
  width: 48px;
  height: 48px;
  background: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.live-search__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.live-search__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.live-search__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.live-search__article {
  font-size: 12px;
  color: #777;
}

.live-search__price {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.live-search__empty {
  padding: 12px;
  font-size: 14px;
  color: #777;
  background: #fff;
}

.live-search-popup {
  display: none;
  z-index: 2147483647;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
}

.live-search-popup.is-active {
  display: block !important;
}

.live-search-popup__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: #222;
  background: #fff;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.live-search-popup__item:last-child {
  border-bottom: none;
}

.live-search-popup__item:hover {
  background: #f7f7f7;
  color: #222;
  text-decoration: none;
}

.live-search-popup__image {
  width: 48px;
  height: 48px;
  background: #f4f4f4;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.live-search-popup__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.live-search-popup__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.live-search-popup__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.live-search-popup__article {
  font-size: 12px;
  color: #777;
}

.live-search-popup__price {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.live-search-popup__empty {
  padding: 12px;
  font-size: 14px;
  color: #777;
  background: #fff;
}

.product-like {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #f4f1f1;
  color: #2b2525;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.15s;
}

.product-like:hover {
  background: #f0c400;
  border-color: #f0c400;
  color: #000;
}

.product-like.is-active {
  background: #f0c400;
  border-color: #f0c400;
  color: #000;
}

.product-like:disabled {
  opacity: 0.6;
  cursor: wait;
}

.product-like__icon {
  display: block;
  transform: translateY(-1px);
}

.product-like.is-active .product-like__icon {
  transform: translateY(-1px) scale(1.06);
}

/* ===== Product card scale adaptation =====
   Уменьшаем слишком крупную типографику и элементы карточки товара
   на широких экранах, при этом оставляем карточку читаемой на планшетах/мобилках. */
.product-mini-card {
  padding: clamp(14px, 1vw, 18px);
}

.product-mini-badge {
  font-size: clamp(16px, 0.9vw, 18px);
}

.product-mini-video {
  width: clamp(34px, 2.1vw, 40px);
  height: clamp(34px, 2.1vw, 40px);
  flex-basis: clamp(34px, 2.1vw, 40px);
}

.product-mini-image-link {
  min-height: clamp(150px, 9.5vw, 180px);
}

.product-mini-image {
  max-height: clamp(150px, 9.5vw, 180px);
}

.product-mini-article {
  font-size: clamp(14px, 0.9vw, 18px);
}

.product-mini-title {
  font-size: clamp(18px, 1.15vw, 24px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.product-mini-features {
  gap: 10px 14px;
}

.product-mini-feature {
  gap: 8px;
  min-height: 32px;
}

.product-mini-feature__icon,
.product-mini-feature__icon img {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.product-mini-feature__value,
.product-mini-pack__main,
.product-mini-pack__price {
  font-size: clamp(15px, 0.95vw, 18px);
}

.product-mini-packs {
  gap: 7px;
  margin-bottom: 14px;
}

.product-mini-stock {
  font-size: clamp(14px, 0.9vw, 17px);
}

.product-mini-total {
  font-size: clamp(16px, 0.95vw, 18px);
}

.product-mini-total strong {
  font-size: clamp(20px, 1.2vw, 24px);
}

.product-mini-qty__btn {
  width: clamp(38px, 2.4vw, 44px);
  height: clamp(38px, 2.4vw, 44px);
  font-size: 24px;
}

.product-mini-qty__input {
  width: 36px;
  height: clamp(38px, 2.4vw, 44px);
  font-size: 18px;
}

.product-mini-btn {
  min-height: clamp(46px, 2.8vw, 52px);
  font-size: clamp(16px, 0.95vw, 18px);
}

.product-mini-compare {
  width: clamp(48px, 3vw, 56px);
  min-width: clamp(48px, 3vw, 56px);
}

/* Salut catalog instruction blocks */
.catalog-instruction {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: stretch;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.catalog-instruction__label {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff7d6;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.catalog-instruction__title {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #111;
}

.catalog-instruction__list {
  margin: 0;
  padding-left: 20px;
  color: #333;
  line-height: 1.55;
}

.catalog-instruction__list li + li {
  margin-top: 8px;
}

.catalog-instruction__video {
  min-height: 220px;
  border-radius: 16px;
  background: #f5f5f5;
  border: 1px dashed #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.catalog-instruction__video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  color: #777;
}

.catalog-instruction__video-placeholder:before {
  content: "";
  width: 58px;
  height: 58px;
  border: 2px solid #ef3d2f;
  border-radius: 50%;
  background: #fff;
  display: block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.catalog-instruction__video-placeholder span {
  font-weight: 700;
  color: #333;
}

.catalog-instruction__video-placeholder small {
  font-size: 13px;
  color: #777;
}

@media (max-width: 991.98px) {
  .catalog-instruction {
    grid-template-columns: 1fr;
  }

  .catalog-instruction__video {
    min-height: 190px;
  }
}

.filter-range-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #777;
}

/* Delivery pickup cards */
.pickup-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pickup-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.pickup-card__title {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #111;
}

.pickup-card__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.pickup-card__block {
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.pickup-card__subtitle {
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.pickup-map {
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

.pickup-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 12px;
}

@media (max-width: 991.98px) {
  .pickup-card__grid {
    grid-template-columns: 1fr;
  }

  .pickup-map {
    height: 240px;
  }
}

/* ===== Celebrate / holiday goods block on main page ===== */
.celebrate-block {
  background: #fff;
}

.selebrate .title_decoration {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.selebrate .title_decoration:after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #ddd;
}

.selebrate .title {
  margin: 0;
  font-family: pfd, sans-serif;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 0.95;
  color: #333;
  font-weight: 700;
}

.selebrate_info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.selebrate_item {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 24px 18px;
  color: #2e2e2e;
}

.selebrate_item.gender {
  background-image: url("/local/templates/urasalut/assets/css/../img/004.jpg");
}

.selebrate_item.party {
  background-image: url("/local/templates/urasalut/assets/css/../img/005.jpg");
}

.selebrate_item.new_year {
  background-image: url("/local/templates/urasalut/assets/css/../img/006.jpg");
}

.selebrate_item:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 255, 255, 0.18) 52%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.selebrate_item h3,
.selebrate_item_section {
  position: relative;
  z-index: 1;
}

.selebrate_item h3 {
  margin: 0 0 18px;
  font-family: pfd, sans-serif;
  font-size: clamp(28px, 2vw, 38px);
  line-height: 1.05;
  color: #2e2e2e;
  font-weight: 700;
}

.selebrate_item_section ul {
  margin: 0;
  padding-left: 18px;
}

.selebrate_item_section ul li {
  margin-bottom: 12px;
  padding-left: 2px;
  list-style: none;
}

.selebrate_item_section ul li:before {
  content: "›";
  display: inline-block;
  margin-right: 7px;
  color: #555;
  font-size: 18px;
  line-height: 1;
}

.selebrate_item_section ul li a {
  text-decoration: none;
  color: #2e2e2e;
  font-size: 16px;
}

.selebrate_item_section ul li a:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .selebrate_info {
    grid-template-columns: 1fr;
  }

  .selebrate_item {
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  .selebrate .title {
    font-size: 36px;
  }

  .selebrate_item {
    min-height: 230px;
    padding: 20px 16px;
  }

  .selebrate_item h3 {
    font-size: 28px;
  }
}


.product-certificate-share{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-items:stretch
}
.product-certificate-link,
.product-share-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:52px;
  padding:10px 12px;
  border:1px solid #e5e5e5;
  border-radius:12px;
  background:#fff;
  color:#333;
  text-decoration:none;
  font-size:16px;
  line-height:1.2;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease
}
.product-share-btn{
  cursor:pointer
}
.product-certificate-link:hover,
.product-share-btn:hover{
  color:#111;
  border-color:#f0c400;
  box-shadow:0 5px 16px rgba(0,0,0,.08);
  text-decoration:none
}
.product-certificate-link__icon{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:flex;
  align-items:center;
  justify-content:center
}
.product-certificate-link__icon img{
  max-width:30px;
  max-height:30px;
  object-fit:contain;
  display:block
}
.product-share-btn__icon{
  font-size:22px;
  line-height:1
}
.product-share-note{
  margin-top:8px;
  color:#198754;
  font-size:13px;
  text-align:right
}
@media (max-width: 420px){
  .product-certificate-share{
    grid-template-columns:1fr
  }
  .product-share-note{
    text-align:left
  }
}

/* Align filter checkboxes with text */
.filter-check {
  align-items: center;
  line-height: 1.3;
}

.filter-check input[type="checkbox"] {
  margin: 0;
  flex: 0 0 auto;
  transform: translateY(0);
}

.filter-check span {
  display: inline-block;
  line-height: 1.3;
}

.catalog-instruction__list {
  list-style: none;
  padding-left: 0;
}

.catalog-instruction__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  line-height: 1.55;
}

.catalog-instruction__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  object-fit: contain;
  flex: 0 0 56px;
}

@media (max-width: 575.98px) {
  .catalog-instruction__list li {
    gap: 12px;
  }

  .catalog-instruction__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-basis: 48px;
  }
}

/* ===== Mobile fixes ===== */
@media (max-width: 767.98px) {
  body {
    overflow-x: hidden;
  }

  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Верхняя черная панель */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 8px 0 !important;
  }

  .topbar .container {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
  }

  .topbar a,
  .topbar span,
  .topbar-link {
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .topbar-ico {
    width: 16px;
    height: 16px;
  }

  /* Шапка */
  .header-main {
    margin-top: 0;
    padding: 14px 0 !important;
  }

  .header-main .container {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand-logo {
    display: none;
  }

  .btn-catalog {
    width: 100%;
    height: 56px;
    justify-content: space-between;
    padding: 0 22px;
    font-size: 28px;
    font-weight: 300;
    border-radius: 4px;
  }

  .btn-catalog .burger {
    width: 32px;
  }

  .search-form {
    width: 100%;
    height: 50px;
  }

  .search-input {
    font-size: 18px;
    padding-left: 14px;
  }

  .search-btn {
    min-width: 92px;
    padding: 0 18px;
    font-size: 24px;
  }

  .header-main .icon-btn,
  .header-main .cart {
    width: 44px;
    height: 44px;
  }

  .header-main .d-flex {
    flex-wrap: wrap;
  }

  /* Иконки кабинет / избранное / корзина */
  .header-main .gap-3,
  .header-main .gap-4 {
    justify-content: space-between !important;
    width: 100%;
  }

  /* Баннер */
  .hero-carousel {
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
  }

  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: auto;
  }

  .hero-img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  .hero-indicators {
    margin-bottom: 8px;
  }

  /* Бонусный баннер */
  .bonus-card {
    min-height: 170px !important;
    border-radius: 8px;
    overflow: hidden;
  }

  .bonus-card::before {
    background-size: cover;
    background-position: center right;
  }

  .bonus-body {
    padding: 22px 18px 22px 54px !important;
  }

  .bonus-ribbon {
    left: -62px;
    bottom: 64px;
    width: 160px;
    height: 34px;
    line-height: 34px;
    font-size: 18px;
  }

  .bonus-card h2,
  .bonus-title {
    font-size: 26px !important;
    line-height: 1.1;
  }

  .bonus-subtitle {
    max-width: 190px;
    font-size: 16px;
  }

  /* Категории на главной */
  .cat-tile {
    height: 68px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
  }

  .cat-tile:hover {
    background-position: center;
  }

  /* Если категории лежат в bootstrap row */
  .row.g-3 > [class*="col-"] {
    margin-bottom: 0;
  }

  /* Заголовки */
  .page-section {
    padding: 1.25rem 0;
  }

  h1,
  .h1 {
    font-size: 32px;
    line-height: 1.05;
  }

  h2,
  .h2,
  .title {
    font-size: 30px;
    line-height: 1.05;
  }

  /* Популярные товары */
  .product-mini-card {
    border-radius: 18px;
    padding: 16px;
  }

  .product-mini-image-link {
    min-height: 160px;
  }

  .product-mini-image {
    max-height: 160px;
  }

  .product-mini-title {
    font-size: 22px;
    line-height: 1.12;
  }

  .product-mini-article {
    font-size: 16px;
  }

  .product-mini-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-mini-feature__value,
  .product-mini-pack__main,
  .product-mini-pack__price {
    font-size: 15px;
  }

  .product-mini-actions {
    gap: 10px;
  }

  .product-mini-btn {
    min-height: 46px;
    font-size: 16px;
  }

  /* Блок "Праздничные товары" */
  .selebrate_info {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .selebrate_item {
    min-height: 180px;
    border-radius: 8px;
    padding: 18px;
    background-position: center;
  }

  .selebrate .title {
    font-size: 34px;
  }

  .selebrate_item h3 {
    font-size: 28px;
  }

  /* Каталог */
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .catalog-sidebar {
    position: static;
    border-radius: 14px;
  }

  .catalog-content__header {
    align-items: flex-start;
  }

  .catalog-content__header .h2 {
    font-size: 32px;
  }

  .catalog-toolbar {
    width: 100%;
    justify-content: flex-start;
  }

  .catalog-toolbar .btn {
    font-size: 14px;
    padding: 6px 10px;
  }
}

@media (max-width: 420px) {
  .topbar .container {
    gap: 6px 14px;
  }

  .topbar a,
  .topbar span,
  .topbar-link {
    font-size: 13px;
  }

  .btn-catalog {
    font-size: 26px;
  }

  .search-input {
    font-size: 17px;
  }

  .search-btn {
    min-width: 82px;
    font-size: 22px;
  }

  .cat-tile {
    height: 62px;
  }

  .bonus-card {
    min-height: 155px !important;
  }
}

/* ===== Mobile header/home final fixes ===== */
@media (max-width: 767.98px) {
  /* Шапка: не даем внутренним flex-блокам ломать сетку */
  .header-main .container > .d-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  /* Каталог */
  .header-main .dropdown,
  .header-main .btn-catalog {
    width: 100% !important;
  }

  .btn-catalog {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Поиск: фиксируем нормальную строку input + button */
  .header-main .search-form {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    height: 50px !important;
    overflow: hidden !important;
  }

  .header-main .live-search {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 100% !important;
  }

  .header-main .search-input {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
  }

  .header-main .search-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    font-size: 22px !important;
  }

  /* Иконки под поиском: в одну строку */
  .header-main .icon-btn,
  .header-main .cart {
    width: 54px !important;
    height: 54px !important;
  }

  .header-main .icon-svg,
  .header-main .cart-svg {
    width: 30px !important;
    height: 30px !important;
  }

  .header-main .container > .d-flex > .d-flex:last-child,
  .header-main .container .align-items-center.gap-3,
  .header-main .container .align-items-center.gap-4 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
  }

  .cart-count {
    top: -3px !important;
    right: -6px !important;
  }

  /* Первый слайдер */
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: auto !important;
    min-height: 0 !important;
  }

  .hero-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  /* Бонусный баннер */
  .bonus-card {
    min-height: 190px !important;
    height: 190px !important;
  }

  .bonus-card::before {
    background-size: cover !important;
    background-position: center right !important;
  }

  .bonus-body {
    padding: 28px 14px 20px 62px !important;
  }

  .bonus-card h2,
  .bonus-title {
    font-size: 26px !important;
    line-height: 1.08 !important;
    max-width: 230px !important;
  }

  .bonus-subtitle {
    font-size: 16px !important;
    line-height: 1.25 !important;
    max-width: 185px !important;
  }

  /* Категории: выше, чтобы картинки не резались в кашу */
  .cat-tile {
    height: 92px !important;
    min-height: 92px !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 5px !important;
  }

  /* Сетка категорий на главной: ровно 2 колонки */
  .row.g-3 > .col-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
  }

  .row.g-3 {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
  }

  /* Популярные товары: меньше верхний отступ */
  .page-section {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .popular-products,
  .popular-section {
    margin-top: 16px !important;
  }
}

@media (max-width: 420px) {
  .header-main .search-btn {
    flex-basis: 88px !important;
    width: 88px !important;
    min-width: 88px !important;
    font-size: 20px !important;
  }

  .cat-tile {
    height: 86px !important;
    min-height: 86px !important;
  }

  .bonus-card {
    height: 180px !important;
    min-height: 180px !important;
  }

  .bonus-card h2,
  .bonus-title {
    font-size: 24px !important;
  }
}

/* ===== Mobile header icons + category tiles correction ===== */
@media (max-width: 767.98px) {
  /* Убираем лишнюю высоту блока с иконками */
  .header-main {
    padding-bottom: 10px !important;
  }

  .header-main .container > .d-flex {
    gap: 12px !important;
  }

  /* Блок иконок: кабинет / избранное / корзина строго в одну строку */
  .header-main .container > .d-flex > .d-flex:last-child {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: center !important;
    justify-items: center !important;
    width: 100% !important;
    min-height: 54px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .header-main .icon-btn,
  .header-main .cart {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
  }

  .header-main .icon-svg,
  .header-main .cart-svg {
    width: 30px !important;
    height: 30px !important;
  }

  .cart-count {
    top: -3px !important;
    right: -5px !important;
  }

  /* Уменьшаем пустоту после иконок */
  .header-main + * {
    margin-top: 0 !important;
  }

  /* Категории: делаем плитки выше и показываем красивее */
  .cat-tile {
    height: 112px !important;
    min-height: 112px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 5px !important;
  }

  .cat-tile:hover {
    background-position: center center !important;
  }

  /* Сетка категорий */
  .row.g-3 {
    --bs-gutter-x: 8px !important;
    --bs-gutter-y: 8px !important;
  }

  .row.g-3 > .col-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
  }
}

@media (max-width: 420px) {
  .cat-tile {
    height: 104px !important;
    min-height: 104px !important;
  }

  .header-main .container > .d-flex > .d-flex:last-child {
    min-height: 50px !important;
  }
} 
/* ===== 2026-05 mobile header + category tiles clean fix ===== */
.mobile-main-header {
  display: none;
}

.category-tiles-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 991.98px) {
  /* mobile header */
  .mobile-main-header {
    display: block !important;
    background: #2f2f2f;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: sticky;
    top: 0;
    z-index: 998;
  }

  .mobile-main-header__inner {
    height: 56px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 42px minmax(112px, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .mobile-main-header__burger {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-main-header__burger span,
  .mobile-main-header__burger:before,
  .mobile-main-header__burger:after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: #fbd400;
    border-radius: 2px;
    position: absolute;
    left: 3px;
  }

  .mobile-main-header__burger span {
    top: 17px;
  }

  .mobile-main-header__burger:before {
    top: 9px;
  }

  .mobile-main-header__burger:after {
    top: 25px;
  }

  .mobile-main-header__logo {
    display: block;
    width: 126px;
    max-width: 100%;
    height: 34px;
    background: url("/local/templates/urasalut/assets/css/../img/logo.svg") left center / contain no-repeat;
  }

  .mobile-main-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
  }

  .mobile-main-header__icon {
    width: 30px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    position: relative;
    flex: 0 0 30px;
  }

  .mobile-main-header__icon:hover {
    color: #fff;
    text-decoration: none;
  }

  .mobile-main-header__icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    display: block;
  }

  .mobile-main-header__cart-count {
    position: absolute;
    right: -9px;
    top: -2px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fbd400;
    color: #111;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    font-weight: 700;
  }

  .mobile-main-header .dropdown-menu {
    margin-top: 8px !important;
    min-width: 260px;
    background: #fbd400 !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  }

  .mobile-main-header .dropdown-item {
    color: #222 !important;
    font-size: 16px;
    padding: 10px 16px;
  }

  .mobile-main-header .dropdown-item:hover,
  .mobile-main-header .dropdown-item:focus {
    background: rgba(0, 0, 0, .07) !important;
  }

  /* compact topbar above the mobile black header */
  .topbar {
    position: static !important;
    padding: 7px 0 !important;
  }

  .topbar .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .topbar .row {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .topbar [class*="col-"] {
    padding: 0 !important;
    width: 100% !important;
  }

  .topbar .d-flex {
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  .topbar a,
  .topbar span {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .topbar-ico {
    width: 15px !important;
    height: 15px !important;
  }

  .header-main {
    display: none !important;
  }

  /* category grid without holes */
  .category-tiles-section .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .category-tiles-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .category-tiles-grid .cat-tile {
    display: block !important;
    width: 100% !important;
    height: 66px !important;
    min-height: 66px !important;
    border-radius: 5px !important;
    background-color: #333 !important;
    background-size: 100% 200% !important;
    background-position: 50% 100% !important;
    background-repeat: no-repeat !important;
  }

  .category-tiles-grid .cat-tile:hover {
    background-position: 50% 100% !important;
  }
}

@media (max-width: 420px) {
  .mobile-main-header__inner {
    padding: 0 10px;
    grid-template-columns: 38px minmax(108px, 1fr) auto;
    gap: 8px;
  }

  .mobile-main-header__logo {
    width: 118px;
  }

  .mobile-main-header__actions {
    gap: 12px;
  }

  .mobile-main-header__icon {
    width: 28px;
    flex-basis: 28px;
  }

  .mobile-main-header__icon svg {
    width: 26px;
    height: 26px;
  }

  .category-tiles-grid .cat-tile {
    height: 62px !important;
    min-height: 62px !important;
  }
}

/* ===== TZ patch 2 fixes ===== */
.catalog-sidebar {
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.catalog-sidebar .filter-actions {
  position: sticky;
  bottom: -1rem;
  z-index: 5;
  margin: 1rem -1rem -1rem;
  padding: 12px 1rem;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -8px 18px rgba(0,0,0,.05);
}
.catalog-instruction {
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .55fr) minmax(280px, .85fr);
}
.catalog-instruction__image {
  min-height: 220px;
  border-radius: 16px;
  background: #f5f5f5 center/cover no-repeat;
  border: 1px dashed #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  text-align: center;
  overflow: hidden;
}
.product-question__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.product-question__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-weight: 700;
}
.product-question__link:hover {
  color: #111;
  border-color: #f0c400;
  box-shadow: 0 5px 16px rgba(0,0,0,.08);
  text-decoration: none;
}
.product-question__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
}
.product-question__icon--max { background: #7c3cff; }
.product-question__icon--whatsapp { background: #25d366; }
.us-auth-box {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.us-personal-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.us-personal-tile {
  display: block;
  padding: 20px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  color: #111;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.us-personal-tile:hover {
  color: #111;
  border-color: #f0c400;
  text-decoration: none;
}
.cart-page .bx-sbb-empty-cart-container,
.cart-page .bx-sbb-empty-cart-image,
.cart-page .bx-sbb-empty-cart-text,
.cart-page .bx-sbb-empty-cart-desc,
.cart-page .bx-sbb-empty-cart-btn-container {
  max-width: 100%;
}
@media (max-width: 991.98px) {
  .catalog-instruction {
    grid-template-columns: 1fr;
  }
  .catalog-instruction__image,
  .catalog-instruction__video {
    min-height: 190px;
  }
  .us-personal-tiles {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .product-question__links {
    grid-template-columns: 1fr;
  }
}
/* Hide Bitrix basket gift block if template still renders it despite USE_GIFTS=N */
.cart-page [class*="gift"],
.cart-page [class*="Gift"],
.cart-page [id*="gift"],
.cart-page [id*="Gift"] {
  display: none !important;
}

/* ===== TZ fix3: breadcrumbs, filter footer, order/cart tweaks, product description ===== */
.urasalut-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.urasalut-breadcrumb .bx-breadcrumb-item + .bx-breadcrumb-item::before,
.bx-breadcrumb-item + .bx-breadcrumb-item::before {
  content: none !important;
  display: none !important;
}
.urasalut-breadcrumb__item {
  font-size: .95rem;
  color: #6c757d;
}
.urasalut-breadcrumb__item a {
  color: #6c757d;
  text-decoration: none;
}
.urasalut-breadcrumb__item a:hover {
  text-decoration: underline;
}
.catalog-sidebar {
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding-bottom: 0;
}
.catalog-sidebar .filter-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin-left: -1rem;
  margin-right: -1rem;
  padding: .9rem 1rem 1rem;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -8px 18px rgba(0, 0, 0, .06);
}
.order-make-page .container,
.cart-page .container {
  max-width: 1280px;
}
.sale_order_full_table,
.bx_order_make {
  max-width: 100%;
}
.bx_order_make .bx_section,
.bx_ordercart,
.bx_ordercart_order_table_container {
  border-radius: 12px;
}
.bx_ordercart .bx_ordercart_coupon,
.bx_ordercart .bx_ordercart_order_pay {
  max-width: 100%;
}
/* gifts from Bitrix basket/order templates */
.bx_ordercart .bx_ordercart_gift,
.bx_ordercart .bx_ordercart_gift_title,
.bx_ordercart .bx_item_list_you_looked_horizontal,
.bx_ordercart .bx_item_list_you_looked_vertical,
.bx_order_make .bx_item_list_you_looked_horizontal,
.bx_order_make .bx_ordercart_gift,
.bx_order_make .bx_ordercart_gift_title,
div[id*="basket-gift"],
div[class*="gift"] .bx_catalog_item,
.basket-items-list-wrapper .basket-item-gift,
.basket-gifts,
.sale-products-gift {
  display: none !important;
}
.product-description-collapse {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.65;
}
.product-description-collapse.is-open {
  display: block;
  overflow: visible;
}
.product-description-toggle {
  display: inline-flex;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0d6efd;
  font-weight: 700;
}
.product-description-toggle.is-hidden {
  display: none;
}
@media (max-width: 991.98px) {
  .catalog-sidebar {
    max-height: none;
    overflow: visible;
  }
  .catalog-sidebar .filter-actions {
    position: sticky;
    bottom: 0;
  }
}


/* Clean catalog breadcrumbs */
.urasalut-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 22px;
  padding: 0;
  color: #6c757d;
  font-size: 14px;
}

.urasalut-breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.urasalut-breadcrumb__item a {
  color: #6c757d;
  text-decoration: none;
}

.urasalut-breadcrumb__item a:hover {
  color: #333;
  text-decoration: underline;
}

.urasalut-breadcrumb__item.active span {
  color: #333;
}

/* Catalog instruction middle image: no frame, no background, no stretching */
.catalog-instruction__media,
.catalog-instruction__image-wrap,
.catalog-instruction-image,
.catalog-instruction-picture {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.catalog-instruction__media img,
.catalog-instruction__image-wrap img,
.catalog-instruction-image img,
.catalog-instruction-picture img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 260px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.catalog-instruction .catalog-instruction__image,
.catalog-instruction .instruction-image,
.catalog-instruction .instruction-picture,
.catalog-instruction .instruction-media {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.catalog-instruction .catalog-instruction__image img,
.catalog-instruction .instruction-image img,
.catalog-instruction .instruction-picture img,
.catalog-instruction .instruction-media img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 260px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.catalog-instruction-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.catalog-instruction-picture img {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 260px;
  object-fit: contain;
}

.catalog-instruction__video {
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-instruction__video-player {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 320px;
  border-radius: 12px;
  background: #000;
}

.catalog-instruction__video-placeholder {
  width: 100%;
  min-height: 220px;
  border: 1px dashed #ddd;
  border-radius: 12px;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .catalog-instruction__video-player {
    max-height: 240px;
  }
}
/* Catalog instruction layout: text narrower, video wider */
.catalog-instruction {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 260px minmax(360px, 1.25fr);
  gap: 28px;
  align-items: center;
}

/* Middle picture: no frame, no background, no stretching */
.catalog-instruction-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.catalog-instruction-picture img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 260px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Video block: when real video exists, remove placeholder frame */
.catalog-instruction__video {
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-instruction__video--has-video {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.catalog-instruction__video-player {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 360px !important;
  border-radius: 10px;
  background: #000;
  box-shadow: none !important;
}

/* Placeholder stays framed only when video is missing */
.catalog-instruction__video-placeholder {
  width: 100%;
  min-height: 220px;
  border: 1px dashed #ddd;
  border-radius: 12px;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .catalog-instruction {
    grid-template-columns: minmax(0, 1fr) 220px minmax(320px, 1.15fr);
    gap: 22px;
  }
}

@media (max-width: 991.98px) {
  .catalog-instruction {
    grid-template-columns: 1fr;
  }

  .catalog-instruction-picture img {
    max-height: 220px !important;
  }

  .catalog-instruction__video-player {
    max-height: 300px !important;
  }
}

.us-mini-pack {
    text-transform: lowercase;
}
/* End */


/* Start:/local/templates/urasalut/assets/css/adaptive.css?1774011866165*/
h2.h3 {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2.4rem);
}

@media (min-width: 1200px) {
  h2.h3 {
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2.8rem);
  }
}
/* End */
/* /local/templates/urasalut/assets/css/style.css?178003240478234 */
/* /local/templates/urasalut/assets/css/adaptive.css?1774011866165 */
