:root {
    --body: #80808080;
    --main: #fff2e6;
    --main-block: #503113;
    --main-headings: #ffa600;
    --main-text: white;
    --text: #3b290f;
    --discount: #ff2933;
    --ord-buttn: #ff9900;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
    background: var(--body);
    color: var(--text);
}

main {
    background: var(--main);
}

header {
    max-width: 100%;
}

p {
    line-height: 135%;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.h-title, .m-title {
    background: var(--main-block);
    padding: 15px;
    text-align: center;
}

.h-title h1, .m-title h2 {
    color: var(--main-headings);
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 900;
    padding: 0;
}

.m-main-img {
    position: relative;
    max-width: 480px;
    overflow: hidden;
}

.m-main-img img {
    display: block;
}

.m-discount {
    position: absolute;
    right: 0;
    top: 0;
    background: var(--discount);
    color: var(--main-text);
    padding: 6px 30px;
    transform: rotate(45deg) translate(47px, -6px);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

.m-main-blocks {
    background: var(--main-block);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 0px 10px 20px;
}

.m-main-block {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    flex: 1;
}

.m-main-block img {
    max-width: 28px;
}

.m-main-block p {
    color: var(--main-text);
    font-size: 14px;
}

.m-main-price {
    display: flex;
    flex-direction: row;
}

.m-main-price div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.price-title {
    font-size: 14px;
    padding: 5px;
}

.m-main-price-new .price-title{
    border-radius: 5px;
    background: var(--discount);
    color: white;
}

.price-value {
    font-size: 30px;
}

.price-value span {
    font-weight: 700;
}

.old-price {
    text-decoration: line-through;
}

.m-main-features ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin: 20px auto;
}

.m-main-features li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.4;
}

.m-main-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--main-block);
  color: var(--main-text);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: var(--main);
}

.m-main-order-button {
    width: 100%;
    display: flex;
    justify-content: center;
}

.m-main-order-button a{
    padding: 15px 30px;
    background: var(--ord-buttn);
    font-size: 24px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    width: 80%;
    text-align: center;
    text-decoration: none;
    color: var(--text);
}

.m-main-action {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--main-block);
}

.m-main-action p{
    margin-bottom: 10px;
    color: var(--main-text);
}

.m-action-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--discount) !important;
}

.m-action-subtitle {
    font-weight: 700;
}

#action_timer {
    font-size: 24px;
    font-weight: 700;
}

.m-main-presentation,
.m-main-presentation-card, 
.m-main-reviews {
    padding: 0 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

h2 {
    font-size: 32px;
    text-align: center;
    padding: 15px;
    font-weight: 900;
}

.m-main-presentation img {
    border-radius: 10px;
}

.m-main-presentation p {
    margin: 10px 0 25px;
    font-size: 18px;
    text-align: center;
}

.swiper-slide img {
    max-height: 550px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.swiper-wrapper p {
    margin-bottom: 35px;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 0px) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--main-headings) !important;
}

.swiper-pagination-bullet {
    background: var(--main) !important;
}

.swiper-pagination-bullet-active {
    background: var(--main-headings) !important;
}

.m-main-reviews {
    background: var(--main-block);
    color: var(--main);
    text-align: center;
}

.m-main-reviews h3 {
    margin: 10px 0;
}

.delivery-block {
    display: flex;
    text-align: center;
    flex-direction: row;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.delivery-info {
    display: flex;
    flex-direction: column;
    padding: 15px;
    max-width: 50%;
}

.delivery-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.order-form {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    gap: 15px;
}

.order-form select, .order-form input, .order-form button {
    width: 90%;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: var(--text);
}

.order-form button {
    background: var(--ord-buttn);
    font-size: 24px;
    font-weight: 700;
}

.m-extra-inf img {
    padding: 20px;
}