/* CASE2CASE HOME POLISH V1.0.1 BEGIN */

/* 1) Чохли без друку — однакова висота карток і зображень */
.c2c-v2-section--compact [data-c2c-noprint-grid]{
  align-items:stretch;
}
.c2c-v2-section--compact [data-c2c-noprint-grid] .c2c-v2-plain-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
  border:1px solid #e9e9e9;
  border-radius:14px;
  overflow:hidden;
}
.c2c-v2-section--compact [data-c2c-noprint-grid] .c2c-v2-plain-card>div{
  height:230px;
  min-height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 12px 8px;
  background:linear-gradient(180deg,#fbfbfb 0%,#f6f6f6 100%);
  overflow:hidden;
}
.c2c-v2-section--compact [data-c2c-noprint-grid] .c2c-v2-plain-card img{
  width:100%;
  height:100%;
  max-width:92%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,.045));
}
.c2c-v2-section--compact [data-c2c-noprint-grid] .c2c-v2-plain-card>span{
  display:flex;
  flex-direction:column;
  min-height:92px;
  padding:13px 14px 14px;
  background:#fff;
  border-top:1px solid #ededed;
  font-size:14px;
  line-height:1.32;
}
.c2c-v2-section--compact [data-c2c-noprint-grid] .c2c-v2-plain-card>span small{
  margin-top:auto;
  padding-top:7px;
  color:#888;
  font-size:12px;
}

/* 2) Індивідуальний дизайн — responsive banner */
.c2c-custom-design-banner{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,40%) minmax(0,60%);
  align-items:center;
  min-height:238px;
  margin-top:28px;
  border:1px solid #d8e1ff;
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(115deg,#fbfcff 0%,#f7f9ff 52%,#f4f7ff 100%);
  box-shadow:0 10px 28px rgba(33,57,130,.035);
  font-family:'Circe',sans-serif;
}
.c2c-custom-design-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 82% 30%,rgba(71,108,255,.11),transparent 22%),
    radial-gradient(circle at 69% 78%,rgba(71,108,255,.07),transparent 25%);
  pointer-events:none;
}
.c2c-custom-design-banner__copy{
  position:relative;
  z-index:2;
  padding:34px 22px 32px 34px;
}
.c2c-custom-design-banner__eyebrow{
  margin:0 0 9px;
  color:#3155e7;
  font-size:13px;
  line-height:1;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.c2c-custom-design-banner__copy h2{
  margin:0 0 12px;
  color:#111;
  font-size:38px;
  line-height:.98;
  font-weight:700;
  letter-spacing:-.025em;
}
.c2c-custom-design-banner__copy p{
  max-width:390px;
  margin:0 0 20px;
  color:#666a73;
  font-size:16px;
  line-height:1.42;
}
.c2c-custom-design-banner__cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 18px;
  border-radius:9px;
  background:#173bba;
  color:#fff !important;
  text-decoration:none !important;
  font-size:14px;
  line-height:1;
  font-weight:700;
  box-shadow:0 8px 18px rgba(23,59,186,.18);
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.c2c-custom-design-banner__cta:hover{
  transform:translateY(-1px);
  background:#1435a8;
  box-shadow:0 11px 22px rgba(23,59,186,.22);
}
.c2c-custom-design-banner__visual{
  position:relative;
  z-index:1;
  align-self:stretch;
  min-height:238px;
}
.c2c-custom-design-banner__dots{
  position:absolute;
  right:27%;
  top:25px;
  width:104px;
  height:104px;
  opacity:.36;
  background-image:radial-gradient(#78a0ff 1.3px,transparent 1.3px);
  background-size:9px 9px;
}
.c2c-custom-design-banner__phone{
  position:absolute;
  z-index:3;
  left:47%;
  top:50%;
  width:162px;
  height:220px;
  transform:translate(-50%,-50%) rotate(10deg);
  border-radius:31px;
  background:#171a20;
  box-shadow:0 22px 36px rgba(0,0,0,.18);
  overflow:hidden;
}
.c2c-custom-design-banner__phone img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.96;
}
.c2c-custom-design-banner__phone::after{
  content:"YOUR\A DESIGN\A HERE";
  white-space:pre;
  position:absolute;
  left:50%;
  top:55%;
  transform:translate(-50%,-50%);
  padding:8px 7px;
  border-radius:5px;
  background:#fff;
  color:#111;
  font-size:10px;
  line-height:1.05;
  font-weight:700;
  text-align:center;
}
.c2c-custom-design-banner__text-chip,
.c2c-custom-design-banner__photo-chip,
.c2c-custom-design-banner__palette{
  position:absolute;
  z-index:4;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 26px rgba(34,52,96,.10);
  backdrop-filter:blur(7px);
}
.c2c-custom-design-banner__text-chip{
  left:18%;
  top:47px;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#2b2e35;
  font-size:29px;
  font-weight:700;
}
.c2c-custom-design-banner__photo-chip{
  left:15%;
  bottom:38px;
  width:72px;
  height:72px;
  padding:7px;
  border-radius:12px;
}
.c2c-custom-design-banner__photo-chip span{
  display:block;
  width:100%;
  height:100%;
  border-radius:8px;
  background:linear-gradient(150deg,#7fc8ff 0 35%,#4777b4 35% 48%,#967455 48% 66%,#d8effb 66% 100%);
}
.c2c-custom-design-banner__palette{
  right:8%;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  gap:11px;
  align-items:center;
  padding:13px 16px;
  border-radius:13px;
}
.c2c-custom-design-banner__palette i{
  display:block;
  width:16px;
  height:16px;
  border-radius:50%;
}
.c2c-custom-design-banner__palette i:nth-child(1){background:#202124}
.c2c-custom-design-banner__palette i:nth-child(2){background:#d5d6da}
.c2c-custom-design-banner__palette i:nth-child(3){background:#f0b7cf}
.c2c-custom-design-banner__palette i:nth-child(4){background:#8fd17f}
.c2c-custom-design-banner__palette i:nth-child(5){background:#27477d}

@media(max-width:900px){
  .c2c-custom-design-banner{grid-template-columns:minmax(0,45%) minmax(0,55%)}
  .c2c-custom-design-banner__copy h2{font-size:34px}
  .c2c-custom-design-banner__copy p{font-size:15px}
  .c2c-custom-design-banner__phone{width:148px;height:206px;left:50%}
  .c2c-custom-design-banner__palette{right:4%}
}

@media(max-width:767px){
  .c2c-v2-section--compact [data-c2c-noprint-grid] .c2c-v2-plain-card{
    flex:0 0 46vw;
  }
  .c2c-v2-section--compact [data-c2c-noprint-grid] .c2c-v2-plain-card>div{
    height:176px;
    min-height:176px;
    padding:10px 8px 6px;
  }
  .c2c-v2-section--compact [data-c2c-noprint-grid] .c2c-v2-plain-card>span{
    min-height:84px;
    padding:11px 11px 12px;
    font-size:12px;
  }
  .c2c-v2-section--compact [data-c2c-noprint-grid] .c2c-v2-plain-card>span small{
    font-size:11px;
  }

  .c2c-custom-design-banner{
    grid-template-columns:1fr;
    min-height:0;
    margin-top:20px;
    border-radius:16px;
  }
  .c2c-custom-design-banner__copy{
    padding:22px 18px 4px;
  }
  .c2c-custom-design-banner__eyebrow{font-size:11px;margin-bottom:8px}
  .c2c-custom-design-banner__copy h2{font-size:30px;margin-bottom:10px}
  .c2c-custom-design-banner__copy p{margin-bottom:14px;font-size:14px;max-width:none}
  .c2c-custom-design-banner__cta{padding:12px 15px;font-size:13px;border-radius:9px}
  .c2c-custom-design-banner__visual{min-height:188px}
  .c2c-custom-design-banner__phone{left:55%;width:116px;height:160px;border-radius:24px;transform:translate(-50%,-50%) rotate(9deg)}
  .c2c-custom-design-banner__phone::after{font-size:8px;padding:6px 5px}
  .c2c-custom-design-banner__dots{right:15%;top:14px;width:82px;height:82px;background-size:8px 8px}
  .c2c-custom-design-banner__text-chip{left:9%;top:28px;width:44px;height:44px;font-size:25px;border-radius:11px}
  .c2c-custom-design-banner__photo-chip{left:11%;bottom:22px;width:58px;height:58px;border-radius:11px}
  .c2c-custom-design-banner__palette{right:5%;top:58%;gap:8px;padding:10px 11px;border-radius:11px}
  .c2c-custom-design-banner__palette i{width:12px;height:12px}
}

@media(prefers-reduced-motion:reduce){
  .c2c-custom-design-banner__cta{transition:none!important}
}
/* CASE2CASE HOME POLISH V1.0.1 END */
