.vp-catalog-page,
.vp-catalog-page * {
  box-sizing: border-box;
}

.vp-catalog-page {
  position: relative;
  width: min(1200px, calc(100vw - 88px)) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 34px 0 clamp(84px, 9vw, 132px) !important;
  background: var(--vp-catalog-bg, #f5f2ea);
  box-shadow: 0 0 0 100vmax var(--vp-catalog-bg, #f5f2ea);
  clip-path: inset(0 -100vmax);
  color: var(--vp-catalog-ink, #1c1b1a);
  font-family: "Inter", Arial, sans-serif;
  overflow: visible;
}

.vp-catalog-page a {
  color: inherit;
}

.vp-catalog-page > .breadcrumb {
  display: none !important;
  margin: 0 !important;
}

.vp-catalog-page #compare-total,
.vp-catalog-page a[href*="product/compare"],
.vp-catalog-page button[onclick*="compare.add"],
.vp-catalog-page [data-original-title*="Compare"],
.vp-catalog-page [data-original-title*="Порівня"] {
  display: none !important;
}

.vp-catalog-page #content > h1:first-of-type,
.vp-catalog-page #content > h2:first-of-type {
  max-width: 820px;
  margin: 0 0 clamp(38px, 5vw, 64px);
  color: var(--vp-catalog-ink, #1c1b1a);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.vp-catalog-page #content > h1:first-of-type::before,
.vp-catalog-page #content > h2:first-of-type::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin-bottom: 20px;
  background: var(--vp-catalog-gold, #b3833f);
}

.vp-catalog-page #content > h2:not(:first-of-type) {
  margin: 46px 0 24px;
  color: var(--vp-catalog-ink, #1c1b1a);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.2;
}

.vp-catalog-page .row > .col-sm-2,
.vp-catalog-page .row > .col-sm-10,
.vp-catalog-page .row > .col-sm-12 {
  min-width: 0;
}

.vp-catalog-page #content > .row img.img-thumbnail {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--vp-catalog-image-bg, #e6e0d2);
}

.vp-catalog-page #content > .row p {
  color: var(--vp-catalog-muted, #6f6b5e);
  font-size: 14px;
  line-height: 1.75;
}

.vp-catalog-page hr {
  border-top-color: var(--vp-catalog-line, #d5d0c5);
}

.vp-catalog-page select.form-control,
.vp-catalog-page input.form-control,
.vp-catalog-page .input-group-addon,
.vp-catalog-page .btn-default {
  min-height: 43px;
  border-color: var(--vp-catalog-line, #d5d0c5);
  border-radius: 0;
  background: transparent;
  color: var(--vp-catalog-ink, #1c1b1a);
  box-shadow: none;
}

.vp-catalog-page .btn-primary {
  min-height: 43px;
  border-color: var(--vp-catalog-ink, #1c1b1a);
  border-radius: 0;
  background: var(--vp-catalog-ink, #1c1b1a);
  color: var(--vp-catalog-card, #f5f2ea);
  text-shadow: none;
}

.vp-catalog-page label.control-label {
  padding-top: 12px;
  color: var(--vp-catalog-muted, #6f6b5e);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.vp-catalog-page #list-view,
.vp-catalog-page #grid-view {
  display: none !important;
}

.vp-catalog-page .vp-catalog-grid {
  display: grid !important;
  clear: both;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 28px 0 0 !important;
}

.vp-catalog-page .vp-catalog-grid::before,
.vp-catalog-page .vp-catalog-grid::after {
  display: none !important;
}

.vp-catalog-page .vp-catalog-grid > .clearfix {
  display: none !important;
}

.vp-catalog-page .vp-catalog-item {
  display: flex !important;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.vp-catalog-page .vp-catalog-item .product-thumb {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  flex-direction: column;
  overflow: visible;
  border: 1px solid var(--vp-catalog-line, #d5d0c5);
  border-radius: 0;
  background: var(--vp-catalog-card, #f5f2ea);
  box-shadow: 0 1px 3px rgba(28, 27, 26, .08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.vp-catalog-page .vp-catalog-item .product-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(28, 27, 26, .14);
}

.vp-catalog-page .vp-catalog-item .product-thumb .image {
  position: relative;
  display: block;
  float: none !important;
  width: 100% !important;
  min-width: 0;
  padding: 0 !important;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: transparent;
}

.vp-catalog-page .vp-catalog-item .product-thumb .image > a {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.vp-catalog-page .vp-catalog-item .product-thumb .image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  margin: 0;
  object-fit: contain;
  transition: transform .6s ease;
}

.vp-catalog-page .vp-catalog-item .product-thumb:hover .image img {
  transform: scale(1.045);
}

.vp-catalog-ref,
.vp-catalog-status {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 4px 9px;
  color: #f5f2ea;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}

.vp-catalog-ref {
  left: 14px;
  background: rgba(28, 27, 26, .5);
  font-size: 10.5px;
  letter-spacing: .1em;
}

.vp-catalog-status {
  right: 14px;
  max-width: calc(100% - 116px);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.vp-catalog-status--instock {
  background: var(--vp-catalog-instock, #5c7a5c);
}

.vp-catalog-status--reserved {
  background: var(--vp-catalog-reserved, #b3833f);
}

.vp-catalog-status--sold {
  background: var(--vp-catalog-sold, #9a5a52);
}

.vp-catalog-page .vp-catalog-item .product-thumb > div:not(.image) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.vp-catalog-page .vp-catalog-item .caption {
  display: flex;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 22px 22px 0 !important;
  flex: 1;
  flex-direction: column;
}

.vp-catalog-page .vp-catalog-item .caption h4 {
  order: 1;
  margin: 0 0 7px;
  color: var(--vp-catalog-ink, #1c1b1a);
  font-family: "Fraunces", Georgia, serif;
  font-size: 19.5px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.vp-catalog-page .vp-catalog-item .caption h4 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.vp-catalog-page .vp-catalog-item .caption h4 a:hover,
.vp-catalog-page .vp-catalog-item .caption h4 a:focus {
  color: var(--vp-catalog-gold, #b3833f);
  outline: none;
}

.vp-catalog-page .vp-catalog-description {
  order: 2;
  display: -webkit-box;
  min-height: 2.6em;
  margin: 0 0 12px !important;
  overflow: hidden;
  color: var(--vp-catalog-muted, #6f6b5e) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vp-catalog-page .vp-product-fields--card {
  order: 3;
  margin: 0 0 14px;
  color: var(--vp-catalog-muted, #6f6b5e);
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: .03em;
}

.vp-catalog-page .vp-product-details {
  overflow-wrap: anywhere;
}

.vp-catalog-page .vp-product-country {
  order: 5;
  min-height: 15px;
  margin-top: 10px;
  color: var(--vp-catalog-gold, #b3833f);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}

.vp-catalog-page .vp-catalog-item .rating {
  display: none;
  order: 3;
}

.vp-catalog-page .vp-catalog-item .price {
  order: 4;
  display: flex;
  min-height: 38px;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  margin: auto 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--vp-catalog-line, #d5d0c5);
  color: var(--vp-catalog-ink, #1c1b1a) !important;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.vp-catalog-page .vp-catalog-item .price::before {
  content: attr(data-vp-price-label);
  margin-right: auto;
  color: var(--vp-catalog-muted, #6f6b5e);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.vp-catalog-page .vp-catalog-item .price-new {
  font-weight: 600;
}

.vp-catalog-page .vp-catalog-item .price-old {
  color: var(--vp-catalog-muted, #6f6b5e);
  font-size: 12px;
  font-weight: 400;
  text-decoration: line-through;
}

.vp-catalog-page .vp-catalog-item .price-tax {
  display: none;
}

.vp-catalog-page .vp-catalog-item .button-group {
  display: block;
  margin: 0;
  padding: 0 22px 26px;
  border: 0;
  background: transparent;
}

.vp-catalog-page .vp-catalog-item .button-group button {
  display: none !important;
}

.vp-catalog-page .vp-catalog-item .button-group .vp-catalog-add {
  position: relative;
  display: block !important;
  float: none;
  width: 100% !important;
  min-height: 42px;
  margin: 14px 0 0;
  padding: 11px 12px;
  border: 1px solid var(--vp-catalog-ink, #1c1b1a);
  border-radius: 0;
  background: transparent;
  color: var(--vp-catalog-ink, #1c1b1a);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.vp-catalog-page .vp-catalog-item .button-group .vp-catalog-add:hover,
.vp-catalog-page .vp-catalog-item .button-group .vp-catalog-add:focus {
  background: var(--vp-catalog-ink, #1c1b1a);
  color: var(--vp-catalog-card, #f5f2ea);
  outline: none;
}

.vp-catalog-page .vp-catalog-item .button-group .vp-catalog-add[disabled] {
  border-color: var(--vp-catalog-line, #d5d0c5);
  background: transparent;
  color: var(--vp-catalog-muted, #6f6b5e);
  cursor: not-allowed;
  opacity: .7;
}

.vp-catalog-page .vp-catalog-item .vp-catalog-add.is-loading {
  color: transparent !important;
  cursor: wait;
}

.vp-catalog-page .vp-catalog-item .vp-catalog-add.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 17px;
  margin: -9px 0 0 -9px;
  border: 2px solid var(--vp-catalog-ink, #1c1b1a);
  border-right-color: transparent;
  border-radius: 50%;
  animation: vp-catalog-spin .7s linear infinite;
}

.vp-catalog-page .pagination {
  margin: 34px 0 0;
}

.vp-catalog-page .pagination > li > a,
.vp-catalog-page .pagination > li > span {
  min-width: 38px;
  min-height: 38px;
  border-color: var(--vp-catalog-line, #d5d0c5);
  border-radius: 0 !important;
  background: transparent;
  color: var(--vp-catalog-ink, #1c1b1a);
  text-align: center;
}

.vp-catalog-page .pagination > .active > span,
.vp-catalog-page .pagination > .active > span:hover {
  border-color: var(--vp-catalog-ink, #1c1b1a);
  background: var(--vp-catalog-ink, #1c1b1a);
  color: var(--vp-catalog-card, #f5f2ea);
}

.vp-cart-toast-region {
  position: fixed;
  z-index: 99999;
  top: 92px;
  right: 24px;
  display: flex;
  width: min(420px, calc(100vw - 32px));
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.vp-cart-toast {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  min-height: 110px;
  padding: 14px 44px 14px 14px;
  overflow: hidden;
  border: 1px solid var(--vp-toast-line, #d5d0c5);
  border-left: 3px solid var(--vp-toast-gold, #b3833f);
  background: var(--vp-toast-card, #f5f2ea);
  box-shadow: 0 24px 70px rgba(20, 19, 15, .24);
  color: var(--vp-toast-ink, #1c1b1a);
  opacity: 0;
  transform: translate3d(0, -18px, 0) scale(.975);
  transform-origin: top right;
  transition: opacity .34s ease, transform .42s cubic-bezier(.2, .75, .25, 1);
  pointer-events: auto;
}

.vp-cart-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.vp-cart-toast.is-leaving {
  opacity: 0;
  transform: translate3d(18px, 0, 0) scale(.98);
}

.vp-cart-toast--error {
  grid-template-columns: 1fr;
  border-left-color: #9a5a52;
}

.vp-cart-toast__media {
  width: 74px;
  height: 82px;
  overflow: hidden;
  background: var(--vp-toast-image, #e6e0d2);
}

.vp-cart-toast__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vp-cart-toast__content {
  min-width: 0;
  align-self: center;
}

.vp-cart-toast__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 5px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.vp-cart-toast__title::before {
  content: "✓";
  display: inline-flex;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vp-toast-gold, #b3833f);
  color: var(--vp-toast-card, #f5f2ea);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.vp-cart-toast--error .vp-cart-toast__title::before {
  content: "!";
  background: #9a5a52;
}

.vp-cart-toast__name {
  margin: 0;
  color: var(--vp-toast-ink, #1c1b1a);
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
}

.vp-cart-toast__note {
  margin: 4px 0 0;
  color: var(--vp-toast-muted, #6f6b5e);
  font-size: 12px;
  line-height: 1.5;
}

.vp-cart-toast__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--vp-toast-gold, #b3833f);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.vp-cart-toast__action::after {
  content: "→";
  font-size: 13px;
}

.vp-cart-toast__close {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--vp-toast-muted, #6f6b5e);
  font-size: 22px;
  line-height: 30px;
  cursor: pointer;
}

.vp-cart-toast__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--vp-toast-gold, #b3833f);
  transform-origin: left center;
  animation: vp-cart-toast-progress 5.2s linear forwards;
}

.vp-cart-toast--error .vp-cart-toast__progress {
  background: #9a5a52;
}

.vp-cart-count-bump {
  animation: vp-cart-count-bump .42s ease;
}

@keyframes vp-catalog-spin {
  to { transform: rotate(360deg); }
}

@keyframes vp-cart-toast-progress {
  to { transform: scaleX(0); }
}

@keyframes vp-cart-count-bump {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.35); }
}

@media (max-width: 900px) {
  .vp-catalog-page {
    width: calc(100vw - 48px) !important;
    padding-top: 28px !important;
  }

  .vp-catalog-page .vp-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .vp-catalog-page {
    width: calc(100vw - 36px) !important;
    padding-top: 22px !important;
    padding-bottom: 76px !important;
  }

  .vp-catalog-page #content > h1:first-of-type,
  .vp-catalog-page #content > h2:first-of-type {
    margin-bottom: 36px;
    font-size: clamp(35px, 11vw, 48px);
  }

  .vp-catalog-page .vp-catalog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .vp-catalog-page .vp-catalog-item {
    width: min(100%, 480px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .vp-catalog-page .vp-catalog-item .caption {
    padding: 20px 18px 0 !important;
  }

  .vp-catalog-page .vp-catalog-item .button-group {
    padding: 0 18px 22px;
  }

  .vp-cart-toast-region {
    top: 76px;
    right: 16px;
    width: calc(100vw - 32px);
  }

  .vp-cart-toast {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    min-height: 96px;
    padding: 12px 40px 12px 12px;
  }

  .vp-cart-toast--error {
    grid-template-columns: 1fr;
  }

  .vp-cart-toast__media {
    width: 62px;
    height: 72px;
  }

  .vp-cart-toast__name {
    font-size: 15.5px;
  }
}

@media (max-width: 380px) {
  .vp-catalog-ref {
    top: 10px;
    left: 10px;
    font-size: 9.5px;
  }

  .vp-catalog-status {
    top: 10px;
    right: 10px;
    max-width: calc(100% - 102px);
    font-size: 8.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vp-catalog-page .product-thumb,
  .vp-catalog-page .product-thumb .image img,
  .vp-catalog-page .vp-catalog-add,
  .vp-cart-toast {
    transition: none !important;
  }

  .vp-catalog-page .product-thumb:hover,
  .vp-catalog-page .product-thumb:hover .image img {
    transform: none !important;
  }

  .vp-catalog-page .vp-catalog-add.is-loading::after,
  .vp-cart-toast__progress,
  .vp-cart-count-bump {
    animation: none !important;
  }
}
