.product-card__btn.btn-success,.card__add-to-cart.btn-success {
    background-color: var(--color-accent-gold);
}
.product-card__btn.btn-success:hover,.card__add-to-cart.btn-success:hover{
  color-mix(in srgb, var(--color-accent-gold) 88%, black)
}
.cart-modal__panel{
  height: auto;
    max-height: 46rem;
}
.catalog__page.catalog__pagination-arrow {
    display: none;
}
.catalog__page{	
    border: 0;
    cursor: pointer;
}
.catalog__page:not(:hover){	
    background: unset;
}
.catalog__page.catalog__page--active{
    background-color: #cdc6be;
}
.catalog__page a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catalog-menu__item--active span, .catalog-menu__item--active > a {
    color: #91a766;
}

.error_class{
    display: none; color: #ff4d4f; margin-bottom: 10px; font-size: 14px;
}

/* Временная рега */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--zIndexModal, 9999);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.success-modal--active {
  opacity: 1;
  visibility: visible;
}
.success-modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 250, 246, 0.9);
  backdrop-filter: blur(0.1rem);
  cursor: pointer;
  z-index: -1;
}
.success-modal__content {
  position: relative;
  background: #FFFAF6;
  border-radius: 0.6rem;
  -webkit-box-shadow: 0 0 3.76rem rgba(0, 0, 0, 0.15);
          box-shadow: 0 0 3.76rem rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 70rem;
  padding: 4.4rem 5.5rem 4.4rem 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
          transform: scale(0.9);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  cursor: default;
}
.success-modal--active .success-modal__content {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}
.success-modal__icon {
  width: 10rem;
  height: 10rem;
  margin-bottom: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-modal__icon svg {
  width: 100%;
  height: 100%;
}
.success-modal__title {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 2.2rem;
  color: var(--color-primary);
  margin: 0 0 1.6rem;
}
.success-modal__text {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.2rem;
  color: var(--color-text);
  opacity: 0.7;
  margin: 0 0 3.2rem;
  max-width: 49.6rem;
}
.success-modal__text p {
  margin: 0 0 0.5rem;
}
.success-modal__text p:last-child {
  margin-bottom: 0;
}
.success-modal__text a {
  color: #780001;
  text-decoration: underline;
  text-underline-position: from-font;
  font-weight: 800;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
.success-modal__text a:hover {
  color: #a00001;
  text-decoration: underline;
}
.success-modal__close-btn {
  background: var(--color-primary);
  border: none;
  border-radius: 0.4rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 2rem;
  padding: 1.35rem 2.79rem;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  min-width: 27.9rem;
}
.success-modal__close-btn:hover {
  background: #dbb554;
  color:white;
}
.success-modal__close-btn:active {
  -webkit-transform: translateY(0.1rem);
      -ms-transform: translateY(0.1rem);
          transform: translateY(0.1rem);
}


/* Стили для уведомления (добавьте в ваш CSS) */

.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideIn 0.3s, fadeOut 0.5s 1.5s forwards;
}
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes fadeOut { to { opacity: 0; } }
.pulse { animation: pulse 0.5s; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } }

/*Корзина */
.order-item__price-main{
  display: block;
}
.order-item__image{
  position: relative;
}
.order-item__discount {
    position: absolute;
    top: 0;
    right: 0;
    background: #91a766;
    color: white;
    border-radius: 1rem;
    font-size: 1.3rem;
}