/* «Разом дешевше» (inc/bundles.php): блок на сторінці зустрічі, сторінка /nabir/, позначка в кабінеті */

/* Блок під цінами - у стилі .price-card */
.bundle-card{position:relative;margin-top:22px;background:linear-gradient(180deg,var(--teal-tint),#fff 55%);border:1.5px solid var(--teal);border-radius:var(--radius-sm);padding:26px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px;}
.bundle-badge{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;background:linear-gradient(135deg,var(--teal),var(--blue));color:#fff;font-size:11.5px;font-weight:800;letter-spacing:.02em;padding:6px 13px;border-radius:100px;}
.bundle-card .bundle-badge{position:absolute;top:-13px;right:20px;}
.bundle-card h3{font-size:16.5px;color:var(--violet);}
.bundle-card .price-sub{font-size:12.5px;color:var(--ink-soft);line-height:1.5;margin:0;}
.bundle-items{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:10px;}
.bundle-items li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 12px 8px 8px;min-width:0;flex:1 1 220px;}
.bundle-items li.bundle-plus{flex:0 0 auto;border:0;background:none;padding:0;font-size:22px;font-weight:900;color:var(--teal);}
.bundle-items img{width:46px;height:46px;border-radius:10px;object-fit:cover;flex:none;}
.bundle-items b{display:block;font-size:13px;color:var(--violet);line-height:1.35;}
.bundle-items small{font-size:11px;color:var(--teal);font-weight:700;text-transform:uppercase;letter-spacing:.04em;}
.bundle-prices{display:flex;flex-wrap:wrap;gap:10px 26px;}
.bundle-price{display:flex;align-items:baseline;gap:8px;}
.bundle-price small{font-size:12px;font-weight:700;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.04em;}
.bundle-price .price-old{font-size:14px;color:var(--ink-soft);text-decoration:line-through;}
.bundle-price .price-tag{font-size:21px;font-weight:900;color:var(--violet);}
.bundle-card > .btn{align-self:flex-start;}

/* Сторінка оформлення */
.bundle-page{background:linear-gradient(180deg,var(--teal-tint) 0%,var(--cream) 320px);padding:120px 0 70px;min-height:70vh;}
.bundle-page .live-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:28px;}
.bundle-page .live-card-center{text-align:center;max-width:720px;margin:0 auto;}
.bundle-page .live-card h1,.bundle-page .live-card h2{color:var(--violet);margin-bottom:14px;}
.bundle-page .live-card h2{font-size:19px;}
.bundle-page .live-card p{color:var(--ink-soft);line-height:1.6;margin-bottom:14px;}
.bundle-page .live-card .btn{margin:4px;}
.bundle-done .icon-check{width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:var(--teal-tint);display:flex;align-items:center;justify-content:center;}
.bundle-done .icon-check svg{width:30px;height:30px;fill:none;stroke:var(--teal);stroke-width:3;}
.bundle-head{margin-bottom:22px;}
.bundle-head h1{font-size:clamp(24px,3vw,34px);color:var(--violet);margin:12px 0 6px;}
.bundle-head .live-meta{color:var(--ink-soft);}
.bundle-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start;}
.bundle-main{display:flex;flex-direction:column;gap:18px;}
.bundle-error{background:#fde7e9;border:1px solid #f3b8bf;color:#9b2c3d;border-radius:12px;padding:12px 16px;font-weight:600;}
.bundle-formats{display:flex;flex-wrap:wrap;gap:12px;}
.bundle-format{flex:1 1 200px;cursor:pointer;}
.bundle-format input{position:absolute;opacity:0;pointer-events:none;}
.bundle-format span{display:flex;flex-direction:column;gap:4px;border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;transition:border-color .2s,background .2s;}
.bundle-format b{color:var(--violet);font-size:15px;}
.bundle-format small{color:var(--ink-soft);font-size:13px;}
.bundle-format small s{margin-right:4px;}
.bundle-format input:checked + span{border-color:var(--pink);background:var(--pink-tint);}
.bundle-format input:focus-visible + span{outline:2px solid var(--pink);}
.bundle-items-list{display:flex;flex-direction:column;gap:12px;}
.bundle-items-list[hidden],.bundle-summary [hidden],.bundle-page [data-offline-only][hidden]{display:none!important;}
.bundle-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px;}
.bundle-item img{width:72px;height:72px;border-radius:12px;object-fit:cover;}
.bundle-item-body{display:flex;flex-direction:column;gap:4px;min-width:0;}
.bundle-item-body b{color:var(--violet);font-size:14.5px;line-height:1.35;}
.bundle-item-body small{color:var(--ink-soft);font-size:12.5px;}
.bundle-item-body select{margin-top:4px;max-width:100%;border:1.5px solid var(--line);border-radius:10px;padding:9px 12px;font:inherit;font-size:14px;background:#fff;}
.bundle-item-price{display:flex;flex-direction:column;align-items:flex-end;gap:2px;}
.bundle-item-price s{font-size:12.5px;color:var(--ink-soft);}
.bundle-item-price b{font-size:17px;color:var(--violet);font-weight:900;}
.bundle-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:10px;}
.bundle-fields .field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px;color:var(--ink);}
.bundle-page .consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--ink-soft);margin-top:10px;line-height:1.5;}
.bundle-page .consent input{margin-top:3px;}
.bundle-summary{position:sticky;top:100px;}
.bundle-sum-row{display:flex;justify-content:space-between;gap:10px;margin:0 0 8px!important;font-size:14px;}
.bundle-sum-total{display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-top:1px solid var(--line);padding-top:12px;margin:12px 0 16px!important;}
.bundle-sum-total span{font-weight:700;color:var(--ink);}
.bundle-sum-total b{font-size:26px;font-weight:900;color:var(--violet);}
.bundle-summary .btn{width:100%;justify-content:center;margin:0!important;}
.bundle-note{font-size:12px!important;margin:14px 0 0!important;}
@media (max-width:980px){
  .bundle-layout{grid-template-columns:1fr;}
  .bundle-summary{position:static;}
  .bundle-fields{grid-template-columns:1fr;}
}
@media (max-width:600px){
  .bundle-page{padding:90px 0 40px;}
  .bundle-page .live-card{padding:20px 16px;}
  .bundle-item{grid-template-columns:56px minmax(0,1fr);}
  .bundle-item img{width:56px;height:56px;}
  .bundle-item-price{grid-column:1 / -1;flex-direction:row;justify-content:flex-end;align-items:baseline;gap:8px;}
  .bundle-card{padding:22px 16px;}
}

/* Кабінет */
.m-bundle{font-size:12px;color:var(--teal);font-weight:700;margin-top:4px;line-height:1.4;}
