#combos.combos-section{content-visibility:visible;contain-intrinsic-size:none}
#combos .store-section-heading p{font-weight:750;color:#384e64}
#combos #combo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;container-type:inline-size}
.pack-card{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;align-content:center;gap:5px 9px;padding:8px 12px;border:1.5px solid #00bfff;border-radius:12px;background:linear-gradient(145deg,#fff 42%,#f5f2ff);color:#172341;box-shadow:0 4px 12px #175e8d12}
.pack-tags{grid-column:1/-1;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pack-badge,.pack-count,.pack-price small{display:inline-block;padding:2px 7px;border-radius:20px;font-size:10px;font-weight:800;line-height:1.25}
.pack-badge{background:#5832b3;color:white}.pack-count{background:#ebe4ff;color:#402379;border:1.5px solid #17141c}
.pack-intro h3{grid-area:title;align-self:end;margin:0;font-size:17px;line-height:1.15;overflow-wrap:anywhere}
.pack-logos{grid-area:logos;align-self:start;display:flex;flex-wrap:wrap;gap:3px}
.pack-logo{width:37.5px;height:37.5px;display:grid;place-items:center;border-radius:5px;overflow:hidden;background:#0c1728;color:white}
.pack-logo img{width:100%;height:100%;object-fit:contain}.pack-logo .brand-mark{font-size:9px}
.pack-price small{background:#be175a;color:white}.pack-price strong{font-size:22px;line-height:1.15}.pack-price span{font-size:9px}.pack-price div{white-space:nowrap}
.pack-actions{display:grid;gap:3px}.pack-actions button{cursor:pointer;border:1.5px solid #6644bd;border-radius:8px;padding:3px 9px;background:#6644bd;color:white;font-family:inherit;font-size:12px;font-weight:700;line-height:1.25}.pack-actions button+button{background:white;color:#18121f}


@media(max-width:380px){#combos{padding-inline:8px}.pack-price div{white-space:normal}.pack-logo{width:31.5px;height:31.5px}}
:is(#combos,#pack-sample,.saved-pack-preview) .pack-card{position:relative;margin-top:5px;padding-top:13px}
:is(#combos,#pack-sample,.saved-pack-preview) .pack-badge{position:absolute;top:-7px;right:9px;line-height:1.2;padding:2px 7px;box-shadow:0 1px 3px #15213430}
:is(#combos,#pack-sample,.saved-pack-preview) .badge-popular{background:#ac2744}:is(#combos,#pack-sample,.saved-pack-preview) .badge-family{background:#6041aa}:is(#combos,#pack-sample,.saved-pack-preview) .badge-value{background:#087254}:is(#combos,#pack-sample,.saved-pack-preview) .badge-offer{background:#b34809}
:is(#combos,#pack-sample,.saved-pack-preview) .pack-tags{background:transparent;border:0;box-shadow:none;line-height:1.25;gap:3px 6px}
:is(#combos,#pack-sample,.saved-pack-preview) .pack-services{font-size:11px;color:#36415c;min-width:0;overflow-wrap:anywhere}

.pack-card{
 isolation:isolate;position:relative;border:1.5px solid transparent;
 background:linear-gradient(145deg,#fff 42%,#f5f2ff) padding-box,
 linear-gradient(115deg,#d954ff,#927aff 32%,#31bcff 68%,#18ebdd) border-box
}
.pack-card.pack-photo{background-origin:padding-box;background-clip:padding-box;border-color:#7298ee}
.pack-preview,#pack-sample,.pack-editor form{box-sizing:border-box;max-width:100%}
:is(#combos,#pack-sample,.saved-pack-preview) .pack-dark{color:white}
:is(#combos,#pack-sample,.saved-pack-preview) .pack-dark :is(h3,.pack-services,.pack-price strong,.pack-price span){color:white;text-shadow:0 1px 3px #151024}
:is(#combos,#pack-sample,.saved-pack-preview) .pack-light :is(h3,.pack-services,.pack-price strong,.pack-price span){color:#141529;text-shadow:0 1px 3px #fff}
.pack-details{white-space:pre-line;overflow-wrap:anywhere}
#modal:has(.pack-editor){width:min(900px,96vw);max-width:96vw}
.pack-editor{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;gap:16px}
.pack-editor form{grid-column:1;grid-row:1;min-width:0}
.pack-preview{grid-column:2;grid-row:1;position:sticky;top:0;min-width:0}
#pack-sample,.saved-pack-preview{padding:12px 1px;container-type:inline-size;font-family:Inter,Arial,sans-serif}
.pack-editor input[type=range]{width:100%;accent-color:#966af8}
@media(max-width:700px){
 .ahorra-bg>#combos{box-sizing:border-box;width:100%;max-width:100%;margin-inline:0;padding-inline:7px}
 #combos #combo-grid{gap:10px 6px;grid-template-columns:minmax(0,1fr)}
 .pack-editor{display:flex;flex-direction:column}.pack-editor form,.pack-preview{width:100%}.pack-preview{position:static}
}

/* Group the text and actions at the edges so the center of the artwork stays visible. */
:is(#combos,#pack-sample,.saved-pack-preview) .pack-card{
 box-sizing:border-box;grid-template-columns:minmax(0,1fr) max-content;
 grid-template-areas:"tags tags" "services services" "title price" "logos actions";grid-template-rows:auto auto minmax(0,1fr) auto;align-content:start;
 align-items:center;gap:3px 7px;aspect-ratio:27/10;min-height:128px;padding:13px 9px 8px
}
.pack-tags{grid-area:tags}.pack-intro{display:contents}
.pack-price{grid-area:price;justify-self:end;align-self:end;text-align:right;padding-top:14px}
.pack-price small{font-size:9px;line-height:1.2;padding:2px 6px}
.pack-logo{box-sizing:border-box;border:1px solid var(--pack-brand,#8293ae);border-radius:7px}
.pack-actions{grid-area:actions;align-self:end;display:flex;align-items:center;gap:4px;white-space:nowrap}
.pack-actions button{display:inline-flex;align-items:center;justify-content:center;gap:3px;border-radius:20px;padding:5px 7px;border:1.5px solid #55f784;background:#55f784;color:#08240e;font-weight:750;font-size:11px}
.pack-actions button+button{border-color:#fff;color:white;background:#13182c;box-shadow:0 0 0 1px #445067}
.pack-actions svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.pack-actions button:focus-visible{outline:2px solid #178df0;outline-offset:2px}
.pack-card.pack-dark{background-color:#0c1223}.pack-card.pack-light{background-color:#edf1f7}
@media(min-width:701px) and (max-width:1040px){#combos #combo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pack-actions button{padding:6px 8px}}

.combo-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.combo-admin-card{display:grid;align-content:start;gap:12px;padding:18px;overflow-wrap:anywhere}
.combo-card-head,.combo-card-actions,.combo-preview-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.combo-card-head,.combo-preview-head{justify-content:space-between}
.combo-admin-card h2,.combo-admin-card p{margin:0}
.combo-admin-card h2{font-size:18px}
.combo-admin-card p{color:#bdcadd}
#modal:has(.pack-editor){padding-top:12px}
#modal-body:has(.pack-editor){padding-top:0}
#modal-body .combo-editor-title{margin:0 40px 12px 0;font-size:18px;color:#743bcc}
.catalog-switch{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;cursor:pointer}
.catalog-switch input[type=checkbox]{appearance:none;box-sizing:border-box;width:34px;height:20px;border-radius:15px;border:1px solid #8293aa;background:radial-gradient(circle at 9px center,white 6px,transparent 7px),#51627b;cursor:pointer;margin:0}
.catalog-switch input:checked{background:radial-gradient(circle at 24px center,white 6px,transparent 7px),#7543d4}
.ap-offers-heading .offer-section-switch{margin-left:auto}
.ap-offers-heading .offer-section-switch+button{margin-left:0}
.customer-list td:first-child strong{color:#fff344;font-size:15px}
.customer-list td:first-child small{color:#fff;font-size:13px;overflow-wrap:anywhere}
.customer-list .admin-phone-number{display:inline-block;padding:3px 8px;border:1px solid #a979ed;border-radius:99px;background:#9956da26;color:#e8d9ff}
@media(max-width:950px){.combo-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.combo-admin-grid{grid-template-columns:1fr}}

.customer-identity{display:flex;align-items:center;gap:9px;min-width:0}
.customer-avatar{position:relative;display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;overflow:hidden;background:#443276;color:#fff;font-weight:700}
.customer-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.admin-page .customer-list button[data-remove-user],body.admin-page #customer-confirm{background:#a22034!important;color:#fff!important;border-color:#ff6475!important}
body.admin-page .customer-list button[data-block-user]{background:#73244f!important;color:#ffdfef!important;border-color:#f78dc6!important}

.combo-admin-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.combo-admin-card{min-width:0;grid-template-columns:minmax(0,1fr)}
.combo-admin-card .saved-pack-preview{min-width:0;padding:5px 0 0}
.combo-admin-card .combo-card-actions .pill{margin-right:auto}

:is(#combos,#pack-sample,.saved-pack-preview) .pack-tags{display:contents}
.pack-card .pack-count{grid-area:tags;justify-self:start}
.pack-card .pack-services{grid-area:services}
.pack-card :is(.pack-services,h3){min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pack-card .pack-intro h3{align-self:center}
.pack-card .pack-price{display:flex;align-items:center;justify-content:end;gap:4px;align-self:center;padding-top:0}
.pack-card .pack-logos{width:100%;min-width:0;align-self:end;flex-wrap:nowrap;align-items:center;gap:min(1%,3px)}
.pack-card .pack-logo{flex:0 1 34px;min-width:0;width:34px;height:auto;aspect-ratio:1}
.pack-card .pack-logo>*{min-width:0;max-width:100%;max-height:100%}
.pack-card .pack-badge{max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
