/*****************************************************/
/*                      BASE                         */
/*****************************************************/
:root {
  --cdmc-ink: #171717;
  --cdmc-ink-deep: #29263d;
  --cdmc-ink-soft: #3d3b52;
  --cdmc-muted: #b1b1b1;

  --cdmc-blue: #385bff;
  --cdmc-blue-alt: #5170ff;
  --cdmc-red: #e9262c;
  --cdmc-yellow: #ffd336;
  --cdmc-slate: #5b6a8c;

  --cdmc-surface: #ededed;
  --cdmc-surface-soft: #f2f2f0;
  --cdmc-surface-card: #fcfcfb;
  --cdmc-surface-places: #d8ebfd;
  --cdmc-white: #fff;

  --cdmc-radius: 14px;
  --cdmc-border: 1px solid var(--cdmc-ink);
  --cdmc-font: "Google Sans Flex", sans-serif;
  --cdmc-gap: 20px;
  --cdmc-section-gap: 64px;
  --cdmc-max: 1344px;
  --cdmc-tri-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='19' viewBox='0 0 14 19'%3E%3Cpath d='M12.2637 7.56374C13.2772 8.36449 13.2772 9.90163 12.2637 10.7024L3.23985 17.8317C1.92841 18.8678 0 17.9337 0 16.2624L0 2.00372C0 0.332366 1.92841 -0.601716 3.23986 0.4344L12.2637 7.56374Z'/%3E%3C/svg%3E");
}
html {
  font-family: var(--cdmc-font);
}
body {
  font-family: var(--cdmc-font);
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--cdmc-font);
}
.cdmc-section {
  box-sizing: border-box;
  width: 100%;
  font-family: var(--cdmc-font);
  color: var(--cdmc-ink);
}
.cdmc-section *,
.cdmc-section *::before,
.cdmc-section *::after {
  box-sizing: border-box;
}
.cdmc-section img {
  display: block;
  max-width: 100%;
}
.cdmc-section a {
  text-decoration: none;
  color: inherit;
}
.cdmc-tri {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.737em;
  height: 1em;
  background-color: var(--cdmc-blue);
  -webkit-mask: var(--cdmc-tri-shape) no-repeat center / contain;
  mask: var(--cdmc-tri-shape) no-repeat center / contain;
}
.cdmc-tri--left {
  transform: scaleX(-1);
}
.cdmc-tri--down {
  transform: rotate(90deg);
}
.cdmc-tri--red {
  background: var(--cdmc-red);
}
.cdmc-tri--yellow {
  background: var(--cdmc-yellow);
}
.cdmc-tri--slate {
  background: var(--cdmc-slate);
}
.cdmc-tri--ink {
  background: var(--cdmc-ink-soft);
}
.cdmc-tri--white {
  background: var(--cdmc-white);
}
.homepage-group-title {
  font-size: 32px;
  font-family: var(--cdmc-font);
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
}
.cdmc-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 22px;
  font-size: 32px;
  font-family: var(--cdmc-font);
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
}
.cdmc-heading .cdmc-tri {
  font-size: 30px;
}
.cdmc-heading em {
  font-style: normal;
  color: var(--cdmc-blue);
}
.cdmc-subheading {
  max-width: 1074px;
  margin: 0 auto 28px;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
  font-family: var(--cdmc-font);
  color: #171717;
}
.cdmc-carousel {
  position: relative;
  padding: 0 44px;
}

.cdmc-carousel__viewport {
  overflow: hidden;
}
.cdmc-carousel__track {
  display: flex;
  gap: var(--cdmc-gap);
  touch-action: pan-y;
}
.cdmc-carousel__track > * {
  scroll-snap-align: start;
}
.cdmc-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 50px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 46px;
  line-height: 0;
}
.cdmc-carousel__btn[disabled] {
  opacity: 0.25;
  cursor: default;
}
.cdmc-carousel__btn--prev {
  left: 0;
}
.cdmc-carousel__btn--next {
  right: 0;
}
.cdmc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 37px;
  padding: 10px 22px;
  border-radius: var(--cdmc-radius);
  background: var(--cdmc-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #120a23;
  cursor: pointer;
}
.cdmc-btn--outline {
  border: 1px solid var(--cdmc-ink-soft);
  background: transparent;
  color: var(--cdmc-ink-soft);
}
.cdmc-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}
.cdmc-stars svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: var(--cdmc-blue-alt);
}
@media (max-width: 991px) {
  :root {
    --cdmc-section-gap: 44px;
  }
  .cdmc-heading {
    font-size: 30px;
  }
}
@media (max-width: 767px) {
  .cdmc-heading {
    font-size: 24px;
    gap: 12px;
  }
  .cdmc-subheading {
    font-size: 16px;
  }
  .cdmc-carousel {
    padding: 0 28px;
  }
  .cdmc-carousel__btn {
    width: 20px;
    height: 40px;
    font-size: 30px;
  }
}

/*****************************************************/
/*                   CATEGORIES                      */
/*****************************************************/

.row.banners-row .col-sm-8 {
  margin-bottom: 30px;
}
.row.banners-row .col-sm-8,
.row.banners-row .col-sm-4 {
  width: 100%;
}
.next-to-carousel-banners {
  padding: 0;
}
.carousel-inner {
  display: flex;
  gap: 5px;
  min-height: auto !important;
}
.carousel-inner > .item {
  width: calc((100% - 5px) / 2);
}
.carousel-inner > .item,
.carousel-inner > .item.active,
.carousel-inner > .item.next,
.carousel-inner > .item.prev,
.carousel-inner > .item.active.left,
.carousel-inner > .item.active.right,
.carousel-inner > .item.next.left,
.carousel-inner > .item.prev.right {
  display: block !important;
  left: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  -webkit-transform: none !important;
  transition: none !important;
  -webkit-transition: none !important;
  animation: none !important;
  backface-visibility: visible !important;
  perspective: none !important;
}

@media (transform-3d), (-webkit-transform-3d) {
  .carousel-inner > .item {
    transform: none !important;
    -webkit-transform: none !important;
    transition: none !important;
    backface-visibility: visible !important;
    perspective: none !important;
  }
}
.carousel-control {
  display: none;
}

.cdmc-categories__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px;
  margin-bottom: 27px;
}
.cdmc-categories__tab {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 100px;
  padding: 20px 24px;
  border-radius: var(--cdmc-radius);
  background: var(--cdmc-surface);
  font-size: 32px;
  font-weight: 800;
  color: var(--cdmc-ink-deep);
  box-shadow: 2px 8px 4.3px -2px rgba(0, 0, 0, 0.2) inset;
  transition: background 0.15s ease;
}
.cdmc-categories__tab:hover {
  background: #e3e3e3;
}
.cdmc-categories__tab .cdmc-tri {
  font-size: 36px;
}
.cdmc-categories__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 21px;
}
.cdmc-categories__item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 161px;
  gap: 10px;
  padding: 20px 16px;
  border-radius: var(--cdmc-radius);
  background: rgba(242, 242, 240, 0.26);
  box-shadow: 2px 8px 4.3px -2px rgba(0, 0, 0, 0.1) inset;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.cdmc-categories__item:hover {
  background: var(--cdmc-surface-soft);
  transform: translateY(-2px);
}
.cdmc-categories__icon {
  flex: 0 0 auto;
  width: 57px;
  height: 51px;
  min-height: 51px !important;
  margin-bottom: 12px;
  object-fit: contain;
}
.cdmc-categories__label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 400;
}
.cdmc-categories__label strong {
  font-weight: 800;
}
.cdmc-categories__label .cdmc-tri {
  font-size: 22px;
}
@media (max-width: 1200px) {
  .cdmc-categories__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .cdmc-categories__tab {
    min-height: 76px;
    font-size: 24px;
  }
}
@media (max-width: 767px) {
  .carousel-inner {
    flex-direction: column;
  }
  .carousel-inner > .item {
    width: 100%;
  }
  .cdmc-categories__tabs {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .cdmc-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .cdmc-categories__item:last-child {
    display: none !important;
  }
  .cdmc-categories__label {
    font-size: 14px;
  }
}

/*****************************************************/
/*                   IMAGE CARDS                     */
/*****************************************************/

.banners-content.body-banners .col-sm-12 {
  width: 100%;
  flex: 1 1 50%;
}
.cdmc-imagecards .cdmc-carousel__track {
  gap: 45px;
}
.cdmc-imagecards__item {
  overflow: hidden;
  border-radius: var(--cdmc-radius);
}

.cdmc-imagecards__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cdmc-imagecards__item:hover img {
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .cdmc-imagecards .cdmc-carousel__track {
    gap: 20px;
  }
}

/*****************************************************/
/*                     PLACES                        */
/*****************************************************/

.banners-content.body-banners {
  gap: 50px;
}
.banners-content.body-banners > div {
  width: 100%;
}
.cdmc-places__panel {
  padding: 36px 30px 30px;
  border-radius: var(--cdmc-radius);
  background: var(--cdmc-surface-places);
}

.cdmc-places .cdmc-carousel {
  padding: 0 40px;
}

.cdmc-places__item {
  padding: 24px 20px 20px;
  border-radius: var(--cdmc-radius);
  background: var(--cdmc-white);
}

.cdmc-places__item img {
  width: 100%;
  /* v návrhu 179 × 179 */
  aspect-ratio: 1;
  margin-bottom: 22px;
  border-radius: var(--cdmc-radius);
  object-fit: cover;
}

.cdmc-places__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 17px;
  font-family: var(--cdmc-font);
  font-weight: 800;
  line-height: 1.24;
}

.cdmc-places__name .cdmc-tri {
  font-size: 25px;
}
.cdmc-places .cdmc-carousel__btn {
  filter: drop-shadow(4px 4px 4.8px rgba(0, 0, 0, 0.32));
}

/* --- spodní lišta: "načíst další" + hledání ----------------------- */
.cdmc-places__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 0 40px;
}

.cdmc-places__more {
  flex: 0 0 299px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  font-family: var(--cdmc-font);
}

@media (max-width: 991px) {
  .cdmc-places__actions {
    flex-wrap: wrap;
  }

  .cdmc-places__caret {
    display: none;
  }

  .cdmc-places__more,
  .cdmc-places__search {
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .cdmc-places__panel {
    padding: 20px 12px;
  }

  .cdmc-places .cdmc-carousel {
    padding: 0 28px;
  }
  .cdmc-places__actions {
    padding: 0 28px;
  }
}

/*****************************************************/
/*                      REVIEWS                      */
/*****************************************************/

#hodnoceniobchodu {
  --cdmc-star-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.26 6.85.7-5.1 4.6 1.44 6.72L12 16.9l-6.09 3.38 1.44-6.72-5.1-4.6 6.85-.7z'/%3E%3C/svg%3E");
  --cdmc-user-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5z'/%3E%3C/svg%3E");

  box-sizing: border-box;
  display: block;
  margin: 0 auto var(--cdmc-section-gap, 64px);
  padding: 0 16px;
  font-family: var(--cdmc-font);
  color: var(--cdmc-ink, #171717);
}

#hodnoceniobchodu * {
  box-sizing: border-box;
}

#hodnoceniobchodu > br {
  display: none;
}
#hodnoceniobchodu > h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 18px;
  font-family: var(--cdmc-font);
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
}

#hodnoceniobchodu > h2 a {
  text-decoration: none;
  color: inherit;
}

#hodnoceniobchodu > h2::before,
#hodnoceniobchodu > h2::after {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 30px;
  background-color: var(--cdmc-blue, #385bff);
  -webkit-mask: var(--cdmc-tri-shape) no-repeat center / contain;
  mask: var(--cdmc-tri-shape) no-repeat center / contain;
}

#hodnoceniobchodu > h2::after {
  transform: scaleX(-1);
}
#hodnoceniobchodu .shop-eval-stars {
  margin: 0 0 28px;
  text-align: center;
}

#hodnoceniobchodu .rate-average-inner {
  display: none;
}
#hodnoceniobchodu .stars {
  display: inline-flex;
  gap: 0 !important;
  vertical-align: middle;
  font-size: 20px;
  line-height: 1;
}

#hodnoceniobchodu .star {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: #d9d9d9;
  -webkit-mask: var(--cdmc-star-shape) no-repeat center / contain;
  mask: var(--cdmc-star-shape) no-repeat center / contain;
}

#hodnoceniobchodu .star::before,
#hodnoceniobchodu .star::after {
  content: none;
}

#hodnoceniobchodu .star-on {
  background-color: var(--cdmc-blue-alt, #5170ff);
}

#hodnoceniobchodu .star-half {
  background-color: transparent;
  background-image: linear-gradient(
    90deg,
    var(--cdmc-blue-alt, #5170ff) 50%,
    #d9d9d9 50%
  );
}
#hodnoceniobchodu .shop-eval {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
#hodnoceniobchodu .vote-wrap:nth-of-type(n + 5) {
  display: none;
}

#hodnoceniobchodu .vote-wrap {
  display: grid !important;
  width: 100%;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 15px;
  align-content: start;
  margin: 0;
  padding: 20px !important;
  border-radius: var(--cdmc-radius, 14px) !important;
  background: var(--cdmc-surface-soft, #f2f2f0);
  box-shadow: 2px 8px 4.3px -2px rgba(0, 0, 0, 0.2) inset;
}
#hodnoceniobchodu .vote-wrap::before {
  content: "";
  display: block !important;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* webpackIgnore drzi cestu tak, jak je - soubor lezi az na eshopu */
  background-image: /* webpackIgnore: true */ url("/user/documents/upload/avatar.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

#hodnoceniobchodu .vote-header {
  grid-column: 2;
  grid-row: 1;
}

#hodnoceniobchodu .vote-content {
  grid-column: 1 / span 2;
  grid-row: 2;
}
#hodnoceniobchodu .vote-summary {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

#hodnoceniobchodu .vote-name {
  font-size: 22px;
  line-height: 1.26;
  font-weight: 700;
  white-space: normal;
}

#hodnoceniobchodu .vote-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  gap: 8px 12px;
  font-size: 18px;
  line-height: 1.25;
}

#hodnoceniobchodu .vote-time {
  order: -1;
  flex: 1 1 100%;
}

#hodnoceniobchodu .vote-delimeter {
  display: none !important;
}

#hodnoceniobchodu .vote-content {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
}

#hodnoceniobchodu .vote-content br {
  display: none;
}

#hodnoceniobchodu .heureka-rating-group {
  margin: 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#hodnoceniobchodu .heureka-rating-group > div {
  position: relative;
  margin-bottom: 0px;
  padding-left: 15px;
  line-height: 1;
}
#hodnoceniobchodu .heureka-rating-group.plus > div::first-letter {
  font-size: 0;
}

#hodnoceniobchodu .heureka-rating-group.plus > div::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 10px;
  height: 15px;
  background-color: var(--cdmc-blue, #385bff);
  -webkit-mask: var(--cdmc-tri-shape) no-repeat center / contain;
  mask: var(--cdmc-tri-shape) no-repeat center / contain;
}
#hodnoceniobchodu .shop-stat-all {
  display: none;
}

@media (max-width: 1200px) {
  #hodnoceniobchodu .shop-eval {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  #hodnoceniobchodu > h2 {
    font-size: 24px;
  }

  #hodnoceniobchodu .shop-eval {
    grid-template-columns: minmax(0, 1fr);
  }

  #hodnoceniobchodu .vote-name {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  #hodnoceniobchodu > h2 {
    font-size: 24px;
    gap: 12px;
  }

  #hodnoceniobchodu .vote-wrap {
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 16px;
    padding: 24px 20px;
  }

  #hodnoceniobchodu .vote-wrap::before {
    width: 80px;
    height: 80px;
  }

  #hodnoceniobchodu .vote-name {
    font-size: 20px;
  }

  #hodnoceniobchodu .vote-rating,
  #hodnoceniobchodu .vote-content {
    font-size: 16px;
  }
}

/*****************************************************/
/*                      BLOG                         */
/*****************************************************/

.homepage-blog-wrapper {
  box-sizing: border-box;
  display: block;
  padding: 40px 0px 60px;
  font-family: var(--cdmc-font);
  color: var(--cdmc-ink);
}
.blog-btn {
  display: none;
}
.homepage-blog-wrapper * {
  box-sizing: border-box;
}

.homepage-blog-wrapper .homepage-group-title {
  margin: 0 0 22px;
  font-family: var(--cdmc-font);
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  color: var(--cdmc-ink);
}

/* Konstrukce karuselu je tu zopakovaná, aby blok fungoval i bez 00-base.css. */
.homepage-blog-wrapper .cdmc-carousel {
  position: relative;
  padding: 0 50px;
}

.homepage-blog-wrapper .cdmc-carousel__viewport {
  overflow: hidden;
}

.homepage-blog-wrapper .cdmc-carousel__track {
  display: flex;
  gap: 26px;
  will-change: transform;
  touch-action: pan-y;
}

.homepage-blog-wrapper .cdmc-carousel__track > * {
  flex: 0 0 auto;
}

.homepage-blog-wrapper .cdmc-carousel__btn {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 50px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 46px;
  line-height: 0;
  transform: translateY(-50%);
  z-index: 1;
}

.homepage-blog-wrapper .cdmc-carousel__btn--prev {
  left: 0;
}

.homepage-blog-wrapper .cdmc-carousel__btn--next {
  right: 0;
}

.homepage-blog-wrapper .cdmc-tri {
  display: inline-block;
  width: 0.737em;
  height: 1em;
  background-color: var(--cdmc-blue, #385bff);
  -webkit-mask: var(--cdmc-tri-shape) no-repeat center / contain;
  mask: var(--cdmc-tri-shape) no-repeat center / contain;
}

.homepage-blog-wrapper .cdmc-tri--left {
  transform: scaleX(-1);
}

/* Šířku karty počítá blog.js, šablonovou tu jen přebijeme. */
.homepage-blog-wrapper .news-item {
  margin: 0;
  padding: 0;
}

.homepage-blog-wrapper .news-item > a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.homepage-blog-wrapper .news-item > a.more {
  display: none;
}

.homepage-blog-wrapper .news-item .image {
  margin: 0;
  padding: 0;
}

.homepage-blog-wrapper .news-item .image img {
  display: block;
  width: 100%;
  height: auto;
  /* v návrhu 345 × 220 */
  aspect-ratio: 345 / 220;
  object-fit: cover;
  border-radius: var(--cdmc-radius);
}

/* Bílý štítek s názvem, přesahující spodek fotky. */
.homepage-blog-wrapper .news-item .text {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 14px 44px 0px 0px;
}

.homepage-blog-wrapper .news-item .title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--cdmc-ink);
}

/* Návrh v štítku ukazuje jen název — perex a "číst článek" jsou navíc. */
.homepage-blog-wrapper .news-item .description,
.homepage-blog-wrapper .news-item .read-article {
  display: none;
}

/* Šipka vpravo ve štítku, barva se po kartách střídá. */
.homepage-blog-wrapper .news-item .text::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 18px;
  height: 25px;
  transform: translateY(-50%);
  background-color: var(--cdmc-blue);
  -webkit-mask: var(--cdmc-tri-shape) no-repeat center / contain;
  mask: var(--cdmc-tri-shape) no-repeat center / contain;
}

.homepage-blog-wrapper .news-item:nth-child(3n + 1) .text::after {
  background-color: var(--cdmc-red);
}

.homepage-blog-wrapper .news-item:nth-child(3n + 3) .text::after {
  background-color: var(--cdmc-yellow);
}

@media (max-width: 991px) {
  .homepage-blog-wrapper .homepage-group-title {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .homepage-blog-wrapper {
    padding: 24px 12px 32px;
  }

  .homepage-blog-wrapper.four-art .news-item:nth-child(n + 4),
  .homepage-blog-wrapper.three-art .news-item:nth-child(n + 4) {
    display: flex;
  }

  .homepage-blog-wrapper .homepage-group-title {
    font-size: 24px;
  }

  .homepage-blog-wrapper .cdmc-carousel {
    padding: 0 28px;
  }

  .homepage-blog-wrapper .news-item .text {
    min-height: 68px;
  }

  .homepage-blog-wrapper .news-item .title {
    font-size: 17px;
  }
  .homepage-blog-wrapper .cdmc-carousel__btn {
    width: 20px;
    height: 40px;
    font-size: 30px;
  }
}

/*****************************************************/
/*                      ABOUT                        */
/*****************************************************/

.welcome-wrapper .welcome {
  background: transparent;
  box-shadow: none;
  background-image: url("/user/documents/upload/aboutus-bg.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}

.cdmc-about__inner {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 703px);
  gap: 60px;
  align-items: center;
}

.cdmc-about__visual img {
  width: 100%;
  height: auto;
}

.cdmc-about__title {
  margin: 0 0 22px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
}

.cdmc-about__text {
  margin: 0 0 42px;
  font-size: 20px;
  line-height: 1.45;
}

.cdmc-about__text p {
  margin: 0 0 1em;
}

.cdmc-about__text p:last-child {
  margin-bottom: 0;
}

.cdmc-about__text strong {
  font-weight: 700;
}

.cdmc-about__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 24px;
}

.cdmc-about__btn .cdmc-tri {
  font-size: 19px;
}

@media (max-width: 1200px) {
  .cdmc-about__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .cdmc-about__visual img {
    max-width: 420px;
  }
}

@media (max-width: 767px) {
  .cdmc-about__title {
    font-size: 28px;
  }

  .cdmc-about__text {
    font-size: 16px;
    margin-bottom: 28px;
  }
}


/*****************************************************/
/*                      FOOTER                       */
/*****************************************************/

#footer {
  margin-top: 20px !important;
  background-color: #d8ebfd;
}
.footer-rows .custom-footer {
  display: flex;
}
.custom-footer__contact {
  display: none;
}
.custom-footer > div {
  width: calc(100% / 3);
}

.custom-footer__banner25 {
  margin: 0px;
}

.cdmc-contact {
  box-sizing: border-box;
  padding: 30px 34px;
  border-radius: var(--cdmc-radius, 14px);
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--cdmc-font);
  color: var(--cdmc-ink, #171717);
}

.cdmc-contact * {
  box-sizing: border-box;
}

.cdmc-contact__title {
  margin: 0 0 26px;
  font-family: var(--cdmc-font);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  color: inherit;
}

.cdmc-contact__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cdmc-contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cdmc-contact__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
}

.cdmc-contact__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--cdmc-ink, #171717);
}

.cdmc-contact__link {
  font-size: 16px;
  line-height: 1.4;
  text-decoration: underline;
  color: inherit;
}

.cdmc-contact__link--plain {
  text-decoration: none;
}

.cdmc-contact__link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .cdmc-contact {
    padding: 22px 20px;
  }

  .cdmc-contact__title {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .cdmc-contact__icon {
    width: 22px;
    height: 16px;
  }
  .cdmc-contact__link {
    font-size: 14px;
  }
}

.cdmc-socials {
  box-sizing: border-box;
  font-family: var(--cdmc-font);
  color: var(--cdmc-ink, #171717);
}

.cdmc-socials * {
  box-sizing: border-box;
}

.cdmc-socials__title {
  margin: 0 0 20px;
  font-family: var(--cdmc-font);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  color: inherit;
}

.cdmc-socials__list {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-footer__articles li a {
  font-size: 16px;
}

.cdmc-socials__list li {
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

.cdmc-socials__link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  color: inherit;
}

.cdmc-socials__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
}

.cdmc-socials__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: #fff;
}

.cdmc-socials__label {
  text-decoration: underline;
}

.cdmc-socials__link:hover .cdmc-socials__label {
  text-decoration: none;
}
@media (max-width: 992px) {
  .custom-footer > div {
    width: 100%;
  }
  .cdmc-contact {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
  .footer-rows .custom-footer {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .cdmc-socials__title {
    margin-bottom: 16px;
    font-size: 20px;
  }
  .custom-footer__articles li a,
  .cdmc-socials__link {
    font-size: 14px;
  }
  .cdmc-socials__icon {
    width: 30px;
    height: 30px;
  }

  .cdmc-socials__icon svg {
    width: 20px;
    height: 20px;
  }
}

/*****************************************************/
/*                      STORE                        */
/*****************************************************/

:root { 
  --cdmc-icon-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23385bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='3'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M6 15h4'/%3E%3C/svg%3E");
  --cdmc-icon-parcel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23385bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8.5v7a1.6 1.6 0 0 1-.85 1.4l-7.4 4a1.6 1.6 0 0 1-1.5 0l-7.4-4A1.6 1.6 0 0 1 3 15.5v-7a1.6 1.6 0 0 1 .85-1.4l7.4-4a1.6 1.6 0 0 1 1.5 0l7.4 4A1.6 1.6 0 0 1 21 8.5z'/%3E%3Cpath d='M3.3 7.6 12 12.3l8.7-4.7'/%3E%3Cpath d='M12 12.3V21'/%3E%3C/svg%3E"); 
  --cdmc-icon-parking: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23385bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Cpath d='M9.5 17V7.5h3.2a3.1 3.1 0 0 1 0 6.2H9.5'/%3E%3C/svg%3E"); 
  --cdmc-icon-pedestrian: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23385bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Ccircle cx='12' cy='7.4' r='1.2'/%3E%3Cpath d='M12 9.4v3.2'/%3E%3Cpath d='M12 12.6 10.1 17.2'/%3E%3Cpath d='m12 12.6 1.9 4.6'/%3E%3Cpath d='M9.7 11.2 12 10.1l2.3 1.5'/%3E%3C/svg%3E");
}

.news-wrapper .news-item .news-image {
  object-fit: cover;
  min-height: 340px;
}

.shop-perex {
  font-size: 14px;
  color: #3d3b52;
}

.type-post header h1 { display: none; }
.type-post .content-inner { max-width: 100%; }
#content-wrapper:has(.cdmc-store) > .breadcrumbs { margin-bottom: 0 !important; }
 
#content-wrapper:has(.cdmc-store) {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
 
#content-wrapper:has(.cdmc-store) > .breadcrumbs,
#content-wrapper:has(.cdmc-store) article > footer,
#content-wrapper:has(.cdmc-store) .dkLabVisitedProductsBox {
  max-width: var(--cdmc-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
 
/* --- Hero --- */
 
.in-prodejny .cdmc-hero {
  position: relative;
  aspect-ratio: 1 / .33;
  min-height: 400px;
  overflow: hidden;
  font-family: var(--cdmc-font);
  background-color: var(--cdmc-ink-deep);  
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
 
/* Gradient overlay */
.in-prodejny .cdmc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(41, 38, 61, .20) 0%,
    rgba(41, 38, 61, .55) 50%,
    rgba(41, 38, 61, .88) 100%);
}
 
.in-prodejny .cdmc-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--cdmc-max);
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
 
.in-prodejny .cdmc-hero__title {
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
  color: var(--cdmc-white);
  text-shadow: 0 2px 18px rgba(23, 23, 23, .35);
}
 
.in-prodejny .cdmc-hero__title span { color: var(--cdmc-yellow); }
 
.in-prodejny .cdmc-hero__lead {
  margin: 18px 0 0;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .92);
  max-width: 680px;
}
 
/* --- Layout --- */
 
.in-prodejny .cdmc-store {
  max-width: var(--cdmc-max);
  margin: var(--cdmc-section-gap) auto 0;
  padding: 0 10px;
  box-sizing: border-box;
  font-family: var(--cdmc-font);
  color: var(--cdmc-ink);
  display: flex;
  flex-direction: column;
  gap: var(--cdmc-section-gap);
}
 
.in-prodejny .cdmc-store__section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cdmc-gap);
}
 
.in-prodejny .cdmc-store__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--cdmc-ink-deep);
}
 
/* --- Card --- */
 
.in-prodejny .cdmc-card {
  flex: 1 1 380px;
  min-width: 0;
  background: var(--cdmc-surface-card);
  border-radius: var(--cdmc-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 
.in-prodejny .cdmc-card--split {
  flex: 1 1 100%;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
 
.in-prodejny .cdmc-card--split > * { flex: 1 1 380px; min-width: 0; }
 
.in-prodejny .cdmc-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 
/* --- Map --- */
 
.in-prodejny .cdmc-store__map { aspect-ratio: 4 / 3; width: 100%; }

.in-prodejny .cdmc-card--split .cdmc-store__map {
  aspect-ratio: auto;
  min-height: 340px;
}
 
.in-prodejny .cdmc-store__map iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
 
/* --- Opening hours --- */
 
.in-prodejny .cdmc-store__hours li::before { display: none; }
 
.in-prodejny .cdmc-store__hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
 
.in-prodejny .cdmc-store__hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--cdmc-surface);
  font-size: 17px;
}
 
.in-prodejny .cdmc-store__hours li:last-child { border-bottom: 0; }
.in-prodejny .cdmc-store__hours li b { font-weight: 600; }
.in-prodejny .cdmc-store__hours li span { font-variant-numeric: tabular-nums; }
.in-prodejny .cdmc-store__hours li[data-closed] span { color: var(--cdmc-muted); }
 
/* --- Address & buttons --- */
 
.in-prodejny .cdmc-store__address {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--cdmc-ink-deep);
}
 
.in-prodejny .cdmc-store__actions { display: flex; flex-wrap: wrap; gap: 12px; }
 
.in-prodejny .cdmc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--cdmc-radius);
  background: var(--cdmc-red);
  color: var(--cdmc-white);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease;
}
 
.in-prodejny .cdmc-btn:hover,
.in-prodejny .cdmc-btn:focus { background: var(--cdmc-ink-deep); color: var(--cdmc-white); }
 
.in-prodejny .cdmc-btn--blue { background: var(--cdmc-blue); }
.in-prodejny .cdmc-btn--blue:hover, .cdmc-btn--blue:focus { background: var(--cdmc-blue-alt); }
 
/* --- Perks --- */
 
.in-prodejny .cdmc-store__perks { gap: var(--cdmc-gap); }
 
.in-prodejny .cdmc-store__perk {
  flex: 1 1 220px;
  background: var(--cdmc-surface-places);
  border-radius: var(--cdmc-radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cdmc-ink-deep);
}
 
.in-prodejny .cdmc-store__perk::before {
  content: "";
  width: 52px;
  height: 52px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
 
.in-prodejny .cdmc-store__perk--card::before { background-image: var(--cdmc-icon-card); }
.in-prodejny .cdmc-store__perk--parcel::before { background-image: var(--cdmc-icon-parcel); }
.in-prodejny .cdmc-store__perk--parking::before { background-image: var(--cdmc-icon-parking); }
.in-prodejny .cdmc-store__perk--pedestrian::before { background-image: var(--cdmc-icon-pedestrian); }
 
/* --- USP list --- */
 
.cdmc-store__usp {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
 
.cdmc-store__usp li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 600;
  color: var(--cdmc-ink-soft);
}
 
.cdmc-store__usp li::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  flex: 0 0 auto;
  width: 14px;
  height: 19px;
  background-color: var(--cdmc-blue);
  -webkit-mask: var(--cdmc-tri-shape) no-repeat center / contain;
  mask: var(--cdmc-tri-shape) no-repeat center / contain;
}
 
/* --- Promo strips --- */
 
.cdmc-store__promo {
  flex: 1 1 380px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 26px;
  border-radius: var(--cdmc-radius);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: filter .2s ease;
}
 
.cdmc-store__promo:hover { filter: brightness(1.06); }
.cdmc-store__promo--fb { background: var(--cdmc-blue); color: var(--cdmc-white); }
.cdmc-store__promo--fb:hover { color: var(--cdmc-white); }
.cdmc-store__promo--helium { background: var(--cdmc-yellow); color: var(--cdmc-ink); }
 
/* --- Gallery --- */
 
.cdmc-store .plus-gallery-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--cdmc-gap);
  width: 100%;
}
 
.cdmc-store .plus-gallery-item {
  width: auto !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  border-radius: var(--cdmc-radius);
  overflow: hidden;
}
 
.cdmc-store .plus-gallery-item a,
.cdmc-store .plus-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
/* --- Mobile --- */
 
@media (max-width: 767px) {
  .in-prodejny .cdmc-store { gap: 40px; margin-top: 40px; }
  .in-prodejny .cdmc-hero { aspect-ratio: auto; min-height: 0; }
  .in-prodejny .cdmc-hero__inner { padding: 56px 20px; }
  .in-prodejny .cdmc-card { padding: 20px; }
  .in-prodejny .cdmc-card--split { padding: 0; }
  .in-prodejny .cdmc-card--split .cdmc-store__map { min-height: 260px; }
  .in-prodejny .cdmc-card__body { padding: 20px; }
  .cdmc-store__perk { flex-basis: 100%; }
  .cdmc-store__actions .cdmc-btn { flex: 1 1 100%; }
  .cdmc-store .plus-gallery-wrap { grid-template-columns: repeat(2, 1fr); }
}

/*****************************************************/
/*                    INFO PAGE                      */
/*****************************************************/

:root {
  --cdmc-icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 4.5A2.5 2.5 0 1 0 12 11.5 2.5 2.5 0 0 0 12 6.5Z'/%3E%3C/svg%3E");
  --cdmc-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E");
}

.text-highlight {
  color: var(--cdmc-blue);
}
 
/* === CONTACT PAGE  === */
 
/* --- Layout --- */
 
.cdmc-contact__wrapper {
  font-family: var(--cdmc-font);
  color: var(--cdmc-ink);
  display: flex;
  flex-direction: column;
  gap: var(--cdmc-section-gap);
}
 
.cdmc-contact__top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cdmc-gap);
  align-items: flex-start;
}
 
.cdmc-contact__info {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--cdmc-gap);
}
 
.cdmc-contact__form {
  flex: 1 1 420px;
  min-width: 0;
}
 
.cdmc-contact__title {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--cdmc-ink-deep);
}
 
/* --- Info card --- */
 
.cdmc-info-card {
  --cdmc-accent: var(--cdmc-blue);
  background: var(--cdmc-surface-card);
  border-left: 4px solid var(--cdmc-accent);
  border-radius: var(--cdmc-radius);
  padding: 24px 28px;
}
 
.cdmc-info-card--red { --cdmc-accent: var(--cdmc-red); }
.cdmc-info-card--slate { --cdmc-accent: var(--cdmc-slate); }
.cdmc-info-card--ink { --cdmc-accent: var(--cdmc-ink-deep); }
 
.cdmc-info-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--cdmc-accent);
}
 
.cdmc-info-card__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.5;
}
 
.cdmc-info-card__label {
  color: var(--cdmc-ink-soft);
  font-weight: 600;
  flex: 0 0 auto;
}

.cdmc-info-card .cdmc-info-card__row a {
  color: var(--cdmc-ink-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--cdmc-muted);
  transition: color .2s ease, border-color .2s ease;
}
 
.cdmc-info-card .cdmc-info-card__row a:hover,
.cdmc-info-card .cdmc-info-card__row a:focus {
  color: var(--cdmc-accent);
  border-color: var(--cdmc-accent);
}
 
.cdmc-info-card__note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cdmc-ink-soft);
}
 
/* --- Form panel --- */
 
.cdmc-contact__form-inner {
  background: var(--cdmc-surface-soft);
  border-radius: var(--cdmc-radius);
  padding: 28px;
}
 
.cdmc-contact__form-inner input[type="text"],
.cdmc-contact__form-inner input[type="email"],
.cdmc-contact__form-inner input[type="tel"],
.cdmc-contact__form-inner textarea {
  width: 100%;
  border-radius: var(--cdmc-radius);
}
 
/* --- Store list --- */
 
.cdmc-stores-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--cdmc-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1439px) {
  .cdmc-stores-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1199px) {
  .cdmc-stores-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .cdmc-stores-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .cdmc-stores-list {
    grid-template-columns: repeat(1, 1fr);
  }
}
 
.cdmc-stores-list li::before { display: none; }
 
.cdmc-store-tile {
  flex: 0 1 300px;
  min-width: 0;
  background: var(--cdmc-surface-card);
  border: 1px solid var(--cdmc-ink);
  border-radius: var(--cdmc-radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
 
.cdmc-store-tile__name,
.cdmc-store-tile__phone,
.cdmc-store-tile__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}
 
.cdmc-store-tile__name::before,
.cdmc-store-tile__phone::before {
  content: "";
  flex: 0 0 auto;
  background-color: var(--cdmc-blue);
  -webkit-mask: var(--cdmc-tile-icon) no-repeat center / contain;
  mask: var(--cdmc-tile-icon) no-repeat center / contain;
}
 
.cdmc-store-tile__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--cdmc-blue);
}
 
.cdmc-store-tile__name::before {
  --cdmc-tile-icon: var(--cdmc-icon-pin);
  width: 18px;
  height: 18px;
}
 
.cdmc-store-tile__phone {
  font-size: 16px;
  font-weight: 600;
  color: var(--cdmc-ink-soft);
  font-variant-numeric: tabular-nums;
}
 
.cdmc-store-tile__phone::before {
  --cdmc-tile-icon: var(--cdmc-icon-phone);
  width: 16px;
  height: 16px;
}
 
.cdmc-store-tile__phone:hover,
.cdmc-store-tile__phone:focus { color: var(--cdmc-red); }
 
.cdmc-store-tile__more {
  margin-top: auto;
  padding-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cdmc-blue);
  transition: gap .2s ease, color .2s ease;
}
 
.cdmc-store-tile__more::after {
  content: "";
  width: 10px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: var(--cdmc-tri-shape) no-repeat center / contain;
  mask: var(--cdmc-tri-shape) no-repeat center / contain;
}
 
.cdmc-store-tile__more:hover,
.cdmc-store-tile__more:focus {
  color: var(--cdmc-ink-deep);
  gap: 12px;
}
 
.cdmc-store-tile a { text-decoration: none; }
 
/* === SHIPPING & PAYMENT PAGE === */
 
/* --- Layout --- */
 
.cdmc-ship {
  font-family: var(--cdmc-font);
  color: var(--cdmc-ink);
  display: flex;
  flex-direction: column;
  gap: var(--cdmc-section-gap);
}
 
.cdmc-ship__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--cdmc-ink-deep);
}
 
.cdmc-ship__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cdmc-gap);
  align-items: stretch;
}
 
/* --- Method card --- */
 
.cdmc-method {
  --cdmc-accent: var(--cdmc-blue);
  flex: 1 1 320px;
  min-width: 0;
  background: var(--cdmc-surface-card);
  border-top: 4px solid var(--cdmc-ink);
  border-radius: var(--cdmc-radius);
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
 
.cdmc-method--red { --cdmc-accent: var(--cdmc-red); }
.cdmc-method--slate { --cdmc-accent: var(--cdmc-slate); }
.cdmc-method--ink { --cdmc-accent: var(--cdmc-ink-deep); }
 
.cdmc-method__logo {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
 
.cdmc-method__logo img {
  max-height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
 
.cdmc-method__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--cdmc-ink-deep);
}
 
.cdmc-method__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cdmc-ink-soft);
}
 
.cdmc-method__list li { padding-left: 0; }
.cdmc-method__list li::before { display: none; }
 
.cdmc-method__list a {
  color: var(--cdmc-accent);
  font-weight: 600;
  text-decoration: underline;
}
 
/* --- Price rows --- */
 
.cdmc-prices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
 
.cdmc-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cdmc-surface);
  font-size: 15px;
}
 
.cdmc-prices li::before { display: none; }
.cdmc-prices li:last-child { border-bottom: 0; }
 
.cdmc-prices__label { color: var(--cdmc-ink-soft); }
 
.cdmc-prices__value {
  font-weight: 700;
  color: var(--cdmc-ink-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
 
.cdmc-prices__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cdmc-muted);
  margin: 10px 0 2px;
}
 
/* --- Notice --- */
 
.cdmc-notice {
  background: var(--cdmc-surface-places);
  border-left: 4px solid var(--cdmc-red);
  border-radius: var(--cdmc-radius);
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cdmc-ink-deep);
}
 
/* --- Weight badge --- */
 
.cdmc-badge {
  align-self: flex-start;
  background: var(--cdmc-surface-places);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cdmc-ink-deep);
}
 

@media (max-width: 767px) {
  .cdmc-contact__wrapper,
  .cdmc-ship { gap: 40px; }
 
  .cdmc-info-card { padding: 20px; }
  .cdmc-contact__form-inner { padding: 20px; }
  .cdmc-store-tile { flex-basis: 100%; }
  .cdmc-method { padding: 20px; }
}

/* === STORY PAGE === */

.cdmc-story {
  font-family: var(--cdmc-font);
  color: var(--cdmc-ink);
  display: flex;
  flex-direction: column;
  gap: var(--cdmc-section-gap);
}

.cdmc-story__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 24px;
  color: var(--cdmc-ink-deep);
  text-align: center;
}
 
.cdmc-story__title--left {
  text-align: left;
  font-size: 24px;
  margin-bottom: 20px;
}
 
.cdmc-story__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cdmc-gap);
  align-items: stretch;
}
 
/* --- Intro --- */
 
.cdmc-story__intro {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cdmc-gap);
  align-items: center;
}
 
.cdmc-story__media,
.cdmc-story__lead { flex: 1 1 340px; min-width: 0; }
 
.cdmc-story__media img {
  display: block;
  width: 80%;
  height: auto;
  border-radius: var(--cdmc-radius);
}
 
.cdmc-story__claim {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--cdmc-ink-deep);
}
 
.cdmc-story__lead p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 14px;
  color: var(--cdmc-ink-soft);
}
 
.cdmc-story__lead p:last-child { margin-bottom: 0; }
 
/* --- Category chips --- */
 
.cdmc-story__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
 
.cdmc-story__grid li {
  flex: 1 1 260px;
  min-width: 0;
  padding: 20px;
  background: var(--cdmc-surface-card);
  border-radius: var(--cdmc-radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cdmc-ink-deep);
}
 
.cdmc-story__grid li::before { display: none; }
 
.cdmc-story__emoji {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}

.cdmc-story__shop {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cdmc-ink);
  text-decoration: underline;
  transition: gap .2s ease, color .2s ease;
}
 
.cdmc-story__shop::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: var(--cdmc-tri-shape) no-repeat center / contain;
  mask: var(--cdmc-tri-shape) no-repeat center / contain;
}
 
.cdmc-story__shop:hover,
.cdmc-story__shop:focus {
  color: var(--cdmc-ink-deep);
  gap: 12px;
  text-decoration: none;
}

.cdmc-story__label {
  color: var(--cdmc-blue);
}

/* --- Reasons --- */
 
.cdmc-story__reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
}
 
.cdmc-story__reasons li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--cdmc-ink-soft);
}
 
.cdmc-story__reasons li::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  flex: 0 0 auto;
  width: 14px;
  height: 19px;
  background-color: var(--cdmc-blue);
  -webkit-mask: var(--cdmc-tri-shape) no-repeat center / contain;
  mask: var(--cdmc-tri-shape) no-repeat center / contain;
}
 
.cdmc-story__note {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--cdmc-blue);
  padding: 10px;
  background: var(--cdmc-surface-places);
  border-radius: var(--cdmc-radius);
}
 
/* --- Banner --- */
 
.cdmc-story__banner {
  display: block;
  border-radius: var(--cdmc-radius);
  overflow: hidden;
  transition: transform .2s ease;
}
 
.cdmc-story__banner:hover { transform: translateY(-2px); }
 
.cdmc-story__banner img {
  display: block;
  width: 100%;
  height: auto;
}
 
/* --- Store links --- */
 
.cdmc-story__places {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
 
.cdmc-story__places li { padding-left: 0; }
.cdmc-story__places li::before { display: none; }
 
.cdmc-place-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--cdmc-surface-places);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: var(--cdmc-ink-deep);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
 
.cdmc-place-link::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: var(--cdmc-icon-pin) no-repeat center / contain;
  mask: var(--cdmc-icon-pin) no-repeat center / contain;
}
 
.cdmc-place-link:hover,
.cdmc-place-link:focus {
  background: var(--cdmc-blue);
  color: var(--cdmc-white);
}

/* --- Split section (media + text) --- */

.cdmc-story__split {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cdmc-section-gap);
  align-items: center;
}

.cdmc-story__split--top { align-items: flex-start; }

.cdmc-story__split-media { flex: 1 1 340px; min-width: 0; }
.cdmc-story__split-body { flex: 1 1 420px; min-width: 0; }

/* Media on the right on desktop, stacked normally on mobile. */
.cdmc-story__split--reverse .cdmc-story__split-media { order: 2; }

.cdmc-story__split-body .cdmc-story__note:first-of-type { margin-top: 0; }
 
/* --- Mobile --- */
 
@media (max-width: 767px) {
  .cdmc-story { gap: 40px; }
  .cdmc-story__grid li { flex-basis: 100%; }
  .cdmc-story__split { gap: 24px; }
  .cdmc-story__split--reverse .cdmc-story__split-media { order: 0; }
}

@media (max-width: 992px) {
  .cdmc-story__reasons {
     flex-direction: column;
   }
}

/*****************************************************/
/*                      FINDER                       */
/*****************************************************/

.cdmc-finder {
  margin-top: 50px;
  --cdmc-finder-pink: #d42e57;
  --cdmc-finder-cyan: #00adef;
}

.cdmc-finder__panel {
  position: relative;
  padding: 46px 40px 40px;
  border-radius: var(--cdmc-radius, 14px);
  background-color: #f2f2f0;
  /* webpackIgnore drzi cestu tak, jak je - soubor lezi az na eshopu */
  background-image: /* webpackIgnore: true */ url("/user/documents/upload/toy-block/finder-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  text-align: center;
  box-shadow: 2px 8px 4.3px -2px rgba(0, 0, 0, 0.2) inset;
}

.cdmc-finder__title {
  margin: 0 0 22px;
  font-family: var(--cdmc-font);
  font-size: 40px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--cdmc-ink, #171717);
}
.cdmc-finder__genders {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
}

.cdmc-finder__gender {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 117px;
}

.cdmc-finder__gender-icon {
  display: block;
  width: auto;
  height: 59px;
  object-fit: contain;
}

.cdmc-finder__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  text-wrap: nowrap;
  border-radius: var(--cdmc-radius, 14px);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}

.cdmc-finder__pill--girl {
  background: var(--cdmc-finder-pink);
}

.cdmc-finder__pill--boy {
  background: var(--cdmc-finder-cyan);
}

.cdmc-finder__or {
  padding-bottom: 8px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #000;
}

.cdmc-finder__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 58px;
}

.cdmc-finder__field,
.cdmc-finder__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 191px;
  height: 37px;
  padding: 0 16px;
  border-radius: var(--cdmc-radius, 14px);
}

.cdmc-finder__field {
  position: relative;
  /* padding drzi az select uvnitr - jinak by okraje plosky nereagovaly */
  padding: 0;
  border: 1px solid #000;
  background: #fff;
  cursor: pointer;
}

.cdmc-finder__field .select-wrapper {
  width: 100%;
  height: 100%;
}
.cdmc-finder__select {
  /* select pokryva celou plosku, aby se seznam otevrel z libovolneho mista */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 42px 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--cdmc-font);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #000;
  cursor: pointer;
}

.cdmc-finder__field .cdmc-finder__select:focus-visible {
  box-shadow: none !important;
}

.cdmc-finder .select-wrapper::after {
  display: none;
}

.cdmc-finder__select option {
  color: #000;
  background: #fff;
}

.cdmc-finder__field .cdmc-tri {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.cdmc-finder__submit {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--cdmc-ink-soft, #3d3b52);
  background: transparent;
  text-decoration: none;
}

.cdmc-finder__submit:hover {
  background: rgba(61, 59, 82, 0.06);
}

.cdmc-finder__field-label {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  white-space: nowrap;
}

.cdmc-finder__field .cdmc-finder__field-label {
  color: #000;
}

.cdmc-finder__submit .cdmc-finder__field-label {
  color: var(--cdmc-ink-soft, #3d3b52);
}

.cdmc-finder__field .cdmc-tri {
  font-size: 19px;
}

.cdmc-finder__submit .cdmc-tri {
  font-size: 19px;
}

@media (max-width: 1100px) {
  .cdmc-finder__deco {
    display: none;
  }
}

@media (max-width: 991px) {
  .cdmc-finder__title {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .cdmc-finder__panel {
    padding: 28px 16px 24px;
  }

  .cdmc-finder__title {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .cdmc-finder__genders {
    gap: 10px;
    margin-bottom: 26px;
  }

  .cdmc-finder__gender,
  .cdmc-finder__pill {
    width: 104px;
  }

  .cdmc-finder__gender-icon {
    height: 46px;
  }

  .cdmc-finder__controls {
    flex-direction: column;
    gap: 12px;
  }

  .cdmc-finder__field,
  .cdmc-finder__submit {
    width: 100%;
    max-width: 260px;
  }
}

/*****************************************************/
/*                  HEADER CONTACT                   */
/*****************************************************/

.header-contact__wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  flex: 0 0 auto !important;
}

.header-top-wrapper {
  gap: 10px;
}

.header-contact__image {
  width: 50px;
  flex-shrink: 0;
}

.header-contact__image img {
  width: 100%;
}

.header-contact__rating {
  margin-bottom: 5px;
}

.header-contact__item,
.header-contact__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-contact__stars {
  display: flex;
  align-items: center;
}

.header-contact__star {
  position: relative;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ecb911'%3E%3Cpath d='M12 2l2.9 6.26 6.85.62-5.17 4.54 1.53 6.7L12 16.9l-6.11 3.22 1.53-6.7L2.25 8.88l6.85-.62z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.header-contact__star::before {
  content: none;
}

.header-contact__percent {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: black;
}

.header-contact__phone {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: black;
}

.header-contact__descr {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: #747474;
}

.header-contact__text {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: black;
}

@media (max-width: 1200px) {
  .header-contact__image {
    width: 40px;
  }

  .header-contact__item,
  .header-contact__rating {
    gap: 5px;
  }

  .header-contact__percent {
    font-size: 14px;
  }

  .header-contact__descr {
    width: max-content;
  }
}

@media (min-width: 768px) {
  .header-top-wrapper {
    flex-wrap: nowrap !important;
  }

  .header-top-wrapper > .site-name,
  .header-top-wrapper > .header-contact__wrapper,
  .header-top-wrapper > .navigation-buttons {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .header-top-wrapper > .search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }
}

@media (max-width: 767px) {
  .header-contact__wrapper {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1440px) {
  .header-top,
  .header-top-wrapper {
    height: auto !important;
    min-height: 0 !important;
  }

  .header-top-wrapper {
    padding: 10px 0 !important;
    align-items: center;
    flex-wrap: wrap !important;
    gap: 16px;
    justify-content: space-between;
  }

  .header-top-wrapper > .search {
    order: 10;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
}

/*****************************************************/
/*                      BENEFITS                     */
/*****************************************************/

.benefitBanner__item {
  border: 0;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
}
.benefitBanner__content {
  text-align: left;
  padding-right: 10px;
}
.benefitBanner__title {
  font-family: var(--cdmc-font);
  font-size: 16px;
  font-weight: 800;
  line-height: normal;
  text-transform: none;
  margin-bottom: 5px;
}
.benefitBanner__data {
  font-family: var(--cdmc-font);
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}
.benefitBanner__picture {
  margin: 0;
}
@media (min-width: 992px) {
  .benefitBanner__item {
    flex: 1 1 20%;
  }
}
@media (max-width: 991px) {
  .benefitBanner.position--benefitHomepage {
    flex-direction: column;
    align-items: center;
  }
  .benefitBanner__item {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .benefitBanner__content {
    text-align: center;
    padding-right: 0px;
  }
}

@media (max-width: 767px) {
  .benefitBanner.position--benefitHomepage {
    flex-direction: row;
    align-items: center;
  }
  .benefitBanner__item {
    width: 50%;
    flex: 0 0 50%;
    display: flex;
  }
}
