/* SKI-CART-SKIN-2026-11-15 — Carrito in the same editorial language as Finalizar compra (css/checkout-skin.css)
 * and the thank-you page: editorial header, open sections instead of boxed cards (hairline on top + short
 * brand-blue segment), label / value rows, small-capital labels, one primary blue action.
 * Visual only: no WooCommerce, YITH, Stripe or ThemeComplete logic. Loaded on the cart only
 * (inc/checkout-skin.php). Revert: dequeue / delete this file. */
html body.woocommerce-cart{--cs-ink:#0F2430;--cs-head:#27475A;--cs-soft:#4F6472;--cs-muted:#6B7F8C;--cs-blue:#26ADE2;--cs-blue-ink:#1C8FC0;--cs-line:#DCE3E8;--cs-hair:#E8EEF2;--cs-ice:#EEF4F8;
  --cs-rule:linear-gradient(var(--cs-line),var(--cs-line)) 0 1px/100% 1px no-repeat;
  --cs-rule-on:linear-gradient(var(--cs-blue),var(--cs-blue)) 0 0/64px 3px no-repeat,linear-gradient(var(--cs-line),var(--cs-line)) 0 1px/100% 1px no-repeat}

/* 1. Header (only when there are bookings: the empty cart keeps the page title) */
html body.woocommerce-cart:has(.ski-co-intro) .entry-title.main_title{display:none}
html body.woocommerce-cart .ski-co-intro{margin:0 0 34px;padding:8px 0 0}
html body.woocommerce-cart .ski-co-intro__eyebrow{display:flex;align-items:center;gap:16px;margin:0 0 22px;padding:0;color:var(--cs-blue);font-size:13px;font-weight:700;letter-spacing:.24em;line-height:1.2;text-transform:uppercase}
html body.woocommerce-cart .ski-co-intro__eyebrow::before{content:"";flex:0 0 52px;height:2px;background:currentColor}
html body.woocommerce-cart h1.ski-co-intro__title{margin:0 0 16px;padding:0;font-family:var(--et_global_heading_font,'Plus Jakarta Sans'),sans-serif;font-size:clamp(32px,4.6vw,52px);font-weight:800;line-height:1.06;letter-spacing:-.035em;color:var(--cs-head)}
html body.woocommerce-cart h1.ski-co-intro__title .ski-accent{color:var(--cs-blue)}
html body.woocommerce-cart .ski-co-intro__text{max-width:640px;margin:0;padding:0;font-size:17px;line-height:1.65;color:var(--cs-soft)}

/* Notices ("… se ha añadido a tu carrito"): ice with the blue left rule, like the thank-you notes */
html body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
html body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info{display:flex!important;align-items:center;justify-content:space-between;gap:16px;margin:0 0 28px!important;padding:14px 18px!important;background:var(--cs-ice)!important;border:0!important;border-left:3px solid var(--cs-blue)!important;border-radius:0 8px 8px 0!important;box-shadow:none!important;color:var(--cs-soft)!important;font-size:15px!important;line-height:1.5}
html body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before,
html body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info::before{display:none!important}
html body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message .button{order:2;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;color:var(--cs-blue-ink)!important;font-size:12.5px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;text-decoration:none!important}

/* 2. Bookings — each one an open section, the first carries the blue segment */
html body.woocommerce-cart table.shop_table.cart tr.cart_item{margin:0!important;padding:26px 0 24px!important;background:var(--cs-rule)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body.woocommerce-cart table.shop_table.cart tbody tr.cart_item:first-child{background:var(--cs-rule-on)!important}
html body.woocommerce-cart table.shop_table.cart td.product-thumbnail img{border-radius:8px!important}
html body.woocommerce-cart table.shop_table.cart td.product-name > a:first-child{font-family:var(--et_global_heading_font,'Plus Jakarta Sans'),sans-serif!important;font-size:22px!important;font-weight:700!important;letter-spacing:-.02em!important;line-height:1.25!important;color:var(--cs-head)!important;text-decoration:none!important}
html body.woocommerce-cart table.shop_table.cart td.product-name .tm-cart-edit-options{font-style:normal!important;font-size:12px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--cs-blue-ink)!important;text-decoration:none!important}
html body.woocommerce-cart table.shop_table.cart td.product-name .tm-cart-edit-options:hover{color:var(--cs-head)!important}
/* booking details as label / value rows with hairlines */
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata{margin-top:14px!important;padding:0!important;column-gap:0!important;border-top:1px solid var(--cs-hair)!important}
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dt,
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dd{margin:0!important;padding:9px 0!important;border-bottom:1px solid var(--cs-hair)!important}
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dt{font-size:11.5px!important;font-weight:700!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:var(--cs-muted)!important}
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dd{padding-left:16px!important;font-size:15px!important;font-weight:500!important;color:var(--cs-ink)!important}
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dd p{margin:0!important}
/* "¿Cuántos días quieres reservar?" is shown as "Reserva" by style.css (font-size 0 + ::after): keep that */
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dt[class*="Cuntosdas"],
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dt[class*="quieresreservar"]{font-size:0!important}
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dt[class*="Cuntosdas"]::after,
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dt[class*="quieresreservar"]::after{font-size:11.5px!important}
/* amount on the right */
html body.woocommerce-cart table.shop_table.cart td.product-subtotal .amount{font-size:22px!important;font-weight:800!important;letter-spacing:-.01em;color:var(--cs-head)!important;font-variant-numeric:tabular-nums}
html body.woocommerce-cart table.shop_table.cart .product-remove a.remove{border:1px solid var(--cs-line)!important;background:#fff!important;color:var(--cs-muted)!important}
html body.woocommerce-cart table.shop_table.cart .product-remove a.remove:hover{border-color:var(--cs-head)!important;color:var(--cs-head)!important;background:#fff!important}

/* Coupon / update row */
html body.woocommerce-cart table.shop_table.cart td.actions{padding:22px 0 0!important;background:var(--cs-rule)!important;border:0!important}
html body.woocommerce-cart table.shop_table.cart td.actions .coupon input.input-text{min-height:48px;border-radius:8px!important;border-color:var(--cs-line)!important}

/* 3. Totals — an open section with the blue segment, label / value rows, one primary action */
html body.woocommerce-cart .cart-collaterals .cart_totals{padding:26px 0 0!important;background:var(--cs-rule-on)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body.woocommerce-cart .cart-collaterals .cart_totals h2{margin:0 0 6px!important;padding:0 0 16px!important;border-bottom:1px solid var(--cs-hair)!important;font-family:var(--et_global_heading_font,'Plus Jakarta Sans'),sans-serif!important;font-size:24px!important;font-weight:700!important;letter-spacing:-.02em!important;color:var(--cs-head)!important}
html body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table{margin:0!important;border:0!important;border-radius:0!important;background:none!important}
html body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr{background:none!important;border:0!important}
html body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
html body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td{padding:16px 0!important;background:none!important;border:0!important;border-bottom:1px solid var(--cs-hair)!important;vertical-align:baseline}
html body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th{font-size:12.5px!important;font-weight:700!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--cs-blue)!important}
html body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td{font-size:16px!important;color:var(--cs-soft)!important;text-align:right}
html body.woocommerce-cart .cart-collaterals .cart_totals tr.order-total td strong .amount{font-size:clamp(26px,3vw,30px)!important;font-weight:800!important;letter-spacing:-.015em;color:var(--cs-head)!important}
html body.woocommerce-cart .cart-collaterals .cart_totals tr.order-total td{line-height:1.3!important}
html body.woocommerce-cart .wc-proceed-to-checkout{padding:22px 0 0!important}
/* (Finalizar compra keeps the site-wide button system: SKI button system v2) */

@media (max-width:640px){
html body.woocommerce-cart .ski-co-intro{margin-bottom:24px}
html body.woocommerce-cart h1.ski-co-intro__title{font-size:31px}
html body.woocommerce-cart .ski-co-intro__text{font-size:16px}
html body.woocommerce-cart .ski-co-intro__eyebrow{gap:12px;margin-bottom:16px;font-size:12px;letter-spacing:.2em}
html body.woocommerce-cart .ski-co-intro__eyebrow::before{flex-basis:32px}
html body.woocommerce-cart table.shop_table.cart td.product-name > a:first-child{font-size:19px!important}
html body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message{flex-wrap:wrap}
}
/* END SKI-CART-SKIN-2026-11-15 */

/* SKI-CART-SKIN-MOBILE-2026-11-15: one-column phones: label right above its value, one hairline per pair; the renamed day-count label keeps the label letter-spacing. */
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dt[class*="Cuntosdas"]::after,
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dt[class*="quieresreservar"]::after{letter-spacing:.12em!important}
@media (max-width:480px){
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dt{padding:10px 0 1px!important;border-bottom:0!important}
html body.woocommerce-cart table.shop_table.cart .tc-epo-metadata dd{padding:0 0 10px!important}
}
/* SKI-CART-TOTAL-OF-2026-11-15: deposit total = big amount to pay now, with the full booking amount as a quiet line under it. */
html body.woocommerce-cart .cart_totals .order-total td{color:var(--cs-muted)!important;font-size:13.5px!important;font-weight:500!important;line-height:1.4!important}
html body.woocommerce-cart .cart_totals .order-total td > strong:first-child{display:block;margin-bottom:2px}
html body.woocommerce-cart .cart_totals .order-total td strong + strong,
html body.woocommerce-cart .cart_totals .order-total td strong + strong .amount,
html body.woocommerce-cart .cart_totals .order-total td strong + strong bdi{font-size:13.5px!important;font-weight:700!important;color:var(--cs-soft)!important;letter-spacing:0!important}
/* SKI-CART-ALIGN-2026-11-15: the table's 18px row spacing also sat above the first booking, so its top rule was lower than the totals' rule. */
@media (min-width:981px){html body.woocommerce-cart table.shop_table.cart{margin-top:-18px!important}}
/* SKI-CART-TOTAL-LINES-2026-11-15: one line per booking replaces the Subtotal row (inc/checkout-skin.php). */
html body.woocommerce-cart .cart_totals table:has(tr.ski-cart-line) tr.cart-subtotal:not(.ski-cart-line){display:none!important}
/* SKI-CART-LINE-META-2026-11-15: date(s) · people · equipment under each booking line in the cart totals. */
html body.woocommerce-cart .cart_totals tr.ski-cart-line :is(th,td){vertical-align:top!important}
html body.woocommerce-cart .cart_totals tr.ski-cart-line .ski-cart-line__meta{display:block;margin-top:6px;font-family:Inter,"Inter Fallback",sans-serif;font-size:12.5px;font-weight:500;letter-spacing:0;line-height:1.45;text-transform:none;color:#6B7F8C}
html body.woocommerce-cart .cart_totals tr.ski-cart-line .ski-cart-line__meta--td{display:none}
@media (max-width:768px){
html body.woocommerce-cart .cart_totals tr.ski-cart-line .ski-cart-line__meta--td{display:block;clear:both;padding-top:2px;text-align:left}
}
/* SKI-CART-LINE-WIDTH-2026-11-15: wide screens: the label column takes the room, the amount column only what it needs. */
@media (min-width:769px){html body.woocommerce-cart .cart_totals table:has(tr.ski-cart-line) th{width:auto!important}html body.woocommerce-cart .cart_totals tr.ski-cart-line td{width:1%;white-space:nowrap;padding-left:16px!important}}
/* SKI-CART-REMOVE-CONFIRM-2026-11-15 — Tier 3 · Dialog (js/cart-ui.js): a decision, so a card over a dimmed page.
 * Neutral by default, the destructive action is the only red element; Cancelar gets the focus. */
html.ski-confirm-open{overflow:hidden}
dialog.ski-confirm{width:min(440px,calc(100vw - 32px));max-width:none;margin:auto;padding:0;border:0;border-radius:14px;background:#fff;color:#3E5664;box-shadow:0 24px 60px rgba(15,36,48,.28),0 4px 14px rgba(15,36,48,.12);overflow:visible}
dialog.ski-confirm::backdrop{background:rgba(15,36,48,.48);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
dialog.ski-confirm[open]{animation:ski-confirm-in .18s ease-out}
@keyframes ski-confirm-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.ski-confirm__card{margin:0;padding:28px 28px 24px;background:linear-gradient(#CC1818,#CC1818) 28px 0/48px 3px no-repeat}
.ski-confirm__eyebrow{margin:0 0 10px!important;padding:0!important;color:#CC1818;font-family:Inter,"Inter Fallback",sans-serif;font-size:11.5px;font-weight:700;letter-spacing:.18em;line-height:1.2;text-transform:uppercase}
.ski-confirm__title{margin:0 0 12px!important;padding:0!important;color:#27475A;font-family:"Plus Jakarta Sans","PJS Fallback",sans-serif;font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.2}
.ski-confirm__item{margin:0 0 6px!important;padding:0!important;color:#27475A;font-size:15.5px;font-weight:700;line-height:1.4}
.ski-confirm__text{margin:0 0 24px!important;padding:0!important;color:#4F6472;font-size:15px;line-height:1.5}
.ski-confirm__actions{display:flex;justify-content:flex-end;gap:10px}
.ski-confirm__btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border:2px solid transparent;border-radius:10px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease}
.ski-confirm__btn--ghost{background:transparent;border-color:#214A5E;color:#214A5E}
.ski-confirm__btn--danger{background:#CC1818;border-color:#CC1818;color:#fff}
@media (hover:hover){.ski-confirm__btn--ghost:hover{background:#214A5E;color:#fff}.ski-confirm__btn--danger:hover{background:#A31313;border-color:#A31313}}
.ski-confirm__btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(38,173,226,.45)}
@media (max-width:480px){.ski-confirm__card{padding:24px 20px 20px;background-position:20px 0}.ski-confirm__actions{flex-direction:column-reverse}.ski-confirm__btn{width:100%}}
@media (prefers-reduced-motion:reduce){dialog.ski-confirm[open]{animation:none}}

/* SKI-CART-BOOKING-CARD-2026-11-15: each booking as the same card as Finalizar compra (inc/checkout-skin.php):
 * facts line + breakdown rows (label, grey detail, amount right), hairlines, no boxes. The ThemeComplete detail
 * list stays in the markup but is hidden only when the card exists. */
html body.woocommerce-cart table.shop_table.cart .ski-bk ~ dl.variation,
html body.woocommerce-cart table.shop_table.cart .ski-bk ~ dl.tc-epo-metadata{display:none!important}
html body.woocommerce-cart table.shop_table.cart .ski-bk{flex:1 1 100%;width:100%;margin:8px 0 0}
html body.woocommerce-cart table.shop_table.cart .ski-bk__meta{margin:0 0 12px!important;padding:0!important;color:var(--cs-muted,#6B7F8C);font-size:14px;line-height:1.45}
html body.woocommerce-cart table.shop_table.cart ul.ski-bk__lines{list-style:none!important;margin:0!important;padding:0!important;border-top:1px solid var(--cs-hair,#E8EEF2)}
html body.woocommerce-cart table.shop_table.cart li.ski-bk__row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:baseline;margin:0!important;padding:10px 0!important;border-top:1px solid var(--cs-hair,#E8EEF2);list-style:none!important}
html body.woocommerce-cart table.shop_table.cart li.ski-bk__row:first-child{border-top:0}
html body.woocommerce-cart table.shop_table.cart li.ski-bk__row::before{content:none!important;display:none!important}
html body.woocommerce-cart table.shop_table.cart .ski-bk__text{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0}
html body.woocommerce-cart table.shop_table.cart .ski-bk__label{color:var(--cs-head,#27475A);font-size:14px;line-height:1.35;font-weight:700;letter-spacing:0;text-transform:none}
html body.woocommerce-cart table.shop_table.cart .ski-bk__detail{color:var(--cs-muted,#6B7F8C);font-size:13px;line-height:1.35}
html body.woocommerce-cart table.shop_table.cart .ski-bk__amount{color:var(--cs-head,#27475A);font-size:14px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}
html body.woocommerce-cart table.shop_table.cart li.ski-bk__row--total{border-top:1px solid #C9D6DE}
html body.woocommerce-cart table.shop_table.cart li.ski-bk__row--total .ski-bk__label,
html body.woocommerce-cart table.shop_table.cart li.ski-bk__row--total .ski-bk__amount{font-size:15px;font-weight:800}
html body.woocommerce-cart table.shop_table.cart li.ski-bk__row--muted{border-top:0;padding-top:0!important}
html body.woocommerce-cart table.shop_table.cart li.ski-bk__row--muted .ski-bk__label,
html body.woocommerce-cart table.shop_table.cart li.ski-bk__row--muted .ski-bk__amount{color:var(--cs-muted,#6B7F8C);font-size:13px;font-weight:600}
/* price column: what is paid now, same words as Finalizar compra */
html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal::before{content:"A PAGAR HOY"!important}
html body.woocommerce-cart.ssn-shop-en table.shop_table.cart tr.cart_item td.product-subtotal::before{content:"TO PAY TODAY"!important}
