@font-face {
    font-family: 'Gilroy';
    src: url('/local/templates/petb2b/assets/fonts/Gilroy-Regular.woff2') format('woff2'),
        url('/local/templates/petb2b/assets/fonts/Gilroy-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/local/templates/petb2b/assets/fonts/Gilroy-Medium.woff2') format('woff2'),
        url('/local/templates/petb2b/assets/fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/local/templates/petb2b/assets/fonts/Gilroy-SemiBold.woff2') format('woff2'),
        url('/local/templates/petb2b/assets/fonts/Gilroy-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/local/templates/petb2b/assets/fonts/Gilroy-Bold.woff2') format('woff2'),
        url('/local/templates/petb2b/assets/fonts/Gilroy-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
  --font-family: "Gilroy", sans-serif;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p,h1,h2,h3,h4,h5,h6,span {
  margin: 0; 
  padding: 0;
}

body {
  background: #f4f4f4;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  padding: 14px 40px;
}

.catalog-container {
  display: flex;
  align-items: flex-start;
}

.sidebar {
  border-radius: 14px;
  background: #fff;
  height: calc(100vh - 28px);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 14px;
}


.sidebar-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: 30px;
}

.sidebar-head-logo {
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1b85ff 0%, #296fbf 100%);
}

.sidebar-head-name {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  color: #323232;
}

.sidebar-menu {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-tab {
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sidebar-tab-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-tab-name {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #323232;
  transition: 0.3s all ease;
}

.sidebar-tab.active {
  background: rgba(37, 118, 210, 0.1);
}

.sidebar-tab.active .sidebar-tab-name {
  color: #217ce3;
}

.sidebar-tab-left svg {
  transition: 0.3s all ease;
}

.sidebar-tab-left svg path {
  transition: 0.3s all ease;
}

.sidebar-tab:hover .sidebar-tab-left svg path,
.sidebar-tab.active .sidebar-tab-left svg path {
  stroke: #217CE3;
}

.sidebar-tab:hover .sidebar-tab-name {
  color: #217ce3;
}

.sidebar-tab:hover {
  background: rgba(37, 118, 210, 0.1);
}

.sidebar-tab-badge {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  border-radius: 1000px;
  padding: 2px 4px;
  background: #ff6262;
}

.sidebar-bottom {
  margin-top: auto;
}

.sidebar-profile {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.user-img {
  border-radius: 12px;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1b85ff 0%, #296fbf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-img-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

.user-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-name {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #323232;
}

.user-subtitle {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 11px;
  color: #717171;
}

.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main-container-head {
  display: flex;
  background: #fff;
}

.main-container-head .container {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
}

.catalog-search {
  position: relative;
  flex: 1;
  min-width: 0;
}

.catalog-search input {
  width: 100%;
}

.search-icon {
  position: absolute;
  padding-left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.search-input {
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  height: 44px;
  outline: none;
  padding-left: 46px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  color: #323232;
}

.search-input::placeholder {
  color: #969696;
}

.catalog-btn-icon {
  border-right: 1px solid #ebebeb;
  width: 42px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-btn-tovar {
  display: flex;
  align-items: center;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #fff;
  text-decoration: none !important;
}

.catalog-btn {
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-btn-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  color: #323232;
  padding: 14px;
}

.main-container-filters {
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.filters-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  padding: 8px 14px;
  border: 0;
  border: 1px solid #ebebeb;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 230px;
}

.filter-dropdown-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  margin-left: 8px;
}

.filter-dropdown-arrow {
  margin-left: auto;
}

.filter-dropdown-btn:hover {
  border-color: #217CE3;
}

.filter-dropdown-arrow {
  transition: transform 0.2s ease;
}

.filter-dropdown.open .filter-dropdown-arrow {
  transform: rotate(180deg);
}

.filter-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.filter-dropdown.open .filter-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.filter-dropdown-item {
  padding: 10px 14px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  color: #323232;
  cursor: pointer;
  transition: background 0.2s ease;
}

.filter-dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.filter-dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

.filter-dropdown-item:hover {
  background: rgba(37, 118, 210, 0.1);
  color: #217CE3;
}

.filter-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #2d78ff;
  border-radius: 8px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tag:hover {
  background: #bdcede;
}

.filter-tag-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.filter-tag-remove:hover {
  opacity: 0.7;
}

.filter-clear-btn {
  padding: 8px 14px;
  background: #f6f6f6;
  border-radius: 8px;
  border: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-clear-btn:hover {
  color: #013f7c;
  background: #bdcede;
}

.main-container-shop {
  display: flex;
  gap: 14px;
}

.main-container-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-content: start;
}

.catalog-item {
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.catalog-item-head {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px;
}

.catalog-item-img {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.catalog-starred {
  border-radius: 8px;
  border: 1px solid #ebebeb;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-left: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.catalog-starred svg path {
  transition: all 0.3s ease;
}

.catalog-starred:hover svg path,
.catalog-starred.active svg path {
  stroke: #ff4d4d;
  fill: #ff4d4d;
}

.catalog-left {
  border-radius: 4px;
  padding: 4px 6px;
  background: #ed4747;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  width: fit-content;
  text-transform: uppercase;
}

.rasprodazha {
  display: flex;
  gap: 10px;
  align-items: center;
}

.rasprodazha .catalog-item-price {
  color: #ed4747;
}

.catalog-item-price-marked {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  text-decoration: line-through;
  color: #9e9e9e;
}

.catalog-item-price-sale {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #ed4747;
}

.catalog-item-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-item-price {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  color: #3d3d3d;
  margin-bottom: 8px;
}

.catalog-item-articul {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  color: #919191;
}

.catalog-item-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;  
  margin-top: 4px;
  margin-bottom: 4px;
}

.catalog-item-malo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.malo-bullet {
  border-radius: 750px;
  width: 6px;
  height: 6px;
  background: #e58423;
}

.malo-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  color: #e58423;
}

.catalog-item-btn {
  border-radius: 12px;
  padding: 11.5px;
  background: #207eeb;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #fff;
  border: 0;
  width: 100%;
  transition: all ease 0.3s;
  cursor: pointer;
  margin-top: auto;
}

.catalog-item-btn:hover {
  background: #0359ad;
}

.main-container-category {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-category {
  border-radius: 14px;
  background: #fff;
  padding: 14px; 
}

.catalog-category-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: #3d3d3d; 
}

.catalog-category-link {
  padding: 10px 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.catalog-category-bottom {
  padding: 0px 8px 14px 24px;
}

.catalog-category-block {
  border-radius: 12px;
  padding: 8px 14px;
  background: #f4f4f4;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  cursor: pointer;
}

.catalog-radios {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-filter-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.catalog-filter-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
}

.catalog-filter-divider {
  border-bottom: 1px solid #e7e7e7;
}

.catalog-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.catalog-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.catalog-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2px;
  background-color: #e7e7e7;
  border-radius: 1000px;
  transition: all 0.3s ease;
}

.catalog-toggle-slider:before {
  position: absolute;
  content: "";
  border-radius: 1000px;
  width: 24px;
  height: 24px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.catalog-toggle-input:checked + .catalog-toggle-slider {
  background-color: #013f7c;
}

.catalog-toggle-input:checked + .catalog-toggle-slider:before {
  transform: translateX(24px);
}

.catalog-category-big-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: #3d3d3d;
}

.price-inputs {
  display: flex;
  margin-top: 8px;
  margin-bottom: 14px;
  justify-content: space-between;
  gap: 8px;
}

.price-input {
  border-radius: 12px;
  padding: 14px;
  background: #f4f4f4;
  border: none;
  outline: none;
  max-width: 130px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
}

.price-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.price-checkbox-input {
  display: none;
}

.price-checkbox-custom {
  width: 14px;
  height: 14px;
  border: 1px solid #b0b0b0;
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s ease;
  position: relative;
}

.price-checkbox-input:checked + .price-checkbox-custom {
  background: #013f7c;
  border-color: #013f7c;
}

.price-checkbox-input:checked + .price-checkbox-custom::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 3px;
  height: 6px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.price-checkbox-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
}

.price-checkbox-text-span {
  color: #6d6d6d;
}

.show-all-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #207eeb;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.show-all-btn:hover {
  opacity: 0.8;
}

.reset-filters-btn {
  border-radius: 8px;
  padding: 13.5px 32px;
  background: #f4f4f4;
  border: none;
  width: 100%;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  cursor: pointer;
  transition: background 0.2s ease;
}

.reset-filters-btn:hover {
  background: #d9d9d9;
}

.mb14 {
  margin-bottom: 14px;
}

.op0 {
  opacity: 0;
}

.main-container .pagination {
  margin-top: 10px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #b1b1b1;
  text-decoration: none;
}

.pagination-link.active {
  color: #323232;
}

.catalog-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 150%;
  color: #323232;
}

.catalog-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #b0b0b0;
  padding-bottom: 6px;
}

.catalog-head-content {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.catalog-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tovar-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tovar-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  color: #3d3d3d;
}

.tovar-buttons-row {
  display: flex;
  gap: 24px;
}

.tovar-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #6d6d6d;
}

.tovar-border {
  border-bottom: 1px solid #d1d1d1;
}

.tovar-row {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  align-items: flex-start;
}

.tovar-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  max-width: 650px;
}

.tovar-item-swiper {
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  display: flex;
}

.tovar-thumbs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
}

.tovar-thumb-nav {
  border-radius: 8px;
  padding: 0px 14px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.tovar-thumb-nav:hover {
  opacity: 0.7;
}

.tovar-thumbs {
  width: 60px;
  height: 404px;
}

.tovar-thumb {
  border-radius: 8px;
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1px solid #e7e7e7;
  cursor: pointer;
  transition: border-color 0.2s ease;
  overflow: hidden;

}

.tovar-thumb.swiper-slide-thumb-active {
  border-color: #207EEB;
}

.tovar-thumb img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.tovar-main-col {
  flex: 1;
  min-width: 0;
  position: relative;
}

.tovar-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  position: absolute;
  z-index: 99;
  right: 0;
}

.tovar-badge {
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.tovar-swiper-badge {
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.tovar-badge-green {
  color: #13b672;
  background: #e8f8f1;
}

.tovar-badge-orange {
  background: #fcf4e9;
  color: #d8881a;
}

.tovar-badge-red {
  background: #feeded;
  color: #ed4747;
}

.tovar-main {
  width: 100%;
  overflow: hidden;
}

.tovar-main .swiper-wrapper {
  height: 100%;
}

.tovar-main-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tovar-main-slide img {
  max-width: 100%;
  object-fit: contain;
}

.tovar-right {
  padding: 24px;
  border-radius: 14px;
  background: #fff; 
  flex: 1;
}

.tovar-name {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tovar-articul {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #919191;
}

.tovar-name-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 150%;
  color: #323232;
}

.tovar-name .malo-text {
  font-size: 16px;
}

.tovar-name .malo-bullet {
  width: 8px;
  height: 8px;
}

.tovar-name .catalog-item-malo {
  margin-bottom: 24px;
}

.tovar-info {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #ebebeb;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tovar-count-row {
  display: flex;
  gap: 8px;
}

.tovar-count {
  border-radius: 8px;
  padding: 8.5px 14px;
  background: #f4f4f4;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #313c49;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tovar-count.active {
  border: 1px solid #227adf;
  color: #227adf;
}

.tovar-price-container {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}

.tovar-price {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 130%;
  color: #3d3d3d;
}

.sale-text {
  color: #ed4747;
}

.tovar-price.orig-price {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  text-decoration: line-through;
  color: #919191;
}

.tovar-card-btn {
  background: #2d78ff;
  padding: 13.5px;
}

.tovar-card-btn:hover {
  background: #0359ad;
}

.tovar-cart-wrapper {
  position: relative;
}

.tovar-cart-counter {
  display: none;
  align-items: center;
  gap: 0;
}

.tovar-cart-wrapper.active .tovar-card-btn {
  display: none;
}

.tovar-cart-wrapper.active .tovar-cart-counter {
  display: flex;
  gap: 8px;
}

.tovar-cart-counter-input {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 8px;
  background: #f4f4f4;
  max-width: 280px;
  width: 100%;
}

.tovar-counter-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #2d78ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tovar-counter-btn:hover {
  background: #51a740;
}

.tovar-counter-btn:active {
  background: #3f8930;
}

.tovar-counter-btn:disabled {
  background: #66bc54;
  opacity: 0.6;
}

.tovar-counter-value {
  flex: 1;
  text-align: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #2d78ff;
  border: none;
  background: transparent;
  outline: none;
  min-width: 60px;
}

.tovar-checkout-btn {
  border-radius: 8px;
  padding: 13.5px 32px;
  background: #2d78ff;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.tovar-checkout-btn:hover {
  background: #0359ad;
}

.tovar-card-btn:active {
  background: #054e96;
}

.tovar-card-btn:disabled {
  background: #013f7c;
  opacity: 0.6;
}

.tovar-price-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #6d6d6d;
}

.tovar-bottom-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tovar-bottom-info-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #3d3d3d;
  display: flex;
  align-items: center;
}

.info-text-blue {
  color: #227adf;
  margin-left: 8px;
}

.info-divider {
  border-radius: 500px;
  width: 4px;
  height: 4px;
  background: #b0b0b0;
  margin: 0 8px;
}

.info-text-gray {
  color: #6d6d6d !important;
}

.tovar-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.tovar-section-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #323232;
}

.tovar-weigth-choose {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tovar-weigth {
  border-radius: 8px;
  padding: 8.5px 14px;
  background: #f4f4f4;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  cursor: pointer;
}

.tovar-weigth.active {
  border: 1px solid #227adf;
  color: #227adf;
}

.tovar-colour {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tovar-colour-img.active {
  border: 1px solid #227adf;
}

.tovar-colour-img {
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
  cursor: pointer;
}

.ps-0 {
  margin-left: 0;
}

.tovar-tabs {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
}

.tovar-tabs-header {
  display: flex;
  gap: 56px;
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 20px;
}

.tovar-tab-btn {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  color: #6d6d6d;
  background: none;
  border: none;
  padding-bottom: 14px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.tovar-tab-btn:hover {
  color: #227adf;
}

.tovar-tab-btn.active {
  color: #227adf;
}

.tovar-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #227adf;
  border-radius: 2px 2px 0 0;
}

.tovar-tab-content {
  display: none;
}

.tovar-tab-content.active {
  display: block;
}

.tovar-tab-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #3d3d3d;
}

.tovar-tab-more {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  color: #227adf;
  background: none;
  border: none;
  padding: 0;
  margin-top: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tovar-tab-more:hover {
  text-decoration: none;
}

.tovar-composition-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 150%;
  color: #3d3d3d;
  margin-bottom: 14px;
}

.tovar-composition-table {
  width: 100%;
  border-collapse: collapse;
}

.tovar-composition-table tr {
  border-bottom: 1px solid #e7e7e7;
}

.pt-0 {
  padding-top: 0px !important;
}

.tovar-composition-table tr:last-child {
  border-bottom: none;
}

.tovar-composition-table td {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  vertical-align: top;
  padding: 10px 0;
}

.tovar-composition-table td:first-child {
  color: #6d6d6d;
  width: 45%;
}

.tovar-composition-table td:last-child {
  color: #3d3d3d;
  text-align: right;
}

.copy-icon {
  cursor: pointer;
  margin-left: 8px;
  transition: transform 0.2s;
}

.copy-icon:hover {
  opacity: 1;
}

.copy-icon.copied svg path {
  stroke: #227adf;
}

.copy-icon.copied {
  transform: scale(1.2);
}

.cart-notification {
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-notification-text {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #477fed;
}

.cart-notification-delete {
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7e7e7;
  border: none;
  outline: none;
  cursor: pointer;
}

.cart-container {
  border-radius: 24px;
  padding: 24px;
  background: #fff;
}

.cart-container-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-container-head-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}

.cart-container-head-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 150%;
  color: #3d3d3d;
}

.cart-container-head-subtitle {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #6d6d6d;
}

.cart-container-head-btn {
  border-radius: 8px;
  padding: 11.5px 29px;
  background: #e7e7e7;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-container-head-btn:hover {
  background: #d4dbe3;
}

.cart-container-head:active {
  background: #aebdcb;
}

.cart-container-head-btn:disabled {
  background: #ebeef3;
  opacity: 0.6;
}

.cart-container-divider {
  margin: 24px 0;
  border-bottom: 1px solid #e7e7e7;
}

.cart-container-items {
  display: flex;
  flex-direction: column;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-left {
  display: flex;
  gap: 24px;
  flex: 1;
}

.cart-item-img {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  border: 1px solid #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.cart-item-img img {
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.cart-item-badge {
  border-radius: 8px;
  padding: 4px 8px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  width: fit-content;
}

.cart-badge-orange {
  background: #d8881a;
  color: #fff;
}

.cart-badge-black {
  background: #3d3d3d;
  color: #fff;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  max-width: 220px;
}

.cart-item-article {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #6d6d6d;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.cart-item-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #3d3d3d;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.cart-item-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e7e7e7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-item-action:hover {
  background: #f4f4f4;
}

.cart-item-right {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.cart-item-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 140px;
}

.cart-item-old-price {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-decoration: line-through;
  color: #6d6d6d;
}

.cart-item-price {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: #3d3d3d;
}

.cart-item-discount {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #ed4747;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 14px;
  padding: 4px;
  overflow: hidden;
  background: #f6f6f6;
}

.cart-quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  background: #f6f6f6;
}

.cart-quantity-btn:hover {
  background: #f9f9f9;
}

.cart-quantity-value {
  padding: 0 3.5px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  color: #207eeb;
  white-space: nowrap;
  border: none;
  background: transparent;
  outline: none;
  text-align: center;
  min-width: 70px;
  max-width: 100px;
}

.cart-item-unit-price {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #6d6d6d;
  padding-top: 4px;
}

.cart-item-disabled .cart-item-img img {
  opacity: 0.6;
}

.cart-item-disabled .cart-item-article,
.cart-item-disabled .cart-item-title,
.cart-item-disabled .cart-item-prices {
  opacity: 0.6;
}

.cart-item-remove-btn {
  padding: 11.5px 32px;
  border-radius: 8px;
  border: none;
  background: #f6f6f6;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-item-remove-btn:hover {
  background: #d4dbe3;
}

.cart-item-remove-btn:disabled {
  background: #ebeef3;
  opacity: 0.6;
}

.cart-item-remove-btn:active {
  background: #aebdcb;
}

.cart-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 430px;
  width: 100%;
}

.cart-right-container {
  border-radius: 14px;
  padding: 24px;
  background: #fff;
}

.cart-right-container-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cart-right-container-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #3d3d3d;
}

.cart-right-container-text span {
  color: #207eeb;
}

.cart-right-container-btn {
  padding: 13.5px 32px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #e7e7e7;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  margin-top: 14px;
}

.cart-right-price-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 14px;
}

.cart-right-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-right-price-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #3d3d3d;
}

.cart-right-price-text span {
  color: #ed4747;
}

.cart-right-price-big-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 150%;
  text-align: right;
  color: #3d3d3d;
}

.cart-right-price-row:last-child {
  margin-top: 14px;
}

.cart-btn {
  margin-top: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #207eeb;
  padding: 13.5px 32px;
  width: 100%;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #fff;
  border-radius: 8px;
  border: 0;
}

.cart-btn:hover {
  background: #0359ad;
}

.cart-btn:active {
  background: #054e96;
}

.cart-btn:disabled {
  background: #013f7c;
  opacity: 0.6;
}

.cart-left {
  max-width: 100%;
  flex: 1;
}

.catalog-dropdown-wrapper {
  position: relative;
}

.head-catalog-btn {
  border-radius: 12px;
  padding: 0px 32px;
  background: #2d78ff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  border: none;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.head-catalog-btn:hover {
  background: #0359ad;
}

.catalog-btn-icon-close {
  display: none;
}

.catalog-dropdown-wrapper.open .catalog-btn-icon-grid {
  display: none;
}

.catalog-dropdown-wrapper.open .catalog-btn-icon-close {
  display: block;
}

.catalog-mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: #fff;
  border-radius: 14px;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 100;
  overflow: hidden;
}

.catalog-dropdown-wrapper.open .catalog-mega-menu {
  display: flex;
}

.catalog-mega-sidebar {
  background: #fff;
  padding: 16px 0;
  border-right: 1px solid #e7e7e7;
  min-width: 250px;
  display: flex;
  flex-direction: column;
}

.catalog-mega-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 30px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #6d6d6d;
  text-decoration: none;
  transition: background 0.2s;
}

.catalog-mega-cat:hover,
.catalog-mega-cat.active {
  color: #3d3d3d;
}

.catalog-mega-cat:hover {
  background: #f6f6f6;
}

.catalog-mega-cat.active {
  background: #f6f6f6;
}

.catalog-mega-divider {
  height: 1px;
  background: #e7e7e7;
  margin: 8px 0px;
}

.catalog-mega-content {
  padding: 16px;
  padding-bottom: 24px;
  display: flex;
  gap: 54px;
  width: max-content;
}

.catalog-mega-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 99;
  display: none;
}

.catalog-mega-overlay.active {
  display: block;
}

.catalog-mega-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-mega-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  text-decoration: none;
  transition: color 0.2s;
  width: max-content;
}

.catalog-mega-link:hover {
  color: #207eeb;
}

.catalog-mega-link.active {
  color: #207eeb;
}

.catalog-mega-link-bold {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: #3d3d3d;
}

.catalog-mega-link-bold:hover {
  color: #207eeb;
}

.catalog-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  padding-bottom: 0;
}

.modal-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 150%;
  color: #313c49;
}

.modal-close {
  border-radius: 8px;
  background: #f2f2f2;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contract-option {
  display: flex;  
  align-items: center;
  gap: 24px;
  cursor: pointer;
  padding: 24px;
  border-radius: 14px;
  transition: all ease 0.3s;
}

.contract-option:hover {
  border: 1px solid #207eeb;
}

.contract-option.active {
  border: 1px solid #207eeb;
}

.contract-radio {
  display: none;
}

.contract-radio-custom {
  width: 18px;
  height: 18px;
  border: 1.29px solid #aebdcb;
  background: #fff;
  border-radius: 1000px;
  flex-shrink: 0;
  position: relative;
  transition: all ease 0.2s;
}

.contract-radio:checked + .contract-radio-custom {
  border: 5.14px solid #207eeb;
}

.contract-radio:checked + .contract-radio-custom::after {
  content: "";
  position: absolute;
  border: .5px solid #207eeb;
}

.contract-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contract-type {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: #323232;
}

.contract-details {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #6d6d6d;
}

.contract-delivery {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  color: #6d6d6d;
  margin-top: 4px;
}

.contract-delivery-days {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  color: #323232;
}

.modal-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin: 16px 24px;
  background: #f4f4f4;
  border-radius: 12px;
}

.modal-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #6d6d6d;
  background: #f4f4f4;
}

.modal-search-input::placeholder {
  color: #9e9e9e;
}

.header-address {
  padding: 10px 40px;
  background: rgba(45, 120, 255, 0.1);
  display: flex;
  align-items: center;
}

.header-address-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  color: #2d78ff;
  cursor: pointer;
}

.main-container-show-more {
  border-radius: 8px;
  padding: 20.5px 64px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-container-show-more-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #323232;
}

.main-container-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.catalog-pagination {
  border-radius: 12px;
  padding: 10px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: #323232;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.catalog-pagination:hover:not(.active):not(.dots) {
  background-color: #f0f0f0;
}

.catalog-pagination.active {
  background: #207eeb;
  color: #fff;
}

.catalog-pagination.dots {
  cursor: default;
}

.catalog-pagination.arrow {
  background-color: transparent;
}

.catalog-pagination.arrow:hover {
  background-color: #f0f0f0;
}

.footer {
  margin-top: 30px;
  padding: 40px;
  background: #fff;
}

.footer .container {
  padding: 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
}

.footer-social-links {
  display: flex;
  gap: 14px;
}

.footer-social-link-block {
  background: #e7e7e7;
  border-radius: 8px;
  padding: 0px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  transition: all 0.3s ease;
}

.footer-social-link-block:hover {
  background: #d4dbe3;
}

.footer-social-link-block:active {
  background: #aebdcb;
}

.footer-social-link-block:disabled {
  background: #ebeef3;
  opacity: 0.6;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 55px;
}

.footer-right-subtext {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  color: #6d6d6d;
}

.footer-right-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: #323232;
  text-decoration: none;
}

.footer-right-btn {
  border-radius: 8px;
  padding: 13.5px 32px;
  background: #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #323232;
  cursor: pointer;
  border: 0;
  transition: all 0.3s ease;
}

.footer-right-btn:hover {
  background: #d4dbe3;
}

.footer-right-btn:active {
  background: #aebdcb;
}

.footer-right-btn:disabled {
  background: #ebeef3;
  opacity: 0.6;
}

.footer-container-policy {
  margin-top: 24px;
  display: flex;
  gap: 64px;
  align-items: center;
}

.footer-policy-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  color: #6d6d6d;
  text-decoration: none;
}

/* Mobile Filters */
.mobile-head-content {
  display: none;
}

.mobile-back-link {
  display: none;
}

.tovar-pagination {
  display: none;
}


/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
}

.mobile-filters-popup-content {
  display: none;
}

.mobile-cart-info {
  display: none;
}

.pet-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 150%;
  color: #323232;
  margin-bottom: 10px;
}

.tochka-container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.tochka-left {
  display: flex;
  flex-direction: column;
}

.tochka-left-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: #323232;
  margin-bottom: 4px;
}

.tochka-left-subtitle {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #6d6d6d;
}

.tochka-row {
  margin: 24px 0;
  display: flex;
  gap: 32px;
}

.tochka-left-big-subtitle {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #6d6d6d;
}

.tochka-left-small-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #323232;
}

.tochka-btn {
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13.5px 32px;
  outline: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #323232;
  background: #e7e7e7;
  border: none;
  margin-top: auto;
}

.tochka-btn:hover {
  background: #d4dbe3;
}

.tochka-btn:active {
  background: #aebdcb;
}

.tochka-btn:disabled {
  background: #ebeef3;
  opacity: 0.6;
}

.zakaz-cart-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.interval-row {
  display: flex;
  gap: 8px;
}

.interval-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: #f4f4f4;
  border-radius: 8px;
  padding: 10.5px 14px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #323232;
  border: none;
  outline: none;
}

.interval-btn.active {
  background: #2d78ff;
  color: #fff;
}

.interval-dropdown-wrapper {
  position: relative;
  margin-top: 14px;
}

.interval-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10.5px 14px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  cursor: pointer;
  min-width: 160px;
  transition: all 0.2s ease;
}

.interval-dropdown-btn:hover {
  border-color: #d4dbe3;
}

.interval-dropdown-wrapper.open .interval-dropdown-btn {
  border-color: #2d78ff;
}

.interval-dropdown-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #323232;
}

.interval-dropdown-icon {
  transition: transform 0.2s ease;
}

.interval-dropdown-wrapper.open .interval-dropdown-icon {
  transform: rotate(180deg);
}

.interval-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  min-width: 160px;
  overflow: hidden;
}

.interval-dropdown-wrapper.open .interval-dropdown-menu {
  display: block;
}

.interval-dropdown-option {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #323232;
  cursor: pointer;
  transition: background 0.2s ease;
}

.interval-dropdown-option:hover {
  background: #f4f4f4;
}

.interval-dropdown-option.active {
  color: #2d78ff;
}

.zakaz-telephone {
  margin-top: 8px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #323232;
}

.zakaz-checkboxes {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-container-head-zakaz {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-zakaz-rows {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 1;
  margin-top: 0;
}

.cart-zakaz-rows.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: -16px;
}

.cart-zakaz-item {
  border: 1px solid #ebeef3;
  border-radius: 14px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zakaz-svg-btn {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.zakaz-svg-btn.rotated {
  transform: rotate(180deg);
}

/* Success Page */
.success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  min-height: 70vh;
}

.success-content {
  border-radius: 24px;
  padding: 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 590px;
  width: 100%;
  gap: 14px;
}

.success-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 130%;
  color: #323232;
  text-align: center;
}

.success-subtitle {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: #6d6d6d;
  text-align: center;
}

.success-price {
  color: #2d78ff;
}

.success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13.5px 32px;
  background: #2d78ff;
  border-radius: 8px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-top: 18px;
}

.success-btn:hover {
  background: #1a5fd9;
}

.profile-container {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin-bottom: 24px;
}

.profile-label {
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #323232;
  margin-bottom: 8px;
  gap: 8px;
}

.profile-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #6d6d6d;
}

.profile-btn-row {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.profile-btn-left {
  display: flex;
  gap: 14px;
}

.profile-btn1 {
  border-radius: 8px;
  padding: 15.5px 32px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #fff;
  background: #2d78ff;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.profile-btn1:hover {
  background: #d4dbe3;
}

.profile-btn1:active {
  background: #aebdcb;
}

.profile-btn1:disabled {
  background: #ebeef3;
  opacity: 0.6;
}

.profile-btn2 {
  background: rgba(45, 120, 255, 0.1);
  color: #2d78ff;
}

.profile-btn2:hover {
  background: #d4dbe3;
}

.profile-btn2:active {
  background: #aebdcb;
}

.profile-btn2:disabled {
  background: #ebeef3;
  opacity: 0.6;
}

.profile-btn3 {
  background: #e7e7e7;
  color: #323232;
  gap: 8px;
}

.history-zakaz-container {
  border: 1px solid #eaeaea;
  border-radius: 14px;
  background: #fff;
}

.history-zakaz-head {
  border-bottom: 1px solid #eaeaea;
  padding: 24px;
  display: flex;
  gap: 14px;
}

.history-zakaz-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  color: #323232;
}

.history-zakaz-badge {
  border-radius: 8px;
  padding: 6px 12px;
  background: #edf3fe;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: #477fed;  
}

.history-zakaz-badge.done {
  background: #f0f0f0;
  color: #323232;  
}

.history-zakaz-info {
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.history-of-zakaz {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.history-zakaz-info-row {
  display: flex;
  justify-content: space-between;
}

.history-zakaz-info-left-subtitle {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #6d6d6d;
  margin-bottom: 4px;
}

.history-zakaz-info-left-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: #323232;
}

.history-zakaz-price {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  color: #323232;
  margin-bottom: 8px;
}

.history-zakaz-quantity {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #6d6d6d;
  text-align: right;
}

.manager-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.manager-btn {
  width: 100%;
}

@media (max-width: 768px) {

  .interval-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -14px;
    padding: 0 14px;
  }

  .interval-row::-webkit-scrollbar {
    display: none;
  }

  .interval-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .header-address {
    padding: 10px 14px;
  }

  .container {
    padding: 14px;
  }

  .main-container {
    flex-direction: column;
  }

  .main-container-head {
    border-bottom: 1px solid #ebebeb;
  }

  .main-container-shop {
    flex-direction: column;
  }

  .main-container-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sidebar-head-name, .head-catalog-btn, .catalog-btn-tovar, .catalog-btn {
    display: none;
  }

  .main-container-head .container {
    gap: 8px;
  }

  .sidebar-head {
    margin-right: 0;
  }

  .sidebar-head-logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .search-input {
    height: 38px;
    border-radius: 8px;
  }

  .catalog-head-content, .main-container-filters, .main-container-category {
    display: none;
  }

  /* Mobile Filters Popup */
  .mobile-filters-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-filters-popup.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-filters-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
  }

  .mobile-filters-popup-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .mobile-filters-popup.active .mobile-filters-popup-content {
    transform: translateX(0);
  }

  .mobile-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: #fff;
    flex-shrink: 0;
  }

  .mobile-filters-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    color: #323232;
  }

  .mobile-filters-close {
    width: 32px;
    height: 32px;
    background: #f2f2f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
  }

  .mobile-filters-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f4f4f4;
  }

  .mobile-filters-footer {
    margin-bottom: 14px;
  }

  .mobile-filters-apply {
    width: 100%;
    padding: 14px;
    background: #207eeb;
    border: none;
    border-radius: 12px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
  }

  .footer {
    display: none;
  }

  /* Address Modal Mobile */
  .modal-overlay {
    align-items: stretch;
  }

  .modal {
    max-width: 100%;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal-header {
    padding: 16px;
    flex-shrink: 0;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-search {
    margin: 0 16px 16px;
  }

  .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px 16px;
  }

  .contract-option {
    padding: 16px;
    border: 1px solid #ebebeb;
    gap: 16px;
  }

  .mobile-head-content {
    display: flex;
    border-bottom: 1px solid #ebebeb;
    background: #fff;
  }

  .mobile-head-content .container {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .main-container .pagination {
    display: none;
  }

  .mobile-head-content .pagination {
    display: flex;
  }

  .mobile-head-content .catalog-head-content {
    display: flex;
    margin-top: 8px;
  }

  .catalog-title {
    font-size: 24px;
  }

  .catalog-text {
    padding-bottom: 3px;
  }

  .filters-row {
    margin-top: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    -ms-overflow-style: none;
    scrollbar-width: none;
    max-width: 100%;
    width: 100%;
    padding-bottom: 8px;
  }

  .filter-dropdown {
    position: static;
  }

  .filter-dropdown-menu {
    position: fixed;
    top: 240px;
    left: 16px;
    right: 16px;
    width: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
  }

  .filter-dropdown.open .filter-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .filters-row::-webkit-scrollbar {
    display: none;
  }

  .filter-dropdown-btn {
    width: auto;
    height: 38px;
    border-radius: 8px;
    padding: 4px 14px;
    background: #f4f4f4;
    border: 0;
    color: #313c49;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .filter-tags {
    flex-wrap: nowrap;
  }

  .filter-tag {
    padding: 8.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .filter-clear-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Mobile Bottom Navigation */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #ebeef3;
    background: #fff;
    padding: 14px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
    justify-content: space-around;
  }

  body.modal-open .mobile-bottom-nav {
    display: none;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #818181;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 9px;
    padding: 4px 12px;
    transition: color 0.2s ease;
  }

  .mobile-nav-item.active {
    color: #2d78ff;
  }

  .mobile-nav-item svg {
    width: 24px;
    height: 24px;
  }

  .catalog-right {
    width: 100%;
  }

  /* Catalog Item Mobile Styles */
  .catalog-item {
    border-radius: 8px;
  }

  .catalog-item-head {
    padding: 8px;
  }

  .catalog-item-img {
    max-width: 100%;
    height: auto;
  }

  .catalog-left {
    font-size: 10px;
    padding: 3px 5px;
  }

  .catalog-right {
    gap: 10px;
  }

  .catalog-item-content {
    padding: 8px;
  }

  .catalog-item-price {
    font-size: 14px; 
    margin-bottom: 0;
    margin-bottom: 8px;
  }

  .catalog-item-price-marked, .catalog-item-price-sale {
    margin-bottom: 5px;
  }

  .rasprodazha {
    gap: 6px;
    flex-wrap: wrap;
  }

  .catalog-item-price-marked {
    font-size: 12px;
  }

  .catalog-item-price-sale {
    font-size: 12px;
  }

  .catalog-item-articul {
    font-size: 11px;
  }

  .catalog-item-text {
    font-size: 12px;
    -webkit-line-clamp: 2;
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .catalog-item-malo {
    margin-bottom: 8px;
    gap: 6px;
  }

  .malo-bullet {
    width: 5px;
    height: 5px;
  }

  .malo-text {
    font-size: 11px;
  }

  .catalog-item-btn {
    border-radius: 8px;
    padding: 8px;
    font-size: 14px;
  }

  .main-container-show-more {
    border-radius: 8px;
    padding: 15.5px 32px;
  }

  .main-container-pagination {
    margin-top: 16px;
    gap: 0px;
    justify-content: space-between;
  }

  .catalog-pagination {
    font-size: 16px;
    border-radius: 12px;
    padding: 10px;
    width: 32px;
    height: 32px;
  }

  .catalog-container {
    padding-bottom: 20px;
    flex-direction: column;
  }

  .tovar-row {
    flex-direction: column;
    gap: 0;
    margin-top: 0;
  }

  .tovar-thumbs-col {
    display: none;
  }

  .tovar-left {
    width: 100%;
    max-width: none;
  }

  .tovar-item-swiper {
    padding: 14px;
    border-radius: 0;
    background: #fff;
    display: block;
  }

  .tovar-main-col {
    width: 100%;
    min-width: 100%;
  }

  .tovar-main {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }

  .tovar-main .swiper-wrapper {
    height: 100%;
  }

  .tovar-main-slide {
    width: 100% !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tovar-main-slide img {
    max-height: 280px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .tovar-pagination {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    position: absolute  !important;
    bottom: 10% !important;
    width: 100%;
  }

  .tovar-pagination .swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    background: #ebeef3 !important;
    opacity: 1 !important;
    border-radius: 50%;
    margin: 0 !important;
  }

  .tovar-pagination .swiper-pagination-bullet-active {
    background: #2d78ff !important;
  }

  .tovar-badges {
    position: absolute;
    right: auto;
    bottom: -10%;
  }

  .tovar-swiper-badge {
    font-size: 12px;
    padding: 6px 10px;
  }

  .tovar-right {
    padding: 14px;
    border-radius: 0;
    background: #fff;
    margin-top: -1px;
  }

  .tovar-name {
    gap: 4px;
  }

  .tovar-articul {
    font-size: 12px;
    order: -1;
  }

  .tovar-name-title {
    font-size: 16px;
    line-height: 140%;
  }

  .tovar-name .catalog-item-malo {
    margin-bottom: 16px;
  }

  .tovar-name .malo-text {
    font-size: 14px;
  }

  .tovar-info {
    padding: 14px;
    gap: 12px;
    border-radius: 12px;
  }

  .tovar-count-row {
    gap: 6px;
  }

  .tovar-count {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 8px;
  }

  .tovar-price-container {
    gap: 12px;
  }

  .tovar-price {
    font-size: 20px;
  }

  .tovar-price.orig-price {
    font-size: 16px;
  }

  .tovar-price-text {
    font-size: 12px;
  }

  .tovar-card-btn {
    padding: 12px;
    font-size: 14px;
    border-radius: 10px;
  }

  .tovar-cart-counter-input {
    max-width: 180px;
    flex: 1;
  }

  .tovar-checkout-btn {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
  }

  .tovar-bottom-info {
    margin-top: 8px;
    gap: 8px;
  }

  .tovar-bottom-info-text {
    font-size: 13px;
  }

  .tovar-section {
    margin-top: 16px;
    gap: 8px;
  }

  .tovar-section-text {
    font-size: 14px;
  }

  .tovar-weigth-choose {
    gap: 6px;
    flex-wrap: wrap;
  }

  .tovar-weigth {
    padding: 8px 12px;
    font-size: 13px;
  }

  .tovar-colour-img {
    padding: 12px 10px;
  }

  .wrapper {
    padding-bottom: 80px;
  }

  .mobile-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 14px;
    color: #323232;
  }

  .cart-item {
    flex-direction: column;
  }

  .cart-container-head {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .cart-container-head-subtitle {
    font-size: 14px;
  }

  .cart-container-head-title {
    font-size: 18px;
  }

  .cart-container-head-btn {
    width: 100%;
  }

  .cart-container-divider {
    margin: 14px 0;
  }

  .cart-item-left {
    gap: 14px;
  }

  .cart-item-info .cart-item-actions {
    display: none;
  }

  .cart-item-right {
    display: none;
  }
  
  .cart-main-container {
    width: 100%;
  }

  .cart-item-article {
    display: none;
  }
  
  .mobile-cart-info {
    display: block;
  }

  .cart-item-quantity {
    padding: 2px;
    border-radius: 12px;
    background: #f4f4f4;
    width: min-content;
    margin-top: 8px;
  }

  .mobile-cart-info .cart-quantity-btn {
    background: #2d78ff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .cart-quantity-value {
    font-size: 12px;
    color: #323232;
    padding: 0 5px;
    font-weight: 500;
  }

  .mobile-cart-actions {
    display: flex;
    gap: 4px;
  }

  .mobile-cart-actions .cart-item-actions {
    display: flex;
  }

  .cart-item-unit-price {
    font-size: 12px;
  }

  .cart-item-disabled .cart-badge-black {
    display: none;
  }

  .cart-item-remove-btn {
    margin-top: 8px;
    max-width: 150px;
  }

  .cart-item-img {
    width: 72px;
    height: 72px;
  }

  .cart-item-quantity .cart-quantity-value {
    padding: 0;
    max-width: 30px;
    min-width: none;
  }

  .cart-right-price-text {
    font-size: 14px;
  }

  .cart-right-price-big-text {
    font-size: 20px;
  }

  .cart-right-container {
    padding: 14px;
    margin-top: 14px;
    border-radius: 14px;
  }

  .cart-container {
    padding: 14px;
    border-radius: 14px;
  }

  .tochka-container {
    flex-direction: column-reverse;
    gap: 14px;
  }

  .tochka-row {
    flex-direction: column;
    gap: 8px;
  }

  .tochka-left-small-title, .tochka-left-big-subtitle {
    font-size: 14px;
  }

  .interval-dropdown-btn {
    width: 100%;
  }

  .pet-title {
    font-size: 24px;
  }

  .profile-btn-row {
    flex-direction: column;
  }

  .profile-btn-left {
    flex-direction: column;
    gap: 8px;
  }

  .profile-btn-right {
    width: 100%;
    margin-top: 8px;
  }

  .profile-btn3 {
    width: 100%;
  }

  .profile-container {
    width: 100%;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
  }

  .history-zakaz-head {
    padding: 14px;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .history-zakaz-badge {
    width: fit-content;
  }

  .history-zakaz-title {
    font-size: 18px;
  }

  .history-zakaz-info {
    padding: 14px;
  }

  .history-zakaz-info-left-subtitle {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #323232;
  }

  .history-zakaz-info-left-title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: #6d6d6d;
  }

  .history-zakaz-info-row {
    flex-direction: column;
    gap: 14px;
  }
  
  .history-zakaz-price {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #323232;
    margin-bottom: 4px;
  }

  .history-zakaz-quantity {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: #6d6d6d;
    text-align: left;
  }

  .zakaz-cart-left {
    width: 100%;

  }

}



/* PetB2B: fix sidebar filter spacing */
.main-container-category > form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reset-filters-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #E0E0E0;
  background: #fff;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #3d3d3d;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.reset-filters-btn:hover {
  background: #f5f5f5;
}

/* Bitrix default pager styling */
.bx-pagination {
  margin-top: 20px;
}
.bx-pagination .bx-pagination-container {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.bx-pagination .bx-pagination-container li {
  list-style: none;
}
.bx-pagination .bx-pagination-container li a,
.bx-pagination .bx-pagination-container li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  color: #3d3d3d;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  cursor: pointer;
}
.bx-pagination .bx-pagination-container li.bx-active span {
  background: #207EEB;
  color: #fff;
  border-color: #207EEB;
}

/* Кнопка "В корзину" — состояние добавлено */
.catalog-item-btn.added {
  background: #4CAF50 !important;
  border-color: #4CAF50 !important;
}
.catalog-item-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Избранное active */
.catalog-starred.active svg path {
  fill: #E53935;
  stroke: #E53935;
}

/* Fix: gap between category blocks */
.catalog-category-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Fix: category block with arrow - flex layout */
.catalog-category-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Fix: catalog-category spacing inside sidebar */
.catalog-category {
  margin-bottom: 0;
}
