:root{
  --cebes-checkout-bg:#f6f2ea;
  --cebes-checkout-card:#fff;
  --cebes-checkout-line:#e2dbcf;
}

body.cebes-checkout-v2{
  background:var(--cebes-checkout-bg);
  color:var(--cebes-ink);
  font-family:var(--cebes-font);
  font-size:17px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
body.cebes-checkout-v2 *,body.cebes-checkout-v2 *::before,body.cebes-checkout-v2 *::after{box-sizing:border-box}
body.cebes-checkout-v2 .site-content,
body.cebes-checkout-v2 .content-area,
body.cebes-checkout-v2 .site-main{background:transparent}
body.cebes-checkout-v2 .entry-header,
body.cebes-checkout-v2 .entry-title,
body.cebes-checkout-v2 .page-title,
body.cebes-checkout-v2 h1.entry-title{display:none!important}
body.cebes-checkout-v2 .ast-container,
body.cebes-checkout-v2 .site-content>.ast-container{
  max-width:1240px!important;
  width:min(1240px,calc(100% - clamp(32px,6vw,88px)))!important;
  margin-inline:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.cebes-checkout-v2 .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.cebes-checkout-v2 .woocommerce{width:100%!important;max-width:none!important;padding:52px 0 88px}

.cebes-checkout-intro{max-width:760px;margin:0 0 34px}
.cebes-checkout-intro .cebes-kicker{margin-bottom:10px}
.cebes-checkout-intro h1{
  font-size:clamp(38px,3.4vw,52px);
  line-height:1.04;
  letter-spacing:-.032em;
  color:var(--cebes-navy);
  margin:0 0 14px;
  font-weight:720;
}
.cebes-checkout-intro>p:not(.cebes-kicker):not(.cebes-checkout-login){font-size:18px;color:#546570;max-width:700px;margin:0}
.cebes-checkout-login{font-size:15px;color:#697781;margin:14px 0 0}
.cebes-checkout-login a{color:var(--cebes-navy);font-weight:600;border-bottom:1px solid rgba(7,29,49,.28)}

/* Layout principal: fuerza el reset de anchos heredados de Astra/WooCommerce. */
body.cebes-checkout-v2 form.checkout.woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1.5fr) minmax(360px,.82fr)!important;
  gap:28px clamp(34px,4.2vw,58px)!important;
  align-items:start!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.cebes-checkout-v2 form.checkout.woocommerce-checkout>*{min-width:0}
body.cebes-checkout-v2 #customer_details{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  background:#fff;
  border:1px solid var(--cebes-checkout-line);
  border-radius:22px;
  padding:34px;
  box-shadow:0 18px 46px rgba(7,29,49,.06);
}
body.cebes-checkout-v2 #customer_details .col-1,
body.cebes-checkout-v2 #customer_details .col-2,
body.cebes-checkout-v2 .woocommerce-billing-fields,
body.cebes-checkout-v2 .woocommerce-shipping-fields{
  float:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.cebes-checkout-v2 #customer_details .col-2{margin-top:22px!important}
body.cebes-checkout-v2 #customer_details h3{font-size:27px;line-height:1.15;color:var(--cebes-navy);margin:0 0 22px;font-weight:680}
body.cebes-checkout-v2 #order_review_heading{display:none!important}

.cebes-checkout-review-wrap{
  grid-column:2!important;
  grid-row:1 / span 2!important;
  width:100%!important;
  max-width:430px!important;
  min-width:0!important;
  margin:0!important;
  position:sticky;
  top:118px;
  align-self:start;
  border-radius:22px;
  box-shadow:0 22px 56px rgba(7,29,49,.10);
}
.admin-bar.cebes-checkout-v2 .cebes-checkout-review-wrap{top:150px}
.cebes-checkout-review-title{
  width:100%;
  background:var(--cebes-navy);
  color:#fff;
  border-radius:22px 22px 0 0;
  padding:25px 27px 18px;
}
.cebes-checkout-review-title .cebes-kicker{color:var(--cebes-gold);margin-bottom:7px}
.cebes-checkout-review-title h2{font-size:29px;line-height:1.12;margin:0 0 6px;color:#fff;font-weight:680}
.cebes-checkout-review-title p:last-child{margin:0;color:rgba(255,255,255,.72);font-size:15px}
body.cebes-checkout-v2 #order_review{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  clear:none!important;
  position:static!important;
  top:auto!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid #e0d8ca!important;
  border-top:0!important;
  border-radius:0 0 22px 22px!important;
  padding:0 27px 27px!important;
  box-shadow:none!important;
  overflow:visible!important;
}

.cebes-checkout-payment-panel{
  grid-column:1!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  background:#fff;
  border:1px solid var(--cebes-checkout-line);
  border-radius:22px;
  padding:32px 34px 34px;
  box-shadow:0 18px 46px rgba(7,29,49,.06);
}

/* Campos */
body.cebes-checkout-v2 .woocommerce-billing-fields__field-wrapper,
body.cebes-checkout-v2 .woocommerce-shipping-fields__field-wrapper{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:0 16px!important;
  width:100%!important;
}
body.cebes-checkout-v2 .form-row{margin:0 0 18px!important;padding:0!important;float:none!important;min-width:0!important}
body.cebes-checkout-v2 .form-row-first,
body.cebes-checkout-v2 .form-row-last{width:calc(50% - 8px)!important}
body.cebes-checkout-v2 .form-row-wide{width:100%!important}
body.cebes-checkout-v2 .form-row label{font-size:15px!important;line-height:1.35!important;font-weight:600!important;color:#263b4b!important;margin:0 0 7px!important;display:block!important}
body.cebes-checkout-v2 .form-row .required{color:#9a6f23}
body.cebes-checkout-v2 input.input-text,
body.cebes-checkout-v2 textarea,
body.cebes-checkout-v2 select,
body.cebes-checkout-v2 .select2-container,
body.cebes-checkout-v2 .select2-container .select2-selection--single{
  width:100%!important;
  max-width:100%!important;
}
body.cebes-checkout-v2 input.input-text,
body.cebes-checkout-v2 textarea,
body.cebes-checkout-v2 select,
body.cebes-checkout-v2 .select2-container .select2-selection--single{
  min-height:52px!important;
  border:1px solid #d8d6d0!important;
  border-radius:12px!important;
  background:#fcfbf8!important;
  color:#152b3d!important;
  padding:0 14px!important;
  font-size:16px!important;
  box-shadow:none!important;
  transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
body.cebes-checkout-v2 textarea{min-height:108px!important;padding-top:12px!important}
body.cebes-checkout-v2 .select2-container .select2-selection--single{display:flex!important;align-items:center!important;padding:0 12px!important}
body.cebes-checkout-v2 .select2-container--default .select2-selection--single .select2-selection__arrow{height:50px!important;right:8px!important}
body.cebes-checkout-v2 input.input-text:focus,
body.cebes-checkout-v2 textarea:focus,
body.cebes-checkout-v2 select:focus,
body.cebes-checkout-v2 .select2-container--focus .select2-selection--single{
  outline:none!important;
  border-color:var(--cebes-gold)!important;
  box-shadow:0 0 0 3px rgba(213,173,99,.16)!important;
  background:#fff!important;
}
body.cebes-checkout-v2 .woocommerce-account-fields{margin-top:12px;padding-top:18px;border-top:1px solid #ece7df}
body.cebes-checkout-v2 .woocommerce-account-fields p{font-size:15px!important;color:#61717c!important}
body.cebes-checkout-v2 .woocommerce-shipping-fields{margin-top:24px!important;padding-top:24px!important;border-top:1px solid #e8e2d8}

/* Campos fiscales antiguos: CEBES los solicita después de pagar. */
body.cebes-checkout-v2 #customer_details [id$="_field"][id*="factur" i],
body.cebes-checkout-v2 #customer_details [id$="_field"][id*="cfdi" i],
body.cebes-checkout-v2 #customer_details [id$="_field"][id*="rfc" i],
body.cebes-checkout-v2 #customer_details [id$="_field"][id*="fiscal" i],
body.cebes-checkout-v2 #customer_details [class*="factur" i],
body.cebes-checkout-v2 #customer_details [class*="cfdi" i]{display:none!important}

/* Resumen del pedido */
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table{
  width:100%!important;
  max-width:100%!important;
  table-layout:auto!important;
  border:0!important;
  margin:0!important;
  background:transparent!important;
  border-radius:0!important;
}
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table thead{display:none!important}
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table th,
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table td{
  border:0!important;
  border-bottom:1px solid #ebe6dd!important;
  padding:17px 0!important;
  background:transparent!important;
  color:#273d4e!important;
  font-size:15px!important;
  line-height:1.45!important;
  vertical-align:middle!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table td.product-name{width:auto!important;padding-right:14px!important;min-width:0!important}
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table td.product-total{width:102px!important;min-width:102px!important;white-space:nowrap!important;text-align:right!important;font-weight:620!important;color:var(--cebes-navy)!important}
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table tfoot td{text-align:right!important;font-weight:620!important;color:var(--cebes-navy)!important;white-space:nowrap!important}
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table tfoot th{font-weight:580!important;color:#5f6d77!important;white-space:normal!important}
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table .order-total th,
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table .order-total td{border-bottom:0!important;padding-top:22px!important;font-size:19px!important;font-weight:720!important;color:var(--cebes-navy)!important}
.cebes-checkout-product{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:13px!important;align-items:center!important;min-width:0!important;width:100%!important}
.cebes-checkout-product>div{min-width:0!important}
.cebes-checkout-product img{width:64px!important;height:64px!important;min-width:64px!important;object-fit:cover!important;border-radius:10px!important;border:1px solid #e2ddd4!important;margin:0!important}
.cebes-checkout-product-type{display:block!important;font-size:12px!important;line-height:1.2!important;color:#8a682b!important;text-transform:uppercase!important;letter-spacing:.07em!important;font-weight:650!important;margin-bottom:4px!important;word-break:normal!important}
.cebes-checkout-product-name{display:block!important;color:var(--cebes-navy)!important;font-weight:620!important;line-height:1.35!important;font-size:15px!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important;white-space:normal!important}
body.cebes-checkout-v2 .product-quantity{display:block!important;font-size:13px!important;color:#87929a!important;font-weight:500!important;margin-top:5px!important}

/* Cupón */
.cebes-checkout-coupon{width:100%;margin:21px 0 24px;padding:17px;background:#f7f2e8;border:1px solid #e8dcc5;border-radius:14px}
.cebes-checkout-coupon>label{display:block;font-size:15px!important;font-weight:620!important;color:var(--cebes-navy)!important;margin-bottom:9px!important}
.cebes-checkout-coupon-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%}
.cebes-checkout-coupon-row input{width:100%!important;min-width:0!important;min-height:46px!important;border:1px solid #d7cebd!important;border-radius:10px!important;padding:0 12px!important;background:#fff!important;font-size:15px!important}
.cebes-checkout-coupon-row button{min-height:46px!important;border:0!important;border-radius:10px!important;padding:0 18px!important;background:var(--cebes-navy)!important;color:#fff!important;font-weight:600!important;font-size:14px!important;cursor:pointer!important;white-space:nowrap!important}
.cebes-checkout-coupon-row button:hover{background:var(--cebes-navy-2)!important}
.cebes-coupon-response{font-size:13px;margin-top:8px;color:#5d6b74}
.cebes-coupon-response .woocommerce-error,.cebes-coupon-response .woocommerce-message,.cebes-coupon-response .woocommerce-info{margin:8px 0 0!important;padding:9px 11px!important;border-radius:8px!important;font-size:13px!important}

/* Pago */
.cebes-payment-heading{padding:0 0 20px;margin:0 0 18px;border-bottom:1px solid #eee8dd}
.cebes-payment-heading__eyebrow{display:block;margin:0 0 5px;color:#9a7028;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.cebes-payment-heading h3{margin:0 0 7px!important;color:var(--cebes-navy)!important;font-size:27px!important;line-height:1.15!important;font-weight:680!important}
.cebes-payment-heading p{margin:0!important;color:#697883!important;font-size:14.5px!important;line-height:1.5!important;max-width:640px}
body.cebes-checkout-v2 #payment{width:100%!important;max-width:100%!important;min-width:0!important;background:transparent!important;border-radius:0!important;margin-top:0!important}
body.cebes-checkout-v2 #payment ul.payment_methods{width:100%!important;max-width:100%!important;padding:0!important;border:0!important;margin:0 0 18px!important}
body.cebes-checkout-v2 #payment ul.payment_methods>li{width:100%!important;max-width:100%!important;min-width:0!important;border:1px solid #e3ddd3!important;border-radius:14px!important;margin:0 0 12px!important;padding:16px 18px!important;background:#fff!important;transition:border-color .2s ease,box-shadow .2s ease}
body.cebes-checkout-v2 #payment ul.payment_methods>li:hover{border-color:#d6bd8e!important;box-shadow:0 8px 22px rgba(7,29,49,.05)!important}
body.cebes-checkout-v2 #payment ul.payment_methods>li>input[type="radio"]{margin-right:8px!important}
body.cebes-checkout-v2 #payment ul.payment_methods label{display:inline-flex!important;align-items:center!important;gap:7px!important;max-width:calc(100% - 28px)!important;font-weight:600!important;color:var(--cebes-navy)!important;font-size:15px!important;line-height:1.35!important;word-break:normal!important;overflow-wrap:normal!important}
body.cebes-checkout-v2 #payment ul.payment_methods label img{max-height:26px!important;width:auto!important;margin:0 0 0 4px!important;float:none!important}
body.cebes-checkout-v2 #payment div.payment_box{width:100%!important;max-width:100%!important;min-width:0!important;background:#f7f4ee!important;color:#52636e!important;border-radius:12px!important;margin:14px 0 0!important;padding:18px!important;font-size:14px!important;overflow:visible!important}
body.cebes-checkout-v2 #payment div.payment_box::before{display:none!important}
/* Stripe / Link / Payment Element: nunca permitir que una capa intermedia los comprima. */
body.cebes-checkout-v2 #payment .wc-stripe-elements-field,
body.cebes-checkout-v2 #payment .wc-stripe-iban-element-field,
body.cebes-checkout-v2 #payment .StripeElement,
body.cebes-checkout-v2 #payment .wc-stripe-upe-element,
body.cebes-checkout-v2 #payment #wc-stripe-upe-form,
body.cebes-checkout-v2 #payment #stripe-card-element,
body.cebes-checkout-v2 #payment .wc-stripe-card-element,
body.cebes-checkout-v2 #payment .stripe-source-errors,
body.cebes-checkout-v2 #payment iframe{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
body.cebes-checkout-v2 #payment iframe{border:0!important}
body.cebes-checkout-v2 #payment .form-row{width:100%!important;max-width:100%!important}
body.cebes-checkout-v2 #payment .form-row-first,
body.cebes-checkout-v2 #payment .form-row-last{width:calc(50% - 6px)!important}
body.cebes-checkout-v2 #payment .payment_box .form-row{margin-bottom:12px!important}
body.cebes-checkout-v2 #payment .place-order{width:100%!important;padding:8px 0 0!important;margin:0!important}
body.cebes-checkout-v2 #place_order{
  width:100%!important;
  max-width:100%!important;
  min-height:58px!important;
  border:0!important;
  border-radius:12px!important;
  background:var(--cebes-gold)!important;
  color:var(--cebes-navy)!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:650!important;
  padding:0 20px!important;
  box-shadow:0 12px 28px rgba(213,173,99,.22)!important;
  cursor:pointer!important;
  transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease!important;
  white-space:normal!important;
  word-break:normal!important;
}
body.cebes-checkout-v2 #place_order:hover{background:var(--cebes-gold-2)!important;transform:translateY(-1px);box-shadow:0 16px 34px rgba(213,173,99,.30)!important}
body.cebes-checkout-v2 .woocommerce-privacy-policy-text,
body.cebes-checkout-v2 .woocommerce-terms-and-conditions-wrapper{font-size:13px!important;line-height:1.5!important;color:#73808a!important}

body.cebes-checkout-v2 .woocommerce-error,
body.cebes-checkout-v2 .woocommerce-message,
body.cebes-checkout-v2 .woocommerce-info{border:0!important;border-left:4px solid var(--cebes-gold)!important;border-radius:12px!important;background:#fff!important;padding:14px 18px!important;margin:0 0 22px!important;color:#334857!important;box-shadow:0 8px 24px rgba(7,29,49,.05)!important}
body.cebes-checkout-v2 .woocommerce-form-login-toggle,
body.cebes-checkout-v2 .woocommerce-form-coupon-toggle{display:none!important}

.cebes-checkout-trust{margin-top:22px;padding-top:20px;border-top:1px solid #e9e3d8}
.cebes-checkout-trust__title{display:block;margin-bottom:11px;color:var(--cebes-navy);font-size:14px;font-weight:680}
.cebes-checkout-trust ul{list-style:none;margin:0!important;padding:0!important;display:grid;gap:9px}
.cebes-checkout-trust li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;margin:0!important;color:#60707a;font-size:13.5px;line-height:1.45}
.cebes-checkout-trust li span{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#f1e6cf;color:#8c6726;font-size:11px;font-weight:800;margin-top:1px}

/* Wallets contextuales (Payment Plugins for Stripe).
   Los gateways permanecen visibles en la lista; el botón de acción negro solo
   aparece cuando el usuario selecciona ese wallet. */
body.cebes-checkout-v2 .cebes-wallet-action-hidden{display:none!important}
body.cebes-checkout-v2:not(.cebes-wallet-apple-selected) #wc-stripe_applepay-checkout-button,
body.cebes-checkout-v2:not(.cebes-wallet-apple-selected) .wc-stripe_applepay-checkout-button,
body.cebes-checkout-v2:not(.cebes-wallet-apple-selected) .wc-stripe-applepay-button{display:none!important}
body.cebes-checkout-v2:not(.cebes-wallet-google-selected) #wc-stripe_googlepay-checkout-button,
body.cebes-checkout-v2:not(.cebes-wallet-google-selected) .wc-stripe_googlepay-checkout-button,
body.cebes-checkout-v2:not(.cebes-wallet-google-selected) .gpay-button-online-api-id-checkout{display:none!important}
body.cebes-checkout-v2.cebes-wallet-selected #place_order{display:none!important}

/* Pedido recibido + facturación posterior al pago */
body.cebes-checkout-v2.woocommerce-order-received .woocommerce{max-width:1100px!important;margin-inline:auto!important}
body.cebes-checkout-v2 .woocommerce-order-overview{background:#fff;border:1px solid #e4ddd1;border-radius:18px;padding:22px!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;box-shadow:0 14px 36px rgba(7,29,49,.06)}
.cebes-invoice-request{margin:32px 0 0;background:linear-gradient(135deg,#fff 0%,#f9f4ea 100%);border:1px solid #e2d7c4;border-radius:20px;padding:28px;box-shadow:0 16px 38px rgba(7,29,49,.06)}
.cebes-invoice-request h3{font-size:27px;color:var(--cebes-navy);margin:0 0 8px;font-weight:680}
.cebes-invoice-request p{color:#60707a}
.cebes-invoice-status{display:inline-flex;min-height:38px;align-items:center;padding:0 14px;border-radius:999px;background:#e6f3e8;color:#246635;font-size:14px;font-weight:650}
.cebes-invoice-details{margin-top:16px}
.cebes-invoice-details summary{cursor:pointer;color:var(--cebes-navy);font-weight:650;font-size:16px;list-style:none}
.cebes-invoice-details summary::-webkit-details-marker{display:none}
.cebes-invoice-details summary::after{content:'+';margin-left:8px;color:#9a7430}
.cebes-invoice-details[open] summary::after{content:'−'}
.cebes-invoice-details form{margin-top:22px;padding-top:22px;border-top:1px solid #e4dbcb}
.cebes-invoice-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cebes-invoice-fields label{font-size:14.5px;font-weight:600;color:#344b5c}
.cebes-invoice-fields input{display:block;width:100%;min-height:50px;border:1px solid #d9d4ca;border-radius:11px;background:#fff;padding:0 12px;margin-top:7px;font-size:15px}
.cebes-invoice-note{font-size:13.5px;margin:16px 0 18px}

@media(max-width:1040px){
  body.cebes-checkout-v2 .ast-container,
  body.cebes-checkout-v2 .site-content>.ast-container{width:min(860px,calc(100% - 40px))!important}
  body.cebes-checkout-v2 form.checkout.woocommerce-checkout{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
  body.cebes-checkout-v2 #customer_details{grid-column:1!important;grid-row:1!important}
  .cebes-checkout-review-wrap{grid-column:1!important;grid-row:2!important;max-width:none!important;position:static!important;top:auto!important}
  .cebes-checkout-payment-panel{grid-column:1!important;grid-row:3!important}
}

@media(max-width:680px){
  body.cebes-checkout-v2 .ast-container,
  body.cebes-checkout-v2 .site-content>.ast-container{width:calc(100% - 28px)!important}
  body.cebes-checkout-v2 .woocommerce{padding:30px 0 56px}
  .cebes-checkout-intro{margin-bottom:24px}
  .cebes-checkout-intro h1{font-size:clamp(34px,10vw,40px);line-height:1.06}
  .cebes-checkout-intro>p:not(.cebes-kicker):not(.cebes-checkout-login){font-size:16.5px}
  .cebes-checkout-login{font-size:14px}
  body.cebes-checkout-v2 #customer_details{padding:24px 18px!important;border-radius:18px}
  body.cebes-checkout-v2 #customer_details h3{font-size:24px}
  .cebes-checkout-payment-panel{padding:24px 18px 26px;border-radius:18px}
  .cebes-payment-heading h3{font-size:24px!important}
  .cebes-checkout-review-title{padding:22px 18px 16px;border-radius:18px 18px 0 0}
  .cebes-checkout-review-title h2{font-size:26px}
  body.cebes-checkout-v2 #order_review{padding:0 18px 22px!important;border-radius:0 0 18px 18px!important}
  body.cebes-checkout-v2 .form-row-first,
  body.cebes-checkout-v2 .form-row-last{width:100%!important}
  body.cebes-checkout-v2 .form-row label{font-size:14.5px!important}
  body.cebes-checkout-v2 input.input-text,
  body.cebes-checkout-v2 textarea,
  body.cebes-checkout-v2 select,
  body.cebes-checkout-v2 .select2-container .select2-selection--single{font-size:16px!important;min-height:54px!important}
  .cebes-checkout-product{grid-template-columns:56px minmax(0,1fr)!important;gap:11px!important}
  .cebes-checkout-product img{width:56px!important;height:56px!important;min-width:56px!important}
  .cebes-checkout-product-name{font-size:14.5px!important}
  body.cebes-checkout-v2 .woocommerce-checkout-review-order-table td.product-total{width:88px!important;min-width:88px!important;font-size:14px!important}
  .cebes-checkout-coupon{padding:15px}
  .cebes-checkout-coupon-row{grid-template-columns:1fr!important}
  .cebes-checkout-coupon-row button{width:100%!important;min-height:50px!important}
  body.cebes-checkout-v2 #payment ul.payment_methods>li{padding:14px 13px!important}
  body.cebes-checkout-v2 #payment ul.payment_methods label{font-size:15px!important}
  body.cebes-checkout-v2 #payment div.payment_box{padding:12px!important}
  body.cebes-checkout-v2 #payment .form-row-first,
  body.cebes-checkout-v2 #payment .form-row-last{width:100%!important}
  body.cebes-checkout-v2 #place_order{min-height:58px!important;font-size:16px!important}
  .cebes-invoice-request{padding:22px 18px}
  .cebes-invoice-fields{grid-template-columns:1fr}
  body.cebes-checkout-v2 .woocommerce-order-overview{grid-template-columns:1fr!important}
}

@media(max-width:390px){
  body.cebes-checkout-v2 .ast-container,
  body.cebes-checkout-v2 .site-content>.ast-container{width:calc(100% - 20px)!important}
  body.cebes-checkout-v2 #customer_details{padding:22px 14px!important}
  .cebes-checkout-payment-panel{padding-left:14px;padding-right:14px}
  .cebes-checkout-review-title{padding-left:14px;padding-right:14px}
  body.cebes-checkout-v2 #order_review{padding-left:14px!important;padding-right:14px!important}
  .cebes-checkout-product{grid-template-columns:50px minmax(0,1fr)!important}
  .cebes-checkout-product img{width:50px!important;height:50px!important;min-width:50px!important}
  body.cebes-checkout-v2 .woocommerce-checkout-review-order-table td.product-total{width:78px!important;min-width:78px!important}
}

/* Carrito vacío CEBES */
body.cebes-cart-v2{background:var(--cebes-checkout-bg);font-family:var(--cebes-font);color:var(--cebes-ink)}
body.cebes-cart-v2 .entry-title,body.cebes-cart-v2 .page-title{display:none!important}
body.cebes-cart-v2 .woocommerce{max-width:1120px;margin:0 auto;padding:70px 24px 90px}
body.cebes-cart-v2 .cart-empty.woocommerce-info{
  margin:0!important;border:1px solid var(--cebes-checkout-line)!important;border-radius:22px!important;
  background:#fff!important;color:var(--cebes-navy)!important;padding:34px 36px!important;
  font-size:20px!important;line-height:1.5!important;box-shadow:0 18px 46px rgba(7,29,49,.06)!important;
}
body.cebes-cart-v2 .cart-empty.woocommerce-info::before{color:var(--cebes-gold)!important;top:36px!important}
body.cebes-cart-v2 .return-to-shop{display:none!important}
.cebes-empty-cart-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:26px}
.cebes-empty-cart-actions .cebes-btn{min-height:52px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font-weight:650}
.cebes-empty-cart-link{font-weight:600;color:var(--cebes-navy);padding:10px 4px;border-bottom:1px solid rgba(7,29,49,.22)}
@media(max-width:680px){
  body.cebes-cart-v2 .woocommerce{padding:42px 18px 64px}
  body.cebes-cart-v2 .cart-empty.woocommerce-info{padding:28px 26px!important;font-size:18px!important}
  .cebes-empty-cart-actions{align-items:stretch;flex-direction:column}
  .cebes-empty-cart-actions .cebes-btn,.cebes-empty-cart-link{width:100%;text-align:center}
}

/* 0.14.5 — carrito vacío CEBES */
.woocommerce-cart .woocommerce-info{display:flex;align-items:flex-start;gap:14px;padding:24px 26px!important;border:1px solid rgba(7,29,49,.12)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 14px 36px rgba(7,29,49,.06);font-size:16px;line-height:1.55}
.woocommerce-cart .woocommerce-info:before{position:static!important;transform:none!important;margin-top:2px;color:#d5ad63!important}
.cebes-empty-cart-copy{display:flex;flex-direction:column;gap:4px}
.cebes-empty-cart-copy strong{font-size:22px;line-height:1.2;color:#071d31}
.cebes-empty-cart-copy span{color:#536676}
@media(max-width:620px){.woocommerce-cart .woocommerce-info{padding:20px!important}.cebes-empty-cart-copy strong{font-size:20px}.cebes-empty-cart-actions{gap:10px;margin-top:20px}}

/* 0.14.7: el enlace de oferta académica conserva contraste en hover/focus. */
.cebes-empty-cart-link:hover,.cebes-empty-cart-link:focus{color:#071d31!important;border-bottom-color:#d5ad63!important;text-decoration:none!important}

/* 0.15: las páginas cortas de carrito conservan el footer al fondo */
body.cebes-cart-v2 #page{min-height:100vh!important;display:flex!important;flex-direction:column!important}
body.cebes-cart-v2 #content,body.cebes-cart-v2 .site-content{flex:1 0 auto!important}
body.cebes-cart-v2 footer,body.cebes-cart-v2 .site-footer{margin-top:auto!important}
body.cebes-cart-v2 .cebes-empty-cart-link,
body.cebes-cart-v2 .cebes-empty-cart-link:visited{color:#071d31!important}
body.cebes-cart-v2 .cebes-empty-cart-link:hover,
body.cebes-cart-v2 .cebes-empty-cart-link:focus{color:#9a7026!important;background:transparent!important}

/* =========================================================
   CEBES Core 0.16.8 — carrito / checkout de mercancía
   ========================================================= */
/* Aviso de producto añadido: elimina el icono heredado que se montaba sobre el texto. */
body.cebes-checkout-v2 .woocommerce-message{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  border:1px solid rgba(7,29,49,.16)!important;
  border-top:3px solid var(--cebes-navy)!important;
  border-left:1px solid rgba(7,29,49,.16)!important;
  border-radius:14px!important;
  background:#fff!important;
  padding:14px 16px!important;
  color:#334857!important;
}
body.cebes-checkout-v2 .woocommerce-message::before{display:none!important;content:none!important}
body.cebes-checkout-v2 .woocommerce-message .button{
  float:none!important;
  order:2;
  flex:0 0 auto;
  min-height:42px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:0 18px!important;
  margin:0!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--cebes-navy)!important;
  color:#fff!important;
  font-weight:700!important;
  text-decoration:none!important;
  transition:.2s ease;
}
body.cebes-checkout-v2 .woocommerce-message .button:hover,
body.cebes-checkout-v2 .woocommerce-message .button:focus-visible{
  background:#0b2b47!important;
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(7,29,49,.16);
}

/* Dirección de envío: checkbox grande y etiqueta legible. */
body.cebes-checkout-v2 #ship-to-different-address{margin:18px 0 8px!important}
body.cebes-checkout-v2 #ship-to-different-address label{
  display:inline-flex!important;
  align-items:center!important;
  gap:11px!important;
  cursor:pointer;
  color:var(--cebes-navy)!important;
  font-size:18px!important;
  line-height:1.3!important;
  font-weight:750!important;
}
body.cebes-checkout-v2 #ship-to-different-address-checkbox{
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  margin:0!important;
  accent-color:var(--cebes-gold)!important;
  cursor:pointer;
}

/* Acciones de carrito vacío: hover consistente en los tres botones. */
.cebes-empty-cart-actions .cebes-btn{
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.cebes-empty-cart-actions .cebes-btn:hover,
.cebes-empty-cart-actions .cebes-btn:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(7,29,49,.12);
}
.cebes-empty-cart-actions .cebes-btn-outline-navy:hover,
.cebes-empty-cart-actions .cebes-btn-outline-navy:focus-visible{
  background:var(--cebes-navy)!important;
  border-color:var(--cebes-navy)!important;
  color:#fff!important;
}

@media(max-width:620px){
  body.cebes-checkout-v2 .woocommerce-message{align-items:stretch!important;flex-direction:column!important}
  body.cebes-checkout-v2 .woocommerce-message .button{width:100%!important}
  body.cebes-checkout-v2 #ship-to-different-address label{font-size:16.5px!important}
}


/* ==========================================================
   CEBES Theme 1.0.3 — pulido de carrito / checkout / overflow
   ========================================================== */
body.cebes-cart-v2,
body.cebes-checkout-v2{overflow-x:clip!important}
body.cebes-cart-v2 .cebes-woocommerce-main,
body.cebes-checkout-v2 .cebes-woocommerce-main{max-width:1240px!important;min-width:0!important;overflow-x:clip!important}
body.cebes-checkout-v2 .cebes-woocommerce-main>h1,
body.cebes-checkout-v2 .woocommerce>h1,
body.cebes-checkout-v2 .woocommerce-products-header,
body.cebes-checkout-v2 .wp-block-post-title,
body.cebes-cart-v2 .cebes-woocommerce-main>h1,
body.cebes-cart-v2 .woocommerce>h1,
body.cebes-cart-v2 .woocommerce-products-header,
body.cebes-cart-v2 .wp-block-post-title{display:none!important}

/* El resumen ya confirma el contenido: los avisos genéricos de “añadido” no
   deben competir con el título ni crear un paso visual adicional. */
body.cebes-checkout-v2 .woocommerce-message{display:none!important}

/* Evita que iframes/wallets/controles de pago creen scroll horizontal. */
body.cebes-checkout-v2 form.checkout.woocommerce-checkout,
body.cebes-checkout-v2 #customer_details,
body.cebes-checkout-v2 .cebes-checkout-review-wrap,
body.cebes-checkout-v2 #order_review,
body.cebes-checkout-v2 .cebes-checkout-payment-panel,
body.cebes-checkout-v2 #payment,
body.cebes-checkout-v2 #payment>*{min-width:0!important;max-width:100%!important}
body.cebes-checkout-v2 #payment iframe,
body.cebes-checkout-v2 #payment form,
body.cebes-checkout-v2 #payment .wc-stripe-elements-field,
body.cebes-checkout-v2 #payment [class*="stripe" i],
body.cebes-checkout-v2 #payment [class*="google" i],
body.cebes-checkout-v2 #payment [class*="apple" i]{max-width:100%!important;box-sizing:border-box!important}

/* Cabecera del resumen con salida clara al carrito para corregir cantidades. */
.cebes-checkout-review-title__top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.cebes-checkout-review-title__top>div{min-width:0}
.cebes-checkout-edit-cart,
.cebes-checkout-edit-cart:visited{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 12px;
  border:1px solid rgba(213,173,99,.78);border-radius:9px;color:#f0ce8d!important;text-decoration:none!important;
  font-size:13px;font-weight:700;line-height:1.1;white-space:nowrap;transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
.cebes-checkout-edit-cart:hover,.cebes-checkout-edit-cart:focus-visible{background:#d5ad63;color:#071d31!important;transform:translateY(-1px);outline:none}

/* Carrito lleno: misma identidad que el checkout, sin botones morados. */
body.cebes-cart-v2 .woocommerce{max-width:1120px!important}
body.cebes-cart-v2 .woocommerce-message{
  border:1px solid #ddd5c8!important;border-top:3px solid #d5ad63!important;border-radius:14px!important;background:#fff!important;
  color:#4f5f6a!important;padding:17px 20px 17px 48px!important;box-shadow:0 10px 28px rgba(7,29,49,.05)!important;
}
body.cebes-cart-v2 .woocommerce-message::before{color:#9a721f!important;top:18px!important;left:19px!important}
body.cebes-cart-v2 table.shop_table{
  border:1px solid #ddd5c8!important;border-radius:16px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;background:#fff!important;
}
body.cebes-cart-v2 table.shop_table th{background:#f8f4ed!important;color:#071d31!important;font-weight:700!important}
body.cebes-cart-v2 table.shop_table th,
body.cebes-cart-v2 table.shop_table td{padding:14px 15px!important;border-color:#e9e2d8!important;vertical-align:middle!important}
body.cebes-cart-v2 table.shop_table .product-thumbnail img{width:64px!important;height:64px!important;object-fit:cover!important;border-radius:9px!important}
body.cebes-cart-v2 table.shop_table .quantity .qty{
  width:76px!important;min-width:76px!important;min-height:44px!important;border:1px solid #cbc5bb!important;border-radius:9px!important;background:#fff!important;
  color:#071d31!important;font-size:16px!important;text-align:center!important;
}
body.cebes-cart-v2 table.shop_table .button,
body.cebes-cart-v2 .coupon .button{min-height:44px!important;border-radius:9px!important;background:#071d31!important;color:#fff!important;border:1px solid #071d31!important;font-weight:700!important}
body.cebes-cart-v2 table.shop_table .button:hover,
body.cebes-cart-v2 .coupon .button:hover{background:#d5ad63!important;border-color:#d5ad63!important;color:#071d31!important}
body.cebes-cart-v2 .cart-collaterals .cart_totals{float:none!important;width:min(480px,100%)!important;margin:34px 0 0 auto!important}
body.cebes-cart-v2 .cart-collaterals .cart_totals h2{font-size:28px!important;color:#071d31!important}
body.cebes-cart-v2 .wc-proceed-to-checkout{padding:16px 0 0!important}
body.cebes-cart-v2 .wc-proceed-to-checkout a.checkout-button,
body.cebes-cart-v2 .wc-proceed-to-checkout a.checkout-button:visited{
  min-height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #d5ad63!important;border-radius:11px!important;background:#d5ad63!important;color:#071d31!important;
  font-size:18px!important;font-weight:750!important;text-decoration:none!important;box-shadow:none!important;transition:background-color .18s ease,color .18s ease,transform .18s ease!important;
}
body.cebes-cart-v2 .wc-proceed-to-checkout a.checkout-button:hover,
body.cebes-cart-v2 .wc-proceed-to-checkout a.checkout-button:focus-visible{background:#071d31!important;border-color:#071d31!important;color:#fff!important;transform:translateY(-2px)}

/* Carrito vacío: una sola tarjeta visual, con el aviso “deshacer” integrado. */
body.cebes-cart-v2 .cart-empty.woocommerce-info{margin-top:0!important}
body.cebes-cart-v2 .woocommerce-message + .cart-empty.woocommerce-info{margin-top:18px!important}
.cebes-empty-cart-actions{gap:12px!important}
.cebes-empty-cart-actions .cebes-empty-cart-link{min-height:50px;display:inline-flex;align-items:center;justify-content:center;padding-inline:12px!important}

@media(max-width:760px){
  .cebes-checkout-review-title__top{flex-direction:column;gap:10px}
  .cebes-checkout-edit-cart{align-self:flex-start}
  body.cebes-cart-v2 table.shop_table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  body.cebes-cart-v2 .cart-collaterals .cart_totals{width:100%!important;margin-top:26px!important}
}

/* =========================================================
   CEBES Commerce UX 1.0.4 — checkout editable y sugerencias
   ========================================================= */
body.cebes-checkout-v2 .cebes-standard-main{
  width:min(1240px,calc(100% - clamp(32px,6vw,88px)))!important;
  max-width:1240px!important;
  padding:0!important;
}
body.cebes-checkout-v2 .cebes-standard-main>article{width:100%!important;max-width:none!important}
body.cebes-checkout-v2 .cebes-standard-main>article>h1,
body.cebes-checkout-v2 .cebes-standard-main>article>.entry-header{display:none!important}
body.cebes-checkout-v2 .cebes-standard-content{width:100%!important;max-width:none!important;margin:0!important}

.cebes-checkout-review-wrap{grid-row:1 / span 3!important}
.cebes-checkout-payment-panel{grid-row:3!important}

.cebes-checkout-item-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-top:8px!important;
  min-height:34px;
}
.cebes-checkout-qty-btn{
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #d8d0c4!important;border-radius:9px!important;background:#fff!important;color:var(--cebes-navy)!important;
  padding:0!important;font-size:20px!important;line-height:1!important;font-weight:650!important;cursor:pointer!important;
  transition:border-color .18s ease,background-color .18s ease,transform .18s ease!important;
}
.cebes-checkout-qty-btn:hover,.cebes-checkout-qty-btn:focus-visible{border-color:var(--cebes-gold)!important;background:#fff8e8!important;transform:translateY(-1px)}
.cebes-checkout-qty-value,.cebes-checkout-qty-fixed{
  min-width:34px;min-height:32px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:9px;background:#f6f2ea;color:var(--cebes-navy);font-size:14px;font-weight:700;padding:0 8px;
}
.cebes-checkout-remove-item{
  border:0!important;background:transparent!important;color:#8a4a42!important;padding:5px 3px!important;margin-left:2px!important;
  font-size:12.5px!important;font-weight:650!important;text-decoration:underline!important;text-underline-offset:3px;cursor:pointer!important;
}
.cebes-checkout-remove-item:hover,.cebes-checkout-remove-item:focus-visible{color:#b42318!important}
.cebes-checkout-item-actions.is-loading{opacity:.55;pointer-events:none}

.cebes-checkout-promotion{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;
  margin:18px 0 20px;padding:16px;border:1px solid #e5d3ad;border-radius:14px;background:#fff8e8;
}
.cebes-checkout-promotion__eyebrow{display:block;margin-bottom:3px;color:#8a641f;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}
.cebes-checkout-promotion strong{display:block;color:var(--cebes-navy);font-size:15px;line-height:1.25}
.cebes-checkout-promotion p{margin:4px 0 0!important;color:#5d6870!important;font-size:13.5px!important;line-height:1.45!important}
.cebes-promo-apply{
  min-height:38px!important;border:1px solid var(--cebes-navy)!important;border-radius:10px!important;background:var(--cebes-navy)!important;color:#fff!important;
  padding:0 13px!important;font-size:12.5px!important;font-weight:700!important;cursor:pointer!important;white-space:nowrap!important;
}
.cebes-promo-apply:hover,.cebes-promo-apply:focus-visible{background:var(--cebes-gold)!important;border-color:var(--cebes-gold)!important;color:var(--cebes-navy)!important}
.cebes-promo-applied{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border-radius:999px;background:#e8f4ea;color:#246635;font-size:12.5px;font-weight:700;white-space:nowrap}

.cebes-checkout-recommendations{
  grid-column:1!important;grid-row:2!important;
  width:100%;min-width:0;background:#fff;border:1px solid var(--cebes-checkout-line);border-radius:22px;padding:26px 28px;
  box-shadow:0 18px 46px rgba(7,29,49,.06);
}
.cebes-checkout-recommendations__head{margin-bottom:16px}
.cebes-checkout-recommendations__head>span{display:block;color:#9a7430;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.cebes-checkout-recommendations__head h3{margin:0 0 5px;color:var(--cebes-navy);font-size:24px;line-height:1.15}
.cebes-checkout-recommendations__head p{margin:0;color:#6b7881;font-size:14px}
.cebes-checkout-recommendations__grid{display:grid;gap:10px}
.cebes-checkout-recommendation{
  display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;
  padding:10px;border:1px solid #ece6dc;border-radius:14px;background:#fcfbf8;
}
.cebes-checkout-recommendation__image img{display:block;width:54px!important;height:54px!important;object-fit:cover;border-radius:10px;margin:0!important}
.cebes-checkout-recommendation__copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.cebes-checkout-recommendation__copy strong{color:var(--cebes-navy);font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.cebes-checkout-recommendation__copy span{color:#8a641f;font-size:13px;font-weight:650}
.cebes-add-recommendation{
  min-height:38px!important;border:1px solid var(--cebes-navy)!important;border-radius:10px!important;background:#fff!important;color:var(--cebes-navy)!important;
  padding:0 13px!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;white-space:nowrap!important;
}
.cebes-add-recommendation:hover,.cebes-add-recommendation:focus-visible{background:var(--cebes-navy)!important;color:#fff!important}
.cebes-add-recommendation:disabled{opacity:.55;cursor:wait!important}
.cebes-recommendation-response{min-height:0;margin-top:8px;color:#4c6655;font-size:13px;font-weight:600}

@media(max-width:1040px){
  .cebes-checkout-review-wrap{grid-row:2!important}
  .cebes-checkout-recommendations{grid-column:1!important;grid-row:3!important}
  .cebes-checkout-payment-panel{grid-row:4!important}
}
@media(max-width:680px){
  body.cebes-checkout-v2 .cebes-standard-main{width:calc(100% - 28px)!important}
  .cebes-checkout-recommendations{padding:22px 18px;border-radius:18px}
  .cebes-checkout-recommendation{grid-template-columns:50px minmax(0,1fr);gap:10px}
  .cebes-checkout-recommendation__image img{width:50px!important;height:50px!important}
  .cebes-add-recommendation{grid-column:1/-1;width:100%!important}
  .cebes-checkout-promotion{grid-template-columns:1fr}
  .cebes-promo-apply,.cebes-promo-applied{justify-self:start}
}


/* =========================================================
   CEBES Commerce UX 1.0.5 — controles compactos + carrito comercial
   ========================================================= */
body.cebes-checkout-v2 .woocommerce-checkout-review-order-table button.cebes-checkout-qty-btn,
body.cebes-checkout-v2 button.cebes-checkout-qty-btn{
  -webkit-appearance:none!important;appearance:none!important;
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  border-radius:999px!important;padding:0!important;margin:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-shadow:none!important;font-family:inherit!important;font-size:20px!important;font-weight:750!important;line-height:1!important;
}
body.cebes-checkout-v2 button.cebes-checkout-qty-btn.is-minus{
  background:#fff!important;border:1px solid #bfc8cf!important;color:#071d31!important;
}
body.cebes-checkout-v2 button.cebes-checkout-qty-btn.is-plus{
  background:#d5ad63!important;border:1px solid #d5ad63!important;color:#071d31!important;
}
body.cebes-checkout-v2 button.cebes-checkout-qty-btn:hover,
body.cebes-checkout-v2 button.cebes-checkout-qty-btn:focus-visible{
  background:#071d31!important;border-color:#071d31!important;color:#fff!important;transform:translateY(-1px)!important;
}
body.cebes-checkout-v2 .cebes-checkout-qty-value,
body.cebes-checkout-v2 .cebes-checkout-qty-fixed{
  min-width:36px!important;min-height:34px!important;border:1px solid #e4ddd1!important;background:#f7f4ee!important;border-radius:10px!important;
  color:#071d31!important;font-size:14px!important;font-weight:750!important;padding:0 8px!important;
}
body.cebes-checkout-v2 button.cebes-checkout-remove-item{
  -webkit-appearance:none!important;appearance:none!important;
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #ead2ce!important;border-radius:999px!important;background:#fff7f5!important;color:#9b3b31!important;
  padding:0!important;margin-left:4px!important;text-decoration:none!important;font-size:20px!important;font-weight:500!important;line-height:1!important;
  box-shadow:none!important;cursor:pointer!important;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}
body.cebes-checkout-v2 button.cebes-checkout-remove-item:hover,
body.cebes-checkout-v2 button.cebes-checkout-remove-item:focus-visible{
  background:#9b3b31!important;border-color:#9b3b31!important;color:#fff!important;transform:translateY(-1px)!important;
}

/* Promoción y recomendados también dentro del carrito. */
body.cebes-cart-v2 .cebes-cart-promotion{
  max-width:1120px;margin:0 0 26px!important;padding:18px 20px!important;
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;
  border:1px solid #e5d3ad;border-radius:16px;background:#fff8e8;box-shadow:0 10px 28px rgba(7,29,49,.05);
}
body.cebes-cart-v2 .cebes-cart-recommendations{
  width:100%!important;max-width:none!important;margin:30px 0 0!important;padding:26px 28px!important;
  background:#fff!important;border:1px solid #e2dbcf!important;border-radius:20px!important;box-shadow:0 14px 36px rgba(7,29,49,.06)!important;
}
body.cebes-cart-v2 .cebes-cart-recommendations .cebes-checkout-recommendations__grid{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
}
body.cebes-cart-v2 .cebes-cart-recommendations .cebes-checkout-recommendation{
  grid-template-columns:56px minmax(0,1fr)!important;align-items:center!important;padding:12px!important;
}
body.cebes-cart-v2 .cebes-cart-recommendations .cebes-add-recommendation{
  grid-column:1/-1;width:100%!important;margin-top:2px!important;
}
body.cebes-cart-v2 .cebes-cart-recommendations .cebes-checkout-recommendation__image img{
  width:56px!important;height:56px!important;object-fit:cover!important;border-radius:10px!important;
}

@media(max-width:820px){
  body.cebes-cart-v2 .cebes-cart-recommendations .cebes-checkout-recommendations__grid{grid-template-columns:1fr!important}
  body.cebes-cart-v2 .cebes-cart-promotion{grid-template-columns:1fr!important}
}

/* CEBES 1.0.10 — reserva espacio para el icono de error del cupón */
.cebes-coupon-response .woocommerce-error{position:relative!important;padding-left:34px!important}
.cebes-coupon-response .woocommerce-error::before{left:11px!important;top:50%!important;margin:0!important;transform:translateY(-50%)!important}


/* CEBES Theme 1.0.11 — el padding global de notices no debe pisar el del cupón */
body.cebes-checkout-v2 .cebes-coupon-response .woocommerce-error{position:relative!important;padding:12px 14px 12px 40px!important}
body.cebes-checkout-v2 .cebes-coupon-response .woocommerce-error::before{left:14px!important;top:13px!important;margin:0!important;transform:none!important}
