/* styles */
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Bold.woff2") format("woff2"),
    url("../fonts/Gilroy-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Black.woff2") format("woff2"),
    url("../fonts/Gilroy-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Medium.woff2") format("woff2"),
    url("../fonts/Gilroy-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Regular.woff2") format("woff2"),
    url("../fonts/Gilroy-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-SemiBold.woff2") format("woff2"),
    url("../fonts/Gilroy-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Light.woff2") format("woff2"),
    url("../fonts/Gilroy-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-width: 480px;
  background: #e8edf3;
  font-family: "Gilroy", "Nunito", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #333;
  cursor: default;
  overflow-x: hidden;
}

.main_wrapper {
  margin: 0 auto;
  width: 480px;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}

section {
  padding: 30px 0;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

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

b {
  font-weight: 700;
}

/* ===== HERO HEADER ===== */
.hero-header {
  background: linear-gradient(160deg, #4a5fe0 0%, #6c3fb5 60%, #9b59b6 100%) !important;
  padding: 0 !important;
  color: #fff;
}

.offer_section {
  padding: 0 0 30px;
}

.offer_section .title_block {
  text-transform: uppercase;
  text-align: center;
}

.offer_section.offer3 .title_block {
  background: transparent;
  display: flex;
  flex-direction: column;
  padding: 18px 15px 10px;
  color: #fff;
  text-align: center;
}

.reyt {
  display: flex;
  justify-content: space-around;
  color: #fff !important;
  align-items: center;
}

.stars {
  display: flex;
  width: 30%;
  flex-direction: column;
  align-items: center;
}

.reyt-block {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 6px;
}

.rating-text {
  font-size: 16px;
  font-weight: 700;
}

.rating-img {
  height: 20px;
}

.reyt-desc {
  font-size: 12px;
  opacity: 0.85;
}

.bought-today {
  border: 1px solid #fff;
  padding: 2px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.95);
  color: #e74c3c;
  font-weight: 700;
}

.offer-name_block {
  padding: 20px 15px;
  text-align: center;
  text-transform: uppercase;
  font-size: 30px;
}

.offer-name_block h2 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.offer_section .offer_image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.offer_section.offer3 .image_block {
  position: relative;
}

/* ===== STICKY PROMO BAR ===== */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(135deg, #4a5fe0, #6c3fb5);
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.sticky-header.fixed {
  box-shadow: 0 4px 20px rgba(74, 95, 224, 0.4);
}

.sticky-content {
  padding: 14px 15px;
}

.promo-text {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.5;
}

.promo-dates {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 12px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 700;
}

.promo-note {
  font-size: 11px;
  margin: 6px 0 0 0;
  opacity: 0.8;
}

/* ===== PRICE BLOCK ===== */
.metr_count {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 25px 15px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.metr_text_count {
  font-size: 13px !important;
  padding-bottom: 0 !important;
  color: #888;
}

.metr_new_count {
  text-align: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #4a5fe0, #6c3fb5);
  border-radius: 10px;
  color: #fff;
}

.metr_new_count .metr_text_count {
  color: rgba(255, 255, 255, 0.85);
}

.metr_new_count .metr_value {
  font-size: 42px;
  color: #fff;
  font-weight: 700;
  padding: 5px 10px;
}

.metr_old_count {
  text-align: center;
  padding: 15px 20px;
}

.metr_old_count .metr_text_count {
  font-size: 13px;
  padding-bottom: 5px;
}

.metr_old_count .metr_value {
  font-size: 28px;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 400;
  padding: 5px 10px;
}

/* ===== BUTTONS ===== */
.button {
  display: block;
  margin: 0 auto;
  width: 400px;
  height: 70px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #4a5fe0, #6c3fb5);
  font-family: "Gilroy", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 70px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(74, 95, 224, 0.35);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 95, 224, 0.45);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(74, 95, 224, 0.3);
}

.button2 {
  background: linear-gradient(135deg, #4a5fe0, #6c3fb5) !important;
  color: #fff;
  box-shadow: 0 6px 20px rgba(74, 95, 224, 0.35);
  margin-top: 25px;
}

.button .flare {
  position: absolute;
  top: 0;
  height: 100%;
  width: 45px;
  transform: skewX(-45deg);
  left: -150%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4)
  );
  animation: flareAnimation 3s infinite linear;
}

@keyframes flareAnimation {
  0% { left: -150%; }
  100% { left: 150%; }
}

/* ===== PRODUCTS COUNT ===== */
.products_count {
  margin: 20px 15px;
  text-align: center;
  padding: 12px;
  background: #fff8e1;
  border: 2px solid #ffc107;
  border-radius: 8px;
  color: #7a6000;
  font-weight: 600;
  font-size: 15px;
}

.products_count span {
  margin: 0 3px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 2px 2px 1px #ddd;
  color: #e74c3c;
  font-weight: 700;
}

/* ===== CONTENT SECTION ===== */
h2.title {
  margin: 30px 15px;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  color: #333;
}

h2.title span {
  background: linear-gradient(135deg, #4a5fe0, #6c3fb5);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-section {
  margin: 50px 15px 0 15px !important;
}

.element {
  padding: 0px !important;
}

.element p {
  margin: 12px 20px;
  color: #555;
  line-height: 1.7;
}

.element h2 {
  margin: 40px 0 25px 0 !important;
}

.element b {
  color: #333;
}

.description_section {
  padding: 30px 0 0 0 !important;
}

.border-img {
  border-radius: 12px;
  width: 92%;
  left: 4%;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 15px 0;
}

.offer_section ul {
  margin: 25px 0;
  flex-wrap: wrap;
  display: flex;
}

.offer_section ul li {
  margin: 0 17px 12px;
  padding: 0 0 0 32px;
  background: url("../images/small-orange-diamond.png") left 1px no-repeat;
  flex: 1 0 20%;
  max-width: 44%;
  min-width: 30%;
  background-size: 20px;
}

.list4 {
  padding: 20px 0;
}

section .list4 {
  padding: 0;
}

.list4 li {
  margin: 0 0 12px;
  padding: 0 10px 0 20px;
  background: url("../images/small-orange-diamond.png") left 1px no-repeat;
  position: relative;
  background-size: 20px;
}

.listtext {
  display: block !important;
  margin: 15px 20px;
}

.listtext li {
  max-width: 100% !important;
  margin: 8px 0;
  color: #555;
  line-height: 1.6;
}

/* ===== FORM ===== */
.offer_section .field {
  display: block;
  margin: 0 auto 15px;
  padding: 0 20px 0 65px;
  width: 400px;
  height: 60px;
  border: 2px solid #e6e6e6;
  border-radius: 10px;
  background-color: #f8f8f8;
  font-family: "Gilroy", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer_section .field:focus {
  border-color: #4a5fe0;
  box-shadow: 0 0 0 3px rgba(74, 95, 224, 0.12);
  outline: none;
  background-color: #fff;
}

.offer_section .field[name="name"] {
  margin-top: 25px;
  background-image: url("../images/offer__name_icon.png");
  background-position: 18px center;
  background-repeat: no-repeat;
}

.offer_section .field[name="phone"] {
  background-image: url("../images/offer__phone_icon.png");
  background-position: 18px center;
  background-repeat: no-repeat;
}

.offer_section .field::-webkit-input-placeholder { opacity: 1; color: #999; }
.offer_section .field:-moz-placeholder { opacity: 1; color: #999; }
.offer_section .field::-moz-placeholder { opacity: 1; color: #999; }
.offer_section .field:-ms-input-placeholder { opacity: 1; color: #999; }
.offer_section .field:focus::-webkit-input-placeholder { opacity: 0; }
.offer_section .field:focus:-moz-placeholder { opacity: 0; }
.offer_section .field:focus::-moz-placeholder { opacity: 0; }
.offer_section .field:focus:-ms-input-placeholder { opacity: 0; }

/* ===== ORDER STEPS ===== */
.order-step {
  margin: 30px 20px;
  text-transform: uppercase;
}

.step-item {
  padding: 22px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  margin: 15px 0px;
  background: #fff;
  border-left: 4px solid #4a5fe0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 95, 224, 0.15);
}

.item-top {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.top-img img {
  width: 50px;
  margin-right: 15px;
}

.top-text {
  font-size: 17px;
  color: #333;
}

.item-botton {
  font-size: 15px;
  text-transform: none;
  color: #666;
  line-height: 1.5;
}

.order-color {
  color: #4a5fe0;
  font-weight: 600;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: 40px 15px;
  background: linear-gradient(180deg, #f0f2f9 0%, #fff 100%);
}

.reviews-section .title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
  color: #333;
  text-transform: uppercase;
  font-weight: 700;
}

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  border-left: 4px solid #4a5fe0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 95, 224, 0.15);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.review-stars {
  color: #f5a623;
  font-size: 16px;
  letter-spacing: 2px;
}

.review-date {
  color: #aaa;
  font-size: 12px;
}

.review-text {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0;
}

.review-author {
  color: #4a5fe0;
  font-weight: 700;
  font-size: 13px;
  margin: 0;
}

/* ===== TIMER ===== */
.timer-block-styled {
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #4a5fe0, #6c3fb5) !important;
  color: #fff;
  border-radius: 12px;
  margin: 0 15px 20px;
}

.offer_section.offer3 .timer_block {
  padding: 20px 15px 10px;
  margin-bottom: 20px;
}

.offer_section.offer3 .timer_block p {
  float: left;
  margin: 6px 0 0;
  padding: 0 0 0 45px;
  width: 170px;
  background: url("../images/offer_benefit3.svg") left center no-repeat;
  background-size: contain;
  font-size: 14px;
  line-height: 16px;
}

.offer_section.offer3 .timer {
  float: right;
  border-bottom: 2px solid;
  padding-bottom: 8px;
}

.offer_section.offer3 .timer_item {
  float: left;
  width: 60px;
  text-align: center;
  margin-right: 10px;
}

.offer_section.offer3 .timer_item:last-child {
  margin-right: 0;
}

.offer_section.offer3 .timer_item .text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 12px;
}

.offer_section.offer3 .timer_item .count {
  font-weight: 700;
  font-size: 36px;
  line-height: 30px;
  position: relative;
}

.offer_section.offer3 .timer_item .count:before {
  display: block;
  content: ":";
  width: 10px;
  line-height: 24px;
  position: absolute;
  top: 0;
  right: -8px;
}

.offer_section.offer3 .timer_item:last-child .count:before {
  display: none;
}

/* ===== CART SECTION (bottom order) ===== */
#cart {
  background: linear-gradient(180deg, #f5f6fa 0%, #fff 100%);
  padding: 0 0 30px;
}

#cart .image_block {
  text-align: center;
  padding: 15px 0;
}

/* ===== FIXED MESSAGE (floating CTA) ===== */
.fixed-message {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0), rgb(244, 244, 244) 80%);
  padding: 20px;
  display: none;
  z-index: 9999;
  text-align: center;
}

.fixed-message a {
  width: 300px;
  height: 60px;
  line-height: 60px;
  font-size: 18px;
}

/* ===== BENEFIT BOX ===== */
.description_section .benefit {
  background: linear-gradient(135deg, #4a5fe0, #6c3fb5);
  position: relative;
  border-radius: 12px;
  padding: 20px 10px;
  margin: 0 20px 15px;
}

.description_section .benefit .benefit_text {
  text-align: center;
  font-weight: 500;
  color: white;
}

.benefit img {
  position: absolute;
  border-radius: 50%;
  height: 35%;
  box-shadow: 1px 1px 6px 1px #a2a2a2;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.benefit .benefit_text {
  padding-top: 20px;
  font-weight: 500;
}

.benefit {
  margin-top: 50px !important;
}

/* ===== OWL CAROUSEL ===== */
.owl-next,
.owl-prev {
  display: block;
  margin: -20px;
  width: 25px;
  height: 25px;
  border-top: 4px solid rgb(255 255 255 / 100%);
  border-left: 4px solid rgb(255 255 255 / 100%);
  transition: all 0.3s;
}

.owl-nav,
.owl-dots {
  bottom: -20px;
}

/* ===== PRODUCT CATALOG SECTION ===== */
.catalog-section {
  padding: 20px 16px 30px;
  background: #f7f9fc;
}

.catalog-section .title {
  margin-bottom: 20px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.catalog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.catalog-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #eef4f8;
  display: block;
}

.catalog-card__body {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card__name {
  font-size: 13px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.catalog-card__desc {
  font-size: 11px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
}

.catalog-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.catalog-card__price {
  font-size: 16px;
  font-weight: 900;
  color: #e63946;
}

.catalog-card__old-price {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
}

.catalog-card__btn {
  display: block;
  background: linear-gradient(135deg, #e63946, #c1121f);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 6px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: opacity 0.2s;
}

.catalog-card__btn:hover {
  opacity: 0.88;
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.specs-table th,
.specs-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.specs-table th {
  background: #e63946;
  color: #fff;
  font-weight: 700;
}
.specs-table tr:nth-child(even) td {
  background: #fafafa;
}
.specs-table tr:last-child td {
  border-bottom: none;
}
