:root {
  --bg-main: #FAF5EC;
  --bg-card: #f2eae0;
  
  --text-main: #382D26;
  --text-body: #42372f;
  --text-muted: #42372f;
  
  --accent-primary: #785032;
  --accent-vibrant: #6e4a30;
  --accent-action: #6e4a30;
  
  --shadow-soft: 0 10px 30px rgba(56, 45, 38, 0.425);
  --shadow-card: 0 4px 15px rgba(56, 45, 38, 0.170);
  --shadow-btn: 0 8px 25px rgba(120, 80, 50, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #e8ded2;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  color: var(--text-body);
}

.mobile-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--bg-main);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(56, 45, 38, 0.680);
  overflow-x: clip !important;
  position: relative;
}

/* #region Header */
.hero {
  padding: 30px 20px 40px;
  background: radial-gradient(circle at top, #f2eae0 0%, var(--bg-main) 70%);
}

.hero-header {
  text-align: center;
  margin-bottom: 25px;
}

.pre-title {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: inline-block;
  background-color: var(--accent-action);
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(120, 80, 50, 0.3);
}

.main-title {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 15px;
  color: var(--text-main);
}

.main-title .text-vibrant {
  color: var(--accent-primary);
}

.desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  font-weight: 500;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 4px solid #ffffff;
}

.product-img {
  width: 100%;
  height: auto;
  display: block;
}

.discount-badge {
  position: absolute;
  top: 50px;
  right: 15px;
  background: linear-gradient(135deg, #42372f, #785032);
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(120, 80, 50, 0.5);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-block {
  display: flex;
  justify-content: space-around;
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 20px rgba(56, 45, 38, 0.255);
  border: 1px solid #d3c4b4;
}

.price-item {
  display: flex;
  flex-direction: column;
}

.price-item.old { 
  align-items: flex-start; 
}

.price-item.new { 
  align-items: flex-end; 
  text-align: right; 
}

.price-text {
  font-size: 11px;
  margin-bottom: 5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.price-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.price-item.old .price-text {
  margin-bottom: 15px;
}

.price-item.old .price-value,
.price-item.old .price-currency {
  font-size: 20px;
  color: #42372f;
  text-decoration: line-through;
  font-weight: 700;
}

.price-item.new .price-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-main);
}

.price-item.new .price-currency {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.stock-block {
  margin-bottom: 20px;
  background-color: var(--bg-card);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #d3c4b4;
  box-shadow: var(--shadow-card);
}

.stock-text {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-main);
  font-weight: 700;
}

.stock-text .stock-count { 
  color: var(--accent-vibrant);
}

.stock-bar {
  width: 100%;
  height: 8px;
  background-color: var(--bg-main);
  border-radius: 4px;
  overflow: hidden;
}

.stock-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-vibrant) 0%, var(--accent-primary) 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(120, 80, 50, 0.4);
}

.scarcity-block { 
  margin-bottom: 25px; 
}

.timer-wrapper { 
  text-align: center; 
}

.timer-title {
  font-size: 12px;
  margin-bottom: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.timer-item {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  padding: 10px;
  border-radius: 10px;
  min-width: 60px;
  border: 1px solid #d3c4b4;
  box-shadow: inset 0 0 10px rgba(56, 45, 38, 0.425);
}

.timer-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-vibrant);
  font-family: Monserrat, sans-serif;
}

.timer-text {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.timer-sep {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-muted);
  animation: blink 1s step-start infinite;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.form .field {
  width: 100%;
  padding: 18px;
  background-color: var(--bg-card);
  border: 1px solid #d3c4b4;
  border-radius: 10px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form .field::placeholder {
  color: #42372f;
}

.form .field:focus {
  outline: none;
  border-color: var(--accent-action);
  box-shadow: 0 0 0 3px rgba(120, 80, 50, 0.1);
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-field {
  appearance: none;
  cursor: pointer;
  padding-right: 40px !important;
}

.select-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-action);
  font-size: 14px;
  pointer-events: none;
}

.form .button {
  width: 100%;
  padding: 22px;
  background: linear-gradient(135deg, var(--accent-vibrant) 0%, var(--accent-primary) 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  letter-spacing: 1px;
  transition: transform 0.1s;
}

.form .button:active {
  transform: scale(0.98);
}

.trust-block {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 11px;
  color: var(--text-body);
  font-weight: 700;
  background-color: var(--bg-card);
  padding: 12px 5px;
  border-radius: 8px;
  border: 1px solid rgba(66, 55, 47, 0.18);
}

.trust-icon {
  font-size: 24px;
  margin-bottom: 5px;
}
/* #endregion */

/* #region Before-After */
.before-after-block {
  padding: 40px 20px;
  background-color: var(--bg-card);
  border-top: 1px solid #d3c4b4;
  border-bottom: 1px solid #d3c4b4;
}

.section-title {
  font-size: 26px;
  font-weight: 900;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 25px;
  text-transform: uppercase;
  line-height: 1.2;
}

.section-title .text-vibrant {
  color: var(--accent-vibrant);
}

.ba-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ba-image-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #d3c4b4;
  box-shadow: 0 0 25px rgba(120, 80, 50, 0.15); 
}

.ba-img {
  width: 100%;
  height: auto;
  display: block;
}

.ba-desc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 5px;
}

.ba-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
  font-weight: 500;
}

.ba-text strong {
  color: var(--text-main);
  font-weight: 800;
  border-bottom: 1px dashed var(--accent-vibrant);
}
/* #endregion */

/* #region Benefits */
.benefits-block {
  padding: 40px 20px;
  background-color: var(--bg-main);
  border-top: 1px solid #d3c4b4;
}

.benefits-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.benefit-item {
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid #d3c4b4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:active {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(120, 80, 50, 0.1); 
  border-color: var(--accent-action);
}

.benefit-image-wrapper {
  width: 100%;
  border-bottom: 2px solid var(--bg-main);
}

.benefit-img {
  width: 100%;
  height: auto;
  display: block;
}

.benefit-content {
  padding: 20px 15px;
  text-align: center;
}

.benefit-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benefit-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

.benefits-cta {
  margin-top: 35px;
}
/* #endregion */

/* #region Specs */
.specs-block {
  padding: 40px 20px;
  background-color: var(--bg-card);
  border-top: 1px solid #d3c4b4;
}

.specs-image-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #d3c4b4;
  margin-bottom: 25px;
  box-shadow: var(--shadow-card);
}

.specs-img {
  width: 100%;
  height: auto;
  display: block;
}

.specs-list.detailed-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  padding: 10px 20px;
  border-radius: 16px;
  border: 1px solid #d3c4b4;
  box-shadow: inset 0 0 15px rgba(56, 45, 38, 0.425);
}

.specs-list.detailed-specs li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f2eae0;
}

.specs-list.detailed-specs li:last-child {
  border-bottom: none;
}

.spec-name {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  width: 40%;
  line-height: 1.4;
}

.spec-value {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  width: 60%;
  line-height: 1.4;
}

.spec-value.text-accent {
  color: var(--accent-vibrant);
}
/* #endregion */

/* #region Reviews */
.reviews-block {
  padding: 40px 20px;
  background-color: var(--bg-card);
  border-top: 1px solid #d3c4b4;
}

.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item {
  background-color: var(--bg-main);
  padding: 25px 20px;
  border-radius: 16px;
  border: 1px solid #d3c4b4;
  box-shadow: inset 0 0 15px rgba(56, 45, 38, 0.255);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.avatar-placeholder {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-action), var(--accent-action));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  border-radius: 12px;
  margin-right: 15px;
  box-shadow: 0 4px 10px rgba(120, 80, 50, 0.2);
}

.avatar-placeholder.alt-color-1 {
  background: linear-gradient(135deg, var(--accent-vibrant), var(--accent-primary));
  box-shadow: 0 4px 10px rgba(120, 80, 50, 0.2);
}

.avatar-placeholder.alt-color-2 {
  background: linear-gradient(135deg, #6e4a30, #6e4a30);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.rating-stars {
  color: #785032;
  font-size: 15px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
  font-weight: 500;
}

.review-item.has-photo .review-text {
  margin-bottom: 15px;
}

.review-photo-wrapper {
  position: relative;
  width: 200px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d3c4b4;
  box-shadow: 0 4px 10px rgba(56, 45, 38, 0.170);
}

.review-photo {
  margin-bottom: -20px;
  width: 100%;
  height: auto;
  display: block;
}

.reviews-cta {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px dashed #d3c4b4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.reviews-cta-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* #endregion */

/* #region How to order */
.how-to-order-block {
  padding: 40px 20px;
  background-color: var(--bg-main);
  border-top: 1px solid #d3c4b4;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  background-color: var(--bg-card);
  padding: 20px 15px;
  border-radius: 16px;
  border: 1px solid #d3c4b4;
  box-shadow: inset 0 0 15px rgba(56, 45, 38, 0.170);
}

.step-number {
  min-width: 44px;
  height: 44px;
  background-color: var(--bg-main);
  color: var(--accent-vibrant);
  border: 2px solid var(--accent-vibrant);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin-right: 15px;
  box-shadow: inset 0 0 10px rgba(120, 80, 50, 0.2);
}

.step-content {
  padding-top: 3px;
}

.step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}
/* #endregion */

/* #region Guarantees */
.guarantees-block {
  padding: 40px 20px;
  background-color: var(--bg-card);
  border-top: 1px solid #d3c4b4;
}

.guarantees-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.guarantee-item {
  text-align: center;
  padding: 25px 20px;
  background-color: var(--bg-main);
  border-radius: 16px;
  border: 1px solid #d3c4b4;
  box-shadow: var(--shadow-card);
}

.guarantee-icon {
  font-size: 34px;
  margin-bottom: 15px;
}

.guarantee-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.guarantee-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 500;
}
/* #endregion */

/* #region Footer */
.footer-mobile {
  background-color: #e8ded2;
  padding: 35px 20px 92px;
  border-top: 4px solid var(--accent-action);
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__distributor,
.footer__policy {
  font-size: 12px;
  color: #42372f;
  line-height: 1.6;
}

.footer__link {
  font-size: 13px;
  color: var(--accent-vibrant);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px dashed rgba(120, 80, 50, 0.4);
  padding-bottom: 2px;
}

.footer__link:hover,
.footer__link:active {
  color: #382D26;
  border-bottom-style: solid;
}
/* #endregion */

.cta-btn {
  display: block;
  width: 100%;
  padding: 22px;
  background: linear-gradient(135deg, var(--accent-vibrant) 0%, var(--accent-primary) 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: var(--shadow-btn);
  letter-spacing: 1px;
}

.cta-btn:active {
  transform: scale(0.98);
}

@keyframes blink {
  50% { opacity: 0; }
}
/* Цветовая адаптация товара. Исходные размеры, структура блоков и селекторы сохранены. */
body {font-family: Inter, Arial, Helvetica, sans-serif;}
.main-title, .section-title, .benefit-title, .step-title, .guarantee-title,
.pre-title, .timer-title {font-family: Inter, Arial, Helvetica, sans-serif; letter-spacing: .012em;}
.product-img, .ba-img, .benefit-img, .specs-img {aspect-ratio:1/1; object-fit:cover; background:var(--bg-card);}
.product-image-wrapper {border-color: var(--bg-card);}
.price-value {white-space:nowrap;}
.discount-badge {background:linear-gradient(145deg,var(--accent-action),var(--accent-primary));box-shadow:0 4px 18px rgba(56, 45, 38, 0.297);}
img {color:var(--text-body);}


/* Product-specific theme for the editorial sections and hero photography. */
body { background-color: #e8ded2; }
.product-intro {
  margin: -30px -20px 25px;
  padding: 30px 20px 20px;
  background: linear-gradient(145deg, #FAF5EC 12%, #f2eae0 100%);
}
.product-intro .product-image-wrapper { margin-bottom: 0; border-color: #d3c4b4; }
.product-intro .hero-header, .before-after-block, .benefits-block, .specs-block, .reviews-block {
  --bg-main: #FAF5EC;
  --bg-card: #f2eae0;
  --text-main: #382D26;
  --text-body: #42372f;
  --text-muted: #42372f;
  --accent-primary: #785032;
  --accent-vibrant: #785032;
  --accent-action: #785032;
  --shadow-card: 0 6px 18px rgba(0,0,0,.09);
  color: #42372f;
}
.product-intro .pre-title, .benefits-block .cta-btn, .reviews-block .cta-btn,
.reviews-block .avatar-placeholder {
  background: #785032;
  color: #ffffff;
  box-shadow: none;
}
.before-after-block, .benefits-block, .specs-block, .reviews-block,
.ba-image-wrapper, .benefit-item, .specs-image-wrapper, .specs-list.detailed-specs,
.specs-list.detailed-specs li, .review-item, .reviews-cta, .review-photo-wrapper {
  border-color: #d3c4b4;
}
.ba-image-wrapper, .specs-list.detailed-specs, .review-item { box-shadow: var(--shadow-card); }
.reviews-block .rating-stars { color: #785032; }

/* Keep the price pair readable on narrow phones. */
.price-block { gap: .5rem; }
@media (max-width: 420px) {
  .price-block { padding: 14px 10px; }
  .price-item.new .price-value { font-size: clamp(17px, 5.15vw, 22px); }
  .price-item.old .price-value { font-size: clamp(15px, 4.25vw, 18px); }
}
.review-photo-wrapper { width: 200px; height: 200px; border: 0; }
.review-photo { width: 200px; height: 200px; object-fit: cover; margin: 0; }
.review-source { margin: -8px 0 20px; text-align: center; color: var(--text-muted); font-size: 14px; }
.thanks-card { margin: 36px 20px; padding: 24px; border-radius: 16px; background: var(--bg-card); }
.thanks-card p { margin: 16px 0 24px; line-height: 1.5; }

.product-intro { background: linear-gradient(150deg,#FAF5EC,#e8ded2); }
.form .field { background-color: #fefcf9; border-color: #a9a199; }
.form .field::placeholder { color: #42372f; }


/* =========================================================
 * Sticky Header, Enhanced Forms, Comments, Popup, Bar & Toast
 * ========================================================= */
.cta-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #4b240d 0%, #743815 100%);
  color: #fff8ed;
  border-bottom: 1px solid rgba(255, 229, 182, 0.28);
  box-shadow: 0 4px 16px rgba(56, 40, 30, 0.24);
}
.top-bar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.top-bar__badge {
  flex-shrink: 0;
  background: #ffe5b6;
  color: #4b240d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 5px 8px;
  border-radius: 8px;
}
.top-bar__text {
  font-size: 11px;
  line-height: 1.25;
  color: #f8ead6;
  font-weight: 600;
}
.top-bar__rating {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #ffd57e;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 9px;
  border-radius: 999px;
}

.form-prompt-banner {
  margin: 0 0 12px;
  padding: 10px 14px;
  background: #f1dfc6;
  border: 1px solid #d8b487;
  border-radius: 12px;
  color: #5c2c12;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.field-group {
  margin-bottom: 14px;
  text-align: left;
}
.field-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: #4b382b;
}
.field-input-wrap {
  position: relative;
}
.field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}
.form .f-field {
  width: 100%;
  padding: 16px 16px 16px 44px !important;
  margin-bottom: 0 !important;
  font-size: 15px;
  font-weight: 600;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form .f-field:focus,
.popup-field:focus {
  outline: none;
  border-color: #9d401b !important;
  box-shadow: 0 0 0 3px rgba(157, 64, 27, 0.18) !important;
}

.field--error {
  border-color: #b91c1c !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.18) !important;
}
.field--shake {
  animation: fieldShake 0.36s ease-in-out;
}
@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.form-field-error {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #b91c1c;
  line-height: 1.35;
  text-align: left;
}
.popup .form-field-error {
  margin-top: -6px;
  margin-bottom: 10px;
}

.form-security-note {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #5c4433;
  text-align: center;
}
.regions-strip {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f8ead6;
  border: 1px dashed #cda477;
  border-radius: 12px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.45;
  color: #4b382b;
}
.regions-strip__title {
  display: block;
  font-weight: 800;
  color: #743815;
  margin-bottom: 3px;
}
.regions-strip__list {
  display: block;
  color: #5c4433;
}

/* Review Comment Form */
.comment-box {
  margin: 22px 0;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e1c3a0;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(106, 60, 23, 0.08);
}
.comment-box__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #38281e;
}
.comment-box__sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: #725a48;
  line-height: 1.45;
}
.comment-stars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #fff8ed;
  border: 1px solid #e7d2b5;
  border-radius: 12px;
}
.comment-stars__label {
  font-size: 13px;
  font-weight: 700;
  color: #4b382b;
}
.comment-stars__btns {
  display: flex;
  gap: 4px;
}
.star-btn {
  border: none;
  background: transparent;
  padding: 2px 4px;
  font-size: 20px;
  line-height: 1;
  color: #d7c3aa;
  cursor: pointer;
  transition: transform 0.12s, color 0.12s;
}
.star-btn.is-active {
  color: #d97706;
}
.star-btn:hover {
  transform: scale(1.12);
}
.comment-input,
.comment-textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  padding: 12px 14px;
  background: #fffcf7;
  border: 1px solid #cda477;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: #38281e;
}
.comment-textarea {
  resize: vertical;
  min-height: 82px;
}
.comment-error {
  margin: 0 0 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}
.comment-submit-btn {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(130deg, #b75b26, #81310f);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.comment-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  color: #065f46;
}
.comment-success[hidden],
.comment-form[hidden],
.comment-error[hidden] {
  display: none !important;
}
.comment-success__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.comment-success__title {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 800;
}
.comment-success__desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
}

/* Popup Sheet Modal */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(34, 21, 13, 0.68);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}
.overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.popup {
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff8ed;
  border-radius: 24px 24px 0 0;
  padding: 12px 20px 26px;
  box-shadow: 0 -10px 35px rgba(34, 21, 13, 0.35);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.overlay.open .popup {
  transform: translateY(0);
}
.popup-handle {
  width: 46px;
  height: 5px;
  background: #d8b487;
  border-radius: 999px;
  margin: 0 auto 14px;
}
.popup-headline {
  font-size: 22px;
  font-weight: 900;
  color: #38281e;
  text-align: center;
  margin-bottom: 6px;
}
.popup-sub {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: #725a48;
  text-align: center;
  line-height: 1.4;
}
.popup-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 14px;
  background: #ffffff;
  border: 1px solid #d8b487;
  border-radius: 14px;
}
.ppc-old {
  font-size: 13px;
  color: #847064;
  text-decoration: line-through;
  font-weight: 700;
}
.ppc-new {
  font-size: 22px;
  font-weight: 900;
  color: #9d401b;
}
.ppc-badge {
  background: #9d401b;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 10px;
}
.popup-field {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 11px;
  padding: 15px 16px;
  background: #ffffff;
  border: 1px solid #cda477;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #38281e;
}
.popup-btn {
  width: 100%;
  padding: 17px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(130deg, #b75b26, #81310f);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(134, 51, 13, 0.25);
}
.popup-note {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #5c4433;
  text-align: center;
}

/* Sticky Bottom Promo Bar */
.online-indicator {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #3e1d0a 0%, #632f11 100%);
  color: #fff8ed;
  border-top: 2px solid #d8a035;
  box-shadow: 0 -6px 22px rgba(34, 21, 13, 0.28);
}
.online-left {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.online-left strong {
  color: #ffd57e;
}
.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.online-center {
  font-size: 11.5px;
  color: #f8ead6;
  white-space: nowrap;
}
.online-center strong {
  color: #ffd57e;
}
.online-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  background: linear-gradient(130deg, #e07b39, #b74919);
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
}

/* Social Proof Toast */
.fake-order-toast {
  position: fixed;
  left: 50%;
  bottom: 66px;
  transform: translate(-50%, 16px);
  width: calc(100% - 28px);
  max-width: 440px;
  z-index: 84;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  box-sizing: border-box;
  background: #fffdf9;
  border: 1px solid #d8b487;
  border-left: 4px solid #9d401b;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(56, 40, 30, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.fake-order-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.fot-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f8ead6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.fot-name {
  font-size: 13px;
  font-weight: 800;
  color: #38281e;
}
.fot-text {
  font-size: 12px;
  color: #725a48;
}

@media (max-width: 380px) {
  .online-center {
    display: none;
  }
}
