:root {
  --primary: #c62828;
  --primary-dark: #8e0000;
  --bright: #e53935;
  --soft-red: #fff1f1;
  --ink: #171717;
  --muted: #6f6666;
  --line: #eadede;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(86, 18, 18, .09);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fff8f8; font-family: "Noto Sans Devanagari", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.75; }
img, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }

.navbar { position: sticky; top: 0; z-index: 1000; min-height: 76px; padding: 12px clamp(18px, 5vw, 72px) !important; display: flex !important; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(110deg, var(--primary-dark), var(--primary) 58%, var(--bright)) !important; box-shadow: 0 8px 24px rgba(99, 0, 0, .2); }
.navbar a { flex: 0 0 auto; cursor: pointer; }
.navbar img { width: auto; height: 48px; object-fit: contain; }
.navbar h1 { margin: 0 !important; color: var(--white) !important; font-size: 15px !important; font-weight: 700; line-height: 1.35; text-align: right; }
.navbar h1 p { opacity: .76; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.container.bg-white { width: min(100% - 32px, 980px); max-width: 980px; margin: 0 auto; padding: 28px clamp(18px, 4vw, 58px) 70px !important; background: var(--white) !important; box-shadow: var(--shadow); }
.container.bg-white > .row > .col-lg-9 { width: 100%; margin: 0; }
.badge-info { display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--soft-red) !important; color: var(--primary-dark) !important; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
h2 { margin: 24px 0 16px; color: var(--primary-dark); font-size: clamp(24px, 3.6vw, 36px); line-height: 1.25; letter-spacing: -.02em; }
h2 b { font-weight: 800; }
p { margin: 0 0 18px; }

.alert { border-radius: var(--radius) !important; }
.alert-info { padding: 0 !important; overflow: hidden; border: 1px solid #ffd4d4 !important; background: var(--soft-red) !important; color: var(--primary-dark) !important; }
.alert-primary { background: #fff4f4 !important; color: #3b2323 !important; border-left: 4px solid var(--bright) !important; }
.alert-success { background: #fff5f5 !important; color: #3b2323 !important; border-left: 4px solid var(--primary) !important; }
.alert-danger { background: #fff1f1 !important; color: #4c1b1b !important; border: 1px solid #f3c5c5 !important; }
.alert ul { padding-left: 20px !important; }
.alert li { margin: 7px 0; }
.alert li::marker { color: var(--bright); }

.offer-ticker { width: 100%; padding: 11px 0; overflow: hidden; white-space: nowrap; background: var(--primary); color: white; }
.ticker-track { display: inline-flex; width: max-content; animation: tickerMove 30s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; margin-right: 32px; font-size: 14px; font-weight: 800; }
.ticker-dot { width: 5px; height: 5px; margin-left: 30px; border-radius: 50%; background: #ffb3b3; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.img-fluid--1style, .rounded { border-radius: 14px !important; }
.img-fluid--1style { box-shadow: 0 12px 30px rgba(61, 10, 10, .14) !important; }
.video-container { position: relative; max-width: 800px; margin: 28px auto; overflow: hidden; border-radius: 18px; background: #250606; box-shadow: var(--shadow); }
.video-container video { width: 100% !important; max-width: none !important; }
.mute-btn { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 50%; background: rgba(23, 23, 23, .76); cursor: pointer; }
.mute-btn img { width: 100%; height: 100%; object-fit: contain; }

.button-bottom { margin: 30px 0; text-align: center; }
.button-bottom a { display: inline-flex; width: min(100%, 360px); min-height: 54px; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 12px; background: linear-gradient(135deg, var(--bright), var(--primary-dark)) !important; color: var(--white) !important; box-shadow: 0 10px 22px rgba(198, 40, 40, .25); font-size: 17px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button-bottom a:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(198, 40, 40, .32); }

#to_form { scroll-margin-top: 100px; }
#to_form > div:first-child { padding-top: 10px; }
#to_form > div:nth-child(3) { border: 2px solid #efb3b3 !important; border-radius: var(--radius) !important; background: linear-gradient(145deg, #fff, #fff6f6); box-shadow: var(--shadow); }
.price-container { padding: 8px 0; }
.price { display: inline-block; line-height: 1.2; }
.price.strike { color: #998b8b; font-size: 22px; text-decoration: line-through; }
.price.new { color: var(--primary); font-size: 48px; font-weight: 900; }
.time_remains { display: inline-flex; min-width: 44px; justify-content: center; padding: 5px 8px; border-radius: 8px; background: var(--primary-dark); color: #fff; font-size: 20px; font-weight: 800; }
.nums-inp { color: var(--primary) !important; font-weight: 900; }

.comments { margin-top: 46px; padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: #fffafa; }
.comments__title { margin-top: 0; padding-bottom: 14px; border-bottom: 2px solid var(--soft-red); font-size: 28px; }
.comments__item { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.comments__item:last-child { border-bottom: 0; }
.comments__avatar { flex: 0 0 48px; }
.comments__avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.comments__body { min-width: 0; flex: 1; }
.comments__info { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.comments__name { color: var(--primary-dark); font-weight: 800; }
.time-comments { color: #9a8585; font-size: 12px; }
.comments__text p { margin: 8px 0; }
.comments__text img { width: auto; max-width: min(100%, 420px); border-radius: 10px; }
.like-facebook img { width: 70px; margin: 8px 0; }
.panel-funct { display: flex; gap: 18px; color: var(--primary); font-size: 13px; font-weight: 700; }
.panel-funct a { color: inherit; }

#saleAlert { display: none !important; }
#saleAlert img { width: 52px; height: 52px; flex: 0 0 52px; object-fit: cover; border-radius: 10px; }
.alert-text { font-size: 13px; line-height: 1.45; }
.alert-text strong { color: var(--primary); }

.image-missing { display: inline-flex; width: 100%; min-height: 110px; align-items: center; justify-content: center; border: 1px dashed #e3bcbc; border-radius: 12px; background: var(--soft-red); color: var(--primary); font-size: 26px; }
.image-missing::before { content: "▧"; }
.comments__avatar .image-missing { width: 48px; min-height: 48px; height: 48px; border-radius: 50%; font-size: 20px; }
.comments__text .image-missing { width: min(100%, 420px); min-height: 150px; }

.sticky-contact-stack { position: fixed; right: 22px; bottom: 22px; z-index: 1100; display: flex; flex-direction: column; gap: 10px; }
.sticky-contact { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 50%; color: #fff !important; box-shadow: 0 12px 28px rgba(56, 0, 0, .28); font-size: 24px; line-height: 1; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.sticky-whatsapp { background: #20b45b; }
.sticky-email { background: var(--primary); }
.sticky-contact:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px rgba(56, 0, 0, .38); }

.modal-content { overflow: hidden; border: 0; border-radius: 20px; box-shadow: 0 24px 80px rgba(50, 0, 0, .28); }
.modal-header { padding: 18px 22px; border: 0; background: linear-gradient(120deg, var(--primary-dark), var(--bright)); color: #fff; }
.modal-title { font-size: 19px; font-weight: 800; }
.btn-close { filter: brightness(0) invert(1); }
.modal-body { padding: 22px; background: #fffafa; }
.product-preview { margin-bottom: 20px; padding: 16px; border: 1px solid #f1d5d5; border-radius: 16px; background: white; text-align: center; }
.product-preview img { width: 130px; margin: 0 auto 10px; }
.price-tag { display: flex; justify-content: center; align-items: center; gap: 14px; }
.old-price { color: #9d8c8c; text-decoration: line-through; }
.new-price { color: var(--primary); font-size: 26px; font-weight: 900; }
.form-label { color: #4c3333; font-weight: 700; }
.form-control { min-height: 46px; border: 1px solid #e6cccc; border-radius: 10px; }
.form-control:focus { border-color: var(--bright); box-shadow: 0 0 0 4px rgba(229, 57, 53, .12); }
.quantity-controls { border: 1px solid #f0d4d4; background: #fff !important; }
.quantity-controls .btn-warning { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font-size: 20px; }
.btn-warning, .btn-submit { border-color: var(--primary) !important; background: linear-gradient(135deg, var(--bright), var(--primary-dark)) !important; color: #fff !important; font-weight: 800; }
.note { padding: 0; border: 0; background: transparent; }
.note p.alert { padding: 12px; margin-bottom: 0; border-left: 4px solid var(--primary); background: var(--soft-red); color: #5c2929; }
.footer__in { background: var(--primary-dark); color: rgba(255,255,255,.8); }

@media (max-width: 768px) {
  body { padding-bottom: 12px; font-size: 15px; }
  .navbar { min-height: 64px; padding: 9px 16px !important; }
  .navbar img { height: 38px; }
  .navbar h1 { font-size: 12px !important; }
  .container.bg-white { width: 100%; padding: 20px 16px 46px !important; }
  h2 { font-size: 24px; }
  .offer-ticker { margin-inline: -16px; width: calc(100% + 32px); }
  .ticker-item { font-size: 12px; }
  .comments { padding: 14px; }
  .comments__item { gap: 10px; }
  .comments__avatar { flex-basis: 38px; }
  .comments__avatar img { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .navbar h1 { max-width: 170px; font-size: 10px !important; }
  .navbar h1 p { font-size: 9px; }
  .navbar img { height: 32px; }
  h2 { font-size: 21px; }
  .price.new { font-size: 42px; }
  .comments__info { display: block; }
  .time-comments { display: block; }
  .modal-body { padding: 16px; }
  .sticky-contact-stack { right: 14px; bottom: 14px; gap: 8px; }
  .sticky-contact { width: 44px; height: 44px; font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
