.cec-condition-ack {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #cbd8ea;
    border-left: 4px solid #ffbf00;
    border-radius: 12px;
    background: #f8fbff;
    color: #14213d;
}
.cec-condition-ack label { display: flex; gap: .65rem; align-items: flex-start; font-weight: 700; line-height: 1.45; }
.cec-condition-ack input { margin-top: .25rem; width: 18px; height: 18px; flex: 0 0 auto; }
.cec-condition-ack p { margin: .55rem 0 0 1.75rem; color: #52627a; font-size: .92rem; }
.cec-hygiene-note { margin-top: 1rem; color: #52627a; font-size: .92rem; line-height: 1.5; }
.cec-checkout-confirmations { margin: 1rem 0; padding: 1rem; border-radius: 12px; background: #f7f9fc; border: 1px solid #dce4ef; }
.cec-checkout-confirmations .form-row { margin-bottom: .7rem; }
.cec-purchase-type .woocommerce-input-wrapper { display: grid; gap: .55rem; }
.cec-purchase-type label.radio { display: flex; gap: .55rem; align-items: center; padding: .72rem .85rem; border: 1px solid #d7e0ed; border-radius: 10px; background: #fff; }
.cec-professional-field, .cec-professional-declaration, .cec-local-pickup-field { display: none; }
.cec-danger-box { margin: 1rem 0; padding: 1rem; border-left: 4px solid #b3261e; background: #fff5f4; color: #5d1510; border-radius: 8px; }
.cec-danger-button { background: #b3261e !important; color: #fff !important; border-color: #b3261e !important; }
.cec-account-deleted-notice { position: fixed; right: 20px; bottom: 20px; z-index: 99999; max-width: 420px; padding: 14px 18px; background: #0b3e91; color: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.cec-legal-index { margin: 1rem 0 2rem; padding: 1.1rem 1.3rem; background: #f4f8fe; border: 1px solid #d5e1f1; border-radius: 14px; }
.cec-legal-index ol { columns: 2; gap: 2rem; margin: .7rem 0 0 1.2rem; }
.cec-legal-index li { margin: .25rem 0; break-inside: avoid; }
.cec-legal-note { margin: 1.2rem 0; padding: 1rem 1.1rem; background: #fff8ef; border: 1px solid #ffd5a8; border-radius: 12px; }
.cec-legal-updated { color: #66758a; font-size: .9rem; }
.cec-contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1rem 0; }
.cec-contact-grid > div { padding: 1rem; border: 1px solid #dbe4f0; border-radius: 12px; background: #fff; }
.cec-legal-pdf object { min-height: 720px; border: 1px solid #d5deea; border-radius: 12px; }
@media (max-width: 720px) {
    .cec-legal-index ol { columns: 1; }
    .cec-contact-grid { grid-template-columns: 1fr; }
    .cec-legal-pdf object { height: 560px !important; min-height: 560px; }
}

/* Legal and transactional accessibility */
.cec-legal-index a,
.cec-legal-note a,
.cec-condition-ack a { text-underline-offset: 3px; }
.cec-legal-index a:focus-visible,
.cec-danger-button:focus-visible,
.cec-condition-ack input:focus-visible { outline: 3px solid rgba(255,191,0,.45); outline-offset: 3px; }
.entry-content h2[id] { scroll-margin-top: 130px; }
.cec-legal-pdf { margin: 1.25rem 0 2rem; }
.cec-legal-pdf object { display: block; width: 100%; background: #fff; }
.cec-checkout-confirmations label { line-height: 1.45; }
.cec-local-pickup-field input[type="date"],
.cec-local-pickup-field input[type="time"] { min-height: 46px; }
.woocommerce-checkout .cec-purchase-type input[type="radio"],
.woocommerce-checkout .cec-checkout-confirmations input[type="checkbox"] { accent-color: #073b9c; }

@media (max-width: 520px) {
    .cec-account-deleted-notice { left: 14px; right: 14px; bottom: 14px; max-width: none; }
    .cec-condition-ack { padding: .85rem; }
}

body.cec-legal-page .ce-page-wrap { max-width: 1180px; }
body.cec-legal-page .ce-page { padding: clamp(22px, 4vw, 52px); }
body.cec-legal-page .ce-page-header,
body.cec-legal-page .ce-entry-content { max-width: 980px; margin-left: auto; margin-right: auto; }
body.cec-legal-page .ce-page-header h1 { font-size: clamp(32px, 4vw, 52px); }
body.cec-legal-page .ce-entry-content { font-size: 16px; line-height: 1.72; }
body.cec-legal-page .ce-entry-content h2 { margin-top: 2.2rem; color: #0f2f61; font-size: clamp(22px, 2.4vw, 30px); }
body.cec-legal-page .ce-entry-content h3 { margin-top: 1.6rem; color: #153c70; }
body.cec-legal-page .ce-entry-content ul,
body.cec-legal-page .ce-entry-content ol { padding-left: 1.35rem; }


/* 1.0.2: checkout-only used-product acknowledgement and more robust notices */
.cec-checkout-confirmations .cec-condition-ack{margin:.8rem 0 0;padding:1rem;border:1px solid #cbd8ea;border-left:4px solid #ffbf00;border-radius:12px;background:#f8fbff;color:#14213d}
.cec-checkout-confirmations .cec-condition-ack label{display:flex;gap:.65rem;align-items:flex-start;font-weight:700;line-height:1.45}
.cec-checkout-confirmations .cec-condition-ack input{margin-top:.25rem;width:18px;height:18px;flex:0 0 auto;accent-color:#073b9c}
.cec-checkout-confirmations .cec-condition-ack p{margin:.55rem 0 0 1.75rem;color:#52627a;font-size:.92rem}
.woocommerce-form-coupon-toggle .woocommerce-info::before,.woocommerce-notices-wrapper .woocommerce-info::before,.woocommerce-notices-wrapper .woocommerce-message::before,.woocommerce-notices-wrapper .woocommerce-error::before,.woocommerce-MyAccount-content .woocommerce-info::before,.woocommerce-MyAccount-content .woocommerce-message::before,.woocommerce-MyAccount-content .woocommerce-error::before{content:none!important;display:none!important}


/* 1.0.3: resumen comercial más claro en la confirmación del checkout */
.cec-checkout-product-summary{list-style:none;margin:.8rem 0 0;padding:0;display:grid;gap:.55rem}
.cec-checkout-product-summary li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.75rem;align-items:center;padding:.75rem .85rem;border:1px solid #d8e2ef;border-radius:10px;background:#fff;color:#263750}
.cec-checkout-product-summary strong{color:#14213d;line-height:1.35}
.cec-checkout-product-summary span{white-space:nowrap;font-size:.92rem;color:#52627a}
@media (max-width:720px){.cec-checkout-product-summary li{grid-template-columns:1fr;gap:.25rem}.cec-checkout-product-summary span{white-space:normal}}

/* Chollos Estrella: integración visual editorial */
.cec-checkout-confirmations,.cec-condition-ack,.cec-checkout-confirmations .cec-condition-ack,.cec-legal-index,.cec-legal-note,.cec-contact-grid>div,.cec-danger-box{border-radius:0!important;box-shadow:none!important}
.cec-checkout-confirmations{background:#fffaf2;border:2px solid #111318;padding:16px}
.cec-checkout-confirmations .cec-condition-ack{background:#fff4cd;border:2px solid #111318;border-left:8px solid #d6a62b;color:#111318}
.cec-checkout-confirmations .cec-condition-ack p{color:#62666f}
.cec-purchase-type label.radio{border-radius:0;border:2px solid #111318;background:#fffaf2}
.cec-checkout-product-summary li{border-radius:0;border:2px solid #111318;background:#fff;color:#111318}
.cec-checkout-product-summary strong{color:#111318}
.cec-checkout-product-summary span{color:#62666f}
.cec-legal-index{background:#fff4cd;border:2px solid #111318}
.cec-legal-note{background:#fffaf2;border:2px dashed #111318}
.cec-contact-grid>div{border:2px solid #111318;box-shadow:5px 5px 0 rgba(17,19,24,.10)!important}
.cec-account-deleted-notice{background:#111318;color:#fff;border:3px solid #d6a62b;border-radius:0;box-shadow:8px 8px 0 rgba(17,19,24,.18)}
.cec-danger-button{background:#c93f32!important;border-color:#7c2119!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.woocommerce-checkout .cec-purchase-type input[type="radio"],.woocommerce-checkout .cec-checkout-confirmations input[type="checkbox"]{accent-color:#2247d7}
body.cec-legal-page .ce-entry-content h2{color:#111318}
body.cec-legal-page .ce-entry-content h3{color:#252a33}
