@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v40-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v40-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #fff;
  line-height: 1.4;
  color: rgb(48, 48, 48);
  font-size: 18px;
}

.eo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px 0 15px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

img {
  max-width: 100%;
}

.eo-main {
  flex: 2;
  max-width: 820px;
  
}

.eo-title {
  font-size: 36px;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.eo-highlight {
  color: rgb(149, 0, 0);
  font-weight: bold;
}

.eo-author {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.eo-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.eo-summary-box {
  background-color: #fff8c4;
  padding: 15px;
  border-left: 5px solid #f4d03f;
  margin-bottom: 20px;
 
  text-shadow: transparent 0px 0px 0px;
      border-width: 2px;
    border-style: solid;
    border-color: rgb(250, 223, 152);
}


.eo-section-img {
  display: block;
  margin: 0 auto;
}

.eo-section-img--product {
  width: 250px !important;
}

.eo-ingredient-row {
  display: flex;
  align-items: center;
  max-width: 100%;
  justify-content: space-between;
}

.eo-ingredient-row img {
  width: 18%;

}

.eo-summary-box strong {

  margin-bottom: 5px;
}

.eo-link {
  color: #0056cc;
  text-decoration: underline;
  font-weight: bold;
}

.sidebar-container {
   width: 320px;
   flex-shrink: 0;
}

.eo-sidebar {
  flex: 1;
  border: 1px solid #000;
  padding: 15px;
  max-width: 320px;
  margin-top: 0px;
}

.eo-sidebar-title {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

.eo-stars {
  color: gold;
  font-size: 30px;
  line-height: 1;
  text-align: center;
}

.eo-reviews {
  margin: 5px 0 15px;
  text-align: center;
  font-weight: bold;
}

.eo-product-name {
  color: green;
  margin: 10px 0;
}

.eo-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.eo-features li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.eo-features li::before {
  content: "";
  margin-right: 8px;
  color: green;
  background: url(../images/1679672050-1679397581-343.webp) no-repeat center / contain;
  width: 17px;
  height: 17px;
  position: absolute;
  top: 3px;
  left: 0;
}

.eo-product-img {
  display: block;
  max-width: 100%;
  width: 200px;
  margin: 10px auto;
}

.eo-btn {
  display: block;
  background-color: #00b140;
  color: white;
  padding: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin-top: 20px;
  transition: 0.5s;
}

.eo-btn:hover {
    background-color: #00d44e;
}


.eo-rating-box {
  background-color: #eef6ff;
  border: 1px solid #ddd;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  border-width: 3px;
    border-style: dashed;
    border-color: rgb(255, 0, 0);
    margin: 15px 0px 0px;
    padding: 15px;
    background-color: rgb(240, 248, 255);
}



.eo-rating-left {
  flex: 1;
  min-width: 250px;
}

.eo-rating-right {
  flex: 1;
  min-width: 280px;
}

.eo-rating-right p:last-child {
  margin-bottom: 0;
}

.eo-rating-right-title {
  margin-top: 0;
}

.eo-rating-right-title {
  text-align: center;
}

.eo-rating-score {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
}

.eo-score-number {
  font-size: 22px;
  font-weight: bold;
  color: #000;
}



.eo-progress {
  margin-bottom: 10px;
}

.eo-progress span {

  display: block;
  margin-bottom: 3px;
}

.eo-bar {
 
  border-radius: 20px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  overflow: hidden;

}

.eo-bar div {
  background-color: #2dbf29;
  height: 100%;
  border-radius: 20px;
    padding: 5px 0;
    box-shadow: inset 0 2px 9px rgba(255, 255, 255, .3), inset 0 -2px 6px rgba(0, 0, 0, .4);
}

.eo-btn-wide {
  display: block;
  text-align: center;
  background-color: #bf2129;
  color: #fff;
  padding: 14px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  margin: 30px auto 0;
  max-width: 400px;
}
.eo-btn-wide:hover {
   background-color: #ee2832;
}
.eo-comments {
  margin-top: 30px;
}

.eo-comment {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.eo-comment:last-child {
  border: 0;
  padding-bottom: 0;
}

.eo-avatar {
  width: 50px;
  height: 50px;
  margin-right: 12px;
  object-fit: cover;
}

.footer {
  text-align: center;
  padding: 25px 0;
}

.footer p {
  margin: 0;
}

.eo-comment-body {
  flex: 1;
}

.eo-comment-body p {
  margin: 0;
}

.eo-meta {
  font-size: 14px;
  color: #888;
  display: block;
  margin-top: 4px;
}

.eo-reply {
  display: flex;
  margin-top: 10px;

}

.eo-comment-img {
  margin-top: 15px;
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 6px;
}



:root {
    --carts-gap: 20px;
    --carts-border-color: rgb(228, 228, 228);
    --carts-border-color-hover: rgb(219, 14, 24);
}

/*Bug*/
.rd-order-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    max-width: 1000px;
    width: 100%;
}

.rd-order-container .rd-order {
    display: none;
    position: absolute;
    transform: translateX(100%);
    opacity: 0;
}

.rd-carts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.rd-carts__item {
    display: flex;
    gap: var(--carts-gap);
    flex: 1 1 calc((100% - 28px) / 3);
    border: 1px solid var(--carts-border-color);
    border-radius: 30px;
    cursor: pointer;
    padding: var(--carts-gap);
    transition: all 0.2s;
    overflow: hidden;
}

.rd-carts__item:hover {
    border-color: var(--carts-border-color-hover);
}

.rd-carts__item.active {
    border-color: var(--carts-border-color-hover);
    cursor: pointer;
}

.rd-carts__item.disabled {
    pointer-events: none;
}

.rd-carts__cart {
    display: block;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 250 / 230;
    background: url("../images/cart.png") no-repeat center center / contain;
    transition: all .2s, transform 1s;
    transform: translateX(calc(-100% - var(--carts-gap)));
}

.rd-carts__cart--sale {
    background: url("../images/cart-sale.png") no-repeat center center / contain;
}

.rd-carts__item:not(.active):hover .rd-carts__cart {
    background: url("../images/cart-active.png") no-repeat center center / contain;
}

.rd-carts__item.active .rd-carts__cart {
    transform: translateX(0);
}

@media (max-width: 639px) {
    .rd-carts__item {
        flex: 1 1 calc((100% - 14px) / 2);
        max-width: 200px;
    }
}

@media (max-width: 479px) {
    :root {
        --carts-gap: 10px;
    }

    .rd-carts__item {
        border-radius: 10px;
    }
}

/*Animations*/
.slide-out-left {
    -webkit-animation: slide-out-left 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
    animation: slide-out-left 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes slide-out-left {
    0% {
        -webkit-transform: translateX(0) skewX(0deg);
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-100%) skewX(20deg);
        transform: translateX(-100%) skewX(20deg);
        opacity: 0;
    }
}

@keyframes slide-out-left {
    0% {
        -webkit-transform: translateX(0) skewX(0deg);
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-100%) skewX(20deg);
        transform: translateX(-100%) skewX(20deg);
        opacity: 0;
    }
}

.slide-in-right {
    -webkit-animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-right {
    0% {
        display: inline-block;
        position: static;
        -webkit-transform: translateX(100%) skewX(-20deg);
        transform: translateX(100%) skewX(-20deg);
        opacity: 0;
    }
    100% {
        display: inline-block;
        position: static;
        -webkit-transform: translateX(0) skewX(0deg);
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        display: inline-block;
        position: static;
        -webkit-transform: translateX(100%) skewX(-20deg);
        transform: translateX(100%) skewX(-20deg);
        opacity: 0;
    }
    100% {
        display: inline-block;
        position: static;
        -webkit-transform: translateX(0) skewX(0deg);
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
}
:root {
    --primary: rgb(21, 251, 238);
    --primary-hover: rgb(34 212 202);
    --bg-color-light: rgb(51, 103, 164);
    --bg-color-dark: rgb(27, 27, 77);
}

.rd-promo {
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
    gap: 20px 30px;
    color: white;
    border-radius: 16px;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.25);
    background: linear-gradient(180.00deg, var(--bg-color-light), var(--bg-color-dark) 100%);
    max-width: 1000px;
    width: 100%;
    padding: 40px 30px;
}

.rd-promo__product {
    flex-shrink: 0;
    width: 300px;
    max-width: 100%;
}

.rd-promo__pack {
    display: block;
    width: 100%;
}

.rd-promo__sale {
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 30px;
}

.rd-promo__title {
    font-size: 26px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.rd-promo__title span {
    color: var(--primary);
    white-space: nowrap;
}

.rd-promo__text {
    font-size: 16px;
    margin-bottom: 30px;
}

.rd-promo__button {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: black;
    background-color: var(--primary);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    padding: 16px 40px;
    transition: .2s ease-in-out;
}

.rd-promo__button:hover {
    background-color: var(--primary-hover);
}

.eo-main p {
  text-align: justify;
}

.eo-rating-right p {
  text-align: left;
}

@media (max-width: 1023px) {
  .sidebar-container {
    width: 290px;
  }
}

@media (max-width: 767px) {
    .rd-promo {
        flex-direction: column;
        text-align: center;
    }


    body { 
      font-size: 17px;
      line-height: 1.3;
    }


    .eo-section-img--product {
      width: 200px !important;
    }

    .eo-main p{
      text-align: left;
    }

    .rd-promo__product {
        width: 250px;
    }

    .rd-promo__sale {
        margin-bottom: 40px;
    }

    .eo-subtitle {
      font-size: 24px;
    }

    .eo-ingredient-row {
      flex-wrap: wrap;
            justify-content: space-evenly;
            gap: 10px;
            max-width: 500px;
            margin: 0 auto;
    }

    .eo-ingredient-row img {
     width: 140px;
      margin: 0;
    }

    
}

@media (max-width: 479px) {
    .rd-promo {
        row-gap: 15px;
        padding: 30px 15px;
    }
  .eo-subtitle {
      font-size: 20px;
    }
    .rd-promo__product {
        width: 200px;
    }

     .eo-ingredient-row img {
     width: 120px;
   
    }

    .rd-promo__sale {
        font-size: 40px;
        margin-bottom: 25px;
    }

    .rd-promo__title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .rd-promo__text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .rd-promo__button {
        font-size: 16px;
        padding-inline: 30px;
    }
}

/*Modal*/
.rd-modal {
    z-index: 999;
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
}

.rd-modal.open {
    opacity: 1;
    visibility: visible;
}

.eo-subtitle--line {
  padding-top: 15px;
  border-top: 3px dotted #ccc;

}

.eo-image, .eo-section-img {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 100%;
}

.eo-subtitle {
  margin: 18px 0;
}


.eo-quote {
  background: #f9f9f9; /* світла підложка */
  border-left: 4px solid #c00; /* кольорова смужка зліва */
  padding: 16px 20px;
  margin: 20px 0;
  font-style: italic;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.rd-order {

    position: relative;
    font-family: 'Inter', sans-serif;
    color: rgb(27, 27, 77);
    border-radius: 20px;
    border: 3px solid rgb(27, 27, 77);
    padding: 30px 18px 30px;
    max-height: 98vh;
    max-width: 630px;
    width: 100%;
    overflow-y: auto;
    margin-top: 0px;
    background: rgba(27, 27, 77, .1);
}

.rd-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.rd-modal__close::before,
.rd-modal__close::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 4px;
    background-color: white;
    transform-origin: center;
}

.rd-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.rd-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.rd-order__message {
    text-align: center;
    margin-bottom: 20px;
}

.rd-order__message.hidden {
    display: none;
}

.rd-order__wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.rd-order__content {
    flex-basis: 330px;
    flex-grow: 1;
    /*max-width: 330px;*/
    /*width: 100%;*/
    color: rgb(27, 27, 77);
}

.rd-order__sale {
    display: inline-block;
    font-size: 45px;
    font-weight: 900;
    color: white;
    background: #ED1F01;
    clip-path: polygon(100% 100%, 100% 100%, 98.854% 98.62%, 97.634% 97.311%, 96.338% 96.091%, 94.965% 94.978%, 93.513% 93.988%, 91.979% 93.138%, 90.363% 92.448%, 88.662% 91.933%, 86.875% 91.611%, 85% 91.5%, 33.2% 91.5%, 33.2% 91.5%, 29.09% 90.883%, 25.222% 89.034%, 21.598% 85.96%, 18.219% 81.663%, 15.088% 76.15%, 12.205% 69.425%, 9.573% 61.492%, 7.194% 52.358%, 5.069% 42.025%, 3.2% 30.5%, 3.2% 30.5%, 2.765% 27.351%, 2.358% 24.208%, 1.98% 21.077%, 1.627% 17.964%, 1.3% 14.875%, 0.997% 11.816%, 0.716% 8.793%, 0.458% 5.812%, 0.219% 2.879%, 0% 0%, 0% 0%, 1.468% 2.135%, 3.053% 4.145%, 4.759% 6.006%, 6.59% 7.694%, 8.55% 9.188%, 10.642% 10.462%, 12.869% 11.493%, 15.235% 12.259%, 17.744% 12.736%, 20.4% 12.9%, 69.9% 12.9%, 69.9% 12.9%, 70.821% 13.217%, 72.42% 13.971%, 74.571% 15.318%, 77.148% 17.414%, 80.025% 20.413%, 83.076% 24.47%, 86.175% 29.743%, 89.196% 36.385%, 92.013% 44.552%, 94.5% 54.4%, 94.5% 54.4%, 95.569% 59.735%, 96.502% 64.931%, 97.307% 69.976%, 97.991% 74.858%, 98.563% 79.563%, 99.029% 84.078%, 99.398% 88.393%, 99.678% 92.493%, 99.876% 96.366%, 100% 100%);
    padding: 6px 12px;
    position: absolute;
    top: 0;
    right: 0;
}

.rd-order__product {
    position: relative;
    flex-basis: 200px;
    flex-shrink: 0;
    /*width: 250px;*/
    /*margin: 0 auto 15px;*/
}

.rd-order__pack {
    display: block;
    width: 100%;
    max-width: 100%;
}

.rd-order__pack--sale {
    padding-top: 20px;
}

.rd-order .rd-price {
    margin-bottom: 22px;
}

/*Price*/
.rd-price {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    width: 100%
}

.rd-price__item {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.rd-price__line {
    display: block;
    flex-shrink: 0;
    width: 1px;
    background-color: #fff;
}

.rd-price__title {
    font-size: 18px;
    font-weight: 400;

    margin: 0;
}

.rd-price__title--old {
    font-weight: 300;
   
}

.rd-price__value {
    font-size: 40px;
    font-weight: 400;
    margin: 0;
}

.rd-price__value--old {
    font-weight: 300;
    color: #c0c0c0;
    text-decoration-line: line-through;
}

/*light modal theme*/
.rd-modal--light .rd-order {
    background: white;
}

.rd-modal--light .rd-modal__close::before,
.rd-modal--light .rd-modal__close::after {
    background: var(--bg-color-dark);
}

.rd-modal--light .rd-order__message {
    color: var(--bg-color-dark);
}

.rd-modal--light .rd-form__button {
    color: white;
    background: rgb(237, 31, 1);
}

.rd-modal--light .rd-form__button:hover {
    background: rgb(182, 24, 1);
}

.rd-modal--light .rd-price__title {
    color: var(--bg-color-dark);
}

.rd-modal--light .rd-price__value {
    color: var(--bg-color-dark);
}

.rd-modal--light .rd-price__title--old, .rd-modal--light .rd-price__value--old {
    color: rgba(145, 145, 145, 0.5);
}

.rd-modal--light .rd-price__line {
    background: rgba(145, 145, 145, 0.5);
}

.rd-modal--light .rd-form__input {
    border: 1px solid var(--bg-color-dark);
}

/*Form*/
.rd-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.rd-form__label, .rd-form__input {
    width: 100%;
}

.rd-form__input {
    font-size: 18px;
    text-align: center;
    color: var(--bg-color-dark);
    border-radius: 100px;
    box-shadow: 0 5px 20px 0 rgba(50, 118, 71, 0.1);
    background: rgb(255, 255, 255);
    border: none;
    outline: none;
    padding: 15px 24px;
}

.rd-form__input::placeholder {
    color: var(--bg-color-dark);
}

.eo-reply {
  margin-left: 20px;
}

.rd-form__button {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #bf2129;
    border: none;
    border-radius: 100px;
    outline: none;
    cursor: pointer;
    padding: 15px 24px;
    transition: background-color .2s;
    text-transform: uppercase;
}

.rd-form__button:hover {
       background-color: #ec1e28;
}

@media (max-width: 767px) {
    .rd-order {
        width: auto;
    }

    .eo-title {
      font-size: 32px;
    }

    .rd-order__wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .rd-order__sale {
        font-size: 38px;
    }

    .rd-order__product {
        flex-basis: auto;
        width: 160px;
    }

    .rd-order__content {
        flex-basis: auto;
        width: 100%;
    }

        .rd-price__value {
        font-size: 30px;
    }
}

@media (max-width: 479px) {


    .eo-rating-right {
      min-width: 200px;
    }

    .eo-title {
      font-size: 24px;
    }

    .rd-order__sale {
        font-size: 30px;
    }

    .rd-price {
        justify-content: space-evenly;
    }

    .rd-price__title {
        font-size: 14px;
    }

    .rd-price__value {
        font-size: 26px;
    }

    .rd-form__input, .rd-form__button {
        font-size: 16px;
    }
}



@media (max-width: 991px) {
  .sidebar-container {
    display: none;
  }

  .eo-main {
    max-width: 100%;
    width: 100%;
    flex: auto;
  }

  .eo-title, .eo-author {
    text-align: center;
  }

  .eo-section-img--product {
    width: 180px;
  }

  .rd-carts {
    max-width: 642px;
  }
}