/* 12.4.2025 version 1 */
:root {
  --colors-primary: #643100;
  --colors-secondary: #ff813e;
  --colors-secondary-light-200: #ff9961;
  --colors-light-200: #fff8ee;
  --colors-light-300: #f3e9dc;
  --colors-light-400: #e0d0be;
  --colors-green: #34be48;
  --colors-red: red;
}

body {
  background-color: var(--colors-light-200);
  font-family: "Roboto flex";
  color: var(--colors-primary);
}

#footer {
  position: relative;

  &::after {
    content: url("/user/documents/upload/redesign/assets/svg/deco-footer.svg");
    position: absolute;
    z-index: -1;
    top: -60px;
    left: 0px;
    display: block;
  }

  &::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: var(--colors-light-300);
  }
}

#footer > .container {
  background-color: transparent;
}

#footer h4 {
  text-transform: initial;
}

#footer ul a {
  color: var(--colors-primary);
}

#footer .custom-footer__address {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;

  &::before {
    content: url("/user/documents/upload/redesign/assets/svg/marker.svg");
    display: inline-block;
    aspect-ratio: 1/1;
    width: 16px;
    max-height: 16px;
    margin-right: 4px;
  }
}

#footer .custom-footer__company {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}

#footer .custom-footer__contact-link {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0;
  color: var(--colors-primary);

  &::before {
    content: "";
    display: inline-block;
    aspect-ratio: 1/1;
    width: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: var(--colors-secondary);
  }

  &:last-child {
    margin-bottom: 0;
  }
}

#footer .custom-footer__payment-methods {
  margin-bottom: 40px;
}

#footer .custom-footer__poll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

#footer .custom-footer__poll-wrapper img {
  margin-bottom: 48px;
}

#footer .custom-footer__socials {
  display: flex;
  justify-content: flex-end;
  column-gap: 16px;
}

#footer .custom-footer__social-item {
  position: relative;
  display: inline-block;

  &::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    max-width: 16px;
    max-height: 16px;
  }

  &::before {
    content: "";
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    width: 32px;
    border-radius: 50%;
    background-color: var(--colors-secondary);
  }
}

#footer .custom-footer__social-item.socials__facebook {
  &::after {
    content: url("/user/documents/upload/redesign/assets/svg/socials-facebook.svg");
  }
}

#footer .custom-footer__social-item.socials__instagram {
  &::after {
    content: url("/user/documents/upload/redesign/assets/svg/socials-instagram.svg");
  }
}

#footer .custom-footer__social-item.socials__youtube {
  &::after {
    content: url("/user/documents/upload/redesign/assets/svg/socials-youtube.svg");
  }
}

#header {
  background-color: transparent;
}

#header .site-name a img {
  max-height: 80px;
}

#hodnoceniobchodu {
  margin-bottom: 80px;
  padding-top: 56px;
  padding-bottom: 56px;
  background-color: transparent;
}

#hodnoceniobchodu h2 {
  margin-bottom: 56px;
  font-family: "Domine";
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
  color: var(--colors-primary);
}

#hodnoceniobchodu .rate-average {
  margin-right: 0;
  color: var(--colors-secondary);
}

#hodnoceniobchodu .shop-eval {
  justify-content: flex-start;
}

#hodnoceniobchodu .shop-stat-all {
  padding-top: 32px;
  padding-bottom: 48px;
}

#hodnoceniobchodu .shop-stat-all a {
  text-transform: initial;
}

#hodnoceniobchodu .stars-label {
  color: var(--colors-primary);
}

#hodnoceniobchodu .vote-wrap:not(.admin-response .vote-wrap) {
  background-color: #f3e9dc;
}

#hodnoceniobchodu .vote-content {
  padding-top: 16px;
  border-top: 1px solid;
  border-color: var(--colors-light-400);
  font-weight: 400;
  font-size: 16px !important;
  line-height: 20px;
  letter-spacing: 1px;
}

#hodnoceniobchodu .vote-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 1px;
}

#hodnoceniobchodu .vote-rating .vote-time {
  color: var(--colors-primary);
}

#hodnoceniobchodu .vote-summary {
  padding-bottom: 16px;
}

#hodnoceniobchodu .vote-wrap {
  border-radius: 0;
}

.availability .in-stock {
  color: #643100;

  &::before {
    content: "";
    position: relative;
    top: -1px;
    display: inline-block;
    aspect-ratio: 1 / 1;
    width: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background-color: var(--colors-green);
  }
}

.availability .out-of-stock {
  color: #643100;

  &::before {
    content: "";
    position: relative;
    top: -1px;
    display: inline-block;
    aspect-ratio: 1 / 1;
    width: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background-color: var(--colors-red);
  }
}

.availability-amount {
  display: none;
}

.benefitBanner {
  padding-top: 20px;
  border: 1px solid;
  border-color: var(--colors-light-400);
}

.benefitBanner__content {
  padding-right: 0;
}

.benefitBanner__item {
  margin-bottom: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 4%;
  padding-right: 4%;
  border-left: 1px solid;
  border-color: var(--colors-light-400);

  &:first-child {
    border: 0;
  }
}

.benefitBanner__link {
  color: var(--colors-primary);

  &:hover {
    color: var(--colors-secondary);
  }
}

.benefitBanner__title {
  font-family: "Domine";
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1px;
}

.btn {
  font-family: "Domine";
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0;
}

.btn,
a.btn {
  padding: 16px 32px;
  border: none;
  font-family: "Domine";
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: initial;
}

.btn.cart-count,
a.btn.cart-count {
  position: relative;

  &::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -2px;
    left: 17px;
    display: block;
    aspect-ratio: 1/1;
    width: 11px;
    border: 2px solid;
    border-color: var(--colors-light-300);
    border-radius: 50%;
    background-color: var(--colors-secondary);
  }

  &::before {
    content: url("/user/documents/upload/redesign/assets/svg/shopping-cart.svg");
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
  }
}

.btn.add-to-cart-button,
.btn.btn-cart {
  padding: 16px 13%;

  &::before {
    display: none;
  }
}

.compact-form .btn {
  height: 48px;
  padding: 13px 24px;
  border: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: initial;

  &:hover {
    background-color: var(--colors-secondary);
  }
}

.container {
  padding-left: 0;
  padding-right: 0;
}

.container > .row {
  margin-left: 0;
  margin-right: 0;
}

.content-wrapper {
  background-color: transparent;
}

.custom-footer {
  padding-top: 40px;
  padding-bottom: 40px;
  border: none;
}

.custom-footer > div {
  padding-left: 0;
  padding-right: 0;
}

.custom-footer__h4 {
  margin-bottom: 24px;
  font-family: "Domine";
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: var(--colors-primary);
}

.custom-footer__articles h4 span {
  margin-bottom: 24px;
  font-family: "Domine";
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: var(--colors-primary);
}

.custom-footer__list > li {
  margin-bottom: 8px;

  &:last-child {
    margin-bottom: 0;
  }
}

.custom-footer__articles > ul > li {
  margin-bottom: 8px;

  &:last-child {
    margin-bottom: 0;
  }
}

.custom-footer__list > li > a {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
}

.custom-footer__articles > ul > li > a {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
}

.custom-footer ul li {
  padding-bottom: 0;
}

.footer-bottom {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 100vw;
    height: 1px;
    background-color: var(--colors-light-400);
  }
}

.form-control {
  height: 48px;
  padding: 12px 16px;
  border-color: var(--colors-light-400);
  color: var(--colors-primary);

  &:focus {
    color: var(--colors-primary);
  }
}

.h4 {
  font-family: "Domine";
  color: var(--colors-primary);
}

.h4.homepage-group-title {
  margin-top: 56px;
  margin-bottom: 56px;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
}

.header-top .btn.cart-count .cart-price {
  font-family: "Roboto flex";
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0;
  vertical-align: middle;
  color: var(--colors-primary);
}

.homepage-box {
  margin-bottom: 0;
  padding-top: 24px;
  padding-bottom: 0;
  border-top: 0;
  border-bottom: 0;
}

.homepage-box.before-carousel {
  position: relative;

  &::after {
    content: url("/user/documents/upload/redesign/assets/svg/deco-header.svg");
    position: absolute;
    z-index: -1;
    bottom: -155px;
    right: 0;
    transform: translateY();
    display: none;
  }

  &::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 100vw;
    height: calc(100% - 24px);
    background-color: var(--colors-light-300);
  }
}

.homepage-box.welcome-wrapper {
  margin-top: 0;
  margin-bottom: 0;
  padding: 56px 0;
}

.menu-helper {
  top: auto;
  bottom: 16px;
}

.navigation-buttons > a[data-target="cart"] i {
  display: none;
}

.navigation-in ul li a {
  padding: 1.25rem 32px;
}

.p .name {
  color: var(--colors-primary);
}

.p-bottom {
  padding-top: 8px;
  padding-bottom: 8px;
  border-top: 1px solid;
  border-color: var(--colors-light-400);
}

.pribeh-popis {
  margin-top: 40px;
}

.price-final {
  font-family: "Roboto flex";
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--colors-primary);
}

.product .p-in {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product .p-in-in {
  display: flex;
  flex-direction: column;
  /* flex: 1; */
  justify-content: space-between;
}

.products .name {
  font-family: "Domine";
}

.products > div {
  border-color: transparent;
}

.products-block {
  position: relative;
  column-gap: 24px;
  row-gap: 48px;
  padding-bottom: 104px;
}

.homepage-products-1,
.homepage-products-2 {
  &::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 100vw;
    height: 1px;
    background-color: var(--colors-light-400);
  }
}

.products-block.products > div {
  padding: 0;
}

.products-block.products .p .name {
  /* height: auto; */
  font-weight: 700;
  /* font-size: 24px; */
  /* line-height: 32px; */
  letter-spacing: 1px;
  overflow: visible;
}

.products-block .image {
  margin-bottom: 0;
}

.products-block .p {
  gap: 24px;
}

.products-block .p a.image {
  /* aspect-ratio: 1/1; */
  border: 1px solid;
  border-color: var(--colors-light-400);
}

/*
.products-block .p a.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
*/

.products-block .p-code {
  display: none;
  background-color: transparent;
}

.products-block .p-bottom .prices {
  align-self: center;
}

.products-block .p-bottom .p-desc {
  display: -webkit-box;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid;
  border-color: var(--colors-light-400);
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1px;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.products-block .ratings-wrapper .availability {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1px;
  text-align: left;
  color: var(--colors-primary);
}

.responsive-tools > a[data-target="search"]:before {
  color: var(--colors-primary);
}

/*
.stars span.star-half {
  &::before {
    width: 100%;
    height: 100%;
    content: url("/user/documents/upload/redesign/assets/svg/star-outline.svg");
  }
}

.stars a.star-off:before {
  &::before {
    width: 100%;
    height: 100%;
    content: url("/user/documents/upload/redesign/assets/svg/star-outline.svg");
  }
}

.stars span.star-on {
  &::before {
    width: 100%;
    height: 100%;
    content: url("/user/documents/upload/redesign/assets/svg/star-primary.svg");
  }
}

.stars {
  width: auto;
  height: 20px;
}

.stars .star {
  aspect-ratio: 1/1;
  width: 20px;
  margin-left: 8px;
}

*/

.text-and-media {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.text-and-media h1 {
  font-family: "Domine";
  font-weight: 700;
  font-size: 40px;
  line-height: 40px;
  color: var(--colors-primary);
}

.text-and-media__col p {
  margin-bottom: 40px;
}

.text-and-media__media {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    bottom: -32px;
    left: -32px;
    display: block;
    aspect-ratio: 29/25;
    width: 34%;
    max-width: 232px;
    background-image: url("/user/documents/upload/redesign/assets/svg/deco-text-and-media.svg");
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.top-navigation-bar {
  border-top: 0;
  border-bottom-color: var(--colors-light-400);
  background-color: transparent;
}

.top-navigation-bar a {
  color: var(--colors-primary);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}

.top-navigation-bar-menu {
  display: none;
}

.top-navigation-contacts {
  background-color: transparent;
}

.top-navigation-contacts a.project-phone,
.top-navigation-contacts a.project-email {
  &::before {
    content: "";
    display: none;
    aspect-ratio: 1/1;
    width: 8px;
    vertical-align: middle;
    border-radius: 50%;
    line-height: 24px;
    background-color: var(--colors-secondary);
  }
}

.top-navigation-menu {
  height: auto;
  background-color: transparent;
}

.welcome > h1 {
  display: none;
}

.welcome div {
  max-width: 100%;
}

@media (max-width: 767px) {
  .custom-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .text-and-media {
    padding-left: 10px;
    padding-right: 10px;
  }

  .top-navigation-bar .responsive-tools {
    background-color: var(--colors-light-400);
  }
}

@media (min-width: 321px) and (max-width: 767px) {
  .columns-mobile-2 .products-block > div {
    width: calc(50% - 12px);
  }
}

@media (min-width: 768px) {
  #header .cart-count {
    display: block;
    max-height: 48px;
    padding: 12px 16px;
    background-color: var(--colors-light-300);
  }

  #header .site-name {
    padding-right: 24px;
  }

  #navigation {
    height: 64px;
    margin-left: 0;
    margin-right: 0;
  }

  .btn.cart-count,
  a.btn.cart-count {
    position: relative;

    &::after {
      top: 10px;
      left: 33px;
    }
  }
  /*
  .content {
    padding: 0;
  }
    */

  .fitted .navigation-in {
    height: 100%;
  }

  .fitted .navigation-in ul {
    justify-content: space-between;
    height: 100%;
  }

  .header-top {
    height: 128px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .header-top .btn.cart-count {
    &::before {
      margin-right: 0;
    }
  }

  .navigation-in {
    background-color: var(--colors-secondary-light-200);
  }

  .navigation-in > ul > li {
    height: 100%;
    border-color: transparent;
  }

  .navigation-in > ul > li > a {
    &:hover {
      margin-left: 0;
      margin-right: 0;
      text-decoration: underline;
      color: var(--colors-primary);
      background-color: transparent;
    }
  }

  .navigation-in > ul > li.ext > a {
    position: relative;

    &::after {
      content: "";
      transform: translateY(-2px) rotate(225deg);
      display: inline-block;
      aspect-ratio: 1/1;
      width: 8px;
      margin-left: 8px;
      border-top: 2px solid;
      border-left: 2px solid;
      border-color: var(--colors-primary);
      transition: 0.3s ease transform;
    }

    &:hover {
      &::after {
        transform: translateY(2px) rotate(45deg);
      }
    }
  }

  .navigation-in > ul > li.ext.exp > a {
    padding-left: 32px;
    padding-right: 32px;
    font-weight: 700;
    color: var(--colors-primary);
    background-color: transparent;

    &::after {
      transform: translateY(2px) rotate(45deg);
    }
  }

  .navigation-in > ul > li > a {
    min-height: 64px;

    &:hover {
      padding-left: 32px;
      padding-right: 32px;
    }
  }

  .navigation-in > ul > li:first-child > a {
    &:hover {
      padding-left: 32px;
    }
  }

  .navigation-in > ul > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--colors-primary);
  }

  .navigation-in ul li a b {
    font-weight: inherit;
  }

  .navigation-in ul.menu-level-2 {
    min-height: 76px;
  }

  .products-block {
    column-gap: 8%;
  }

  .products-block > div {
    width: 46%;
  }

  .text-and-media {
    flex-direction: row;
    column-gap: 80px;
    align-items: center;
  }

  .text-and-media__col {
    flex-basis: calc(50% - 40px);
  }

  .top-navigation-bar .container {
    height: 56px;
    padding-left: 0;
    padding-right: 0;
  }

  .top-navigation-bar .top-nav-button-login {
    &::before {
      content: url("/user/documents/upload/redesign/assets/svg/user.svg");
      position: relative;
      top: 1px;
      display: inline-block;
      max-height: 16px;
      margin-right: 8px;
    }
  }

  .top-navigation-contacts a > span {
    display: inline;
  }

  .top-navigation-contacts a.project-phone,
  .top-navigation-contacts a.project-email {
    &::before {
      display: inline-block;
    }
  }
}

@media (min-width: 992px) {
  .benefitBanner__item {
    flex: 1 1 50%;
  }
}

@media (min-width: 1200px) {
  .benefitBanner__item {
    flex: 1 1 25%;
  }

  .btn.cart-count,
  a.btn.cart-count {
    &::before {
      margin-right: 16px;
    }
  }

  .custom-footer {
    padding-top: 40px;
    padding-left: 0;
  }

  .header-top .btn.cart-count {
    &::before {
      margin-right: 16px;
    }
  }

  .products-block {
    column-gap: 4%;
  }

  .products-block > div {
    width: 22%;
  }
}

@media (min-width: 1440px) {
  .container {
    width: 1416px;
  }
}

@media (min-width: 1730px) {
  .homepage-box.before-carousel {
    &::after {
      display: block;
    }
  }
}

/* oprava zobrazovani produktu na HP */

.products.products-block.homepage-products-2,
.products.products-block.homepage-products-4,
.products.products-block.homepage-products-1 {
  column-gap: normal !important;
  justify-content: space-between !important;
  & > div {
    padding: 10px !important;
  }
}

.overall-wrapper .content-wrapper.latest-contribution-box {
  display: none;
}

.site-msg.information {
  background-color: #ffbb00 !important;
}
