/* =========================
   RESET & BASE
========================= */

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(180deg, #E0D5C8 0%, #EAE2D8 60%, #F0EAE1 100%);
  color: #452D1C;
  line-height: 1.5;
}

a, button {
  font-family: 'Inter', Arial, sans-serif;
}

/* =========================
   HEADER
========================= */

@keyframes headerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.header {
  width: 100%;
  height: 96px;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background: rgba(197, 184, 168, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197, 167, 130, 0.25);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 4px 24px rgba(69, 45, 28, 0.06);
  animation: headerSlideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: background 0.7s ease, box-shadow 0.7s ease, border-color 0.7s ease;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 85, 53, 0.3), transparent);
}

.header.scrolled {
  background: rgba(208, 195, 180, 0.82);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 6px 28px rgba(69, 45, 28, 0.1);
  border-bottom-color: rgba(118, 85, 53, 0.2);
}

.header_container {
  max-width: 1300px;
  margin: 0 auto;
  height: 96px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo_header {
  width: 72px;
  height: 61px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.logo_header:hover {
  transform: scale(1.1) rotate(-3deg);
  opacity: 0.85;
}

.header_nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.transfer_header {
  color: #3d2510;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  padding-bottom: 3px;
  background-image: linear-gradient(90deg, #765535, #452D1C);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.2s ease, color 0.2s ease;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.transfer_header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: rgba(118, 85, 53, 0.15);
  border-radius: 2px;
}

.transfer_header:hover {
  color: #452D1C;
  background-size: 100% 2px;
}

/* =========================
   CART BUTTON
========================= */

.cart-btn {
  background: #452D1C;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 14px;
  color: #F5EDE0;
  letter-spacing: 0.3px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 3px 12px rgba(69, 45, 28, 0.25);
}

.cart-btn svg {
  flex-shrink: 0;
  color: #F5EDE0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-btn span {
  background: #C28B5B;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  transition: background 0.25s ease;
}

.cart-btn:hover {
  background: #5c3a1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(69, 45, 28, 0.35);
}

.cart-btn:hover svg { transform: scale(1.15) rotate(-8deg); }
.cart-btn:hover span { background: #E0A060; }

.cart-btn:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 2px 8px rgba(69, 45, 28, 0.2);
}

/* =========================
   БУРГЕР
========================= */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 200;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #452D1C;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 96px;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #D0C4B5 0%, #E5DCD1 100%);
  border-bottom: 1px solid rgba(118, 85, 53, 0.2);
  box-shadow: 0 8px 30px rgba(69, 45, 28, 0.12);
  z-index: 98;
  flex-direction: column;
  padding: 12px 0 20px;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open { opacity: 1; transform: translateY(0); }
.mobile-menu.closing { opacity: 0; transform: translateY(-8px); }

.mobile-menu .transfer_header {
  padding: 14px 32px;
  font-size: 15px;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(118, 85, 53, 0.1);
  background-image: none;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu .transfer_header::after { display: none; }

.mobile-menu .transfer_header:hover {
  background: rgba(69, 45, 28, 0.07);
  padding-left: 42px;
  color: #452D1C;
  background-size: 0;
}

.mobile-menu .cart-btn {
  margin: 16px 32px 0;
  width: calc(100% - 64px);
  justify-content: center;
  font-size: 15px;
}

/* =========================
   BREADCRUMB
========================= */

.breadcrumb {
  max-width: 1300px;
  margin: 0 auto;
  padding: 116px 40px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(69, 45, 28, 0.55);
}

.breadcrumb a {
  color: rgba(69, 45, 28, 0.55);
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: #452D1C; }

.breadcrumb span { color: #452D1C; font-weight: 500; }

/* =========================
   SECTION CONTENT
========================= */

.section_content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 28px 40px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  background: transparent;
}

/* =========================
   КАРТОЧКА ТОВАРА
========================= */

.product-card {
  background: linear-gradient(160deg, #F8F4EF 0%, #EEE9E0 100%);
  border-radius: 20px;
  border: 1px solid rgba(210, 195, 175, 0.5);
  box-shadow: 0 4px 20px rgba(69, 45, 28, 0.08), 0 1px 0 rgba(255,255,255,0.7) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(69, 45, 28, 0.16), 0 1px 0 rgba(255,255,255,0.6) inset;
  border-color: rgba(194, 139, 91, 0.4);
}

/* Обёртка фото */
.product-card .img-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
  background: #E8E0D5;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

.product-card:hover img {
  transform: scale(1.06);
}

/* Бейдж на фото */
.product-card .card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(22, 12, 4, 0.55);
  border: 1px solid rgba(245, 237, 224, 0.35);
  color: #F5EDE0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Тело карточки */
.product-card .card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card .card-divider {
  width: 32px;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(194,139,91,0.8), transparent);
  border-radius: 2px;
}

.product-card h2 {
  font-size: 17px;
  font-weight: 700;
  color: #452D1C;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.product-card .price {
  font-size: 22px;
  font-weight: 700;
  color: #765535;
  letter-spacing: -0.3px;
  margin-top: 2px;
}

.product-card .buy-btn {
  margin-top: auto;
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #8a6240 0%, #5c3a1e 100%);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(69, 45, 28, 0.22);
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card .buy-btn:hover {
  background: linear-gradient(135deg, #6e4e30 0%, #3e2510 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(69, 45, 28, 0.3);
}

.product-card .buy-btn:active {
  transform: translateY(0) scale(0.98);
}

/* =========================
   CART MODAL
========================= */

.cart-modal {
  display: none;
  position: fixed;
  inset: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.cart-modal-content {
  background: linear-gradient(160deg, #F8F4EF 0%, #EEE9E0 100%);
  width: 90%;
  max-width: 540px;
  border-radius: 24px;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: slideDown 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(210, 195, 175, 0.6);
}

@keyframes slideDown {
  0%   { transform: translateY(-30px) scale(0.97); opacity: 0; }
  100% { transform: translateY(0) scale(1);        opacity: 1; }
}

.h2_modal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #452D1C;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(210, 195, 175, 0.5);
  letter-spacing: -0.3px;
}

.img_modal {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.cart-close {
  position: absolute;
  top: 18px;
  right: 20px;
  cursor: pointer;
  background: rgba(69, 45, 28, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  color: #452D1C;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cart-close:hover {
  background: rgba(69, 45, 28, 0.16);
  transform: rotate(90deg);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: rgba(118, 85, 53, 0.3); border-radius: 4px; }

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.65);
  border: 1.5px solid rgba(210, 195, 175, 0.6);
  border-radius: 16px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cart-item:hover {
  border-color: rgba(138, 98, 64, 0.35);
  box-shadow: 0 4px 16px rgba(69, 45, 28, 0.08);
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid rgba(210, 195, 175, 0.5);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #452D1C;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 700;
  color: #765535;
}

.cart-item-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-counter button {
  width: 28px;
  height: 28px;
  background: rgba(69, 45, 28, 0.1);
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  border: none;
  color: #452D1C;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cart-item-counter button:hover {
  background: #452D1C;
  color: #fff;
  transform: scale(1.1);
}

.item-quantity {
  font-size: 14px;
  font-weight: 600;
  color: #452D1C;
  min-width: 20px;
  text-align: center;
}

.remove-item {
  width: 32px;
  height: 32px;
  color: #a05c3a;
  border-radius: 8px;
  border: none;
  font-size: 18px;
  cursor: pointer;
  background: rgba(160, 92, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.remove-item:hover {
  background: rgba(160, 92, 58, 0.18);
  color: #7a3010;
  transform: scale(1.1);
}

.cart-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(210, 195, 175, 0.5);
  background: linear-gradient(0deg, #EAE4DA 0%, transparent 100%);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #85705C;
  margin-bottom: 16px;
  padding: 0 4px;
}

.cart-total span {
  font-size: 22px;
  font-weight: 700;
  color: #452D1C;
}

.checkout-btn {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #8a6240 0%, #5c3a1e 100%);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(69, 45, 28, 0.25);
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #6e4e30 0%, #3e2510 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(69, 45, 28, 0.3);
}

.checkout-btn:active { transform: translateY(0) scale(0.98); }

/* =========================
   CONTACT MODAL
========================= */

.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1002;
  justify-content: center;
  align-items: center;
}

.contact-modal-content {
  background: linear-gradient(180deg, #E0D5C8 0%, #EAE2D8 60%, #F0EAE1 100%);
  padding: 30px;
  width: 90%;
  max-width: 420px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  animation: slideDown 0.3s ease;
}

.contact-title {
  text-align: center;
  font-size: 28px;
  color: #452D1C;
  margin-bottom: 25px;
}

.contact-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #452D1C;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  padding: 14px;
  text-align: center;
  border: 3px solid #452D1C;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #452D1C;
  transition: 0.3s;
}

.contact-item:hover {
  background: #452D1C;
  color: #fff;
  transform: scale(1.03);
}

/* =========================
   FOOTER
========================= */

.footer {
  width: 100%;
  background: #452D1C;
  padding: 40px 0 20px;
  display: flex;
  justify-content: center;
}

.footer_container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px;
}

.footer_left { display: flex; flex-direction: column; gap: 10px; }
.footer_logo { width: 125px; height: 101px; margin-top: 20px; }
.footer_Text_1 { color: #D1C0A9; font-size: 12px; font-weight: 400; }
.footer_right { margin-top: 50px; display: flex; justify-content: space-evenly; gap: 40px; }
.footer_block { display: flex; flex-direction: column; }
.footer_right_main { color: #fff; font-size: 18px; font-weight: 400; }
.text_footer { color: #D1C0A9; font-weight: 400; font-size: 12px; }

.footer_foot {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #D1C0A9;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1100px) {
  .section_content { grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 24px 28px 60px; }
}

@media (max-width: 900px) {
  .section_content { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .breadcrumb { padding-top: 116px; padding-left: 28px; }
}

@media (max-width: 768px) {
  .header_nav { display: none; }
  .burger { display: flex; }
  .header_container { padding: 0 20px; }

  .breadcrumb { padding: 116px 16px 0; }
  .section_content { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px 50px; }
  .product-card .img-wrap { height: 300px; }
  .footer_right { flex-direction: column; gap: 20px; }
  .footer_container { flex-direction: column; align-items: center; text-align: center; }
  .footer_logo { width: 100px; }
}

@media (max-width: 420px) {
  .breadcrumb { padding: 110px 12px 0; font-size: 12px; }
  .section_content { gap: 12px; padding: 16px 12px 40px; }
  .product-card .img-wrap { height: 260px; }
  .product-card h2 { font-size: 15px; }
  .product-card .price { font-size: 19px; }
  .product-card .buy-btn { height: 44px; font-size: 14px; }

  .cart-modal-content { width: 96%; max-height: 92vh; }
  .h2_modal { font-size: 18px; padding: 18px 20px 14px; }
  .img_modal { display: none; }
  .cart-item img { width: 64px; height: 64px; }
  .cart-item-name { font-size: 13px; }
  .cart-item-price { font-size: 14px; }
  .cart-item-counter button { width: 24px; height: 24px; font-size: 14px; }
  .checkout-btn { font-size: 14px; height: 40px; }

  .contact-modal-content { width: 92%; padding: 16px; }
  .contact-title { font-size: 18px; margin-bottom: 15px; }
  .contact-item { font-size: 14px; padding: 10px; border-width: 2px; }
}/* =========================
   RESET & BASE
========================= */

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(180deg, #C5B7A8 0%, #D8CEC1 40%, #E5DCD1 100%);
  background-attachment: fixed;
  color: #452D1C;
  line-height: 1.5;
}

a, button { font-family: 'Inter', Arial, sans-serif; }

/* =========================
   HEADER
========================= */

@keyframes headerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.header {
  width: 100%;
  height: 96px;
  position: fixed;
  z-index: 100;
  top: 0; left: 0;
  background: rgba(197, 184, 168, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197, 167, 130, 0.25);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 4px 24px rgba(69,45,28,0.06);
  animation: headerSlideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: background 0.7s ease, box-shadow 0.7s ease, border-color 0.7s ease;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 5%;
  width: 90%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118,85,53,0.3), transparent);
}

.header.scrolled {
  background: rgba(208, 195, 180, 0.88);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 6px 28px rgba(69,45,28,0.1);
  border-bottom-color: rgba(118, 85, 53, 0.2);
}

.header_container {
  max-width: 1300px;
  margin: 0 auto;
  height: 96px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo_header {
  width: 72px; height: 61px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.logo_header:hover { transform: scale(1.1) rotate(-3deg); opacity: 0.85; }

.header_nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.transfer_header {
  color: #3d2510;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  padding-bottom: 3px;
  background-image: linear-gradient(90deg, #765535, #452D1C);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.2s ease, color 0.2s ease;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.transfer_header::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: rgba(118,85,53,0.15);
  border-radius: 2px;
}
.transfer_header:hover { color: #452D1C; background-size: 100% 2px; }

/* =========================
   CART BUTTON
========================= */

.cart-btn {
  background: #452D1C;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 14px;
  color: #F5EDE0;
  letter-spacing: 0.3px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 3px 12px rgba(69,45,28,0.25);
}
.cart-btn svg { flex-shrink: 0; color: #F5EDE0; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.cart-btn span {
  background: #C28B5B; color: #fff;
  font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px;
  border-radius: 50px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  transition: background 0.25s ease;
}
.cart-btn:hover { background: #5c3a1e; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(69,45,28,0.35); }
.cart-btn:hover svg { transform: scale(1.15) rotate(-8deg); }
.cart-btn:hover span { background: #E0A060; }
.cart-btn:active { transform: translateY(0) scale(0.96); box-shadow: 0 2px 8px rgba(69,45,28,0.2); }

/* =========================
   БУРГЕР
========================= */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  background: none; border: none;
  padding: 4px; z-index: 200;
}
.burger span {
  display: block;
  width: 100%; height: 2px;
  background: #452D1C;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 96px; left: 0;
  width: 100%;
  background: linear-gradient(180deg, #D0C4B5 0%, #E5DCD1 100%);
  border-bottom: 1px solid rgba(118,85,53,0.2);
  box-shadow: 0 8px 30px rgba(69,45,28,0.12);
  z-index: 98;
  flex-direction: column;
  padding: 12px 0 20px;
  display: none; opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); }
.mobile-menu.closing { opacity: 0; transform: translateY(-8px); }

.mobile-menu .transfer_header {
  padding: 14px 32px;
  font-size: 15px; letter-spacing: 1px;
  border-bottom: 1px solid rgba(118,85,53,0.1);
  background-image: none;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.mobile-menu .transfer_header::after { display: none; }
.mobile-menu .transfer_header:hover {
  background: rgba(69,45,28,0.07);
  padding-left: 42px; color: #452D1C; background-size: 0;
}
.mobile-menu .cart-btn {
  margin: 16px 32px 0;
  width: calc(100% - 64px);
  justify-content: center;
  font-size: 15px;
}

/* =========================
   ORDER SECTION
========================= */

.order {
  padding-top: 120px;
  padding-bottom: 60px;
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Swiper ── */
.mySwiper {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(69,45,28,0.18),
    0 1px 0 rgba(255,255,255,0.5) inset;
  background: rgba(245,237,224,0.3);
  aspect-ratio: 1 / 1;
}

.mySwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #F2EDE6 0%, #E8E0D5 100%);
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.mySwiper:hover .swiper-slide-active img {
  transform: scale(1.03);
}

.mySwiper .swiper-scrollbar {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: rgba(69,45,28,0.15);
  border-radius: 4px;
}
.mySwiper .swiper-scrollbar-drag {
  background: linear-gradient(90deg, #C28B5B, #765535);
  border-radius: 4px;
}

/* ── Product Info Panel ── */
.price_and_order {
  position: sticky;
  top: 116px;
}

.right_side {
  background: rgba(245,237,224,0.55);
  border: 1px solid rgba(210,195,175,0.6);
  border-radius: 24px;
  padding: 36px 32px 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 4px 24px rgba(69,45,28,0.10),
    0 1px 0 rgba(255,255,255,0.7) inset;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.main_text {
  font-size: 30px;
  font-weight: 700;
  color: #2e1a0e;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.subtitle_text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #6b9060;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.subtitle_text::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6b9060;
  box-shadow: 0 0 0 3px rgba(107,144,96,0.2);
  display: inline-block;
}

.art {
  font-size: 11px;
  color: rgba(69,45,28,0.4);
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

/* Разделитель */
.right_side::after {
  content: none;
}

/* Цвет */
.block-color {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: rgba(69,45,28,0.04);
  border-radius: 16px;
  border: 1px solid rgba(210,195,175,0.4);
}

.color {
  font-size: 13px;
  font-weight: 600;
  color: #765535;
  letter-spacing: 0.3px;
  width: 100%;
  margin-bottom: 6px;
}

.color_link {
  display: block;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(69,45,28,0.2);
}
.color_link:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 6px 18px rgba(69,45,28,0.3);
}

.img-color {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2.5px solid rgba(255,255,255,0.7);
}

/* Цена */
.cost {
  font-size: 38px;
  font-weight: 800;
  color: #452D1C;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

/* Счётчик */
.counter_order {
  margin-bottom: 18px;
}

.left {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(69,45,28,0.06);
  border: 1.5px solid rgba(197,167,130,0.4);
  border-radius: 50px;
  padding: 4px;
  overflow: hidden;
}

.btn {
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #452D1C;
  border-radius: 50px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:hover {
  background: rgba(69,45,28,0.1);
  transform: scale(1.1);
}
.btn:active { transform: scale(0.9); }

.value {
  min-width: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #452D1C;
}

/* Кнопки заказа */
.right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order_btn {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #8a6240 0%, #5c3a1e 100%);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 18px rgba(69,45,28,0.3);
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.order_btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  border-radius: 14px;
}
.order_btn:hover {
  background: linear-gradient(135deg, #6e4e30 0%, #3e2510 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(69,45,28,0.35);
}
.order_btn:active { transform: translateY(0) scale(0.98); }

.orderclick_btn {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 2px solid rgba(118,85,53,0.5);
  background: rgba(245,237,224,0.4);
  font-size: 15px;
  font-weight: 600;
  color: #452D1C;
  cursor: pointer;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.orderclick_btn:hover {
  background: rgba(194,139,91,0.15);
  border-color: rgba(118,85,53,0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(69,45,28,0.15);
}
.orderclick_btn:active { transform: translateY(0) scale(0.98); }

/* =========================
   ХАРАКТЕРИСТИКИ
========================= */

.charka {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px 70px;
}

.charka hr {
  border: none;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(118,85,53,0.25), transparent);
  margin-bottom: 44px;
}

.char_title {
  font-size: 26px;
  font-weight: 700;
  color: #2e1a0e;
  letter-spacing: -0.3px;
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
}
.char_title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -8px;
  width: 40px; height: 2.5px;
  background: linear-gradient(90deg, #C28B5B, rgba(194,139,91,0));
  border-radius: 2px;
}

.char_box {
  background: rgba(245,237,224,0.5);
  border: 1px solid rgba(210,195,175,0.55);
  border-radius: 18px;
  padding: 22px 28px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.char_box:hover {
  box-shadow: 0 6px 24px rgba(69,45,28,0.09);
  border-color: rgba(194,139,91,0.35);
  transform: translateY(-2px);
}

.char {
  font-size: 15px;
  color: #5a3e2b;
  line-height: 1.75;
  letter-spacing: 0.1px;
}

/* =========================
   ПОХОЖИЕ ТОВАРЫ
========================= */

.simillar_products {
  padding-bottom: 80px;
}

.simillar_products > hr {
  border: none;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(118,85,53,0.25), transparent);
  margin-bottom: 0;
}

.products_container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 44px 40px 0;
}

.prod_title {
  font-size: 26px;
  font-weight: 700;
  color: #2e1a0e;
  letter-spacing: -0.3px;
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
}
.prod_title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -8px;
  width: 40px; height: 2.5px;
  background: linear-gradient(90deg, #C28B5B, rgba(194,139,91,0));
  border-radius: 2px;
}

/* Swiper похожих */
.mySwiper_2 {
  padding-bottom: 20px !important;
  overflow: visible !important;
}

.mySwiper_2 .swiper-slide {
  height: auto;
}

/* Карточка похожего товара — в стиле каталога */
.similar-card {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(69,45,28,0.10),
    0 1px 0 rgba(255,255,255,0.6) inset;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s cubic-bezier(0.22,1,0.36,1);
  text-decoration: none;
}
.similar-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,12,4,0.90) 0%, rgba(22,12,4,0.45) 40%, transparent 75%);
  z-index: 1;
  border-radius: 20px;
  pointer-events: none;
}
.similar-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px;
  border: 1.5px solid rgba(194,139,91,0);
  z-index: 2;
  transition: border-color 0.5s ease;
  pointer-events: none;
}
.similar-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 50px rgba(69,45,28,0.25), 0 1px 0 rgba(255,255,255,0.5) inset;
}
.similar-card:hover::after { border-color: rgba(194,139,91,0.6); }

.similar-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.similar-card:hover img { transform: scale(1.07); }

.similar-card-content {
  position: relative;
  z-index: 3;
  padding: 0 20px 20px;
}

.similar-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  background: rgba(22,12,4,0.55);
  border: 1px solid rgba(245,237,224,0.35);
  color: #F5EDE0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.similar-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #F5EDE0;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.similar-card-sub {
  font-size: 12px;
  color: rgba(245,237,224,0.6);
  margin-bottom: 12px;
}

.similar-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(245,237,224,0.10);
  border: 1.5px solid rgba(245,237,224,0.45);
  color: #F5EDE0;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}
.similar-card-btn::after { content: "→"; font-size: 12px; transition: transform 0.3s ease; }
.similar-card:hover .similar-card-btn {
  background: rgba(194,139,91,0.65);
  border-color: rgba(194,139,91,0.9);
  color: #fff;
}
.similar-card:hover .similar-card-btn::after { transform: translateX(4px); }

/* Swiper Nav */
.mySwiper_2 .swiper-button-next,
.mySwiper_2 .swiper-button-prev {
  width: 44px; height: 44px;
  background: rgba(245,237,224,0.85);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(69,45,28,0.15);
  border: 1px solid rgba(210,195,175,0.6);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  top: 40%;
}
.mySwiper_2 .swiper-button-next:hover,
.mySwiper_2 .swiper-button-prev:hover {
  background: rgba(245,237,224,1);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(69,45,28,0.2);
}
.mySwiper_2 .swiper-button-next::after,
.mySwiper_2 .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 700;
  color: #452D1C;
}

.mySwiper_2 .swiper-scrollbar {
  background: rgba(69,45,28,0.1);
  height: 3px; border-radius: 4px;
  bottom: 0;
}
.mySwiper_2 .swiper-scrollbar-drag {
  background: linear-gradient(90deg, #C28B5B, #765535);
  border-radius: 4px;
}

/* =========================
   CART MODAL
========================= */

.cart-modal {
  display: none;
  position: fixed;
  inset: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(69,45,28,0.25);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

@keyframes slideDown {
  0%   { transform: translateY(-30px) scale(0.97); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.cart-modal-content {
  background: linear-gradient(160deg, #F8F4EF 0%, #EEE9E0 100%);
  width: 90%; max-width: 540px;
  border-radius: 24px; max-height: 88vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  animation: slideDown 0.35s cubic-bezier(0.22,1,0.36,1);
  border: 1px solid rgba(210,195,175,0.6);
}

.h2_modal {
  display: flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: 700; color: #452D1C;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(210,195,175,0.5);
  letter-spacing: -0.3px;
}
.img_modal { width: 36px; height: 36px; object-fit: contain; }

.cart-close {
  position: absolute; top: 18px; right: 20px;
  cursor: pointer;
  background: rgba(69,45,28,0.08);
  border: none; width: 32px; height: 32px;
  border-radius: 50%; font-size: 14px;
  color: #452D1C;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cart-close:hover { background: rgba(69,45,28,0.16); transform: rotate(90deg); }

.cart-items {
  flex: 1; overflow-y: auto;
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: rgba(118,85,53,0.3); border-radius: 4px; }

.cart-item {
  display: flex; gap: 16px; align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.65);
  border: 1.5px solid rgba(210,195,175,0.6);
  border-radius: 16px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.cart-item:hover { border-color: rgba(138,98,64,0.35); box-shadow: 0 4px 16px rgba(69,45,28,0.08); }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; flex-shrink: 0; border: 1px solid rgba(210,195,175,0.5); }

.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item-name { font-size: 15px; font-weight: 600; color: #452D1C; line-height: 1.3; }
.cart-item-price { font-size: 16px; font-weight: 700; color: #765535; }

.cart-item-counter {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.cart-item-counter button {
  width: 28px; height: 28px;
  background: rgba(69,45,28,0.1);
  border-radius: 8px; cursor: pointer;
  font-size: 16px; font-weight: 600; border: none; color: #452D1C;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.cart-item-counter button:hover { background: #452D1C; color: #fff; transform: scale(1.1); }
.item-quantity { font-size: 14px; font-weight: 600; color: #452D1C; min-width: 20px; text-align: center; }

.remove-item {
  width: 32px; height: 32px;
  color: #a05c3a; border-radius: 8px; border: none;
  font-size: 18px; cursor: pointer;
  background: rgba(160,92,58,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.remove-item:hover { background: rgba(160,92,58,0.18); color: #7a3010; transform: scale(1.1); }

.cart-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(210,195,175,0.5);
  background: linear-gradient(0deg, #EAE4DA 0%, transparent 100%);
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 500; color: #85705C;
  margin-bottom: 16px; padding: 0 4px;
}
.cart-total span { font-size: 22px; font-weight: 700; color: #452D1C; }

.checkout-btn {
  width: 100%; height: 52px;
  border-radius: 14px; border: none;
  background: linear-gradient(135deg, #8a6240 0%, #5c3a1e 100%);
  font-size: 16px; font-weight: 600; color: #fff;
  cursor: pointer; letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(69,45,28,0.25);
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.checkout-btn:hover { background: linear-gradient(135deg, #6e4e30 0%, #3e2510 100%); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(69,45,28,0.3); }
.checkout-btn:active { transform: translateY(0) scale(0.98); }

/* =========================
   CONTACT MODAL
========================= */

.contact-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 1002;
  justify-content: center; align-items: center;
}
.contact-modal-content {
  background: linear-gradient(160deg, #F8F4EF 0%, #E5DCD1 100%);
  padding: 36px; width: 90%; max-width: 420px;
  border-radius: 24px; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  border: 1px solid rgba(210,195,175,0.5);
  animation: slideDown 0.3s ease;
}
.contact-title { text-align: center; font-size: 24px; font-weight: 700; color: #452D1C; margin-bottom: 24px; letter-spacing: -0.3px; }
.contact-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(69,45,28,0.08); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 14px; cursor: pointer; color: #452D1C;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-close:hover { background: rgba(69,45,28,0.16); transform: rotate(90deg); }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  padding: 14px 20px;
  text-align: center;
  border: 2px solid rgba(118,85,53,0.35);
  border-radius: 14px;
  font-size: 16px; font-weight: 600;
  color: #452D1C;
  background: rgba(245,237,224,0.4);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.contact-item:hover {
  background: #452D1C; color: #F5EDE0;
  border-color: #452D1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(69,45,28,0.25);
}

/* =========================
   RETURN MODAL
========================= */

.return-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 1002;
  justify-content: center; align-items: center;
}
.return-modal-content {
  background: linear-gradient(160deg, #F8F4EF 0%, #E5DCD1 100%);
  padding: 36px; width: 90%; max-width: 520px;
  border-radius: 24px; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  border: 1px solid rgba(210,195,175,0.5);
  animation: slideDown 0.3s ease;
  max-height: 80vh; overflow-y: auto;
}
.return-title { font-size: 24px; font-weight: 700; color: #452D1C; margin-bottom: 20px; letter-spacing: -0.3px; }
.return-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(69,45,28,0.08); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 14px; cursor: pointer; color: #452D1C;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.return-close:hover { background: rgba(69,45,28,0.16); transform: rotate(90deg); }
#returnContent { font-size: 14px; color: #5a3e2b; line-height: 1.7; }

/* =========================
   FOOTER
========================= */

.footer {
  width: 100%;
  background: #452D1C;
  padding: 40px 0 20px;
  display: flex;
  justify-content: center;
}
.footer_container {
  max-width: 1300px; width: 100%; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  padding: 0 20px;
}
.footer_left { display: flex; flex-direction: column; gap: 10px; }
.footer_logo { width: 125px; height: 101px; margin-top: 20px; }
.footer_Text_1 { color: #D1C0A9; font-size: 12px; font-weight: 400; }
.footer_right { margin-top: 50px; display: flex; justify-content: space-evenly; gap: 40px; }
.footer_block { display: flex; flex-direction: column; gap: 6px; }
.footer_right_main { color: #fff; font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.text_footer { color: #D1C0A9; font-weight: 400; font-size: 12px; }
.footer_foot { max-width: 1200px; width: 100%; text-align: center; font-size: 12px; color: #D1C0A9; }

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .order { gap: 32px; padding: 116px 28px 50px; }
}

@media (max-width: 820px) {
  .order {
    grid-template-columns: 1fr;
    padding: 116px 24px 40px;
    gap: 24px;
  }
  .price_and_order { position: static; }
  .mySwiper { aspect-ratio: 4/3; }
  .charka { padding: 0 24px 50px; }
  .products_container { padding: 36px 24px 0; }
}

@media (max-width: 768px) {
  .header_nav { display: none; }
  .burger { display: flex; }
  .header_container { padding: 0 20px; }

  .order { padding: 108px 16px 36px; gap: 20px; }
  .right_side { padding: 24px 22px 22px; }
  .main_text { font-size: 24px; }
  .cost { font-size: 30px; }
  .order_btn, .orderclick_btn { height: 48px; font-size: 14px; }

  .charka { padding: 0 16px 40px; }
  .char_box { padding: 18px 20px; }
  .char { font-size: 14px; }

  .products_container { padding: 28px 16px 0; }
  .similar-card { height: 300px; }

  .footer_right { flex-direction: column; gap: 20px; }
  .footer_container { flex-direction: column; align-items: center; text-align: center; }
  .footer_logo { width: 100px; }

  .cart-modal-content { width: 96%; max-height: 92vh; }
  .h2_modal { font-size: 18px; padding: 18px 20px 14px; }
  .cart-item img { width: 64px; height: 64px; }
}

@media (max-width: 420px) {
  .right_side { padding: 20px 18px 18px; border-radius: 18px; }
  .main_text { font-size: 21px; }
  .cost { font-size: 26px; }
  .img-color { width: 30px; height: 30px; }
  .char_title, .prod_title { font-size: 21px; }
  .similar-card { height: 260px; }
  .img_modal { display: none; }
  .contact-modal-content, .return-modal-content { padding: 24px 18px; }
  .contact-title, .return-title { font-size: 20px; }
}

/* ================================================
   ПОХОЖИЕ ТОВАРЫ — полный редизайн секции
   Вставить в конец stylebuy.css
================================================ */

/* ── Секция ── */
.simillar_products {
  padding-bottom: 100px;
  position: relative;
}

.simillar_products > hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118,85,53,0.3), transparent);
  margin-bottom: 0;
}

/* ── Заголовок ── */
.products_container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 52px 40px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.prod_title {
  font-size: 28px;
  font-weight: 700;
  color: #2e1a0e;
  letter-spacing: -0.5px;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.prod_title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -10px;
  width: 44px; height: 3px;
  background: linear-gradient(90deg, #C28B5B, rgba(194,139,91,0));
  border-radius: 2px;
}

/* Счётчик карточек рядом с заголовком */
.prod_count {
  font-size: 12px;
  font-weight: 600;
  color: rgba(69,45,28,0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 4px;
}

/* ── Обёртка слайдера ── */
.similar_swiper_wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px 16px;
  position: relative;
}

/* ── Swiper ── */
.mySwiper_2 {
  overflow: visible !important;
  padding-bottom: 36px !important;
}

.mySwiper_2 .swiper-slide {
  height: auto;
  transition: opacity 0.4s ease;
}

/* Боковые карточки чуть приглушены */
.mySwiper_2 .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.88;
}

/* ── Карточка похожего товара ── */
.similar-card {
  position: relative;
  width: 100%;
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 2px 8px rgba(69,45,28,0.06),
    0 8px 32px rgba(69,45,28,0.10);
  transition:
    transform 0.5s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.5s cubic-bezier(0.22,1,0.36,1);
  border: 1px solid rgba(210,195,175,0.35);
}

/* Градиентный оверлей */
.similar-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(30,14,4,0.96) 0%,
    rgba(30,14,4,0.55) 38%,
    rgba(30,14,4,0.10) 65%,
    transparent 100%
  );
  z-index: 1;
  border-radius: 22px;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Золотая рамка при hover */
.similar-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 22px;
  border: 1.5px solid rgba(194,139,91,0);
  z-index: 2;
  transition: border-color 0.45s ease;
  pointer-events: none;
}

.similar-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow:
    0 20px 60px rgba(69,45,28,0.22),
    0 4px 16px rgba(69,45,28,0.10);
}

.similar-card:hover::after {
  border-color: rgba(194,139,91,0.65);
}

/* Картинка */
.similar-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}

.similar-card:hover img {
  transform: scale(1.08);
}

/* Бейдж */
.similar-card-badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  background: rgba(194,139,91,0.85);
  border: 1px solid rgba(245,237,224,0.3);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Контентная зона */
.similar-card-content {
  position: relative;
  z-index: 3;
  padding: 0 20px 22px;
}

/* Тонкий разделитель */
.similar-card-divider {
  width: 28px;
  height: 1.5px;
  background: rgba(194,139,91,0.7);
  border-radius: 2px;
  margin-bottom: 10px;
  transition: width 0.4s ease;
}
.similar-card:hover .similar-card-divider {
  width: 44px;
}

/* Подзаголовок */
.similar-card-sub {
  font-size: 10px;
  font-weight: 600;
  color: rgba(245,237,224,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Название */
.similar-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #F5EDE0;
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* Нижняя строка: цена + кнопка */
.similar-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.similar-card-price {
  font-size: 21px;
  font-weight: 800;
  color: #F5EDE0;
  letter-spacing: -0.8px;
  line-height: 1;
}

.similar-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: rgba(245,237,224,0.10);
  border: 1.5px solid rgba(245,237,224,0.35);
  color: #F5EDE0;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.25s ease,
    color 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.similar-card-btn-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.similar-card:hover .similar-card-btn {
  background: rgba(194,139,91,0.75);
  border-color: rgba(194,139,91,0.95);
  color: #fff;
  transform: translateX(0);
}

.similar-card:hover .similar-card-btn-arrow {
  transform: translateX(4px);
}

/* ── Кнопки навигации ── */
.mySwiper_2 .swiper-button-next,
.mySwiper_2 .swiper-button-prev {
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #F5EDE0, #E8DDD0);
  border-radius: 50%;
  box-shadow:
    0 4px 18px rgba(69,45,28,0.15),
    0 1px 0 rgba(255,255,255,0.8) inset;
  border: 1px solid rgba(210,195,175,0.6);
  top: 42%;
  transition:
    background 0.25s ease,
    transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.25s ease;
}

.mySwiper_2 .swiper-button-prev { left: -56px; }
.mySwiper_2 .swiper-button-next { right: -56px; }

.mySwiper_2 .swiper-button-next:hover,
.mySwiper_2 .swiper-button-prev:hover {
  background: linear-gradient(145deg, #fff, #F5EDE0);
  transform: scale(1.12);
  box-shadow:
    0 8px 28px rgba(69,45,28,0.2),
    0 1px 0 rgba(255,255,255,0.9) inset;
}

.mySwiper_2 .swiper-button-next::after,
.mySwiper_2 .swiper-button-prev::after {
  font-size: 13px;
  font-weight: 800;
  color: #452D1C;
}

/* Disabled state */
.mySwiper_2 .swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ── Скроллбар ── */
.mySwiper_2 .swiper-scrollbar {
  background: rgba(69,45,28,0.1);
  height: 2px;
  border-radius: 4px;
  bottom: 0;
  left: 0;
  width: 100%;
}

.mySwiper_2 .swiper-scrollbar-drag {
  background: linear-gradient(90deg, #C28B5B, #765535);
  border-radius: 4px;
  cursor: grab;
}

.mySwiper_2 .swiper-scrollbar-drag:active {
  cursor: grabbing;
}

/* ================================================
   АДАПТИВ
================================================ */

@media (max-width: 1100px) {
  .similar_swiper_wrap { padding: 0 28px 16px; }
  .mySwiper_2 .swiper-button-prev { left: -36px; }
  .mySwiper_2 .swiper-button-next { right: -36px; }
}

@media (max-width: 900px) {
  .products_container { padding: 40px 28px 28px; }
  .similar_swiper_wrap { padding: 0 24px 16px; }
  .similar-card { height: 320px; }
  .mySwiper_2 .swiper-button-prev,
  .mySwiper_2 .swiper-button-next { display: none; }
}

@media (max-width: 768px) {
  .simillar_products { padding-bottom: 70px; }
  .products_container { padding: 36px 16px 24px; }
  .prod_title { font-size: 22px; }
  .similar_swiper_wrap { padding: 0 16px 16px; }
  .similar-card { height: 290px; }
  .similar-card-title { font-size: 15px; }
  .similar-card-price { font-size: 18px; }
}

@media (max-width: 420px) {
  .products_container { padding: 28px 12px 20px; }
  .prod_title { font-size: 20px; }
  .similar_swiper_wrap { padding: 0 12px 16px; }
  .similar-card { height: 260px; }
  .similar-card-content { padding: 0 16px 18px; }
  .similar-card-title { font-size: 14px; margin-bottom: 10px; }
  .similar-card-price { font-size: 16px; }
  .similar-card-btn { font-size: 9px; padding: 7px 13px; }
}

/* UI refresh: shadcn/ui-inspired design tokens and primitives */
:root {
  --ui-bg: #f7f5f2;
  --ui-fg: #342318;
  --ui-card: #fffdf9;
  --ui-muted: #786b5f;
  --ui-border: #e4ddd4;
  --ui-primary: #5d3b25;
  --ui-primary-hover: #452d1c;
  --ui-accent: #bb8250;
  --ui-ring: rgba(187,130,80,.28);
  --ui-radius: 16px;
}
html { background: var(--ui-bg); }
body { background: var(--ui-bg); color: var(--ui-fg); overflow-x: hidden; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--ui-ring); outline-offset: 3px; }
.header, .header_container { height: 76px; }
.header { background: rgba(255,253,249,.86); border-bottom-color: var(--ui-border); box-shadow: 0 4px 20px rgba(69,45,28,.07); }
.header_container { max-width: 1240px; padding-inline: clamp(16px,4vw,32px); }
.logo_header { width: 62px; height: 54px; object-fit: contain; }
.header_nav { gap: clamp(16px,3vw,30px); }
.transfer_header { color: var(--ui-fg); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.cart-btn { min-height: 40px; padding: 8px 14px; border-radius: 10px; background: var(--ui-primary); }
.cart-btn:hover { background: var(--ui-primary-hover); }
.mobile-menu { top: 76px; background: rgba(255,253,249,.97); border-bottom-color: var(--ui-border); }
.breadcrumb { max-width: 1240px; margin-inline: auto; padding: 104px clamp(16px,4vw,32px) 0; color: var(--ui-muted); }
.section_content { max-width: 1240px; margin-inline: auto; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2.5vw,28px); padding: 28px clamp(16px,4vw,32px) 80px; }
.product-card { border: 1px solid var(--ui-border); border-radius: var(--ui-radius); background: var(--ui-card); box-shadow: 0 2px 10px rgba(69,45,28,.06); overflow: hidden; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(69,45,28,.11); }
.product-card .img-wrap { height: clamp(240px,27vw,320px); background: #f0ebe5; }
.product-card .card-body { padding: 18px 18px 20px; }
.product-card .buy-btn { min-height: 42px; border-radius: 10px; background: var(--ui-primary); }
.product-card .buy-btn:hover { background: var(--ui-primary-hover); }
.order { max-width: 1240px; padding: 112px clamp(16px,4vw,40px) 64px; gap: clamp(24px,5vw,56px); }
.mySwiper { border: 1px solid var(--ui-border); border-radius: 18px; box-shadow: 0 14px 36px rgba(69,45,28,.11); }
.right_side { border: 1px solid var(--ui-border); border-radius: var(--ui-radius); background: rgba(255,253,249,.76); box-shadow: 0 2px 10px rgba(69,45,28,.06); padding: clamp(22px,4vw,34px); }
.main_text { font-size: clamp(26px,3.2vw,34px); letter-spacing: -.045em; }
.block-color { border-color: var(--ui-border); border-radius: 12px; }
.cost { margin-bottom: 18px; font-size: clamp(30px,4vw,40px); letter-spacing: -.055em; }
.left { border-color: var(--ui-border); background: #f1ece6; }
.order_btn, .orderclick_btn { min-height: 48px; height: auto; border-radius: 10px; font-size: 14px; }
.order_btn { background: var(--ui-primary); box-shadow: 0 8px 18px rgba(69,45,28,.14); }
.order_btn:hover { background: var(--ui-primary-hover); }
.orderclick_btn { border: 1px solid rgba(93,59,37,.42); background: transparent; }
.orderclick_btn:hover { background: rgba(187,130,80,.12); border-color: var(--ui-accent); }
.char_box { border: 1px solid var(--ui-border); border-radius: 12px; background: var(--ui-card); box-shadow: 0 2px 10px rgba(69,45,28,.06); padding: 18px 22px; }
.char { color: var(--ui-muted); line-height: 1.7; }
.products_container { max-width: 1240px; padding: 44px clamp(16px,4vw,32px) 0; }
.simillar_products { padding-bottom: 88px; }
.similar-card { border-radius: var(--ui-radius); box-shadow: 0 2px 10px rgba(69,45,28,.06); }
.similar-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(69,45,28,.11); }
.cart-modal { background: rgba(52,35,24,.34); }
.cart-modal-content { width: min(92vw,560px); border: 1px solid var(--ui-border); border-radius: 18px; box-shadow: 0 24px 70px rgba(40,25,15,.22); }
.checkout-btn { min-height: 46px; border-radius: 10px; background: var(--ui-primary); }
.checkout-btn:hover { background: var(--ui-primary-hover); }
.footer { padding: 56px 24px 24px; }
.footer_container { max-width: 1180px; padding: 0; gap: 36px; }
@media (max-width: 1100px) { .section_content { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 820px) { .section_content { grid-template-columns: 1fr; } .order { padding-inline: 24px; } }
@media (max-width: 768px) { .breadcrumb { padding-top: 104px; } .order { padding: 104px 16px 40px; } .section_content { gap: 18px; padding: 24px 16px 56px; } .product-card .img-wrap { height: min(320px,76vw); } .products_container, .charka { padding-inline: 16px; } }
@media (max-width: 520px) { .breadcrumb { padding: 98px 12px 0; } .order { padding-inline: 12px; } .section_content { padding-inline: 12px; } .products_container { padding-inline: 12px; } }

/* Цена и скидка карточки заполняются из серверного каталога. */
.product-card .price.has-catalog-discount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.product-card .price .catalog-price-current,
.product-card .price .catalog-price-original,
.product-card .price .catalog-price-discount {
  white-space: nowrap;
}

.product-card .price .catalog-price-original {
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 600;
  text-decoration-thickness: 1.25px;
  text-decoration-color: currentColor;
}

.product-card .price .catalog-price-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: #a84638;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
}
