/*
* Bootstrap layout must be declared first to ensure lower specificity, preventing from overriding our custom layouts.
*/
@layer bootstrap, reset, elements, layout, components, utilities, overrides, states, accessibility;

/*
  BOOTSTRAP LAYER
  Import Bootstrap right after declaring the layers. It must precede all other CSS rules, otherwise the browser will ignore the @import.
  DO NOT UPGRADE: Version is locked to 4.3.1 (EOL). Upgrading to newer versions will cause breaking changes and compatibility issues.
*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css")
layer(bootstrap);

/* 
  TOKENS / DESIGN VARIABLES

  This is the place where we create the values that we will be reusing in the system.
  Text colors, fonts and the rest.
  This way, if we want to change just the style, it will be possible with minor changes.
*/

:root {
  --white-color-icon: invert(100%) sepia(100%) saturate(0%) hue-rotate(310deg)
    brightness(107%) contrast(101%);
  --primary-color-icon: invert(42%) sepia(44%) saturate(276%) hue-rotate(345deg)
    brightness(92%) contrast(87%);
  --black-color-icon: invert(0%) sepia(100%) saturate(7430%) hue-rotate(13deg)
    brightness(111%) contrast(114%);

  --text-black: rgb(0, 0, 0);
  --text-white: rgb(255, 255, 255);
  --text-gray: rgb(105, 105, 105);
  --text-primary-color: rgb(138, 119, 104);

  --white-color: rgb(255, 255, 255);
  --grey-color: rgb(58, 58, 58); /*axe*/
  --black-color: rgb(0, 0, 0);
  --light-grey-color: rgb(240, 240, 240);
  --watermark-color: rgb(245, 245, 245);

  --primary-color: rgb(131, 106, 86);
  --secondary-color: rgb(142, 116, 93);
  --primary-color-for-opacity: 131, 106, 86;

  --sidebar-width: 60px;
  --header-height: 60px;
  --padding-right: 3rem;
}

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  * {
    margin: 0;
  }
  body {
    min-height: 100dvh;
    line-height: 1.2;
  }
  input,
  button,
  textarea,
  select {
    font: inherit;
  }
  img,
  svg {
    display: block;
    max-width: 100%;
    height: auto;
  }
  p,
  h1,
  h2 {
    overflow-wrap: break-word;
  }
  button {
    border: none;
    padding: 0;
    cursor: pointer;
  }
}

@layer elements {
  body {
    font-family: "Roboto", sans-serif;
    background-color: var(--white-color);
    color: var(--black-color);
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  svg {
    width: 20px;
    height: 20px;
  }

  p {
    font-weight: 300;
    font-size: 1.1rem;
  }
}

@layer layout {
  body {
    display: grid;
    min-height: 100vh;
    margin: 0;

    grid-template:
      "header header" var(--header-height)
      "social main" 1fr
      "social footer" auto
      / var(--sidebar-width) minmax(0, 1fr);
  }
  header {
    grid-area: header;
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-height);
    z-index: 1000;
    background-color: var(--black-color);
    display: flex;
    align-items: center;
    padding-block: 3rem;
    color: var(--text-white);
    justify-content: space-between;
  }
  .social-sidebar {
    grid-area: social;
    position: fixed;
    inset: var(--header-height) auto 0 0;
    width: var(--sidebar-width);
    background-color: var(--black-color);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  main {
    grid-area: main;
    min-width: 0;
  }
  .footer {
    grid-area: footer;
    width: 100%;
    background-color: var(--black-color);
    color: var(--text-white);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding-block: 3rem;
    gap: 1rem;
  }
  .footer-right {
    font-weight: bold;
  }
  .logo-container {
    width: 200px;
  }
}

@layer components {
  .language-switcher-button {
    background: none;
  }
  .language-switcher-label {
    color: var(--text-white);
  }
  .language-switcher .language-switcher-icon-right {
    filter: var(--white-color-icon);
  }
  button.menu-link {
    color: var(--text-white);
    background: none;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 0.3rem;
  }
  .menu-dropdown.menu-submenu-bottom li > ul {
    gap: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  @media (min-width:1000px){/* Main dropdown panel */
  #main-menu > ul > li > [data-menu-submenu] {
    position: fixed;
    top: calc(var(--header-height) + 2.2rem);
    left: var(--sidebar-width);
    right: 0;
    min-width: 0;
    min-height: 12rem;
    margin: 0;
    padding: 1.5rem 2rem 1.5rem calc(200px + 4rem) !important;
    background: var(--secondary-color);
    z-index: 999;
  }
  /* First column */
  #main-menu > ul > li > [data-menu-submenu] > li {
    position: static !important;
    margin-bottom: 1.3rem !important;
  }
  #main-menu > ul > li > [data-menu-submenu] > li > [data-menu-submenu] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(200px + 4rem + 15.5rem) !important;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    min-width: 0;
    margin: 0;
    padding: 1.5rem 2rem !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }
  /* Arrow */
  #main-menu
    > ul
    > li
    > [data-menu-submenu]
    > li
    > [data-menu-submenu]::before {
    content: "";
    position: absolute;
    top: var(--submenu-arrow-top, 4rem);
    left: -6px;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
  } }
  #main-menu [data-menu-submenu][hidden] {
    display: none !important;
  }
  #main-menu [data-menu-submenu] .menu-link {
    position: relative;
  }
  #main-menu [data-menu-submenu] .menu-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
  }
  #main-menu [data-menu-submenu] .menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100%;
    height: 2px;
    background-color: var(--white-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s ease;
  }

  #main-menu > ul > li > .menu-link[aria-expanded="true"] {
    color: var(--primary-color);
  }
  /*header*/
  button.info-panel-toggle {
    width: 60px;
    display: flex;
    justify-content: center;
    background: none;
    align-items: center;
  }
  button.info-panel-toggle svg {
    filter: var(--white-color-icon);
  }
  .main-header .menu-wrapper {
    display: flex;
  }
  .header-menu {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    position: relative;
    padding-left: 4rem;
  }
  .menu > ul {
    align-items: center;
  }
  .component.menu > ul > li > .menu-link {
    position: relative;
  }
  .menu a,
  .language-switcher-label,
  .language-switcher-language,
  button.menu-link {
    text-transform: uppercase;
    font-weight: 500;
  }
  .header-right {
    justify-content: flex-end;
    display: flex;
    gap: 1rem;
    padding-right: var(--padding-right);
  }
  .header-right .search-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
  }
  .header-right .phone-button .contact-item svg {
    width: 16px;
    height: 16px;
    filter: var(--white-color-icon);
  }
  /*sidebar*/
  .social-sidebar .socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .social-sidebar .socials svg {
    filter: var(--white-color-icon);
  }
  /*footer*/
  .footer-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .footer-right .socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-right .socials svg {
    filter: var(--white-color-icon);
    width: 25px;
    height: 25px;
  }
  .footer-right .socials span,
  .social-sidebar .socials span {
    display: none;
  }
  .footer-right .language-switcher {
    justify-content: center;
    padding-block: 1rem;
  }
  .footer-right
    .language-switcher:has(.language-switcher-list:not([hidden]))
    .language-switcher-button
    svg {
    transform: rotate(-90deg);
  }

  .footer-left h3.merchant-title {
    padding-block: 1rem;
  }

  .lower-footer {
    background-color: var(--primary-color);
    color: var(--text-white);
  }
  .lower-footer .content-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 0.5rem;
  }
  .lower-footer img {
    width: 100%;
    max-width: 100px;
    height: auto;
  }
  .contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 1rem;
  }
  .contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
  }
  .contact-item.address,
  .contact-item[href^="mailto:"] {
    flex-basis: 100%;
    justify-content: center;
  }
  /* Phone numbers – Same row */
  .contact-item[href^="tel:"] {
    flex: 0 1 auto;
  }
  .contact-item svg {
    flex-shrink: 0;
    filter: var(--primary-color-icon);
  }

  /******************************************************************/
  @media (min-width: 1000px) {
    .footer-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .footer-left {
      grid-column: 1;
      justify-content: unset;
      align-items: flex-start;
    }
    .footer-center {
      grid-column: 2;
    }
    .footer-right {
      grid-column: 3;
      justify-content: flex-end;
      display: flex;
      flex-direction: column;
    }
    .menu > ul {
      align-items: flex-start;
    }
    .menu-dropdown.menu-submenu-bottom li > ul {
      align-items: flex-start;
    }
    .footer-right .language-switcher {
      justify-content: flex-end;
      margin-bottom: 2rem;
      padding: 0;
    }
    .footer-right .socials {
      justify-content: flex-end;
    }
    .contacts {
      justify-content: flex-end;
    }
    .contact-item.address,
    .contact-item[href^="mailto:"] {
      justify-content: flex-end;
    }
  }
}

@layer utilities {
  .content-area,
  .more-presentation,
  .article {
    width: 80%;
    max-width: 1280px;
    margin: 0 auto;
  }
  .contact-item.address {
    pointer-events: none;
    cursor: default;
  }
  .contact-item span,
  h3.merchant-title {
    overflow-wrap: anywhere;
  }
  .filled-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--secondary-color);
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    overflow-wrap: anywhere;
    flex-wrap: wrap;
  }
}

@layer overrides {
  .language-switcher .language-switcher-icon-right,
  button.menu-link .menu-icon {
    width: 13px !important;
    height: 15px !important;
  }
  .language-switcher-list {
    position: static !important;
    transform: none !important;
    margin-left: 0.3rem !important;
  }
  .header-right .search-wrapper svg {
    width: 16px !important;
    height: 16px !important;
    display: block;
    filter: var(--white-color-icon);
  }
  .menu-horizontal > ul,
  .header-menu {
    gap: 1.5rem !important;
  }

  @media (min-width: 1000px) {
    /* Footer menu – Two columns */
    .footer-center #footer-menu > ul {
      display: grid !important;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.3rem !important;
    }
  }
}

@layer states {
  /* Hover / Focus underline */
  .component.menu > ul > li > .menu-link::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s ease;
  }
  .component.menu
    > ul
    > li
    > .menu-link:not([aria-current="page"]):hover::after,
  .component.menu
    > ul
    > li
    > .menu-link:not([aria-current="page"]):focus-visible::after {
    transform: scaleX(1);
  }
  /* Current page – independent underline */
  .component.menu > ul > li > .menu-link[aria-current="page"] {
    position: relative;
    color: var(--secondary-color);
  }
  .component.menu.menu-horizontal
    > ul
    > li
    > .menu-link[aria-current="page"]::before {
    content: "";
    position: absolute;
    bottom: -2.4rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
  }
  .filled-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s ease;
    z-index: -1;
  }
  .filled-button:hover::before,
  .filled-button:focus-visible::before {
    transform: scaleX(1);
  }
  #main-menu [data-menu-submenu] .menu-link:hover::after,
  #main-menu [data-menu-submenu] .menu-link:focus-visible::after,
  #main-menu [data-menu-submenu] .menu-link[aria-expanded="true"]::after,
  #main-menu > ul > li > .menu-link[aria-expanded="true"]::after,
  #main-menu
    [data-menu-submenu]
    li:has(> [data-menu-submenu]:not([hidden]))
    > .menu-link::after {
    transform: scaleX(1);
  }
}

@layer accessibility {
}
#cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-bg-color);
  color: var(--text-light);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.6rem;
  z-index: 1000;
}
#cookies-agree {
  padding: 0.8rem;
  border: none;
}
#cookie-notice p {
  width: 50%;
}
.floating-messenger-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #0084ff;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 15px;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  z-index: 9999;
}
.floating-messenger-btn:hover {
  transform: translateY(-3px);
  background-color: #006bce;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.messenger-icon {
  width: 24px;
  height: 24px;
  fill: white;
}
#fixed-banner {
  display: block;
  position: fixed;
  bottom: auto;
  right: auto;
  left: auto;
  top: auto;
  width: 100%;
  height: auto;
  max-width: 400px;
  max-height: 100%;
  padding: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: auto;
  z-index: 999;
}
#fixed-banner.top {
  top: 0;
}
#fixed-banner.bottom {
  bottom: 0;
}
#fixed-banner.left {
  left: 0;
}
#fixed-banner.right {
  right: 0;
}
#fixed-banner > .inner-image {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}
#fixed-banner > .full-image {
  display: block;
  position: relative;
  width: auto;
  height: auto;
}
#fixed-banner > .close {
  position: absolute;
  top: 10px;
  bottom: auto;
  left: auto;
  right: 10px;
}
#fixed-banner > p,
#fixed-banner > h3,
#fixed-banner > div {
  display: block;
  width: 100%;
  padding: 20px 15px 0;
  margin: 0;
}
#fixed-banner > *:last-child:not(img) {
  padding-bottom: 20px;
}
#fixed-banner.goTo {
  cursor: pointer;
}
/*no container*/
.article:has(.noContainer),
.more-presentation:has(.noContainer) {
  max-width: unset !important;
  width: 100% !important;
}

/*dialog-box*/
.dialog {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  right: unset;
  bottom: unset;
}
.hidden {
  display: none;
}
.thumb {
  display: inline-block;
}
/*for accessiblie page banner with no title*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.footer .back-to-top-btn {
  position: absolute !important;
  padding: 0.5rem !important;
  top: 0;
  right: max(5%, calc((100% - 1280px) / 2));
  transform: translateY(-50%);
  z-index: 2;
  outline: 0.2rem solid white;
}
.footer .back-to-top-btn svg {
  width: 30px;
  height: 30px;
}
/* Style colors palette */
#color-palette {
  display: block;
  position: fixed;
  top: auto;
  bottom: 0;
  left: 0;
  right: auto;
  width: 600px;
  height: auto;
  margin: auto;
  padding: 0;
  color: #d5d5d5;
  transform: translateY(100%);
  transition: all 0.2s ease;
  z-index: 1001;
}
#color-palette.opened {
  transform: translateY(0%);
}
#palette-toggle {
  display: inline-block;
  position: absolute;
  top: auto;
  bottom: 100%;
  left: 0;
  right: auto;
  margin: auto;
  margin-bottom: -1px;
  padding: 10px;
  padding-right: 13px;
  background-color: #000000e3;
  cursor: pointer;
  border-top-right-radius: 20px;
  border-top: 1px solid #888888;
  border-right: 1px solid #888888;
  box-shadow: 3px -1px 5px 0px rgba(50, 50, 50, 0.62);
  z-index: 2;
}
.colors {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  padding: 1rem;
  background-color: #000000e3;
  border-top: 1px solid #888888;
  border-right: 1px solid #888888;
}
.colors > .swatch {
  flex: 0 0 calc((100% - 60px) / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.colors > .swatch > .circle {
  width: 65px;
  height: 65px;
  min-width: 65px;
  min-height: 65px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease;
}
/*rules for color palette*/ /* Main dropdown panel */
