.cb-gift-sets {
  padding: 180px 20px 100px;
}

.cb-gift-sets__container {
  margin: 0 auto;
}

.cb-gift-sets__head {
  max-width: 900px;
  margin: 0 auto 140px;
  text-align: center;
}


.cb-gift-sets__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;  
  font-weight: 800;
  text-align:center;
  color:#000
}

.cb-gift-sets__description {
  margin-bottom: 30px;
  width:100%;
  text-align:center;
  display:flex; justify-content:center;
}

.cb-gift-sets__description p {
 margin: 0;
  font-size: 22px;
  line-height: 1.45;
  color: #000;
  text-align:center;
  width:700px;
  font-weight:400;
}

.cb-gift-sets__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 55px;
  flex-wrap: wrap;
  margin-top:200px;
}

.cb-gift-sets__card {
  --cb-gift-sets-card-bg: #f7f1e8;
  --cb-gift-sets-circle-bg: #e9dcc8;
  --cb-gift-sets-button-bg: #d57b93;
  --cb-gift-sets-button-hover-bg: #c86481;

  position: relative;
  width: calc(40% - 16px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--cb-gift-sets-card-bg);
  border-radius: 28px;
  padding: 28px 24px 24px;
  color: #2f241b;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cb-gift-sets__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.cb-gift-sets__media {
  position: absolute;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -25%;
  left: 50%;
  width: 80%;
  transform: translateX(-50%);
}

.cb-gift-sets__circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--cb-gift-sets-circle-bg);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cb-gift-sets__image-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cb-gift-sets__image-layer {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cb-gift-sets__image-layer--primary {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.cb-gift-sets__image-layer--secondary {
  z-index: 3;
  width: 100%;    
  bottom: -50%;
}

.cb-gift-sets__image {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cb-gift-sets__content {
  margin-top: 88px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-height: 400px;
  margin-bottom: 44px;
}

.cb-gift-sets__actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.cb-gift-sets__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 20px 50px;
  border-radius: 15px;
  background: var(--cb-gift-sets-button-bg);
  color: #000 !important;
  text-decoration: none;
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
  text-align: center;
  transition: background .2s ease, transform .2s ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.cb-gift-sets__button:hover {
  background: var(--cb-gift-sets-button-hover-bg);
  transform: translateY(-1px);
}

.cb-gift-sets__button br {
  display: block;
  content: "";
}

@media (max-width: 991px) {
  .cb-gift-sets {
    padding: 88px 20px 88px;
  }

  
  .cb-gift-sets__title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .cb-gift-sets__description p {
    font-size: 16px;
    line-height: 1.6;
  }

  .cb-gift-sets__grid {
    flex-direction: column;
    align-items: center;
    gap: 170px;
    margin-top:150px;
  }

  .cb-gift-sets__card {
    width: 100%;
    max-width:400px;
  }

  .cb-gift-sets__media {
    min-height: 220px;
    width:300px;
  }

  

  .cb-gift-sets__content {
    min-height: 280px;
    margin-bottom: 20px;
  }

  .cb-gift-sets__button {
    font-size: 22px;
    line-height: 30px;
    padding: 18px 32px;
  }

  
}