/* CALYPSO GIANO – Farbkarten 1.3.0 */

body.cg-color-cards-active .cg-color-card {
  box-sizing: border-box;
  flex-basis: 25%;
  max-width: 25%;
  width: 25%;
  margin-bottom: 34px;
}

body.cg-color-cards-active .cg-color-card .col-inner,
body.cg-color-cards-active .cg-color-card .product-small,
body.cg-color-cards-active .cg-color-card .box {
  width: 100%;
}

body.cg-color-cards-active .cg-color-card .box-image {
  position: relative;
  overflow: hidden;
  background: #EEE7E1;
}

body.cg-color-cards-active .cg-color-card .box-image > a {
  display: block;
  width: 100%;
  text-decoration: none;
}

body.cg-color-cards-active .cgcc-image-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #EEE7E1;
}

body.cg-color-cards-active .cgcc-image-stage img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center center;
  backface-visibility: hidden;
  transform: translateZ(0);
}

body.cg-color-cards-active .cgcc-main-image {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.28s ease;
}

body.cg-color-cards-active .cgcc-hover-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.28s ease;
}

body.cg-color-cards-active .cg-color-card:hover .cgcc-image-stage.has-hover-image .cgcc-main-image,
body.cg-color-cards-active .cg-color-card:focus-within .cgcc-image-stage.has-hover-image .cgcc-main-image {
  opacity: 0;
}

body.cg-color-cards-active .cg-color-card:hover .cgcc-image-stage.has-hover-image .cgcc-hover-image,
body.cg-color-cards-active .cg-color-card:focus-within .cgcc-image-stage.has-hover-image .cgcc-hover-image {
  opacity: 1;
}

body.cg-color-cards-active .cg-color-card .box-text-products {
  text-align: center;
}

body.cg-color-cards-active .cg-color-card .product-title a {
  text-decoration: none;
}

body.cg-color-cards-active .cgcc-empty-admin {
  margin: 25px 0;
}

@media (min-width: 550px) and (max-width: 849px) {
  body.cg-color-cards-active .cg-color-card {
    flex-basis: 33.333333%;
    max-width: 33.333333%;
    width: 33.333333%;
  }
}

@media (max-width: 549px) {
  body.cg-color-cards-active .cg-color-card {
    flex-basis: 50%;
    max-width: 50%;
    width: 50%;
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cg-color-cards-active .cgcc-main-image,
  body.cg-color-cards-active .cgcc-hover-image {
    transition: none !important;
  }
}


/* =====================================================================
   CALYPSO GIANO – Produktempfehlungen 1.3.0
   ===================================================================== */

body.single-product .cgcc-recommendations {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #F6F4F3;
}

body.single-product .cgcc-recommendations-inner {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 72px 30px 76px;
}

body.single-product .cgcc-recommendations-header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

body.single-product .cgcc-recommendations-eyebrow {
  margin: 0 0 14px;
  color: #B00024;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

body.single-product .cgcc-recommendations-header h2 {
  margin: 0;
  color: #0F0F0F;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: none;
}

body.single-product .cgcc-recommendations-header p {
  max-width: 690px;
  margin: 18px auto 0;
  color: #55524F;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

body.single-product .cgcc-recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

body.single-product .cgcc-recommendation-card {
  min-width: 0;
  margin: 0;
}

body.single-product .cgcc-recommendation-image-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

body.single-product .cgcc-recommendation-image-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #EEE7E1;
}

body.single-product .cgcc-recommendation-image-stage img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center center;
  backface-visibility: hidden;
  transform: translateZ(0);
}

body.single-product .cgcc-recommendation-main-image {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.28s ease;
}

body.single-product .cgcc-recommendation-hover-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.28s ease;
}

body.single-product .cgcc-recommendation-card:hover .cgcc-recommendation-image-stage.has-hover-image .cgcc-recommendation-main-image,
body.single-product .cgcc-recommendation-card:focus-within .cgcc-recommendation-image-stage.has-hover-image .cgcc-recommendation-main-image {
  opacity: 0;
}

body.single-product .cgcc-recommendation-card:hover .cgcc-recommendation-image-stage.has-hover-image .cgcc-recommendation-hover-image,
body.single-product .cgcc-recommendation-card:focus-within .cgcc-recommendation-image-stage.has-hover-image .cgcc-recommendation-hover-image {
  opacity: 1;
}

body.single-product .cgcc-recommendation-info {
  padding-top: 13px;
  text-align: center;
}

body.single-product .cgcc-recommendation-type {
  margin: 0 0 4px;
  color: #77736F;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

body.single-product .cgcc-recommendation-info h3 {
  margin: 0;
  color: #0F0F0F;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-transform: none;
}

body.single-product .cgcc-recommendation-info h3 a {
  color: #0F0F0F;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.single-product .cgcc-recommendation-info h3 a:hover,
body.single-product .cgcc-recommendation-info h3 a:focus {
  color: #B00024;
}

body.single-product .cgcc-recommendation-price {
  margin-top: 5px;
  color: #0F0F0F;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
}

@media (max-width: 849px) {
  body.single-product .cgcc-recommendations-inner {
    padding: 58px 22px 62px;
  }

  body.single-product .cgcc-recommendations-header {
    margin-bottom: 28px;
  }

  body.single-product .cgcc-recommendations-header h2 {
    font-size: 32px;
  }

  body.single-product .cgcc-recommendations-header p {
    font-size: 15.5px;
  }

  body.single-product .cgcc-recommendations-grid {
    gap: 14px;
  }
}

@media (max-width: 549px) {
  body.single-product .cgcc-recommendations-inner {
    padding: 46px 18px 50px;
  }

  body.single-product .cgcc-recommendations-eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.15em;
  }

  body.single-product .cgcc-recommendations-header h2 {
    font-size: 28px;
  }

  body.single-product .cgcc-recommendations-header p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.62;
  }

  body.single-product .cgcc-recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  body.single-product .cgcc-recommendation-info {
    padding-top: 10px;
  }

  body.single-product .cgcc-recommendation-info h3 {
    font-size: 14px;
  }

  body.single-product .cgcc-recommendation-price {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .cgcc-recommendation-main-image,
  body.single-product .cgcc-recommendation-hover-image,
  body.single-product .cgcc-recommendation-info h3 a {
    transition: none !important;
  }
}
