/* ================= VARIABLES ================= */
:root {
  --dark-gradient: linear-gradient(180deg, #000000 0%, #4B0000 50%, #8B0000 100%);
  --accent-red: #FF3C3C;
  --accent-dark: #1C1C1C;
  --text-light: #ffeaea;
  --gold-hover: #FFD700;
}

/* ================= FONT ================= */
@font-face {
  font-family: 'MyFont';
  src: url('../fonts/MyFont.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'MyFont', sans-serif;
  color: #fff;
  background: var(--dark-gradient);
  background-attachment: fixed;
  background-size: cover;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

* {
  box-sizing: border-box;
}


/* ================= MAIN ================= */
main {
  flex: 1; /* займає весь простір між header і footer */
}


/* ================= CONTAINERS ================= */
.container, .contact-container, .cart-section {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
}

/* ================= GENERAL ================= */
section, header, footer {
  background: transparent;
}

h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

/* ================= HEADER ================= */
.site-header {
  background: var(--dark-gradient);
  padding: 40px 0;
  text-align: center;
  position: relative;
  z-index: 5;
}

.site-header h1 {
  font-size: 2.5rem;
  text-align: center;
  color: #fff;
  font-weight: 700;
}

.my-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= SIDE MENU ================= */
.menu-toggle {
  position: fixed;
  top: 20px; left: 10px;
  width: 40px; height: 32px;
  background: transparent;
  border: none;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer;

  z-index: 2000;
}
.menu-toggle img {
  width: 35px;
  transition: transform 0.2s ease;

}
.menu-toggle:hover img { transform: scale(1.1); }

.side-menu {
  position: fixed;
  top: 0; left: -260px;
  width: 260px; height: 100vh;
  background: var(--dark-gradient);
  color: #fff;
  padding: 50px 5px;
  transition: left 0.35s ease-in-out;
  box-shadow: 3px 0 12px rgba(0,0,0,0.45);
  z-index: 1500;
}
.side-menu.active { left: 0; }
.side-menu a {
  display: block;
  margin: 50px 5px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.side-menu a:hover { color: var(--gold-hover); }


/* ================= ABOUT ================= */
.about { padding: 80px 0; text-align: center; color: #fff; }
.about p { max-width: 750px; margin: 0 auto 40px; font-size: 1.25rem; line-height: 1.6; opacity: 0.85; }

.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.card {
  background: transparent;
  border: 2px solid #FFD1D1;
  border-radius: 5px;
  padding: 28px 30px;
  max-width: 350px;
  width: 100%;
  transition: 0.3s ease;
  color: #fff;
  height: 120px;
}
.card:hover { transform: translateY(-6px); border-color: #fff; }
.card a { font-size: 1.2rem; font-weight: 600; text-decoration: none; color: #8B0000; }
.card a:hover { color: #fff; background-color: #8B0000; }

/* ================= CONTACT ================= */
.contact { padding: 80px 0; text-align: center; color: #fff; }
.contact-info { max-width: 1200px; margin: 0 auto 30px; font-size: 1.1rem; color: var(--text-light); line-height: 1.6; opacity: 0.85; }

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 10px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.25s ease;
  margin-bottom: 30px;
}
.contact-form h3 {
  margin-bottom: 25px;
  margin-top: 40px;
  text-align: center;


  /* робота з текстом */
  font-size: 25px;         /* розмір тексту */
  font-weight: 600;        /* товщина тексту */
  line-height: 1.3;        /* висота рядка */
  color: #ffffff;          /* колір тексту */

  /* робота з шириною блоку */
  width: 100%;             /* ширина блоку */
  max-width: 570px;        /* максимальна ширина */
  display: block; 
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.6); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-hover);
  box-shadow: 0 6px 20px rgba(255,215,0,0.25);
}

.contact-btn {
  width: 100%;
  max-width: 300px;
  margin: 20px auto 0;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #8B0000, #FF3C3C);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255,0,0,0.3);
}
.contact-btn:hover { background: linear-gradient(135deg, #FF3C3C, #8B0000); transform: scale(1.05); box-shadow: 0 6px 20px rgba(255,69,0,0.5); }
.contact-btn:active { transform: scale(0.97); box-shadow: 0 3px 10px rgba(255,0,0,0.3); }

/* ================= CANDLE & BUTTONS ================= */
.buy-btn, .cart-btn, .luxury-btn {
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-dark));
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.buy-btn:hover, .cart-btn:hover, .luxury-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-red));
}
.buy-btn:active, .cart-btn:active, .luxury-btn:active { transform: scale(0.98); }

/* ================= CART BUTTON ================= */
.floating-cart {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--accent-red);
  padding: 12px 16px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  cursor: pointer;
}

.floating-cart span {
  margin-left: 5px;
  font-size: 1rem;
}
/* ================= CART ITEMS ================= */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 18px;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
}

.cart-item:hover {
  background: rgba(255, 60, 60, 0.1);
  transform: translateY(-2px);
}

.cart-item h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.cart-item strong {
  color: #FF3C3C;
  font-weight: 600;
}

/* ================= REMOVE BUTTON ================= */
.remove-btn {
  background: var(--accent-red);
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background: #FF6060;
  transform: translateY(-1px) scale(1.05);
}

.remove-btn:active {
  transform: scale(0.95);
}

/* ================= CART SUMMARY ================= */
.cart-summary {
  margin-top: 15px;
  padding: 12px 18px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  text-align: center; /* вот эта строка выравнивает текст по центру */
}

.cart-summary h2 {
  color: #FFF;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.cart-summary p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}


/* ================= CART PANEL ================= */
.cart-container {
  position: fixed;
  top: 160px;          /* Гарантовано НЕ буде зверху */
  right: 20px;
  width: 260px;
  background: rgba(0, 0, 0, 0.75);
  padding: 18px;
  border-radius: 12px;
  color: #fff;
  z-index: 99999;      /* Вищий за меню */
  backdrop-filter: blur(6px);
  display: none;        /* панель прихована доки не треба */
}

.cart-container.active {
  display: block;
}

/* ================= DIARY PAGE ================= */
.diary-style {
  padding: 60px 0;
  color: #fff;
  line-height: 1.7;
}

.diary-style h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #FFF;
  text-align: center;
}

.diary-style p {
  margin-bottom: 25px;
  font-size: 1.3rem;
  opacity: 0.9;
  text-align: center; /* текст по центру */
}

.diary-style hr {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 40px 0;
}

/* адаптовані "картки" для абзаців щоденника */
.diary-style .entry {
  background: transparent;
  border: 2px solid #FFD1D1;
  border-radius: 5px;
  padding: 20px 25px;
  max-width: 800px;
  margin: 20px auto;
  transition: 0.3s ease;
  color: #fff;
}

.diary-style .entry:hover {
  transform: translateY(-6px);
  border-color: #fff;
}

.diary-style .entry h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #8B0000;
  text-align: center;
}

.diary-style .entry p {
  font-size: 1.1rem;
  opacity: 0.9;
  text-align: center;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) { .hero-image img { flex: 0 0 calc(50% - 20px); height: 320px; } .hero h1 { font-size: 34px; } .arrow { font-size: 40px; } }
@media (max-width: 768px) { 
  .hero-image img { flex: 0 0 calc(90% - 20px); height: 260px; margin: 0 10px; } 
  .hero h1 { font-size: 28px; } 
  .hero p { font-size: 16px; } 
  .arrow { font-size: 38px; top: 48%; } 
  .diary-style h2 { font-size: 1.5rem; }
  .diary-style p { font-size: 1rem; }
  .diary-style { padding: 40px 15px; }
}
@media (max-width: 480px) { .hero-image img { flex: 0 0 calc(92% - 20px); height: 200px; border-radius: 8px; margin: 0 8px; } .hero h1 { font-size: 22px; } .hero p { font-size: 14px; padding-bottom: 16px; } }

/* ================= ALERTS ================= */
.alert-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,0.8); /* фон, можно убрать */
  color: #FFD700; /* цвет текста */
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  z-index: 9999;
}


/* ================= INSTRUCTIONS PAGE ================= */
.center-text {
  text-align: center;
  color: #FFF;
  margin: 40px 0 20px;
  font-size: 2rem;
}

.list-block {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
}

.list-block li {
  background: transparent; /* прибираємо колір і бордер */
  border: none;
  padding: 10px 10px;
  margin-bottom: 15px;
  border-radius: 0;
  text-align: center; /* текст по центру */
  font-size: 1.2rem;
  line-height: 1.6;
}


.list-block h3 {
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  margin: 15px;
  text-align: center; /* заголовки теж по центру */
}

hr {
  border: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 10px 10px;
}
  

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .center-text {
    font-size: 1.5rem;
    margin: 30px 0 15px;
  }

  .list-block li {
    padding: 12px 16px;
  }

  .list-block h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .center-text {
    font-size: 1.3rem;
  }

  .list-block h3 {
    font-size: 0.95rem;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  padding: 20px 15px;
  color: #fff;
  text-align: center;
  font-family: 'MyFont', sans-serif;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
  padding: 0;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  background-color: transparent; /* без фонового кольору */
  border: 2px solid #fff;        /* можна залишити рамку */
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  min-height: 44px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.footer-btn:hover {
  transform: scale(1.05);
  border-color: #FF3C3C;  /* ефект при наведенні */
}

.footer-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 15px;
  text-align: center;
  width: 100%;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .footer-social {
    flex-direction: column;
    gap: 15px;
  }

  .footer-btn {
    width: 90%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-btn {
    width: 95%;
    font-size: 0.85rem;
    padding: 10px 12px;
  }
}


.candle-block {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px; /* відстань між фото та текстом */
  padding: 60px 10px;
  flex-wrap: wrap; /* щоб на мобільних фото та текст ставали один під одним */
}

.candle-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
}

.candle-photo {
  max-width: 320px; /* можна змінювати розмір картинки */
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.candle-text {
  flex: 1;
  color: #fff;
}

.candle-text h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #FFF;
}

.moment-text {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 100px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .candle-content {
    flex-direction: column;
    align-items: center;
  }
  .candle-photo {
    max-width: 90%;
  }
  .candle-text h2 {
    text-align: center;
  }
  .moment-text  {
    text-align: center;
  }
}
/* ========== PREMIUM CUSTOM SELECT ========== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select {
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-dark));
  color: #fff;
  font-size: 1rem;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Стрелка кастомного селекту */
.custom-select-wrapper::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
  font-size: 0.8rem;
}

/* Опції випадаючого списку */
.custom-select option {
  background: var(--accent-dark);
  color: #fff;
  padding: 10px;
}


/* ========== CUSTOM CHECKBOX ========== */
.checkbox-lux {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.checkbox-lux:hover {
  background: rgba(255, 60, 60, 0.1);
}

/* Приховуємо стандартний чекбокс */
.checkbox-lux input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Кастомний маркер */
.checkbox-lux .checkmark {
  height: 20px;
  width: 20px;
  border: 2px solid #fff;
  border-radius: 4px;
  background: transparent;
  flex-shrink: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

/* Показуємо галочку при checked */
.checkbox-lux input:checked + .checkmark::after {
  content: "✓";
  display: block;
}

.alert-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  background-color: rgba(40, 0, 0, 0.9); /* тёмный фон */
  color: #FF3C3C; /* красный текст */
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 24px;
  text-align: center;
  z-index: 9999;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.alert-box.show {
  opacity: 1;
  pointer-events: auto;
}


/* ===== Кнопки доставки та оплати — ТІЛЬКИ ТЕКСТ ===== */
.checkbox-lux {
  display: block;
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  transition: all 0.35s ease;
  border: 2px solid transparent;
  position: relative;
}

/* Схований input */
.checkbox-lux input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Текст */
.checkbox-lux span {
  display: block;
  width: 100%;
  pointer-events: none;
  transition: 0.35s ease;
}

/* Наведення */
.checkbox-lux:hover {
  background: rgba(255, 0, 0, 0.15);
}

/* 🔥 Активний стиль — красивий червоно-темний градієнт */
.checkbox-lux input:checked ~ span {
  background: linear-gradient(135deg, #b30000, #400000, #0d0d0d);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
  color: #ffd8d8;
  letter-spacing: 0.5px;
}



/* ================= HERO SLIDER – ОНОВЛЕНИЙ ================= */
.hero-slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.hero-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.hero-images {
  display: flex;
  transition: transform 0.45s ease;
}

.hero-image {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.hero-content {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
  text-align: center;
  margin-top: 35px;
  font-size: 40px;
}

.hero-content p {
  text-align: center;
  margin-top: 20px;
  font-size: 23px;
}

/* --- Адаптивність HERO --- */
@media (max-width: 1024px) {
  .hero-image {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .hero-image {
    flex: 0 0 calc(90% - 20px);
  }
}

/* --- Стрілки --- */
.arrow {
  border: none;
  background: transparent;
  font-size: 36px;
  cursor: pointer;
  padding: 10px;
  color: #444;
  transition: opacity .2s;
}

.arrow:hover {
  opacity: 0.6;
}

.arrow.left {
  margin-right: 10px;
}

.arrow.right {
  margin-left: 10px;
}

/* ================= SUCCESS PAGE ================= */
.checkout-success {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
  padding: 0 300px; /* відступи з боків */
  box-sizing: border-box;
  color: var(--text-light);
}

.checkout-success h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.checkout-success h1 span.heart {
  background: linear-gradient(135deg, #FF3C3C, #8B0000); /* червоно-темний градієнт */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.checkout-success p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.85;
}

.checkout-success .cart-btn {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 28px;
  background: linear-gradient(135deg, #8B0000, #FF3C3C);
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,0,0,0.3);
  transition: all 0.3s ease;
}

.checkout-success .cart-btn:hover {
  background: linear-gradient(135deg, #FF3C3C, #8B0000);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255,69,0,0.5);
}

.checkout-success .cart-btn:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(255,0,0,0.3);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .checkout-success {
    padding: 0 120px;
  }
  .checkout-success h1 {
    font-size: 2.5rem;
  }
  .checkout-success p {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .checkout-success {
    padding: 0 40px;
  }
  .checkout-success h1 {
    font-size: 2rem;
  }
  .checkout-success p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .checkout-success h1 {
    font-size: 1.8rem;
  }
  .checkout-success p {
    font-size: 1rem;
  }
  .checkout-success .cart-btn {
    font-size: 1rem;
    padding: 12px 20px;
  }
}

.checkout-failed h1 span.cross {
  background: linear-gradient(135deg, #FF0000, #800000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ================= FAILED PAGE ================= */
.checkout-failed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
  padding: 0 300px;
  box-sizing: border-box;
  color: var(--text-light);
}

.checkout-failed h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.checkout-failed h1 span.cross {
  background: linear-gradient(135deg, #FF0000, #800000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.checkout-failed p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.85;
}

.checkout-failed .cart-btn {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 28px;
  background: linear-gradient(135deg, #800000, #FF0000);
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,0,0,0.3);
  transition: all 0.3s ease;
}

.checkout-failed .cart-btn:hover {
  background: linear-gradient(135deg, #FF0000, #800000);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255,69,0,0.5);
}

.checkout-failed .cart-btn:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(255,0,0,0.3);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .checkout-failed { padding: 0 120px; }
  .checkout-failed h1 { font-size: 2.5rem; }
  .checkout-failed p { font-size: 1.25rem; }
}

@media (max-width: 768px) {
  .checkout-failed { padding: 0 40px; }
  .checkout-failed h1 { font-size: 2rem; }
  .checkout-failed p { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .checkout-failed h1 { font-size: 1.8rem; }
  .checkout-failed p { font-size: 1rem; }
  .checkout-failed .cart-btn { font-size: 1rem; padding: 12px 20px; }
}
.empty-cart-text {
  color: #ffdddd;        /* нежный светло-красный */
  font-size: 26px;
  text-align: center;
  margin: 70px 40px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 50, 50, 0.4);
}




