/* === BASE DESKTOP === */
.coh-cart {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.coh-cart-intro-title {
	color: #000;
font-family: "MuseoSansCyrl";
font-size: 70px;
font-style: normal;
font-weight: 600;
line-height: normal;
}

.coh-cart-intro-text{
	color: #000;
	font-family: "MuseoSansCyrl";
	font-size: 16px;
	font-style: normal;
	line-height: 26px; 
}

.coh-item {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.coh-item-media { width: max-content; }

/* Нова структура */
.coh-item-left { flex-shrink: 0; }
.coh-item-right { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; }

.coh-item-media img {
  border-radius: 12px;
  display: block;
  width: 100%;
  height: 215px;
  object-fit: cover;
}

/* Верхній блок */
.coh-item-header {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 12px;
}

/* Бейдж */
.coh-badge {
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: "MuseoSansCyrl", Sans-serif;
}

.coh-badge.is-team {
  background: #E8F7EF;
  color: #72BC9C;
}

.coh-badge.is-solo {
  background: #EEF2F7;
  color: #9272BC;
}

/* Хрестик */
.coh-item-header .remove {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s;
  border: none !important;
  margin: unset !important;
}
.coh-item-header .remove:hover {
  background: #e5e7eb;
}

/* Назва */
.coh-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
}
.coh-title a {
  text-decoration: none;
  color: inherit;
}

    .coh-back-link {
      color: #118CD7;
		font-family: "MuseoSansCyrl";
		font-size: 16px;
		font-style: normal;
		font-weight: 600;
		line-height: 30px;
	}

/* Рядок "ціна / кількість" */
.coh-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
/*   margin-top: 12px; */
}
.coh-label {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 16px;
}
.coh-price {
  color: #1F88C9;
  font-weight: 600;
  font-size: 16px;
}

/* Інші блоки */
.coh-block { 
/* 	margin-top: 14px;  */
}
.coh-block-title { 
	font-weight: 700; 
	display: flex; 
	align-items: center; 
	gap: 8px; 
	
	color: #000;
	font-family: "MuseoSansCyrl";
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;

}
.coh-block-value { 
	color: #000;
	font-family: "MuseoSansCyrl";
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 24px;
}

@media (max-width: 1200px) {
  body .wp-block-columns.is-layout-flex.wp-block-columns.is-layout-flex {
    padding: 80px 30px 80px !important;
  }
}


/* === TABLET (<=1024px) === */
@media (max-width: 1024px) {
  .coh-item {
    grid-template-columns: 210px 1fr;
    gap: 16px;
  }

  .coh-title { font-size: 20px; }
  .coh-row { gap: 20px; }

  .coh-badge { font-size: 16px; }
}

@media (min-width: 769px) {
  body.woocommerce-cart .cart_totals h2 {
    display: flex;
    justify-content: end;
  }
}

/* === SMALL TABLET / LARGE MOBILE (<=768px) === */
@media (max-width: 768px) {
  .coh-item {
    grid-template-columns: 225px 1fr;
    gap: 14px;
  }

  .coh-title { font-size: 18px; -webkit-line-clamp: 3; }
  .coh-row { grid-template-columns: 1fr; gap: 14px; }

  .coh-badge { font-size: 15px; padding: 5px 9px; }
  .coh-item-header .remove { width: 24px; height: 24px; font-size: 18px; }
	
	  figure.wp-block-image.eplus-wrapper img.wp-image-237 {
    display: none !important;
  }
	
	  body.woocommerce-cart .cart_totals h2 {
    display: flex;
    justify-content: center;
  }
}

/* === PERFECT MOBILE LAYOUT 360–480px === */
@media (max-width: 480px) {
  .coh-item {
    display: grid;
    grid-template-columns: 113px 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 8px;
    row-gap: 4px;
    padding-bottom: 20px;
  }
	.coh-cart-intro-title {
		color: #000;
		font-family: "MuseoSansCyrl";
		font-size: 30px;
		font-style: normal;
		font-weight: 600;
		line-height: normal;
	}
	
	.coh-cart-actions{
		margin-top: 22px;
		display: flex;
		justify-content: center;
	}
	
	.coh-back-link{
		color: #118CD7;
		font-family: "MuseoSansCyrl";
		font-size: 16px;
		font-style: normal;
		font-weight: 600;
		line-height: 30px;
	}
	
	.coh-cart-intro-text{
	color: #000;
	font-family: "MuseoSansCyrl";
	font-size: 14px;
	font-style: normal;
	line-height: 26px; 
}
	
  .coh-item-left {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .coh-item-right {
    display: contents; /* дозволяє елементам потрапити у grid */
  }

  .coh-item-media img {
    width: 113px;
    height: 113px;
    object-fit: cover;
    border-radius: 10px;
  }

  /* бейдж */
  .coh-badge {
    grid-column: 2;
    grid-row: 1;
    font-size: 16px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    align-self: start;
  }

  /* хрестик */
  .coh-item-header .remove {
    grid-column: 3;
    grid-row: 1;
    font-size: 22px;
    color: #999;
    background: transparent;
    justify-self: end;
  }

  /* назва */
  .coh-title {
    grid-column: 2 / span 2;
    grid-row: 2;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
  }

  /* ціна / кількість */
  .coh-row {
    grid-column: 1 / span 3;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
  }

  .coh-label {
    font-size: 16px;
    font-weight: 600;
    color: #000;
  }

  .coh-price {
    color: #1F88C9;
    font-size: 18px;
    font-weight: 600;
  }

  .coh-qty input.qty {
    width: 70px;
    height: 34px;
    text-align: center;
    font-size: 15px;
  }

  /* кому допомога / хто допомагає */
  .coh-recipient,
  .coh-support {
    grid-column: 1 / span 3;
/*     margin-top: 8px; */
  }

  .coh-recipient .coh-block-title,
  .coh-support .coh-block-title {
    font-size: 16px;
    font-weight: 600;
  }

  .coh-recipient .coh-block-value,
  .coh-support .coh-block-value {
    font-size: 16px;
    font-weight: 400;
  }

  .coh-more-toggle {
    background: none;
    border: 0;
    color: #0b72d2;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
  }
}
