.ct-product { max-width: 1100px; margin: 0 auto; padding: 30px 20px 20px; font-family: 'Source Sans Pro', sans-serif; color: #3c3a47; box-sizing: border-box; }
  .ct-product *, .ct-product *::before, .ct-product *::after { box-sizing: border-box; }

  .ct-product__hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 30px; }
  .ct-product__tagline { font-family: 'Source Sans Pro', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #fb8500; margin: 0 0 12px; }
  .ct-product__name { font-family: 'Playfair Display', Georgia, serif; font-size: 52px; font-weight: 700; line-height: 1.1; color: #0e0c19; margin: 0 0 20px; }
  .ct-product__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
  .ct-product__badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; padding: 4px 12px; border-radius: 12px; background: #b5542a; color: #fff; text-transform: uppercase; }
  .ct-product__price { font-family: 'Source Sans Pro', sans-serif; font-size: 20px; font-weight: 600; color: #3c3a47; margin: 0 0 20px; }
  .ct-product__order-btn { display: inline-block; background: #b5542a; color: #fff !important; font-family: 'Source Sans Pro', sans-serif; font-size: 16px; font-weight: 600; padding: 12px 36px; border-radius: 30px; text-decoration: none; transition: background 0.25s ease, transform 0.15s ease; }
  .ct-product__order-btn:hover { background: #943f1c; transform: translateY(-1px); color: #fff !important; text-decoration: none; }

  /* Image wrapper: contain fit with cream backdrop */
  .ct-product__image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #faf7f3;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ct-product__image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
  }

  /* Description + allergen */
  .ct-product__desc { max-width: 900px; margin: 0 auto 24px; padding: 0; }
  .ct-product__desc h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; color: #0e0c19; margin: 0 0 14px; }
  .ct-product__desc p { font-size: 16px; line-height: 1.8; color: #3c3a47; margin: 0 0 14px; }
  .ct-product__desc p:last-child { margin-bottom: 0; }

  .ct-product__allergen { background: #fdf6ee; border-left: 4px solid #fb8500; padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.6; color: #5a4e3c; margin: 20px 0 0; }
  .ct-product__allergen strong { color: #b5542a; }

  /* Native <details> dropdown -- no onclick, no JS */
  .ct-nutrition { max-width: 900px; margin: 0 auto; border: 1px solid #e8e0d6; border-radius: 10px; overflow: hidden; background: #fff; }
  .ct-nutrition > summary {
    background: #faf7f3;
    padding: 18px 24px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #0e0c19;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .ct-nutrition > summary:hover { background: #f3ede5; }
  .ct-nutrition > summary::-webkit-details-marker { display: none; }
  .ct-nutrition > summary::marker { content: ""; }
  .ct-nutrition > summary::after {
    content: "\25BC";
    font-size: 14px;
    color: #b5542a;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 12px;
  }
  .ct-nutrition[open] > summary::after { transform: rotate(180deg); }
  .ct-nutrition__body { padding: 20px 24px; background: #fff; }
  .ct-nutrition__body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
  .ct-nutrition__body td { padding: 8px 0; border-bottom: 1px solid #f0ebe4; }
  .ct-nutrition__body td:last-child { text-align: right; font-weight: 600; color: #0e0c19; }
  .ct-nutrition__body tr:last-child td { border-bottom: none; }

  @media (max-width: 900px) {
    .ct-product { padding: 20px 16px 20px; }
    .ct-product__hero { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
    .ct-product__image-wrap { order: -1; max-width: 600px; margin: 0 auto; }
    .ct-product__name { font-size: 38px; margin-bottom: 16px; }
    .ct-product__desc { margin-bottom: 20px; }
  }

  @media (max-width: 600px) {
    .ct-product__name { font-size: 32px; }
    .ct-product__tagline { font-size: 12px; }
  }

.ct-related { max-width: 1100px; margin: 48px auto 0; padding: 36px 20px 12px; font-family: 'Source Sans Pro', sans-serif; box-sizing: border-box; border-top: 1px solid #e8e0d6; }
.ct-related *, .ct-related *::before, .ct-related *::after { box-sizing: border-box; }
.ct-related a { text-decoration: none; color: inherit; }

.ct-related__header { text-align: center; margin-bottom: 28px; }
.ct-related__kicker { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #fb8500; margin: 0 0 8px; }
.ct-related__title { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 700; line-height: 1.2; color: #0e0c19; margin: 0 0 8px; }
.ct-related__sub { font-size: 14px; color: #5a5869; margin: 0; }

.ct-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }

.ct-related__card { background: #fff; border: 1px solid #f0ebe4; border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.ct-related__card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.07); }

.ct-related__card-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: #faf7f3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.ct-related__card-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }

.ct-related__card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}
.ct-related__card-badge--gf { background: #eef7ee; color: #3a7d34; }
.ct-related__card-badge--ged { background: #eef3f7; color: #2a6f9e; }
.ct-related__card-badge--new { background: #b5542a; color: #fff; }
.ct-related__card-badge--best { background: #fdf6ee; color: #b5542a; }

.ct-related__card-body { padding: 14px 14px 16px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.ct-related__card-name { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 700; color: #0e0c19; margin: 0 0 4px; line-height: 1.3; }
.ct-related__card-price { font-size: 14px; font-weight: 600; color: #b5542a; margin: 0 0 12px; }

.ct-related__card-btn {
  display: inline-block;
  margin-top: auto;
  padding: 8px 18px;
  background: #b5542a;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 20px;
  transition: background 0.2s;
}
.ct-related__card-btn:hover { background: #943f1c; color: #fff !important; }

.ct-related__view-all { text-align: center; margin: 24px 0 0; }
.ct-related__view-all-link { font-size: 14px; font-weight: 600; color: #b5542a; text-decoration: none; }
.ct-related__view-all-link:hover { text-decoration: underline; color: #943f1c; }

@media (max-width: 700px) {
  .ct-related { padding: 28px 16px 8px; margin-top: 36px; }
  .ct-related__title { font-size: 24px; }
  .ct-related__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  /* On 2-column mobile, hide the 3rd card cleanly */
  .ct-related__grid .ct-related__card:nth-child(3) { display: none; }
}

@media (max-width: 380px) {
  .ct-related__grid { grid-template-columns: 1fr; }
  .ct-related__grid .ct-related__card:nth-child(3) { display: flex; }
}

body.page-id-1187 .ct-related { display: none !important; }
