/* Dedicated CTC presentation. Shared Woo/CTC engine owns every price and selection. */
.aba-v1[data-page="combo"] { background:var(--aba-rebalance-canvas,#FFFEFC); }
.ctc-page { color:var(--aba-rebalance-ink,#2E2E2E); padding-bottom:64px; }
.ctc-heading { padding:18px 0 32px; }
.ctc-heading h1 { font-size:clamp(32px,3.5vw,48px); line-height:1.1; letter-spacing:-.025em; margin:0 0 16px; }
.ctc-heading p { max-width:66ch; font-size:17px; line-height:1.5; margin:0; }
.ctc-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; align-items:start; gap:40px; }
.ctc-selection-heading,.ctc-summary-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.ctc-selection-heading { margin-bottom:18px; }
.ctc-selection-heading h2,.ctc-summary h2 { font-size:23px; margin:0; }
.ctc-selection-heading>span,.ctc-summary-heading>span { font-size:13px; }
.ctc-search { display:grid; gap:7px; font-size:13px; font-weight:500; }
.ctc-search input { width:100%; min-height:46px; border:1px solid #8F918D; border-radius:8px; padding:10px 14px; background:#fff; color:inherit; font:inherit; font-size:16px; caret-color:#2E2E2E; }
.ctc-search input::placeholder { color:#626660; }
.ctc-filters { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 24px; }
.ctc-filters button { border:1px solid #C5CBC7; background:transparent; color:inherit; border-radius:30px; font:inherit; font-size:13px; padding:10px 14px; min-height:42px; cursor:pointer; }
.ctc-filters button[aria-pressed="true"] { background:var(--aba-rebalance-blue,#00D6FA); border-color:transparent; }
.ctc-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.ctc-card { min-width:0; border:1px solid #DDE0DA; border-radius:12px; overflow:hidden; background:#fff; align-self:start; }
.ctc-card.is-selected { border-color:#08798C; background:var(--aba-rebalance-blue-soft,#E6FBFF); }
.ctc-select { display:block; width:100%; padding:0; border:0; background:transparent; color:inherit; text-align:left; font:inherit; cursor:pointer; }
.ctc-art { display:block; position:relative; padding:8px; background:#fff; }
.ctc-art img { display:block; width:100%; height:150px; object-fit:contain; }
.ctc-check { position:absolute; top:10px; right:10px; width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#FDF9F2; }
.is-selected .ctc-check { background:var(--aba-rebalance-blue,#00D6FA); }
.ctc-check svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; }
.ctc-card-copy { display:grid; gap:8px; padding:14px; font-size:15px; }
.ctc-card-copy strong { line-height:1.3; min-height:39px; font-weight:500; }
.ctc-card-copy>span { font-weight:600; font-variant-numeric:tabular-nums; }
.ctc-quantity { display:flex; align-items:center; justify-content:space-between; margin:0 12px 12px; gap:8px; font-variant-numeric:tabular-nums; }
.ctc-quantity button { min-width:44px; min-height:40px; border:1px solid #8EAAA9; background:#fff; border-radius:8px; font:inherit; font-size:20px; color:inherit; cursor:pointer; }
.ctc-summary { position:sticky; top:125px; background:var(--aba-rebalance-warm,#FDF9F2); border-radius:16px; padding:24px; }
.ctc-saving { font-size:27px; font-weight:500; margin:24px 0 18px; }
.ctc-tiers { display:grid; grid-template-columns:repeat(3,1fr); list-style:none; padding:0; margin:0 0 16px; gap:5px; }
.ctc-tiers li { display:grid; gap:5px; border-bottom:3px solid #CCD4D0; padding:8px 0 12px; font-size:13px; }
.ctc-tiers li[data-state="unlocked"] { border-color:#08798C; }
.ctc-tiers li[aria-current] { background:#E6FBFF; }
.ctc-tiers strong { font-weight:500; white-space:nowrap; }
.ctc-progress { display:block; width:100%; height:5px; accent-color:#08798C; border:0; }
.ctc-progress::-webkit-progress-bar { background:#DDE3DC; border-radius:3px; }
.ctc-progress::-webkit-progress-value { background:#08798C; border-radius:3px; }
.ctc-guidance { font-size:14px; line-height:1.5; margin:12px 0 24px; }
.ctc-totals { border-top:1px solid #D6DCD3; padding-top:18px; display:grid; gap:14px; font-size:14px; font-variant-numeric:tabular-nums; }
.ctc-totals>div { display:flex; justify-content:space-between; gap:12px; }
.ctc-totals>div:last-child { padding-top:12px; border-top:1px solid #D6DCD3; }
.ctc-tax { font-size:12px; line-height:1.5; margin:16px 0 20px; }
.aba-v1 a.ctc-primary { display:flex; align-items:center; justify-content:center; min-height:48px; padding:12px 20px; border-radius:8px; background:var(--aba-rebalance-blue,#00D6FA); color:#2E2E2E; font-weight:600; text-decoration:none; }
.ctc-primary[aria-disabled="true"] { opacity:.65; }
.ctc-terms { margin-top:20px; font-size:13px; line-height:1.5; }
.ctc-terms summary { cursor:pointer; text-underline-offset:3px; }
.ctc-terms p { margin:12px 0; }
.ctc-retry { display:block; min-height:46px; margin:24px auto 0; padding:10px 24px; background:transparent; border:1px solid #687A75; border-radius:8px; font:inherit; cursor:pointer; color:inherit; }
.ctc-empty { grid-column:1/-1; padding:24px 0; }
.ctc-message { position:sticky; bottom:90px; padding:16px; background:#FDF9F2; border:1px solid #687A75; border-radius:8px; margin-top:20px; z-index:12; }
.ctc-mobile-summary { display:none; }
.ctc-unavailable { padding:32px 0 64px; }
.ctc-page [hidden] { display:none!important; }
.ctc-page :is(button,a,input,summary):focus-visible { outline:3px solid #08798C; outline-offset:3px; }
.ctc-page button:disabled { cursor:wait; opacity:.6; }
@media(hover:hover) { .ctc-select:hover .ctc-art { background:#FDF9F2; } .ctc-filters button:hover { border-color:#08798C; } }
@media(max-width:1100px) { .ctc-layout { gap:24px; grid-template-columns:minmax(0,1fr) 310px; } .ctc-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
 .ctc-page { padding-bottom:110px; }
 .ctc-heading { padding:12px 0 26px; }
 .ctc-heading h1 { font-size:34px; }
 .ctc-heading p { font-size:15px; }
 .ctc-layout { display:flex; flex-direction:column; gap:28px; }
 .ctc-selection { width:100%; }
 .ctc-selection-heading h2 { font-size:21px; }
 .ctc-filters { flex-wrap:nowrap; overflow-x:auto; margin-bottom:18px; padding-bottom:6px; scrollbar-width:thin; scrollbar-color:#08798C #E6FBFF; }
 .ctc-filters button { flex-shrink:0; }
 .ctc-cards { gap:12px; }
 .ctc-art img { height:124px; }
 .ctc-card-copy { padding:12px; font-size:14px; }
 .ctc-card-copy strong { min-height:37px; }
 .ctc-summary { position:static; width:100%; padding:22px; }
 .ctc-mobile-summary { display:flex; position:fixed; bottom:0; left:0; right:0; align-items:center; justify-content:space-between; gap:12px; padding:12px 18px calc(12px + env(safe-area-inset-bottom)); background:#FDF9F2; border-top:1px solid #D6DCD3; z-index:30; }
 .ctc-mobile-summary>div { display:grid; gap:4px; font-size:12px; }
 .ctc-mobile-summary strong { font-size:16px; font-weight:500; }
 .ctc-mobile-summary .ctc-primary { min-height:44px; padding:10px 16px; font-size:14px; }
 .aba-v1[data-page="combo"] [data-open-cart-mobile] { display:none!important; }
 .aba-v1[data-page="combo"]:has([data-cart-drawer][aria-hidden="false"], [data-menu-drawer][aria-hidden="false"]) .ctc-mobile-summary { visibility:hidden; }
}

/* Selected names remain compact; mobile sees the tier promise before selecting. */
.ctc-mobile-tiers { display:none; }
.ctc-selected { list-style:none; padding:0; margin:0 0 18px; max-height:92px; overflow:auto; scrollbar-width:thin; scrollbar-color:#08798C #E6FBFF; font-size:13px; }
.ctc-selected li { display:flex; justify-content:space-between; gap:12px; padding:5px 0; }
@media(max-width:700px) {
 .ctc-mobile-tiers { display:grid; width:100%; margin-bottom:26px; }
 .aba-v1[data-page="combo"] #aba-rc1-label { bottom:calc(84px + env(safe-area-inset-bottom))!important; }
}

/* This page already owns the cart summary at every viewport. */
.aba-v1[data-page="combo"] [data-open-cart-mobile] { display:none!important; }

/* Progressive area browsing; skeletons retain the image geometry. */
.ctc-sentinel { height:1px; pointer-events:none; }
.ctc-load-status { margin:18px 0; color:#626660; font-size:13px; text-align:center; }
.ctc-art.is-loading::before { content:""; position:absolute; inset:12px; background:#F1F2ED; border-radius:8px; }
.ctc-art.is-loading img,.ctc-art.has-image-error img { visibility:hidden; }
.ctc-art.has-image-error::before { content:"Imagen no disponible"; position:absolute; inset:12px; display:grid; place-items:center; background:#F1F2ED; color:#626660; font-size:12px; }
.ctc-image-retry { display:block; margin:0 12px 12px; padding:8px; min-height:44px; color:inherit; border:1px solid #8F918D; border-radius:8px; background:#fff; font:inherit; font-size:13px; cursor:pointer; }
