:root {
  --cc-navy: #102341;
  --cc-mist: #e3ecf1;
  --cc-green: #17633a;
  --cc-white: #ffffff;
  --cc-line: #c6d3dc;
}

#MainContent[data-template='index'] {
  background: var(--cc-mist);
  color: var(--cc-navy);
}

.cc-home-frame,
.cc-footer {
  color: var(--cc-navy);
  font-family: 'CC Wunderpunkt', Georgia, serif;
  width: 100%;
  max-width: 100%;
}

.cc-home-frame *,
.cc-footer * {
  box-sizing: border-box;
}

.cc-home-shell {
  width: min(100% - 40px, 1400px);
  margin-inline: auto;
}

.cc-home-heading {
  margin: 0;
  color: var(--cc-navy);
  font-family: 'CC Wunderpunkt', Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

.cc-home-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border: 1px solid var(--cc-green);
  border-radius: 10px;
  background: var(--cc-green);
  color: var(--cc-white);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.cc-home-button:hover {
  background: #0f4f2d;
  color: var(--cc-white);
  transform: translateY(-1px);
}

.cc-home-button:focus-visible,
.cc-category-card:focus-visible,
.cc-product-card a:focus-visible,
.cc-footer a:focus-visible,
.cc-footer button:focus-visible {
  outline: 3px solid #f6bb18;
  outline-offset: 3px;
}

.cc-hero {
  position: relative;
  min-height: min(760px, 66vw);
  overflow: hidden;
  isolation: isolate;
}

.cc-hero__media,
.cc-hero__media picture,
.cc-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cc-hero__media img {
  object-fit: cover;
  object-position: center;
}

.cc-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 35, 65, 0.34), rgba(16, 35, 65, 0) 55%);
  content: '';
}

.cc-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  width: min(100% - 64px, 1400px);
  align-items: center;
  margin-inline: auto;
  padding-block: 72px;
}

.cc-hero__copy {
  width: min(520px, 48vw);
  color: var(--cc-white);
}

.cc-hero__title {
  margin: 0 0 12px;
  color: inherit;
  font-family: 'CC Wunderpunkt', Georgia, serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cc-hero__text {
  max-width: 420px;
  margin: 0 0 24px;
  font-family: Arial, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.4;
}

.cc-hero__button {
  border-color: var(--cc-white);
  background: var(--cc-white);
  color: var(--cc-navy);
}

.cc-hero__button:hover {
  background: #f3f5f6;
  color: var(--cc-navy);
}

.cc-trust {
  background: var(--cc-white);
  font-family: Arial, sans-serif;
}

.cc-trust__items {
  display: grid;
  min-height: 74px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
}

.cc-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--cc-navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.cc-trust__item img {
  width: auto;
  height: 25px;
  object-fit: contain;
}

.cc-products {
  padding-block: 72px 82px;
}

.cc-products__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.cc-products__header .cc-home-heading {
  text-align: left;
}

.cc-products__view-all {
  color: var(--cc-navy);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.cc-products__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cc-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: var(--cc-white);
}

.cc-product-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8f8f5;
}

.cc-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 260ms ease;
}

.cc-product-card:hover .cc-product-card__media img {
  transform: scale(1.025);
}

.cc-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.cc-product-card__title {
  margin: 0;
  color: var(--cc-navy);
  font-size: 1.05rem;
  line-height: 1.15;
}

.cc-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.cc-product-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.cc-product-card__compare {
  opacity: 0.58;
  text-decoration: line-through;
}

.cc-product-card__button {
  width: 100%;
  margin-top: auto;
}

.cc-categories {
  padding-block: 0 76px;
}

.cc-categories__panel {
  overflow: hidden;
  border-radius: 32px;
  background: var(--cc-white);
  padding: 62px 32px 42px;
}

.cc-categories__rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.cc-category-card {
  display: block;
  min-width: 0;
  color: var(--cc-navy);
  text-align: center;
  text-decoration: none;
}

.cc-category-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--cc-mist);
}

.cc-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

a.cc-category-card:hover .cc-category-card__media img {
  transform: scale(1.04);
}

.cc-category-card__title {
  display: block;
  margin-top: 16px;
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.cc-story {
  padding-bottom: 84px;
}

.cc-story__grid {
  display: grid;
  min-height: 640px;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 30px;
}

.cc-story__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cc-navy);
  color: var(--cc-white);
  padding: 64px;
  text-align: center;
}

.cc-story__copy-inner {
  width: min(100%, 520px);
}

.cc-story__title {
  margin: 0 0 22px;
  color: inherit;
  font-family: 'CC Wunderpunkt', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.cc-story__body {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.cc-story__body p {
  margin: 0 0 18px;
}

.cc-story__body p:last-child {
  margin-bottom: 0;
}

.cc-story__button {
  margin-top: 24px;
  border-color: var(--cc-white);
  background: var(--cc-white);
  color: var(--cc-navy);
}

.cc-story__button:hover {
  background: #eef2f5;
  color: var(--cc-navy);
}

.cc-story__media {
  min-height: 640px;
  background: var(--cc-navy);
}

.cc-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-footer {
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background: var(--cc-white);
  color: var(--cc-navy);
  font-family: Arial, sans-serif;
}

.cc-footer__main {
  display: grid;
  width: min(100% - 48px, 1400px);
  grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.6fr);
  gap: 80px;
  margin-inline: auto;
  padding-block: 72px 54px;
}

.cc-footer__logo {
  display: inline-flex;
  max-width: 190px;
  margin-bottom: 18px;
  color: var(--cc-navy);
  font-family: 'CC Wunderpunkt', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.cc-footer__logo img {
  width: auto;
  max-width: 100%;
  height: 68px;
  object-fit: contain;
}

.cc-footer__title {
  margin: 0 0 10px;
  color: var(--cc-navy);
  font-family: 'CC Wunderpunkt', Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
}

.cc-footer__text {
  max-width: 560px;
  margin: 0 0 24px;
  line-height: 1.5;
}

.cc-footer__form {
  display: flex;
  width: min(100%, 600px);
  align-items: stretch;
  gap: 10px;
}

.cc-footer__input {
  min-width: 0;
  flex: 1;
  min-height: 50px;
  border: 1px solid var(--cc-navy);
  border-radius: 10px;
  background: var(--cc-white);
  color: var(--cc-navy);
  padding: 12px 16px;
  font: inherit;
}

.cc-footer__submit {
  min-height: 50px;
  border: 1px solid var(--cc-green);
  border-radius: 10px;
  background: var(--cc-green);
  color: var(--cc-white);
  padding-inline: 24px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cc-footer__message {
  margin-top: 12px;
  font-size: 0.9rem;
}

.cc-footer__menu-title {
  margin: 0 0 18px;
  color: var(--cc-navy);
  font-family: 'CC Wunderpunkt', Georgia, serif;
  font-size: 1.25rem;
}

.cc-footer__menu-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-footer__menu-list a {
  color: var(--cc-navy);
  text-decoration: none;
}

.cc-footer__menu-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cc-footer__mobile-menu {
  display: none;
}

.cc-footer__bottom {
  display: flex;
  width: min(100% - 48px, 1400px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  border-top: 1px solid var(--cc-line);
  padding-block: 20px 28px;
  font-size: 0.75rem;
}

.cc-footer__bottom a {
  color: var(--cc-navy);
}

#header-group .announcement-bar {
  min-height: 30px;
  background: var(--cc-navy);
  color: var(--cc-white);
}

#header-group .announcement-bar__text {
  width: 100%;
  color: var(--cc-white);
  text-align: center;
}

#header-group .header-section {
  background: var(--cc-white);
  color: var(--cc-navy);
}

#header-group .header__columns {
  width: min(100% - 36px, 1400px);
  margin-inline: auto;
}

#header-group .header-logo__image {
  object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
  .cc-hero__copy,
  .cc-home-heading {
    animation: cc-rise-in 520ms ease both;
  }
}

@keyframes cc-rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 989px) {
  .cc-products__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-categories__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-story__grid {
    min-height: 520px;
  }

  .cc-story__copy,
  .cc-story__media {
    min-height: 520px;
  }
}

@media screen and (max-width: 749px) {
  .cc-home-shell {
    width: min(100% - 24px, 100%);
  }

  .cc-home-heading {
    font-size: 2.25rem;
  }

  .cc-hero {
    min-height: 620px;
  }

  .cc-hero::after {
    background: linear-gradient(180deg, rgba(16, 35, 65, 0.34), rgba(16, 35, 65, 0) 56%);
  }

  .cc-hero__content {
    width: calc(100% - 32px);
    align-items: flex-start;
    padding-block: 46px;
  }

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

  .cc-hero__title {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .cc-hero__text {
    margin-inline: auto;
  }

  .cc-trust__items {
    display: flex;
    min-height: 64px;
    gap: 26px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-inline: 18px;
    scrollbar-width: none;
  }

  .cc-trust__items::-webkit-scrollbar {
    display: none;
  }

  .cc-trust__item {
    min-width: max-content;
    font-size: 0.78rem;
  }

  .cc-products {
    padding-block: 52px 60px;
  }

  .cc-products__header {
    align-items: center;
    margin-bottom: 26px;
  }

  .cc-products__header .cc-home-heading {
    text-align: left;
  }

  .cc-products__rail {
    display: grid;
    width: calc(100vw - 12px);
    grid-auto-columns: minmax(82vw, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding-right: 12px;
    scroll-padding-left: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cc-products__rail::-webkit-scrollbar {
    display: none;
  }

  .cc-product-card {
    scroll-snap-align: start;
  }

  .cc-categories {
    padding-bottom: 56px;
  }

  .cc-categories__panel {
    border-radius: 26px;
    padding: 44px 18px 34px;
  }

  .cc-categories__rail {
    display: grid;
    grid-auto-columns: 42%;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cc-categories__rail::-webkit-scrollbar {
    display: none;
  }

  .cc-category-card {
    scroll-snap-align: start;
  }

  .cc-story {
    padding-bottom: 60px;
  }

  .cc-story__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .cc-story__copy {
    min-height: 0;
    padding: 44px 22px;
  }

  .cc-story__media {
    min-height: 0;
    aspect-ratio: 1 / 1;
    grid-row: 1;
  }

  .cc-story__title {
    font-size: 2.5rem;
  }

  .cc-footer {
    border-radius: 24px 24px 0 0;
  }

  .cc-footer__main {
    display: block;
    width: calc(100% - 32px);
    padding-block: 50px 28px;
  }

  .cc-footer__newsletter {
    text-align: center;
  }

  .cc-footer__logo {
    justify-content: center;
  }

  .cc-footer__text {
    margin-inline: auto;
  }

  .cc-footer__form {
    flex-direction: column;
  }

  .cc-footer__desktop-menu {
    display: none;
  }

  .cc-footer__mobile-menu {
    display: block;
    margin-top: 34px;
    border-block: 1px solid var(--cc-line);
  }

  .cc-footer__mobile-menu summary {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: 'CC Wunderpunkt', Georgia, serif;
    font-weight: 700;
    list-style: none;
  }

  .cc-footer__mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .cc-footer__mobile-menu summary::after {
    content: '+';
    font-family: Arial, sans-serif;
    font-size: 1.3rem;
  }

  .cc-footer__mobile-menu[open] summary::after {
    content: '−';
  }

  .cc-footer__mobile-menu .cc-footer__menu-list {
    padding-bottom: 18px;
  }

  .cc-footer__bottom {
    width: calc(100% - 32px);
    flex-direction: column;
    gap: 10px;
    padding-block: 18px 28px;
    text-align: center;
  }

  #header-group .header__columns {
    width: calc(100% - 20px);
  }
}

@media screen and (max-width: 374px) {
  .cc-hero__title {
    font-size: 2.75rem;
  }

  .cc-home-button,
  .cc-footer__submit {
    width: 100%;
  }
}

/* CC MOBILE MENU POLISH START */
@media screen and (max-width: 749px) {
  .header-drawer--mobile .menu-drawer {
    color: #102341;
    background-color: #fffaf0;
    background-image:
      radial-gradient(circle at 100% 0, rgb(141 211 242 / 24%), transparent 38%),
      linear-gradient(180deg, #fffdf8 0%, #fff8e8 100%);
    border-right: 0;
  }

  .header-drawer--mobile .menu-drawer__close-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 12px 14px 4px auto;
    padding: 12px;
    color: #102341;
    background: rgb(255 255 255 / 78%);
    border: 1px solid rgb(16 35 65 / 14%);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgb(16 35 65 / 8%);
  }

  .header-drawer--mobile .menu-drawer__navigation {
    padding: 8px 16px 28px;
    overflow-x: hidden;
  }

  .header-drawer--mobile .menu-drawer__navigation > .menu-drawer__menu {
    display: grid;
    gap: 10px;
    padding-inline: 0;
  }

  .header-drawer--mobile
    .menu-drawer__navigation
    > .menu-drawer__menu
    > .menu-drawer__list-item--flat {
    margin-block-end: 0;
  }

  .header-drawer--mobile .menu-drawer__menu-item--mainlist {
    box-sizing: border-box;
    min-height: 56px;
    padding: 12px 16px;
    color: #102341;
    background: rgb(255 255 255 / 82%);
    border: 1px solid rgb(16 35 65 / 12%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgb(16 35 65 / 7%);
    font-size: clamp(1.02rem, 4.5vw, 1.18rem);
    font-weight: 700;
    line-height: 1.2;
    transition:
      color 160ms ease,
      background-color 160ms ease,
      border-color 160ms ease,
      transform 160ms ease;
  }

  .header-drawer--mobile .menu-drawer__menu-item--mainlist:active {
    transform: scale(0.985);
  }

  .header-drawer--mobile
    .menu-drawer__list-item--flat
    > .menu-drawer__menu--childlist:not(.menu-drawer__menu--grid),
  .header-drawer--mobile
    accordion-custom
    .menu-drawer__menu--childlist:not(.menu-drawer__menu--grid) {
    width: calc(100% - 16px);
    margin: 7px 0 2px 8px;
    padding: 4px 0 4px 12px;
    border-left: 2px solid #86cce8;
  }

  .header-drawer--mobile .menu-drawer__menu-item--child {
    box-sizing: border-box;
    min-height: 44px;
    padding: 9px 12px;
    color: #31415b;
    background: rgb(255 255 255 / 48%);
    border-radius: 12px;
    font-size: 0.94rem;
    line-height: 1.25;
  }

  .header-drawer--mobile .menu-drawer__menu-item--active {
    color: #ffffff;
    background: #102341;
    border-color: #102341;
    box-shadow: 0 10px 24px rgb(16 35 65 / 16%);
  }

  .header-drawer--mobile .menu-drawer__menu-item:focus-visible,
  .header-drawer--mobile .menu-drawer__close-button:focus-visible {
    outline: 3px solid #f2b84b;
    outline-offset: 2px;
  }

  .header-drawer--mobile .menu-drawer__menu-item-text {
    overflow-wrap: anywhere;
  }
}
/* CC MOBILE MENU POLISH END */
