/* ==========================================================================
   Variables
   ========================================================================== */

:root {
  --primary-color: #2c3e50;
  --accent-color: #e67e22;
  --text-color: #333;
  --light-gray: #f4f4f4;
  --border-color: #ddd;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 40px;
  margin-bottom: 60px;
}

.content-area {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
}

.page--legal .main-wrapper {
  display: block;
}

.page--legal .content-area {
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   Advertorial label & breadcrumbs
   ========================================================================== */

.advertorial-label {
  background-color: #f4f4f4;
  color: #555;
  text-align: center;
  font-size: 11px;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
}

.breadcrumbs {
  margin-bottom: 18px;
}

.breadcrumbs__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 9px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.breadcrumbs__item + .breadcrumbs__item {
  margin-left: 10px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "|";
  margin-right: 10px;
  color: #ccc;
  font-weight: 400;
}

.breadcrumbs__link {
  color: #888;
  -webkit-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
}

.breadcrumbs__link:hover {
  color: var(--accent-color);
}

.breadcrumbs__item[aria-current="page"] {
  color: #555;
}

/* ==========================================================================
   Header & navigation
   ========================================================================== */

header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.header-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.logo__icon {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.logo__text {
  line-height: 1.2;
}

.logo span {
  color: var(--accent-color);
}

nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

nav li + li {
  margin-left: 20px;
}

nav a {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  color: #555;
}

nav a:hover {
  color: var(--accent-color);
}

nav a.nav-cta {
  color: var(--accent-color);
  font-weight: 700;
}

nav a.nav-cta:hover {
  color: #d35400;
}

/* ==========================================================================
   Article
   ========================================================================== */

article h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #000;
}

article h2 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

article p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #444;
}

.subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  font-weight: 400;
}

.meta-info {
  font-size: 12px;
  color: #888;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.meta-info span + span {
  margin-left: 15px;
}

.article-image,
.article-block__image {
  width: 100%;
  height: auto;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.article-image {
  margin-bottom: 25px;
}

.article-block__image {
  margin-bottom: 20px;
}

.article-testimonial {
  font-size: 17px;
  color: #333;
}

.article-block {
  margin: 30px 0;
}

.article-block__body h2 {
  margin-top: 0;
}

.article-quote {
  margin: 20px 0;
  padding: 20px 25px;
  background: #f9fbfd;
  border-left: 4px solid var(--primary-color);
  font-style: italic;
  color: #444;
  font-size: 17px;
  line-height: 1.6;
}

.article-cta {
  border: 2px solid #f0f0f0;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  padding: 30px;
  background: #fff;
  text-align: center;
  margin-top: 40px;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.article-cta h2 {
  margin-top: 0;
}

.text-link {
  color: var(--accent-color);
  font-weight: bold;
  border-bottom: 1px dotted var(--accent-color);
}

.text-link:hover {
  color: #d35400;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-check,
.article-cta__btn,
.sidebar-promo__btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 15px 40px;
  font-weight: 700;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font-size: 18px;
  margin-top: 15px;
  -webkit-box-shadow: 0 4px 6px rgba(230, 126, 34, 0.3);
  box-shadow: 0 4px 6px rgba(230, 126, 34, 0.3);
  text-transform: uppercase;
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  -webkit-transition: background-color 0.3s, -webkit-transform 0.3s;
  -o-transition: background-color 0.3s, transform 0.3s;
  transition: background-color 0.3s, transform 0.3s;
  transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s;
}

.sidebar-promo__btn {
  display: block;
  margin: 1em 1.25em 1.5em;
  text-align: center;
}

.btn-check:hover,
.article-cta__btn:hover,
.sidebar-promo__btn:hover {
  background-color: #d35400;
  color: #fff;
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4);
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
    box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
  }
}

@keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4);
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
    box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
  }
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 340px;
  flex: 0 0 340px;
  width: 340px;
  max-width: 340px;
  margin-left: 40px;
  top: 20px;
  -webkit-align-self: flex-start;
  -ms-flex-item-align: start;
  align-self: flex-start;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.sidebar-promo {
  background: #fff;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-promo__head {
  background-color: #eeeeee;
  padding: 1.25em 1.5em;
  text-align: center;
}

.sidebar-promo__label {
  margin-bottom: 0.35em;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-color);
}

.sidebar-promo__title {
  font-family: "Open Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}

.sidebar-promo__image {
  width: 100%;
  height: auto;
  display: block;
}

.sidebar-promo__list {
  list-style: none;
  margin: 0;
  padding: 1.25em 1.5em 0.5em;
}

.sidebar-promo__item {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.85em;
  font-size: 17px;
  line-height: 1.35;
  color: #222;
}

.sidebar-promo__item:last-child {
  margin-bottom: 0;
}

.sidebar-promo__item::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.35em;
  height: 1.35em;
  background-color: #5bc339;
  color: #fff;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1.35em;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background-color: #222;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-size: 12px;
}

.footer-links {
  margin-top: 10px;
}

.footer-link {
  color: #aaa;
  margin: 0 10px;
  text-decoration: none;
  display: inline-block;
}

.footer-link:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-contacts {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #333;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.footer-contacts__title {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin-bottom: 12px;
  color: #fff;
}

.footer-contacts__item {
  margin-bottom: 8px;
  color: #aaa;
}

.footer-contacts__link {
  color: #ccc;
  text-decoration: underline;
}

.footer-contacts__link:hover {
  color: #fff;
}

.footer-disclaimer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #777;
  font-size: 11px;
  text-align: justify;
  line-height: 1.5;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.footer-disclaimer p {
  margin-bottom: 10px;
}

.footer-disclaimer strong {
  color: #999;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.back-home {
  display: inline-block;
  margin-top: 30px;
  color: var(--accent-color);
  font-weight: 600;
}

.back-home:hover {
  color: #d35400;
}

.legal-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}

.legal-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.legal-content p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #444;
}

.legal-content a {
  color: var(--accent-color);
  font-weight: 600;
}

.legal-content a:hover {
  color: #d35400;
}

.contact-email {
  font-size: 20px;
  font-weight: bold;
  color: var(--accent-color);
}

.legal-notice {
  background: #fff8e6;
  border-left: 4px solid #e67e22;
  padding: 15px 20px;
  margin: 20px 0;
}

/* ==========================================================================
   Cookie consent
   ========================================================================== */

.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: block;
  padding: 16px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}

.consent.consent--hidden {
  display: none;
}

.consent__inner {
  max-width: 960px;
  margin: 0 auto;
  color: #333;
}

.consent__title {
  margin: 0 0 0.5em;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.consent__text {
  margin: 0 0 1em;
  font-size: 14px;
  line-height: 1.55;
}

.consent__link {
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: 600;
}

.consent__link:hover {
  color: #d35400;
}

.consent__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.consent__btn + .consent__btn {
  margin-left: 12px;
}

.consent__btn {
  cursor: pointer;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid transparent;
  -webkit-transition: background-color 0.2s, border-color 0.2s;
  -o-transition: background-color 0.2s, border-color 0.2s;
  transition: background-color 0.2s, border-color 0.2s;
}

.consent__btn--accept {
  color: #fff;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.consent__btn--accept:hover {
  background-color: #d35400;
  border-color: #d35400;
}

.consent__btn--essential {
  color: #666;
  background-color: #f3f3f3;
  border-color: #e0e0e0;
}

.consent__btn--essential:hover {
  background-color: #ebebeb;
  border-color: #d0d0d0;
}

/* ==========================================================================
   Legacy / optional blocks
   ========================================================================== */

.ingredient-box {
  background: #f9fbfd;
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 20px 0;
}

.ingredient-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.product-highlight {
  border: 2px solid #f0f0f0;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  padding: 30px;
  background: #fff;
  text-align: center;
  margin-top: 40px;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-highlight img {
  max-width: 250px;
  margin-bottom: 20px;
  -webkit-transition: -webkit-transform 0.3s;
  -o-transition: transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.product-highlight img:hover {
  -webkit-transform: scale(1.02);
  -ms-transform: scale(1.02);
  transform: scale(1.02);
}

.product-title {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.product-list {
  text-align: left;
  margin: 20px auto;
  max-width: 400px;
  list-style: disc;
  padding-left: 20px;
}

/* ==========================================================================
   Media queries
   ========================================================================== */

@media (max-width: 900px) {
  .sidebar {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 240px;
    flex: 0 0 240px;
    width: 240px;
    max-width: 240px;
    margin-left: 24px;
  }

  .sidebar-promo__head {
    padding: 1em 1.1em;
  }

  .sidebar-promo__title {
    font-size: 20px;
  }

  .sidebar-promo__list {
    padding: 1em 1.1em 0.5em;
  }

  .sidebar-promo__item {
    font-size: 15px;
    padding-left: 1.75em;
  }

  .sidebar-promo__btn {
    font-size: 14px;
    padding: 0.85em 1em;
  }
}

@media (max-width: 768px) {
  .main-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .sidebar {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-top: 40px;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    position: static;
    top: auto;
  }

  .sidebar-promo__head {
    padding: 1.25em 1.5em;
  }

  .sidebar-promo__title {
    font-size: 28px;
  }

  .sidebar-promo__list {
    padding: 1.25em 1.5em 0.5em;
  }

  .sidebar-promo__item {
    font-size: 17px;
    padding-left: 2em;
  }

  .sidebar-promo__btn {
    font-size: 18px;
    padding: 15px 40px;
  }

  article h1 {
    font-size: 26px;
  }

  .header-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .header-content .logo {
    margin-bottom: 10px;
  }

  .footer-link {
    display: block;
    margin: 5px 0;
  }

  .footer-links span {
    display: none;
  }

  .consent__actions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }

  .consent__btn + .consent__btn {
    margin-left: 0;
    margin-top: 12px;
  }

  .consent__btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .container {
    padding: 0 10px;
  }
  .sidebar-promo__title {
    font-size: 20px;
  }

}
