/* Applied only to the «Тот самый Новый год 2027» catalogue. */
body.panomeram-catalog.pn-newyear-collection {
  --orange: #285641;
  --orange-dark: #173d2d;
  --shop-orange: #285641;
  background: #fffaf2;
  color: #173d2d;
}
.pn-newyear-collection .catalog-page {
  background: linear-gradient(180deg, #fffaf2 0, #faf4e9 75%, #fffaf2 100%);
}
.pn-newyear-collection .nycollection-garland {
  height: clamp(70px, 7.5vw, 112px);
  max-width: 1800px;
  margin: 0 auto;
  background: url('/media/newyear-2027/garland.webp') center top / auto 210px repeat-x;
  pointer-events: none;
  user-select: none;
}
.pn-newyear-collection .nycollection-breadcrumbs {
  padding-block: 10px 13px;
}
.pn-newyear-collection .nycollection-breadcrumbs .site-breadcrumbs {
  margin: 0;
  color: #7d7365;
  font-size: 12px;
}
.pn-newyear-collection .nycollection-breadcrumbs .site-breadcrumbs a:hover {
  color: #285641;
}
.pn-newyear-collection .catalog-content {
  padding: 0 0 60px;
}
.pn-newyear-collection .catalog-layout {
  display: block;
}
.pn-newyear-collection .catalog-sidebar {
  display: none;
}
.pn-newyear-collection .catalog-results {
  width: 100%;
  min-width: 0;
}
.pn-newyear-collection .nycollection-page-heading {
  padding-bottom: 25px;
}
.pn-newyear-collection .nycollection-page-heading h1 {
  margin: 0;
  color: #173d2d;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -.04em;
}
.pn-newyear-collection .nycollection-page-heading p {
  margin: 9px 0 0;
  color: #7d7365;
  font-size: 14px;
  line-height: 1.55;
}
.pn-newyear-collection .catalog-filter-form {
  grid-template-columns: minmax(200px, 1.5fr) minmax(160px, 1.2fr) minmax(110px, .8fr) minmax(150px, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}
.pn-newyear-collection .catalog-filter-form .catalog-filter-search {
  grid-column: auto;
}
.pn-newyear-collection .catalog-filter-form input,
.pn-newyear-collection .catalog-filter-form select {
  border-color: #dfd7c7;
  border-radius: 10px;
  background-color: #fffefb;
  color: #385342;
}
.pn-newyear-collection .catalog-filter-form input:focus,
.pn-newyear-collection .catalog-filter-form select:focus {
  border-color: #7c9b7b;
  box-shadow: inset 0 0 0 1px #7c9b7b;
}
body.panomeram-catalog.pn-newyear-collection .catalog-filter-form button[type=submit] {
  border-color: #285641;
  border-radius: 10px;
  background: #285641;
  color: #fffaf0;
  box-shadow: none;
  font-weight: 600;
}
body.panomeram-catalog.pn-newyear-collection .catalog-filter-form button[type=submit]:hover {
  border-color: #315f49;
  background: #315f49;
  box-shadow: none;
}
body.panomeram-catalog.pn-newyear-collection .catalog-filter-form button[type=submit]:active {
  transform: none;
  background: #173d2d;
  box-shadow: none;
}
.pn-newyear-collection .catalog-result-meta {
  margin-bottom: 20px;
}
.pn-newyear-collection .catalog-result-meta p,
.pn-newyear-collection .catalog-result-meta strong {
  color: #7d7365;
  font-size: 13px;
}
.pn-newyear-collection .catalog-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px 20px;
  scroll-margin-top: 165px;
}
body.panomeram-catalog.pn-newyear-collection .product-card {
  display: flex;
  align-self: stretch;
  height: 100%;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e9dfce;
  border-radius: 17px;
  background: #fffdf8;
  box-shadow: 0 5px 16px #59421e07;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
body.panomeram-catalog.pn-newyear-collection .product-card:hover {
  border-color: #cbb68e;
  box-shadow: 0 10px 24px #59421e10;
  transform: none;
}
.pn-newyear-collection .product-card__media {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: #f4edde;
  overflow: hidden;
}
.pn-newyear-collection .product-card__media img,
.pn-newyear-collection .product-card:hover .product-card__media img {
  object-fit: contain;
  transform: none;
}
.pn-newyear-collection .product-card__media > span {
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border: 1px solid #eadfc9;
  border-radius: 6px;
  background: #fffaf0f2;
  color: #285641;
  font-size: 11px;
  font-weight: 600;
}
body.panomeram-catalog.pn-newyear-collection .product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 14px 2px 2px;
}
.pn-newyear-collection .product-card__title-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
body.panomeram-catalog.pn-newyear-collection .product-card h3 {
  min-height: 2.8em;
  margin: 0;
  color: #254b38;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
  -webkit-line-clamp: 2;
  overflow-wrap: normal;
}
.pn-newyear-collection .product-card__title-row .product-card__meta {
  align-self: start;
}
.pn-newyear-collection .product-card__title-row .ready-price {
  justify-content: start;
  gap: 7px;
}
body.panomeram-catalog.pn-newyear-collection .product-card__title-row .ready-price__new {
  color: #173d2d;
  font-size: 22px;
  font-weight: 750;
}
.pn-newyear-collection .product-card .product-stock {
  color: #608061;
  font-size: 12px;
  line-height: 1.4;
}
.pn-newyear-collection .product-card .product-stock.is-unavailable {
  color: #8b7d6e;
}
.pn-newyear-collection .product-card__rating {
  min-height: 22px;
  color: #897b66;
  font-size: 12px;
}
.pn-newyear-collection .product-card__rating small {
  font-size: 12px;
}
.pn-newyear-collection .product-card__rating.is-empty {
  color: #897b66;
  text-decoration-color: #d3c5ac;
}
.pn-newyear-collection .product-favorite {
  top: 19px;
  right: 19px;
  border-color: #e6dcc9;
  background: #fffdf9f5;
  color: #285641;
}
body.panomeram-catalog.pn-newyear-collection .product-card__actions {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
body.panomeram-catalog.pn-newyear-collection .product-card__actions .product-card__cart {
  min-height: 44px;
  padding: 10px 8px;
  border: 1px solid #285641;
  border-radius: 11px;
  background: #285641;
  color: #fff9ec;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s;
}
body.panomeram-catalog.pn-newyear-collection .product-card__actions .product-card__cart:hover {
  border-color: #315f49;
  background: #315f49;
  box-shadow: none;
}
body.panomeram-catalog.pn-newyear-collection .product-card__actions .product-card__cart:active {
  transform: none;
  background: #173d2d;
  box-shadow: none;
}
body.panomeram-catalog.pn-newyear-collection .product-card__actions .product-card__cart.is-added {
  background: #35664e;
  box-shadow: none;
}
body.panomeram-catalog.pn-newyear-collection .product-card__actions .product-card__buy-now {
  min-height: 38px;
  padding: 7px 3px 3px;
  border: 0;
  background: transparent;
  color: #52725c;
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
}
body.panomeram-catalog.pn-newyear-collection .product-card__actions .store-cart-quantity {
  border-color: #285641;
  background: #f4f8ef;
}
body.panomeram-catalog.pn-newyear-collection .store-cart-quantity button,
body.panomeram-catalog.pn-newyear-collection .store-cart-quantity a {
  color: #285641;
}
.pn-newyear-collection .catalog-pagination {
  margin-top: 30px;
}
.pn-newyear-collection :is(.product-card__cart, .product-card__buy-now, .catalog-filter-form button):focus-visible {
  outline: 2px solid #a27b3a;
  outline-offset: 4px;
}
@media (max-width: 1100px) {
  .pn-newyear-collection .catalog-product-grid {grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px;}
  .pn-newyear-collection .catalog-filter-form {grid-template-columns: repeat(3, minmax(0, 1fr)) auto;}
  .pn-newyear-collection .catalog-filter-form .catalog-filter-search {grid-column: 1 / -1;}
}
@media (max-width: 820px) {
  .pn-newyear-collection .nycollection-garland {height: 70px; background-size: auto 125px;}
  .pn-newyear-collection .nycollection-breadcrumbs {padding-block: 12px 10px;}
  body.panomeram-catalog.pn-newyear-collection.pn-catalog-compact .site-breadcrumbs {margin: 0;}
  body.panomeram-catalog.pn-newyear-collection.pn-catalog-compact .catalog-content {padding-top: 0;}
  .pn-newyear-collection .nycollection-page-heading {padding-bottom: 20px;}
  .pn-newyear-collection .nycollection-page-heading h1 {font-size: 28px; line-height: 1.2;}
  .pn-newyear-collection .nycollection-page-heading p {margin-top: 8px; font-size: 12px;}
  .pn-newyear-collection .catalog-product-grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; scroll-margin-top: 88px;}
  .pn-newyear-collection .catalog-filter-form {grid-template-columns: minmax(114px, .43fr) minmax(0, .57fr);}
  body.panomeram-catalog.pn-newyear-collection.pn-catalog-compact .catalog-filter-form input,
  body.panomeram-catalog.pn-newyear-collection.pn-catalog-compact .catalog-filter-form select,
  body.panomeram-catalog.pn-newyear-collection.pn-catalog-compact .catalog-filter-form .pn-catalog-filters-toggle {border-color: #dfd7c7; color: #385342; background-color: #fffefb;}
  body.panomeram-catalog.pn-newyear-collection.pn-catalog-compact .pn-catalog-filters-toggle b {background: #285641;}
  body.panomeram-catalog.pn-newyear-collection.pn-catalog-compact .catalog-filter-form .pn-catalog-search-submit {background: transparent; border: 0; box-shadow: none; color: #285641;}
  body.panomeram-catalog.pn-newyear-collection.pn-catalog-compact .catalog-filter-form [data-catalog-filters-reset] {background: #fffefb; border-color: #dfd7c7; color: #52725c; box-shadow: none;}
  body.panomeram-catalog.pn-newyear-collection .product-card {padding: 7px; border-radius: 13px;}
  .pn-newyear-collection .product-card__media {border-radius: 8px;}
  body.panomeram-catalog.pn-newyear-collection .product-card__body {gap: 7px; padding: 10px 1px 1px;}
  .pn-newyear-collection .product-card__title-row {gap: 8px;}
  body.panomeram-catalog.pn-newyear-collection .product-card h3 {min-height: 2.8em; font-size: 13px; line-height: 1.4;}
  body.panomeram-catalog.pn-newyear-collection .product-card__title-row .ready-price__new {font-size: 20px;}
  .pn-newyear-collection .product-favorite {top: 13px; right: 13px; width: 33px; height: 33px;}
  .pn-newyear-collection .product-card__rating,
  .pn-newyear-collection .product-card__rating small {font-size: 11px;}
  body.panomeram-catalog.pn-newyear-collection .product-card__actions .product-card__cart {min-height: 44px; height: 44px; font-size: 13px;}
  body.panomeram-catalog.pn-newyear-collection .product-card__actions .product-card__buy-now {min-height: 36px; height: auto; font-size: 11px;}
}
@media (max-width: 380px) {
  .pn-newyear-collection .nycollection-page-heading h1 {font-size: 25px;}
  .pn-newyear-collection .catalog-product-grid {gap: 15px 9px;}
  body.panomeram-catalog.pn-newyear-collection .product-card {padding: 6px;}
  body.panomeram-catalog.pn-newyear-collection .product-card h3 {font-size: 12px;}
  .pn-newyear-collection .product-card__media > span {right: 5px; bottom: 5px; padding: 3px 5px; font-size: 10px;}
}
@media (prefers-reduced-motion: reduce) {
  body.panomeram-catalog.pn-newyear-collection .product-card,
  body.panomeram-catalog.pn-newyear-collection .product-card__actions .product-card__cart {transition: none;}
}
