/* La lista del resumen del checkout arranca DESPLEGADA ya en el primer
   pintado (el JS tambien la abre, pero llega tarde y se veia el salto) */
/* Sin "viejo -> nuevo": en las paginas que el JS termina de armar, el
   contenido queda invisible (conserva el layout) hasta que el bundle aplica
   y saca pc-cargando; el head tiene un seguro de 2,5 s. */
html.pc-cargando body#cart #content-wrapper,
html.pc-cargando body#checkout #content-wrapper,
html.pc-cargando body#order-confirmation #content-wrapper,
html.pc-cargando body#history #content-wrapper,
html.pc-cargando body#order-detail #content-wrapper,
html.pc-cargando body#module-flxctacte-ctacte #content-wrapper,
html.pc-cargando body#pagenotfound #content-wrapper,
html.pc-cargando body#module-iqitsearch-searchiqit #content-wrapper,
html.pc-cargando body#search #content-wrapper{visibility:hidden}
html.pc-beta #cart-summary-product-list{display:block!important;height:auto!important}
html.pc-beta [data-target="#cart-summary-product-list"]{display:none!important}

/* Estilos del carrito/checkout moderno de las tiendas PARTSCAM y EUROCAM.
   CANONICO: este archivo se carga en el <head> (via _partials/head.tpl)
   para que el primer pintado ya salga con el diseno nuevo (sin flash).
   La logica vive en web/carrito_beta_tienda.js; las clases pc-* las pone
   ese JS. Al cambiar algo: bumpear el ?v= del <link> y del <script>. */

.pc-linea-info{margin-top:4px;font-size:12px;color:#6a7076;line-height:1.7}
.pc-linea-1{white-space:nowrap}
.pc-linea-2{margin-top:3px}
.pc-linea-2 .pc-chip{margin-left:0}
.pc-oem{font-weight:700;letter-spacing:.03em;color:#4a4f57}
.pc-chip{display:inline-block;font-size:10.5px;font-weight:700;border-radius:999px;padding:2px 9px;margin-left:6px;vertical-align:1px;white-space:nowrap}
.pc-chip-ok{background:#e7f5ec;color:#157a3d}
.pc-chip-warn{background:#fdf3dc;color:#8a6d1a}
.pc-chip-mal{background:#fdeaea;color:#b03030}
.pc-chip-gris{background:#eef0f3;color:#5a6068}
.pc-iva{font-size:.62em;font-weight:600;color:#8a8f98;margin-left:4px;letter-spacing:.02em}
.pc-ahorro{display:flex;justify-content:space-between;align-items:center;color:#157a3d;font-weight:700;font-size:13px;padding:6px 0}
.pc-ahorro .pc-ahorro-monto{white-space:nowrap}
html.pc-beta .product-line-grid .unit-price{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
html.pc-beta .product-line-grid .unit-price .product-discount{display:flex;align-items:center;gap:6px;white-space:nowrap;margin:0}
html.pc-beta .product-line-grid .unit-price .regular-price{font-size:12px;color:#9aa0a8}
html.pc-beta .product-line-grid .unit-price > .value{white-space:nowrap}
html.pc-beta .discount.discount-percentage,html.pc-beta .discount.discount-amount{background:#f8dee3!important;color:#b8324f!important;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:700;line-height:1.4;margin:0}
html.pc-beta #blockcart-modal{display:none!important}
.pc-agregado-cap{position:absolute;z-index:30;display:flex;align-items:center;justify-content:center;background:#157a3d;color:#fff;font-weight:700;font-size:13px;white-space:nowrap;opacity:0;transform:scale(.9);transition:opacity .3s ease,transform .45s cubic-bezier(.34,1.56,.64,1);pointer-events:none;box-shadow:0 2px 10px rgba(21,122,61,.35)}
.pc-agregado-cap.pc-cap-visible{opacity:1;transform:scale(1.05)}
.pc-snack{position:fixed;left:50%;bottom:20px;transform:translateX(-50%) translateY(10px);z-index:100002;background:#1d2229;color:#fff;font-size:13px;font-weight:600;border-radius:999px;padding:11px 20px;box-shadow:0 8px 24px rgba(0,0,0,.28);opacity:0;transition:opacity .25s ease,transform .25s ease;pointer-events:none;white-space:nowrap}
.pc-snack.pc-visible{opacity:1;transform:translateX(-50%) translateY(0)}
@media(min-width:768px){.pc-snack{display:none}
}
html.pc-beta .block-promo{display:none!important}
html.pc-beta #cart-subtotal-products{display:none!important}
html.pc-beta .product-line-grid .price .product-price{white-space:nowrap}
html.pc-beta .product-line-grid .qty .js-cart-line-product-quantity{text-align:center;padding-left:2px;padding-right:2px}
html.pc-beta .product-line-grid .qty .bootstrap-touchspin{flex-wrap:nowrap}
.pc-qty-excede{border-color:#c0392b!important;color:#c0392b!important;font-weight:700}
html.pc-beta body#cart .cart-detailed-actions .btn-primary,html.pc-beta body#checkout button.continue.btn-primary,html.pc-beta body#checkout #payment-confirmation .btn-primary{background:var(--pc-marca)!important;border-color:var(--pc-marca)!important}
@media(min-width:992px){html.pc-beta body#cart .cart-grid-right .cart-summary{position:sticky;top:16px}
}
html.pc-beta body#cart .cart-overview .alert-warning{background:#f4f6f9;border:0;color:#444;text-align:center;padding:36px 20px;font-size:15px;border-radius:10px}
.pc-barra{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:none;background:#fff;border-top:1px solid #e3e6eb;box-shadow:0 -4px 16px rgba(0,0,0,.08);padding:10px 14px;align-items:center;gap:12px}
.pc-barra .pc-barra-total{font-weight:800;font-size:16px;color:#222;line-height:1.1}
.pc-barra .pc-barra-total small{display:block;font-weight:600;color:#8a8f98;font-size:10px;letter-spacing:.03em}
.pc-barra a.pc-barra-btn{flex:1;text-align:center;background:var(--pc-marca);color:#fff!important;font-weight:700;border-radius:8px;padding:12px 14px;text-decoration:none;font-size:14px}
@media(max-width:767px){html.pc-beta body#cart .pc-barra{display:flex}
html.pc-beta body#cart{padding-bottom:76px}
}
html.pc-beta .blockcart-content .cart-products{max-height:340px;overflow-y:auto;padding-right:4px}
html.pc-beta .blockcart-content .cart-products > li{padding:8px 0;border-bottom:1px solid #f1f2f5}
html.pc-beta .blockcart-content .cart-products > li:last-child{border-bottom:0}
html.pc-beta .blockcart-content .cart-products .col-3{flex:0 0 48px;max-width:48px;padding:0}
html.pc-beta .blockcart-content .product-image img{width:44px;height:44px;object-fit:contain;border:1px solid #e8eaef;border-radius:8px;background:#fff;padding:2px}
html.pc-beta .blockcart-content .col-info{padding-left:10px}
html.pc-beta .blockcart-content .col-info > div:first-child{padding-bottom:0!important}
html.pc-beta .blockcart-content .col-info > div:first-child a{font-size:12px;font-weight:600;color:#333;line-height:1.3;display:block}
html.pc-beta .blockcart-content .col-info .mt-2{margin-top:4px!important}
html.pc-beta .blockcart-content .block-cart-product-quantity{max-width:48px;height:26px;border-radius:6px;border:1.5px solid #dfe2e8;font-size:12px;padding:0 4px;text-align:center}
html.pc-beta .blockcart-content .col-info .row .col > span:last-child{font-weight:700;font-size:12px}
html.pc-beta .blockcart-content .remove-from-cart{color:#9aa0a8}
html.pc-beta .blockcart-content .cart-subtotals{display:none!important}
html.pc-beta .blockcart-content .cart-products{border-bottom:0}
html.pc-beta .blockcart-content .cart-totals{border-top:1px solid #e8eaef;margin-top:10px;padding-top:10px}
html.pc-beta .blockcart-content .cart-totals .label{font-weight:800}
html.pc-beta .blockcart-content .cart-totals .value{font-weight:800;color:var(--pc-marca)}
html.pc-beta .blockcart-content .cart-buttons .btn{padding:10px 14px!important;font-size:13.5px!important;line-height:1.25!important}
html.pc-beta .blockcart-content .cart-buttons .btn-primary{background:var(--pc-marca)!important;border-color:var(--pc-marca)!important;border-radius:8px;font-weight:700}
html.pc-beta .blockcart-content .cart-buttons .btn-secondary{background:none!important;border:0!important;color:#5a6068!important;font-weight:600;font-size:12.5px!important;text-decoration:underline;padding:7px!important;margin-bottom:0}
.pc-lab-encarrito{color:var(--pc-marca)!important;font-weight:700!important}
.pc-lab-enstock{color:#157a3d!important}
.pc-lab-poco{color:#b58900!important}
html.pc-beta .stock-indicator.pc-st-encarrito::after{content:"En tu carrito"!important;color:var(--pc-marca)!important;font-weight:700!important}
html.pc-beta .stock-indicator.pc-st-encarrito i{color:var(--pc-marca)!important}
.pc-flota{position:fixed;left:16px;bottom:16px;z-index:9998;display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid #e3e6eb;border-radius:999px;padding:8px 16px 8px 9px;box-shadow:0 8px 24px rgba(0,0,0,.16);cursor:pointer;text-decoration:none!important;transform:translateY(90px);opacity:0;transition:transform .45s cubic-bezier(.34,1.56,.64,1),opacity .3s ease}
.pc-flota.pc-visible{transform:translateY(0);opacity:1}
.pc-flota.pc-pulso{animation:pc-pulso .45s ease}
@keyframes pc-pulso{0%{transform:scale(1)}
45%{transform:scale(1.06)}
100%{transform:scale(1)}
}
.pc-flota-icono{position:relative;width:38px;height:38px;border-radius:50%;background:rgba(0,0,0,.05);display:flex;align-items:center;justify-content:center;color:var(--pc-marca)}
.pc-flota-icono svg{width:22px;height:22px;display:block}
.pc-flota-icono b{position:absolute;top:-4px;right:-5px;background:#d33;color:#fff;font-size:10px;font-weight:800;border-radius:999px;padding:1px 6px;line-height:1.4}
.pc-flota-total{font-weight:800;font-size:13.5px;color:#22262c;white-space:nowrap}
.pc-flota-total .pc-iva{margin-left:3px}
.pc-flota-ver{font-weight:800;font-size:12.5px;color:var(--pc-marca);white-space:nowrap}
@media(max-width:767px){.pc-flota{padding:7px 14px 7px 8px;bottom:14px;left:12px}
.pc-flota-ver{display:none}
.pc-flota-icono{width:33px;height:33px}
.pc-flota-icono svg{width:19px;height:19px}
.pc-flota-total{font-size:12.5px}
}
.pc-vaciar{display:block;margin:2px auto 0;font:inherit;font-size:11.5px;font-weight:600;color:#8a8f98;background:none;border:0;cursor:pointer;text-decoration:underline;padding:4px 8px}
.pc-vaciar.pc-confirmar{color:#b03030;font-weight:700}
.pc-vaciar:disabled{color:#c3c8cf;cursor:default;text-decoration:none}
html.pc-beta #js-checkout-summary .cart-summary-products > div:first-child{font-weight:700;color:#222;font-size:13px}
html.pc-beta #js-checkout-summary li.cart-summary-product{display:flex;padding:9px 0;border-bottom:1px solid #f1f2f5;margin:0}
html.pc-beta #js-checkout-summary li.cart-summary-product:last-child{border-bottom:0}
html.pc-beta #js-checkout-summary .media-object{width:44px;height:44px;object-fit:contain;border:1px solid #e8eaef;border-radius:8px;background:#fff;padding:2px}
html.pc-beta #js-checkout-summary .product-name{font-size:12.5px;font-weight:600;color:#333;line-height:1.35}
html.pc-beta #js-checkout-summary .media-body .product-quantity{display:inline-block;background:#eef0f3;color:#5a6068;border-radius:999px;padding:1px 8px;font-size:10.5px;font-weight:700;margin-right:5px}
html.pc-beta #js-checkout-summary .media-body .pull-right{font-weight:700;font-size:12.5px;white-space:nowrap}
html.pc-beta #js-checkout-summary .step-edit{color:var(--pc-marca);font-weight:700;font-size:12px}
html.pc-beta #js-checkout-summary .cart-summary-line.cart-total .label{font-size:14px;font-weight:800}
html.pc-beta #js-checkout-summary .cart-summary-line.cart-total .value{font-size:16px;font-weight:800;color:var(--pc-marca)}
.pc-retiro .pc-retiro-dir{display:block;font-weight:700;color:#222;margin:4px 0}
.pc-toast{position:fixed;top:18px;right:18px;z-index:100001;max-width:360px;background:#fff;border-left:4px solid var(--pc-marca);box-shadow:0 8px 28px rgba(0,0,0,.18);border-radius:8px;padding:12px 16px;font-size:13px;color:#333;line-height:1.45}
.pc-toast-error{border-left-color:#b03030}
@media(max-width:767px){.pc-toast{left:12px;right:12px;top:auto;bottom:86px;max-width:none}
}
html.pc-beta #cts-transport-select{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0}
.pc-transp{margin:8px 0}
.pc-transp-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:9px}
.pc-transp-chips .pc-transp-rot{font-size:11px;color:#8a8f98;font-weight:600;margin-right:2px}
.pc-chip-transp{font:inherit;font-size:11.5px;font-weight:600;border:1.5px solid #dfe2e8;background:#fff;color:#333;border-radius:999px;padding:5px 13px;cursor:pointer}
.pc-chip-transp:hover{border-color:var(--pc-marca);color:var(--pc-marca)}
.pc-transp-buscar{position:relative}
.pc-transp-buscar input{width:100%;font:inherit;font-size:13px;border:1.5px solid #dfe2e8;border-radius:8px;padding:10px 12px 10px 34px;background:#fff;box-sizing:border-box}
.pc-transp-buscar input:focus{outline:none;border-color:var(--pc-marca)}
.pc-transp-buscar .pc-lupa{position:absolute;left:11px;top:10px;color:#8a8f98;font-size:14px}
.pc-transp-lista{border:1.5px solid #dfe2e8;border-top:0;border-radius:0 0 8px 8px;background:#fff;max-height:200px;overflow-y:auto;display:none;position:relative;z-index:50}
.pc-transp-lista.pc-abierta{display:block}
.pc-transp-item{padding:9px 14px;font-size:12.5px;cursor:pointer;border-bottom:1px solid #f1f2f5;color:#333}
.pc-transp-item:last-child{border-bottom:0}
.pc-transp-item:hover{background:#f4f6f9;color:var(--pc-marca)}
.pc-transp-item.pc-sin{color:#8a8f98;cursor:default;background:none}
.pc-transp-ok{display:none;align-items:center;gap:8px;margin-top:8px;background:#e7f5ec;color:#157a3d;font-weight:700;font-size:12.5px;border-radius:8px;padding:9px 14px}
.pc-transp-ok button{margin-left:auto;font:inherit;font-size:11px;font-weight:600;border:0;background:none;color:#5a6068;text-decoration:underline;cursor:pointer}
.pc-transp.pc-elegido .pc-transp-chips,.pc-transp.pc-elegido .pc-transp-buscar,.pc-transp.pc-elegido .pc-transp-lista{display:none}
.pc-transp.pc-elegido .pc-transp-ok{display:flex}
.pc-retiro{background:#f4f6f9;border:1px solid #e3e6eb;border-radius:8px;padding:10px 14px;margin:6px 0 10px;font-size:12.5px;color:#444;line-height:1.55}
.pc-retiro b{color:#222}

/* ========================= v25: cierres y paginas de cuenta ========================= */
.pc-cta{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font-weight:700;padding:11px 20px;font-size:13.5px;line-height:1.2}
.pc-cta-sec{background:#fff;border:1px solid var(--pc-marca,#2D3E75);color:var(--pc-marca,#2D3E75)}
.pc-cta-sec:hover{background:#f4f6fb;color:var(--pc-marca,#2D3E75)}

/* --- confirmacion de pedido --- */
body#order-confirmation #content-hook_order_confirmation .order-confirmation-title-payment{background:#fff;border:1px solid #e3e6eb;border-radius:14px;padding:28px 28px 24px;margin-bottom:20px}
body#order-confirmation .order-confirmation-title-payment h1.page-title{margin:0 0 10px}
body#order-confirmation .order-confirmation-title-payment h1.page-title span{display:flex;align-items:center;gap:14px;font-size:24px;font-weight:800;color:#1d2333;letter-spacing:-.3px;text-align:left}
body#order-confirmation .order-confirmation-title-payment h1.page-title i.fa-check{flex:none;width:52px;height:52px;border-radius:50%;background:#e7f5ec;color:#157a3d;display:inline-flex;align-items:center;justify-content:center;font-size:24px;margin:0}
body#order-confirmation .mail-sent-info{color:#6a7076;font-size:13.5px;margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid #eef0f3}
body#order-confirmation .order-confirmation-title-payment section p{font-size:13.5px;color:#444;margin:0 0 6px;line-height:1.55}
body#order-confirmation .order-confirmation-title-payment section p:first-child{font-weight:700;color:#1d2333}
.pc-conf-acciones{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
body#order-confirmation .order-confirmation-details #order-details,body#order-confirmation .order-confirmation-details #order-items{background:#fff;border:1px solid #e3e6eb;border-radius:14px;padding:20px 22px;margin-bottom:16px}
body#order-confirmation .order-confirmation-details h3.card-title{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a8f98;margin:0 0 12px}
body#order-confirmation #order-details ul{list-style:none;padding:0;margin:0}
body#order-confirmation #order-details li{padding:9px 0;border-bottom:1px solid #eef0f3;font-size:13.5px;color:#444}
body#order-confirmation #order-details li:last-child{border-bottom:0}
body#order-confirmation #order-details li em.text-muted{display:block;font-style:normal;font-size:12px}
body#order-confirmation #order-details li.cts-selected-transport-line span:first-child{color:#8a8f98;margin-right:6px}
.pc-ref-label{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a8f98;margin-bottom:3px}
.pc-ref{font-size:24px;font-weight:800;letter-spacing:.06em;color:var(--pc-marca,#2D3E75);font-variant-numeric:tabular-nums;vertical-align:middle}
.pc-copiar{margin-left:10px;font:inherit;font-size:11px;font-weight:700;border:1px solid #d5d9e0;background:#fff;color:#4a4f57;border-radius:6px;padding:4px 10px;cursor:pointer;vertical-align:middle}
.pc-copiar:hover{border-color:var(--pc-marca,#2D3E75);color:var(--pc-marca,#2D3E75)}
body#order-confirmation .order-confirmation-table .order-line{padding:10px 0;border-bottom:1px solid #eef0f3;font-size:13.5px}
body#order-confirmation .order-confirmation-table .order-line .details span{font-weight:600;color:#1d2333}
body#order-confirmation .order-confirmation-table .row:not(.order-line){padding:6px 0;font-size:13.5px;color:#444}
body#order-confirmation .order-confirmation-table .bold,body#order-confirmation .order-confirmation-table .row:not(.order-line) .bold{font-weight:800;color:#1d2333}
body#order-confirmation #order-items table{width:100%;margin-top:12px;font-size:13.5px;color:#444;border-collapse:collapse}
body#order-confirmation #order-items table td{padding:6px 0;border:0}
body#order-confirmation #order-items table td:last-child{text-align:right;white-space:nowrap}
body#order-confirmation #order-items table tr.totals td{font-weight:800;font-size:16px;color:#1d2333;border-top:1px solid #e3e6eb;padding-top:10px}
@media (max-width:767px){body#order-confirmation .order-confirmation-title-payment{padding:22px 18px}.pc-ref{font-size:20px}.pc-conf-acciones .pc-cta{flex:1 1 100%}}

/* --- mi cuenta: las 5 tarjetas iguales (alertas y cta cte venian con col-* y otro estilo) --- */
body#my-account .acc-grid > a{display:flex!important;align-items:center;justify-content:center;gap:12px;min-height:92px;padding:16px!important;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:#fff;text-align:center;float:none;width:auto;max-width:none!important;flex:none;font-size:14px;font-weight:600;color:#1d2333;box-shadow:none;margin:0}
body#my-account .acc-grid > a:hover{border-color:var(--pc-marca,#2D3E75);color:var(--pc-marca,#2D3E75)}
body#my-account .acc-grid > a{height:auto!important;min-height:92px!important;line-height:1.4!important}
/* el tema re-estiliza .link-item por breakpoint (tablet lo hacia una caja alta vacia) */
body#my-account .acc-grid > a .link-item{display:inline!important;height:auto!important;min-height:0!important;line-height:inherit!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;font:inherit!important;color:inherit!important;width:auto!important;text-align:center!important}
body#my-account .acc-grid > a i{font-size:18px;color:var(--pc-marca,#2D3E75);margin:0}
/* Cuenta Corriente (modulo del ERP) viene sin icono: FontAwesome 4 del tema, "extracto" */
body#my-account .acc-grid > a#ctacte::before{content:"\f0f6";font-family:FontAwesome;font-size:18px;color:var(--pc-marca,#2D3E75);line-height:1}
body#my-account .acc-grid > a#ctacte .link-item{margin-left:2px}

/* --- cuenta corriente sin movimientos --- */
html.pc-ctacte-vacia body#module-flxctacte-ctacte #block-history,html.pc-ctacte-vacia body#module-flxctacte-ctacte .page-content > .col-md-2{display:none}
.pc-ctacte-msg{clear:both;background:#fff;border:1px solid #e3e6eb;border-radius:14px;padding:28px 24px;text-align:center;margin:8px auto 24px;max-width:560px}
/* cuenta corriente CON movimientos: filtro de fechas como barra, saldo como tarjeta, tabla como la del historial */
body#module-flxctacte-ctacte #content-wrapper{max-width:1040px;margin:0 auto}
body#module-flxctacte-ctacte .page-content{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch}
body#module-flxctacte-ctacte .page-content > .select.selector1{flex:1 1 440px;width:auto;max-width:none;float:none;padding:0;margin:0}
body#module-flxctacte-ctacte .page-content > .col-md-2{flex:1 1 200px;max-width:280px;width:auto;float:none;padding:0;margin:0}
body#module-flxctacte-ctacte #form{background:#fff;border:1px solid #e3e6eb;border-radius:12px;padding:14px 18px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;height:100%;box-sizing:border-box}
body#module-flxctacte-ctacte #form label{font-size:12px;font-weight:700;color:#4a4f57;margin:0}
body#module-flxctacte-ctacte #form input.datepicker{width:120px;height:38px;border:1px solid #d5d9e0;border-radius:8px;padding:0 10px;font-size:13px}
body#module-flxctacte-ctacte #form button{height:38px;border-radius:8px;background:var(--pc-marca,#2D3E75);color:#fff;border:0;font-weight:700;font-size:12.5px;padding:0 16px;cursor:pointer}
body#module-flxctacte-ctacte #form .clearfix{flex:1 1 100%;height:0}
body#module-flxctacte-ctacte #form input[type=checkbox]{margin:0 6px 0 0;vertical-align:middle}
body#module-flxctacte-ctacte .page-content > .col-md-2{background:#fff;border:1px solid #e3e6eb;border-radius:12px;padding:14px 18px;box-sizing:border-box}
body#module-flxctacte-ctacte .page-content > .col-md-2 h3{margin:0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a8f98}
body#module-flxctacte-ctacte .page-content > .col-md-2 h3 + h3{margin-top:6px;font-size:22px;letter-spacing:0;text-transform:none;color:#1d2333;font-variant-numeric:tabular-nums}
body#module-flxctacte-ctacte #block-history{flex:1 1 100%;width:100%;margin:0}
body#module-flxctacte-ctacte #order-list{background:#fff;border:1px solid #e3e6eb!important;border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden;font-size:13.5px;width:100%}
body#module-flxctacte-ctacte #order-list th,body#module-flxctacte-ctacte #order-list td{border:0!important;border-bottom:1px solid #eef0f3!important;padding:11px 14px!important;vertical-align:middle;background:transparent!important;white-space:nowrap}
body#module-flxctacte-ctacte #order-list thead th{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a8f98;background:#f7f8fa!important}
body#module-flxctacte-ctacte #order-list tbody tr:last-child td{border-bottom:0!important}
body#module-flxctacte-ctacte #order-list tbody tr:hover td{background:#f7f8fa!important}
body#module-flxctacte-ctacte .page-footer{flex:1 1 100%;text-align:center;margin-top:6px}
body#module-flxctacte-ctacte .page-footer a{font-weight:700;color:var(--pc-marca,#2D3E75)}
@media (max-width:767px){
  body#module-flxctacte-ctacte .page-content > .select.selector1,body#module-flxctacte-ctacte .page-content > .col-md-2{flex:1 1 100%}
  body#module-flxctacte-ctacte #form input.datepicker{width:calc(50% - 22px)}
  body#module-flxctacte-ctacte #block-history{overflow-x:auto}
}
.pc-ctacte-ico{width:48px;height:48px;border-radius:50%;background:#e7f5ec;color:#157a3d;display:inline-flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;margin-bottom:10px}
.pc-ctacte-msg b{display:block;font-size:16px;color:#1d2333;margin-bottom:4px}
.pc-ctacte-msg p{color:#6a7076;font-size:13.5px;margin:0;line-height:1.55}

/* ========================= v29: paginas de cuenta y utilitarias ========================= */
.pc-cta-chico{padding:7px 14px;font-size:12.5px}
.pc-btn-chico{display:inline-block;font-size:11.5px;font-weight:700;border-radius:8px;padding:5px 11px;margin:2px 2px 2px 0;background:var(--pc-marca,#2D3E75);color:#fff!important;text-decoration:none!important;white-space:nowrap}
.pc-btn-chico-sec{background:#fff;border:1px solid var(--pc-marca,#2D3E75);color:var(--pc-marca,#2D3E75)!important}
.pc-btn-chico:hover{opacity:.9}
.pc-est{display:inline-block!important;border-radius:999px!important;padding:3px 10px!important;font-size:11.5px!important;font-weight:700!important;line-height:1.5!important;white-space:nowrap}
.pc-est-ok{background:#e7f5ec!important;color:#157a3d!important}
.pc-est-warn{background:#fdf3dc!important;color:#8a6d1a!important}
.pc-est-mal{background:#f0f1f4!important;color:#6a7076!important;text-decoration:line-through}
.pc-est-gris{background:#eef0f3!important;color:#5a6068!important}
.pc-vacio-msg{background:#fff;border:1px solid #e3e6eb;border-radius:14px;padding:32px 24px;text-align:center;margin:8px auto 24px;max-width:600px;color:#6a7076;font-size:14px}
.pc-vacio-msg .pc-vacio-ico{width:52px;height:52px;border-radius:50%;background:#eef1f9;color:var(--pc-marca,#2D3E75);display:inline-flex;align-items:center;justify-content:center;font-size:24px;font-weight:800;margin-bottom:10px}
.pc-vacio-msg b{display:block;font-size:17px;color:#1d2333;margin-bottom:6px}
.pc-vacio-msg p{margin:0 auto;max-width:46ch;line-height:1.55}
.pc-vacio-msg .pc-conf-acciones{justify-content:center;margin-top:16px}

/* tablas de cuenta (historial, detalle): tarjeta, cabecera discreta, filas con aire */
body#history #content h6,body#order-detail #content h6{color:#6a7076;font-size:13.5px;font-weight:400;margin:0 0 14px}
body#history .table,body#order-detail .table{background:#fff;border:1px solid #e3e6eb!important;border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden;font-size:13.5px}
body#history .table th,body#history .table td,body#order-detail .table th,body#order-detail .table td{border:0!important;border-bottom:1px solid #eef0f3!important;padding:12px 14px!important;vertical-align:middle!important;background:transparent!important}
body#history .table thead th,body#order-detail .table thead th{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a8f98;background:#f7f8fa!important}
body#history .table tbody tr:last-child td,body#history .table tbody tr:last-child th{border-bottom:0!important}
body#history .table tbody th{font-family:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;font-weight:700;letter-spacing:.04em;color:#1d2333}
body#history .table-striped tbody tr:nth-of-type(odd){background:#fff!important}
body#history .table tbody tr:hover{background:#f7f8fa!important}
body#history .table td.order-actions,body#history .table td.text-sm-center{white-space:nowrap}
body#history .table td.order-actions br{display:none}

/* detalle de pedido */
body#order-detail #order-infos .box,body#order-detail #order-history.box,body#order-detail .addresses .box,body#order-detail .box{background:#fff;border:1px solid #e3e6eb;border-radius:12px;padding:18px 20px;margin-bottom:14px}
body#order-detail #order-infos .box:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body#order-detail #order-infos .box:first-child .row{width:100%;align-items:center}
body#order-detail #order-infos .box:first-child strong{font-size:15px;color:#1d2333}
body#order-detail #order-infos .box:first-child .col-xs-3{white-space:nowrap}
body#order-detail #order-infos ul{list-style:none;padding:0;margin:0}
body#order-detail #order-infos li{padding:5px 0;color:#444}
body#order-detail #order-infos li strong{color:#8a8f98;font-weight:600;margin-right:6px}
body#order-detail .box h3,body#order-detail .box h4{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a8f98;margin:0 0 12px}
body#order-detail .addresses{display:flex;flex-wrap:wrap;gap:0 14px;margin:0 -15px}
body#order-detail .addresses address{font-style:normal;color:#444;line-height:1.6}
body#order-detail #order-products tfoot td{font-weight:700;color:#1d2333}
body#order-detail #order-products tfoot tr.line-total td{font-size:15px;font-weight:800;border-top:1px solid #e3e6eb!important}
body#order-detail #order-infos .box:first-child .col-xs-3 .pc-cta{margin-left:12px}
body#order-detail .order-items .order-item{padding:12px 0;border-bottom:1px solid #eef0f3}
body#order-detail .order-items .order-item .qty > .row{margin:8px 0 0;display:flex;justify-content:space-between;align-items:center;gap:8px}
body#order-detail .order-items .order-item .qty > .row > div{padding:0;flex:1 1 auto;width:auto;max-width:none;white-space:nowrap;font-size:13px;color:#444}
body#order-detail .order-items .order-item .qty > .row > div:last-child{font-weight:700;color:#1d2333;text-align:right}
body#order-detail .order-items .order-item .qty > .row > div:nth-child(2){text-align:center;color:#8a8f98}
body#order-detail .order-items .order-item .qty > .row > div:nth-child(2)::before{content:"x"}
body#order-detail .order-totals{font-size:14px}
body#order-detail .order-totals strong{color:#8a8f98;font-weight:600;margin-right:6px}
body#order-detail .box strong{margin-right:6px}
/* el adjunto es input.form-control + span.group-span-filestyle > label.btn (bootstrap-filestyle) */
body#contact .contact-form .bootstrap-filestyle.input-group{display:flex!important;flex-wrap:nowrap!important;align-items:stretch;width:100%!important}
body#contact .contact-form .bootstrap-filestyle .form-control{flex:1 1 auto!important;width:auto!important;border-radius:8px 0 0 8px!important}
body#contact .contact-form .group-span-filestyle{flex:none!important;display:flex!important}
body#contact .contact-form .group-span-filestyle .btn{display:inline-flex!important;align-items:center;gap:6px;height:100%!important;width:auto!important;margin:0!important;padding:0 14px!important;border-radius:0 8px 8px 0!important;background:#fff!important;border:1px solid #d5d9e0!important;border-left:0!important;color:#1d2333!important;font-size:11.5px!important;font-weight:700;text-transform:none!important;white-space:nowrap}
@media (max-width:767px){
  body#contact .contact-form{padding:20px 16px}
  body#contact .contact-form .bootstrap-filestyle.input-group{flex-wrap:wrap!important}
  body#contact .contact-form .bootstrap-filestyle .form-control{flex:1 1 100%!important;border-radius:8px!important}
  body#contact .contact-form .group-span-filestyle{flex:1 1 100%!important;margin-top:6px}
  body#contact .contact-form .group-span-filestyle .btn{width:100%!important;justify-content:center;height:auto!important;padding:10px 14px!important;border-radius:8px!important;border-left:1px solid #d5d9e0!important}
}
body#order-detail .order-items .order-item .name{font-weight:700;color:#1d2333}
body#order-detail .order-items .order-item .ref{font-size:12px;color:#6a7076}
body#order-detail .order-message-form,body#order-detail #order-message-form{background:#fff;border:1px solid #e3e6eb;border-radius:12px;padding:18px 20px}
body#order-detail .history-lines .history-line{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eef0f3}

/* mis alertas */
body#module-ps_emailalerts-account #content h2{font-size:24px;font-weight:700;color:var(--pc-marca,#2D3E75);text-align:center;margin:8px 0 22px}
body#module-ps_emailalerts-account #content .alert-warning{background:#fff;border:1px solid #e3e6eb;border-radius:14px;color:#6a7076;text-align:center;padding:28px 24px;max-width:560px;margin:0 auto 24px;font-size:14px}
body#module-ps_emailalerts-account #content .alert-warning::before{content:"✓";display:inline-flex;width:48px;height:48px;border-radius:50%;background:#e7f5ec;color:#157a3d;align-items:center;justify-content:center;font-size:22px;font-weight:800;margin-bottom:10px}
body#module-ps_emailalerts-account #content .alert-warning{display:flex;flex-direction:column;align-items:center}
body#module-ps_emailalerts-account .page-footer{text-align:center}

/* 404: el contenido flotaba y el footer se montaba encima */
body#pagenotfound #content.page-not-found{float:none!important;width:100%!important;max-width:640px;margin:0 auto 40px;background:#fff;border:1px solid #e3e6eb;border-radius:14px;padding:32px 28px;text-align:center}
body#pagenotfound #content-wrapper{min-height:320px}
body#pagenotfound .page-not-found h4{font-size:17px;color:#1d2333;margin:0 0 6px}
body#pagenotfound .page-not-found p{color:#6a7076;font-size:14px;margin:0 0 18px}
body#pagenotfound .page-not-found .search-widget{max-width:420px;margin:0 auto}
body#pagenotfound .page-not-found .pc-conf-acciones{justify-content:center}
body#pagenotfound h1.page-title{font-size:22px}

/* contacto: formulario en tarjeta, etiquetas arriba */
body#contact .contact-form{background:#fff;border:1px solid #e3e6eb;border-radius:14px;padding:26px 28px;max-width:720px;margin:0 auto}
body#contact .contact-form h3,body#contact .contact-form h4{display:none}
body#contact .contact-form .bootstrap-filestyle.input-group{display:flex;width:100%;max-width:100%}
body#contact .contact-form .bootstrap-filestyle .form-control{flex:1 1 auto;width:auto;border-radius:8px 0 0 8px}
body#contact .contact-form .bootstrap-filestyle .input-group-btn,body#contact .contact-form .bootstrap-filestyle .input-group-append{flex:none}
body#contact .contact-form .bootstrap-filestyle .btn{border-radius:0 8px 8px 0;font-size:11.5px;padding:0 14px;height:100%;white-space:nowrap}
body#contact .contact-form .form-group{display:block;margin-bottom:14px}
body#contact .contact-form .form-group > label,body#contact .contact-form .form-control-label{display:block;width:100%;max-width:100%;flex:none;text-align:left;padding:0 0 5px;font-size:12.5px;font-weight:700;color:#4a4f57}
body#contact .contact-form .form-group > div[class*="col-"]{width:100%;max-width:100%;flex:none;padding:0}
body#contact .contact-form .form-control,body#contact .contact-form textarea{width:100%;max-width:100%;border-radius:8px}
body#contact .contact-form .form-control-comment{display:block;font-size:11.5px;color:#8a8f98;padding:3px 0 0}
body#contact .contact-form .custom-file .btn,body#contact .contact-form .btn-default{border-radius:8px;font-size:12px}
body#contact .contact-form .form-footer{display:flex;justify-content:flex-end;padding-top:8px}
body#contact .contact-form .form-footer .btn{border-radius:10px;font-weight:700;padding:11px 26px}

/* recuperar / restablecer contrasena (PasswordController: pedir enlace, nueva clave, confirmacion) */
body#password #content-wrapper{max-width:540px;margin:0 auto}
/* el tema le clava a .page-content 800px, display:flex y margin-right:-260px (de ahi el desastre) */
body#password #main .page-content{display:block!important;width:100%!important;max-width:none!important;margin:0!important;flex:none!important;background:#fff;border:1px solid #e3e6eb;border-radius:14px;padding:28px 28px 24px!important;box-sizing:border-box}
body#password .forgotten-password,body#password .renew-password{width:100%!important;max-width:none!important;margin:0!important}
body#password .center-email-fields{display:block!important;width:100%!important}
body#password h1.page-title{font-size:24px}
body#password .renew-password .email{text-align:left;font-size:13.5px;color:#6a7076;margin:0 0 18px;padding:0 0 14px;border-bottom:1px solid #eef0f3}
body#password .field-password-policy{padding:0}
body#password .field-password-policy .row.form-group,body#password .center-email-fields{display:block;margin:0 0 14px}
body#password .form-control-label{display:block!important;width:100%!important;max-width:100%!important;flex:none;margin:0 0 5px!important;padding:0!important;text-align:left!important;font-size:12.5px;font-weight:700;color:#4a4f57}
body#password .field-password-policy [class*="col-md"],body#password .center-email-fields .email{width:100%!important;max-width:100%!important;flex:none;padding:0!important;margin:0!important}
body#password [class*="offset-md"]{margin-left:0!important}
body#password .form-control{width:100%!important;max-width:100%!important;height:44px;border-radius:8px;font-size:14px}
body#password .btn-primary{width:100%;border-radius:10px;font-weight:700;padding:12px 20px;margin:8px 0 0;white-space:normal}
body#password .forgotten-password header p{text-align:left;color:#6a7076;font-size:13.5px;line-height:1.55;margin:0 0 18px}
body#password .center-email-fields .email{margin-bottom:12px!important}
body#password .ps-alert-success,body#password .ps-alert-error{margin:0 0 14px}
body#password .page-footer{text-align:center;margin:16px 0 0}
body#password .page-footer ul{list-style:none;padding:0;margin:0}
body#password .page-footer a{font-weight:700;color:var(--pc-marca,#2D3E75)}
@media (max-width:767px){body#password .page-content{padding:22px 16px}}

/* formularios de cuenta (datos, direccion) en tarjeta */
body#identity #content form,body#address #content form,body#address .address-form{background:#fff;border:1px solid #e3e6eb;border-radius:14px;padding:26px 28px}
body#identity .form-control,body#address .form-control{border-radius:8px}
body#addresses .address{border:1px solid #e3e6eb;border-radius:12px;background:#fff}
body#addresses .address-footer a{font-weight:700}

/* --- carrito vacio --- */
html.pc-carrito-vacio body#cart .cart-grid-right{display:none}
html.pc-carrito-vacio body#cart .cart-grid-body{flex:0 0 100%;max-width:100%}
body#cart .cart-overview .pc-vacio{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;text-align:center;font-size:14px;color:#6a7076;background:#fff;border:1px solid #e3e6eb;border-radius:14px;margin:0}
body#cart .cart-overview .pc-vacio b{font-size:19px;color:#1d2333;letter-spacing:-.2px}
body#cart .cart-overview .pc-vacio .pc-vacio-sub{max-width:38ch}
body#cart .cart-overview .pc-vacio .pc-vacio-ico{width:60px;height:60px;border-radius:50%;background:#eef1f9;display:inline-flex;align-items:center;justify-content:center;color:var(--pc-marca,#2D3E75);margin-bottom:4px}
body#cart .cart-overview .pc-vacio .pc-cta{margin-top:10px}

/* v39: la segunda linea del titular de la home en NEGRO tambien en la copia movil (el CSS del tema solo cubria el widget de escritorio) */
.elementor-element.elementor-element-orwgpiw .elementor-text-editor p:last-of-type{color:#000!important}
