/* ====================================================
   CÔNG CHÚA BAY — Clone design tadaa.vn
   Max-width: 420px | Font to dễ đọc cho người 40+
   ==================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0; outline: 0; }
html { font-size: 15px; line-height: 1.5; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #000;
  background: #f0f0f0;
  overflow-x: hidden;
  padding-bottom: 56px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }

/* ---------- Page wrapper ---------- */
.pageview {
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  position: relative;
}
@media (min-width: 421px) {
  .pageview { box-shadow: 0 0 24px rgba(0,0,0,0.18); }
}

/* ---------- Sections ---------- */
.section { width: 100%; position: relative; background: #fff; }

/* ====================================================
   STICKY HEADER
   ==================================================== */
#sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 17, 0, 1);
}
#sticky-header .pageview {
  background: rgba(255, 17, 0, 1);
  height: 50px;
  display: flex;
  align-items: center;
}
.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding: 0 12px;
}
.sticky-brand-name {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex: 1;
}
.sticky-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.sticky-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
}

/* ====================================================
   SECTION 1: HERO
   ==================================================== */
.section-hero { padding: 0; }

/* Gallery */
.gallery-wrap { width: 100%; }
.gallery-main {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  background: #f5f5f5;
}
.gallery-view {
  display: flex;
  width: 500%;
  height: 100%;
  transition: transform 0.4s ease;
}
.gallery-item {
  width: 20%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.gallery-prev, .gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.22);
  color: #fff;
  border: none;
  font-size: 34px;
  width: 34px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 4px rgba(0,0,0,0.5);
  z-index: 5;
  line-height: 1;
}
.gallery-prev { left: 0; }
.gallery-next { right: 0; }
.gallery-thumbs {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: #fff;
  overflow-x: auto;
}
.gallery-thumbs::-webkit-scrollbar { height: 3px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: #ddd; }
.gallery-thumb {
  width: 76px;
  min-width: 76px;
  height: 64px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  flex-shrink: 0;
}
.gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.gallery-thumb.active::after { background: transparent; }
.gallery-thumb.active { border-color: #D40000; }

/* Hero info block (below gallery) */
.hero-info { padding: 0 0 10px; }

.product-tagline {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(120, 66, 18, 1);
  text-align: center;
  padding: 12px 14px 8px;
}

/* Sale + Stock row */
.hero-sale-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 6px;
}

.sale-tag {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 800;
  color: rgba(204, 0, 0, 1);
  animation: saleFlash 1.1s infinite;
  display: inline-block;
}

@keyframes saleFlash {
  0%, 100% { transform: scale(1);    color: rgba(204, 0, 0, 1); }
  50%       { transform: scale(1.08); color: rgba(255, 30, 0, 1); }
}

.stock-badge {
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 2px;
  white-space: nowrap;
}

/* Price row */
.hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 4px 14px 10px;
}
.price-old {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  text-decoration: line-through;
  color: #777;
}
.price-new {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  font-weight: 800;
  color: rgba(204, 0, 0, 1);
  display: inline-block;
  animation: priceGlow 1.2s infinite;
}

@keyframes priceGlow {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(204,0,0,0);
  }
  50% {
    transform: scale(1.07);
    text-shadow: 0 0 18px rgba(204,0,0,0.55), 0 0 6px rgba(255,50,0,0.3);
  }
}

/* Cam kết box */
.camket-box {
  margin: 4px 14px 12px;
  border: 1px solid #ddd;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.camket-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0084FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.camket-list { list-style: none; flex: 1; }
.camket-list li {
  font-size: 16px;
  line-height: 1.9;
  color: #000;
}

/* ====================================================
   SECTION 2: VIDEO
   ==================================================== */
.section-video { height: 560px; overflow: hidden; }
.section-video video { width: 100%; height: 100%; object-fit: cover; }

/* ====================================================
   SECTIONS 3 & 4: BENEFITS
   ==================================================== */
.section-header-bar {
  background: rgba(229, 231, 235, 1);
  padding: 10px 12px;
  text-align: center;
}
.section-header-bar h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
}
.benefits-img-wrap img { width: 100%; height: auto; display: block; }
.benefits-text {
  padding: 14px 16px 18px;
  font-size: 17px;
  line-height: 1.8;
  color: #000;
}
.benefits-text p { word-break: break-word; }

/* ====================================================
   SECTION 5: REVIEWS  — thoáng, dễ đọc
   ==================================================== */
.section-reviews { padding: 0 0 14px; }

/* Rating card */
.rating-card {
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #f9f9f9;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rating-left { text-align: center; min-width: 80px; }
.rating-big-num {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: #333;
}
.rating-stars { display: flex; justify-content: center; gap: 3px; margin: 5px 0; }
.rating-label { font-size: 12px; color: #555; }

/* Stars */
.star {
  display: inline-block;
  width: 16px; height: 15px;
  background: #9B9B9B;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' width='63' height='60' viewBox='0 0 63 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60.5111 20.8618L41.9149 18.1592L33.6019 1.30615C33.3749 0.844723 33.0014 0.471188 32.5399 0.244137C31.3827 -0.327152 29.9764 0.148922 29.3978 1.30615L21.0848 18.1592L2.48866 20.8618C1.97596 20.9351 1.50721 21.1768 1.14832 21.543C0.714449 21.9889 0.475364 22.5889 0.483605 23.211C0.491845 23.8331 0.746735 24.4265 1.19227 24.8608L14.6469 37.9785L11.4681 56.5015C11.3936 56.9323 11.4413 57.3755 11.6058 57.7807C11.7703 58.1858 12.045 58.5368 12.3988 58.7938C12.7526 59.0507 13.1714 59.2034 13.6075 59.2345C14.0437 59.2656 14.4799 59.1739 14.8666 58.9697L31.4999 50.2246L48.1332 58.9697C48.5873 59.2114 49.1146 59.292 49.62 59.2041C50.8944 58.9844 51.7514 57.7759 51.5316 56.5015L48.3529 37.9785L61.8075 24.8608C62.1737 24.502 62.4154 24.0332 62.4887 23.5205C62.6864 22.2388 61.7929 21.0522 60.5111 20.8618Z' fill='%239191919'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
}
.star.filled { background: rgba(245, 158, 11, 1); }

/* Rating bars */
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.rbar-row { display: flex; align-items: center; gap: 6px; }
.rbar-label { font-size: 11px; color: #555; width: 32px; white-space: nowrap; }
.rbar-bg { flex: 1; height: 9px; background: #e5e7eb; border-radius: 5px; overflow: hidden; }
.rbar-fill { height: 100%; background: rgba(245, 158, 11, 1); border-radius: 5px; }

.divider { border: none; border-top: 1px solid #eee; margin: 14px 0; }

/* Review cards — thoáng, khoảng cách lớn */
.review-card {
  padding: 18px 16px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border: 2px solid #eee;
}
.review-meta { flex: 1; }
.review-name {
  font-weight: 700;
  font-size: 16px;
  color: #000;
  line-height: 1.3;
}
.review-time { font-size: 12px; color: #888; margin-left: 6px; font-weight: 400; }
.review-stars-sm { display: flex; gap: 3px; margin-top: 4px; }
.review-stars-sm .star { width: 15px; height: 14px; }
.review-text {
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  margin-bottom: 12px;
}
.review-img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  margin-top: 4px;
}

/* Messenger CTA (between reviews) */
.btn-messenger {
  display: block;
  margin: 12px 16px;
  text-align: center;
  background: rgba(212, 0, 0, 1);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  padding: 12px 14px;
  cursor: pointer;
  letter-spacing: 0.3px;
}

/* ====================================================
   SECTION 6: ORDER FORM — hiệu ứng kích thích mua
   ==================================================== */
.section-order {
  padding: 0;
  background: #FFD600;
}

/* Urgency strip */
.order-urgency {
  padding: 14px 16px 10px;
  text-align: center;
}
.urgency-view-row {
  font-size: 15px;
  color: #000;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px;
}
.eye-icon { font-size: 18px; }
.view-num {
  color: #F44336;
  font-size: 17px;
  font-weight: 700;
}
.urgency-pills-row {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}
.pill-lightning {
  display: inline-block;
  background: #3D3D3D;
  color: #fff;
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 15px;
  font-weight: 500;
}
.pill-sp {
  display: inline-flex;
  align-items: center;
  background: #4CAF50;
  color: #fff;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  gap: 5px;
}
.sp-badge {
  background: #F44336;
  color: #fff;
  border-radius: 14px;
  padding: 2px 10px;
  font-size: 16px;
  font-weight: 700;
}

/* Form box — glow/wave animation */
.order-form-box {
  margin: 4px 10px 18px;
  border: 3px solid #CC0000;
  background: #FFD600;
  animation: formWave 1.8s infinite;
}

@keyframes formWave {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0); }
  40%       { box-shadow: 0 0 0 8px rgba(204, 0, 0, 0.22); }
  70%       { box-shadow: 0 0 0 14px rgba(204, 0, 0, 0); }
}

.order-form-title {
  background: #CC0000;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 13px 14px;
  letter-spacing: 0.8px;
}

#orderForm {
  padding: 12px 10px 16px;
}

/* Form fields */
.form-field { margin-bottom: 10px; }

.input-wrap input {
  width: 100%;
  height: 48px;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 1);
  border-radius: 0;
  padding: 0 12px;
  font-size: 16px;
  color: #000;
}
.input-wrap input::placeholder { color: #979797; }
.input-wrap input:focus { border-color: #D40000; outline: none; }

/* Address inline — HORIZONTAL 3 columns */
.address-inline {
  display: flex;
  flex-direction: row;
  border: 2px solid rgba(0, 0, 0, 1);
  background: #fff;
}
.select-wrap {
  position: relative;
  flex: 1;
  border-right: 1px solid rgba(0,0,0,0.25);
  background: #fff;
  min-width: 0;
}
.select-wrap:last-child { border-right: none; }
.select-wrap select {
  width: 100%;
  height: 48px;
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0 20px 0 7px;
  font-size: 13px;
  color: #979797;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
.select-wrap select.has-value { color: #000; }
.select-wrap select:disabled { background: #fafafa; color: #bbb; cursor: not-allowed; }
.select-wrap select:focus { outline: none; }
.chevron-icon {
  pointer-events: none;
  position: absolute;
  right: 7px;
  top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid #979797;
  border-bottom: 2px solid #979797;
  transform: translateY(-70%) rotate(45deg);
}

/* Color picker */
.color-picker-box {
  background: #fff;
  border: 2px solid #000;
  padding: 12px 12px 14px;
}
.color-picker-label {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  text-align: center;
}
.color-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.color-chip {
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 8px 10px;
  border-radius: 14px;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.color-chip input[type="radio"] { display: none; }

.chip-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.chip-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: color 0.2s;
  white-space: nowrap;
}

/* Default chip backgrounds */
.color-chip.chip-pink   { background: #FFF0F5; border-color: #F9A8C9; }
.color-chip.chip-purple { background: #F5F0FF; border-color: #CE93D8; }
.color-chip.chip-blue   { background: #EFF8FF; border-color: #90C5FF; }

/* Selected chip */
.color-chip.chip-pink.selected   { background: #FF69B4; border-color: #C2185B; }
.color-chip.chip-purple.selected { background: #9C27B0; border-color: #6A1B9A; }
.color-chip.chip-blue.selected   { background: #1565C0; border-color: #0D47A1; }

.color-chip.selected .chip-dot {
  transform: scale(1.18);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.color-chip.selected .chip-name { color: #fff; }

/* Quantity options — colored cards */
.qty-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qty-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.qty-option input[type="radio"] { display: none; }

/* Pink */
.qty-option.qty-pink            { background: #FFF0F5; border-color: #F9A8C9; }
.qty-option.qty-pink.selected   { background: #FF69B4; border-color: #C2185B; }

/* Blue */
.qty-option.qty-blue            { background: #EFF8FF; border-color: #90C5FF; }
.qty-option.qty-blue.selected   { background: #1E88E5; border-color: #1565C0; }

/* Purple */
.qty-option.qty-purple          { background: #F5F0FF; border-color: #C890FF; }
.qty-option.qty-purple.selected { background: #8E24AA; border-color: #6A1B9A; }

/* Custom radio dot */
.qty-radio-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2.5px solid #ccc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: border-color 0.18s;
}
.qty-option.selected .qty-radio-dot {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.2);
}
.qty-option.selected .qty-radio-dot::after {
  content: '';
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  display: block;
}

/* Text inside option */
.qty-text { flex: 1; }
.qty-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}
.qty-price {
  font-size: 14px;
  color: #555;
  margin-top: 3px;
  line-height: 1.4;
}
.qty-option.selected .qty-title,
.qty-option.selected .qty-price { color: #fff; }

/* Submit — ripple wave kích thích bấm */
.btn-submit {
  display: block;
  width: 80%;
  margin: 14px auto 0;
  background: rgba(212, 0, 0, 1);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 30px;
  padding: 14px 16px;
  border: none;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
  animation: rippleBtn 1.6s infinite;
}
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; animation: none; }

@keyframes rippleBtn {
  0%   { box-shadow: 0 0 0 0 rgba(212,0,0,0.7), 0 4px 10px rgba(0,0,0,0.2); }
  60%  { box-shadow: 0 0 0 16px rgba(212,0,0,0), 0 4px 10px rgba(0,0,0,0.2); }
  100% { box-shadow: 0 0 0 0 rgba(212,0,0,0),   0 4px 10px rgba(0,0,0,0.2); }
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: #FFF8E1;
  padding: 22px 16px 26px;
}
.footer-inner h4 {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  text-align: center;
}
.footer-line { border: none; border-top: 1px solid #ddd; margin: 12px 0; }
.footer-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}
.footer-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.footer-copy { text-align: center; font-size: 13px; color: #666; margin-top: 6px; }

/* ====================================================
   NOTIFICATION TOAST — pill shape, slide from left
   ==================================================== */
.notif-toast {
  position: fixed;
  bottom: 62px;
  left: 10px;
  width: 330px;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  z-index: 996;
  transform: translateX(calc(-100% - 20px));
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
  pointer-events: none;
}
.notif-toast.show {
  transform: translateX(0);
  pointer-events: auto;
}
@media (min-width: 441px) {
  .notif-toast {
    left: calc(50% - 200px);
    transform: translateX(calc(-100% - 20px));
  }
  .notif-toast.show { transform: translateX(0); }
}

.notif-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #f0f0f0;
}
.notif-body {
  flex: 1;
  min-width: 0;
}
.notif-line1 {
  font-size: 13px;
  line-height: 1.4;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-line2 {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.notif-red { color: #D40000; }
.notif-product {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ====================================================
   FLOATING MESSENGER BUTTON
   ==================================================== */
.float-messenger {
  position: fixed;
  bottom: 120px;
  left: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0084FF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}
@media (min-width: 441px) {
  .float-messenger { left: calc(50% - 200px); }
}

/* ====================================================
   STICKY BOTTOM BAR
   ==================================================== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  max-width: 100vw;
  z-index: 999;
  background: #2D2D2D;
  display: flex;
  align-items: stretch;
  height: 54px;
}
.sticky-heart {
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
.sticky-countdown {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 2px;
}
.scd-cell { text-align: center; color: #fff; min-width: 32px; }
.scd-cell span {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}
.scd-cell label {
  display: block;
  font-size: 8px;
  color: #aaa;
  margin-top: 2px;
  letter-spacing: 0.2px;
}
.scd-sep {
  color: #666;
  font-size: 14px;
  line-height: 1;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.sticky-buynow-btn {
  background: #B8920A;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ====================================================
   MODAL
   ==================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-box h3 { font-size: 20px; font-weight: 800; color: #D40000; margin-bottom: 10px; }
.modal-box p { font-size: 15px; line-height: 1.6; color: #333; margin-bottom: 6px; }
.modal-quote { font-style: italic; font-size: 14px !important; color: #666 !important; margin: 8px 0; }
.modal-cta-title { font-size: 16px !important; font-weight: 700 !important; color: #000 !important; margin-bottom: 10px !important; }
.modal-box hr { margin: 10px 0; border: none; border-top: 1px solid #eee; }
.btn-modal-messenger {
  display: block;
  background: rgba(212, 0, 0, 1);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  padding: 13px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  width: 100%;
}
.btn-modal-ok {
  background: #e0e0e0;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  padding: 10px 40px;
  cursor: pointer;
  text-transform: uppercase;
}

/* ====================================================
   ANIMATIONS
   ==================================================== */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
.blink { animation: blink 1s infinite; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}
.blink-btn { animation: pulse 1s infinite; }

/* ====================================================
   FORM ERROR STATES
   ==================================================== */
.input-wrap input.error { border-color: #e53935; }
.select-wrap.error { border-color: #e53935; }
.radio-wrap.error { border-color: #e53935; }
