:root {
  --primary-color: #32a852;
  --primary-dark: #e65100;
  --text-color: #333333;
  --bg-gray: #f4f6f8;
  --white: #ffffff;
  --green-price: #27ae60;
  --red-price: #c0392b;
}

.hero_image_block {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 20px;
}

.discount_badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #e74c3c;
  color: #fff;
  padding: 10px 15px;
  border-radius: 12px;
  transform: rotate(15deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
  z-index: 10;
}

.discount_badge .val {
  font-size: 24px;
  font-weight: 800;
}

.discount_badge .lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
}

.gift_banner {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);

  width: auto;
  min-width: 80%;
  max-width: 95%;

  background-color: #dc3545;
  color: white;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 10px 20px;

  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

body {
  background-color: #eef2f3;
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.main_wrapper {
  max-width: 480px !important;
  width: 100% !important;
  margin: 0 auto !important;
  min-height: 100vh;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding-top: 20px;
}

header,
section,
footer {
  border-radius: 25px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gray_bg {
  background-color: #f4f6f8 !important;
}

footer {
  margin-bottom: 0 !important;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

section {
  padding: 40px 20px;
  border-bottom: none;
  position: relative;
}

.gray_bg {
  background-color: var(--bg-gray);
}

.section_title {
  background: #ffffff;
  border-radius: 50px;
  padding: 15px 35px;
  width: fit-content;
  max-width: 90%;
  margin: 0 auto 35px;
  color: #222;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #f0f0f0;
  position: relative;
  z-index: 5;
}

.section_title::after {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  background: #32a852;
  border-radius: 2px;
  margin: 8px auto 0;
}

.button {
  display: block;
  width: 100%;
  max-width: 90%;
  margin: 20px auto;
  padding: 22px 10px;
  background: linear-gradient(to bottom, #5be87f, #32a852);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(50, 168, 82, 0.4);
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  box-sizing: border-box;
}

.button:active {
  transform: scale(0.98);
}

.button_pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(50, 168, 82, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(50, 168, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(50, 168, 82, 0);
  }
}

.hero_section {
  padding: 20px 20px 40px;
  text-align: center;
}

.main_title {
  background-color: #32a852;
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(50, 168, 82, 0.4);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero_image_block {
  position: relative;
  margin-bottom: 10px;
}

.hero_image_block img {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discount_badge {
  position: absolute;
  top: 10px;
  right: 20px;
  background: var(--red-price);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  transform: rotate(10deg);
}

.price_block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  background: #ebebeb;
  padding: 15px;
  border-radius: 15px;
}

.price_old {
  font-size: 18px;
  text-decoration: line-through;
  color: #888;
}

.price_new {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
}

.hero_benefits {
  display: flex;
  justify-content: space-around;
  margin: 0 10px 25px;
}

.hb_item {
  width: 30%;
  text-align: center;
}

.hb_item img {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  border: 3px solid #f0f0f0;
  display: block;
}

.delivery_section {
  background-color: #fff;
  padding: 30px 0 40px 0;
}

.delivery_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 5px;
  justify-content: center;
}

.delivery_item {
  width: 48%;
  background: #f9f9f9;
  border-radius: 15px;
  padding: 20px 10px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.2s;
}

.delivery_item:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #32a852;
}

.del_icon {
  width: 50px;
  height: 50px;
  background: #32a852;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(50, 168, 82, 0.3);
}

.del_icon svg {
  width: 24px;
  height: 24px;
}

.video_section {
  padding-bottom: 30px;
  background: #fff;
  text-align: center;
}

.video_container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.video_wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: #000;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.video_element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play_button_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.custom_play_btn {
  width: 80px;
  height: 80px;
  background: #32a852;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(50, 168, 82, 0.7);
  animation: pulse-green 2s infinite;
  transition: transform 0.2s;
}

.custom_play_btn svg {
  width: 35px;
  height: 35px;
  fill: #fff;
  margin-left: 5px;
}

.video_wrapper:hover .custom_play_btn {
  transform: scale(1.1);
}

.video_wrapper.playing .play_button_overlay {
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(50, 168, 82, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(50, 168, 82, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(50, 168, 82, 0);
  }
}

.delivery_item h3 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #333;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  pointer-events: none;
}

a,
button,
.owl-carousel,
.delivery_item,
select {
  pointer-events: auto !important;
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.delivery_item p {
  font-size: 12px;
  line-height: 1.4;
  color: #666;
  margin: 0;
}

@media (max-width: 350px) {
  .delivery_item {
    width: 100%;
  }
}

.hb_item p {
  font-size: 13px !important;
  font-weight: 700;
}

.timer_block {
  margin-bottom: 25px;
  text-align: center;
}

.timer_title {
  font-size: 14px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 5px;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 5px;
  font-weight: 700;
  font-size: 24px;
  color: #333;
}

.timer_box {
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  min-width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer_box small {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  opacity: 0.8;
}

.dots {
  padding-top: 5px;
}

.content_img {
  border-radius: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.text_block p {
  margin-bottom: 15px;
  font-size: 16px;
}

.feature_item {
  margin-bottom: 30px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature_item img {
  border-radius: 8px;
  margin-bottom: 15px;
}

.feature_item p {
  font-weight: 500;
}

.specs_list {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
}

.spec_row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}

.spec_row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.spec_icon {
  font-size: 24px;
  margin-right: 15px;
  min-width: 30px;
}

.specs_summary {
  margin-top: 20px;
  font-weight: 600;
  text-align: center;
  background: #e8f5e9;
  padding: 15px;
  border-radius: 8px;
  color: #2e7d32;
}

.review_card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px 60px;
  margin: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  text-align: left;
  height: 100%;
  position: relative;
  box-sizing: border-box;
}

.review_header {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f9f9f9;
}

.avatar_placeholder {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  border-radius: 50%;
  background-color: #eee;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 10px !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0 !important;
}

.review_info {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  text-align: center !important;
  align-items: center !important;
}

.review_info b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 3px;
  line-height: 1.2;
  white-space: normal !important;
  text-align: center !important;
  overflow: hidden;
  display: block !important;
  width: 100% !important;
  text-overflow: ellipsis;
}

.review_info .stars {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin-top: 5px !important;
}

.review_card p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  font-style: italic;
  margin: 0;
  text-align: justify !important;
}

.owl-carousel {
  position: relative !important;
  z-index: 1;
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  pointer-events: auto !important;
  cursor: pointer !important;
  width: 40px !important;
  height: 40px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
  border: none !important;
  outline: none !important;
  color: transparent !important;
  position: relative;
  transition: transform 0.2s ease;
  margin: 0 10px !important;
}

.owl-carousel .owl-nav .owl-prev::after,
.owl-carousel .owl-nav .owl-next::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: monospace;
  font-size: 24px;
  font-weight: bold;
  color: #32a852;
}

.owl-carousel .owl-nav .owl-prev::after {
  content: "<";
}
.owl-carousel .owl-nav .owl-next::after {
  content: ">";
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  background: #32a852 !important;
  transform: scale(1.1);
}

.owl-carousel .owl-nav .owl-prev:hover::after,
.owl-carousel .owl-nav .owl-next:hover::after {
  color: #ffffff !important;
}

@media (max-width: 400px) {
  .review_card {
    padding: 20px 45px;
  }
  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next {
    width: 35px !important;
    height: 35px !important;
    margin: 0 5px !important;
  }
}

.order_section {
  background: #fff;
  padding-bottom: 50px;
}

.order_wrapper {
  background: #fff;
  border: 3px solid var(--primary-color);
  border-radius: 15px;
  padding: 30px 20px;
}

.stock_alert {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: #333;
}

.stock_alert span {
  color: var(--red-price);
  background: #ffebee;
  padding: 2px 6px;
  border-radius: 4px;
}

.input_box {
  margin-bottom: 15px;
}

.field {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fcfcfc;
  box-sizing: border-box;
}
.field:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #fff;
}

.main-order-form select {
  display: none;
}

.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.select-selected {
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 15px 20px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.select-selected:after {
  position: absolute;
  content: "";
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border: 2px solid;
  border-color: transparent transparent #555 #555;
  transform: translateY(-70%) rotate(-45deg);
  transition: transform 0.3s;
}

.select-selected.select-arrow-active {
  border-color: #32a852;
  box-shadow: 0 0 0 4px rgba(50, 168, 82, 0.15);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* === ВИПРАВЛЕНА СТРІЛОЧКА (БУЛА ПОМАРАНЧЕВА) === */
.select-selected.select-arrow-active:after {
  transform: translateY(-20%) rotate(135deg);
  border-color: transparent transparent #32a852 #32a852;
}

.select-items {
  position: absolute;
  background-color: #ffffff;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;

  border: 1px solid #32a852;
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  max-height: 180px !important;
  overflow-y: auto !important;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.select-items.select-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.select-items div {
  color: #333;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-tap-highlight-color: transparent;
}

.select-items div:last-child {
  border-bottom: none;
}

.select-items div:hover,
.select-items div:active {
  background-color: #32a852;
  color: #ffffff;
  padding-left: 30px;
  border-left: 5px solid #32a852;
}

.same-as-selected {
  background-color: #32a852 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.select-items::-webkit-scrollbar {
  width: 8px;
}
.select-items::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 0 12px 0;
}

/* === ВИПРАВЛЕНИЙ СКРОЛБАР (БУВ ФІОЛЕТОВИЙ) === */
.select-items::-webkit-scrollbar-thumb {
  background: #32a852;
  border-radius: 4px;
}
.select-items::-webkit-scrollbar-thumb:hover {
  background: #27ae60;
}

.footer_section {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

.footer_links a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer_links a:hover {
  text-decoration: underline;
}

.work_hours {
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 20px;
}

.review_header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  justify-content: flex-start !important;
}

.avatar_placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto !important;
  margin-right: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.review_info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  align-items: flex-start !important;
  text-align: left !important;
}

.review_info b {
  display: block;
  font-size: 16px;
  color: #333;
}

.review_info .stars {
  font-size: 12px;
  margin-top: 3px;
}

.owl-carousel {
  position: relative !important;
  z-index: 1;
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  pointer-events: auto !important;
  cursor: pointer !important;

  width: 50px !important;
  height: 50px !important;

  background: #ffffff !important;
  border-radius: 50% !important;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;

  color: transparent !important;

  display: flex !important;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px !important;

  border: none !important;
  outline: none !important;
  margin: 0 5px !important;

  transition: all 0.3s ease !important;
}

.owl-carousel .owl-nav .owl-prev::after,
.owl-carousel .owl-nav .owl-next::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: monospace;
  font-size: 30px;
  font-weight: bold;
  color: #32a852;
  text-shadow: none !important;
}

.owl-carousel .owl-nav .owl-prev::after {
  content: "<";
}
.owl-carousel .owl-nav .owl-next::after {
  content: ">";
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  background: #32a852 !important;
  transform: scale(1.1);
}

.owl-carousel .owl-nav .owl-prev:hover::after,
.owl-carousel .owl-nav .owl-next:hover::after {
  color: #ffffff !important;
}

.owl-carousel .owl-nav .owl-prev:active,
.owl-carousel .owl-nav .owl-next:active {
  transform: scale(0.95);
}

@media (max-width: 480px) {
  .review_card {
    padding: 20px 45px !important; /* Задаємо безпечну зону, щоб стрілки не налазили на текст */
  }
  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next {
    width: 35px !important;
    height: 35px !important;
    margin: 0 2px !important;
  }
  .owl-carousel .owl-nav .owl-prev::after,
  .owl-carousel .owl-nav .owl-next::after {
    font-size: 20px !important;
  }
}

.text_page {
  background: #ffffff;
  min-height: 100vh;
  padding-bottom: 40px;
}

.page_nav {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 25px;
  background: #fff;
}

.btn_back {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.btn_back:before {
  content: "‹";
  font-size: 20px;
  margin-right: 5px;
  line-height: 1;
  position: relative;
  top: -1px;
}

.btn_back:hover {
  color: #32a852;
}

.page_content {
  padding: 0 25px;
  text-align: left;
  color: #333;
}

.page_content h1 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 25px;
  text-align: center;
  text-transform: uppercase;
  color: #000;
}

.page_content strong {
  color: #000;
  font-weight: 700;
}

.page_content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

.page_content a {
  color: #ff6b00;
  text-decoration: none;
}

s {
  text-decoration: line-through !important;
}

.select-selected s,
.select-items div s {
  color: #888;
  font-size: 0.9em;
  margin-left: 8px;
  opacity: 0.8;
}

.select-items div:hover s,
.select-items div:active s,
.same-as-selected s {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration-color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1;
}
