/* Estilos editoriales de WooCommerce 2027. Sin modificar logica de compra. */
.pg2027-body.woocommerce-cart .pg-interior-layout,.pg2027-body.woocommerce-checkout .pg-interior-layout,.pg2027-body.woocommerce-account .pg-interior-layout{display:block;max-width:1180px;margin:0 auto;padding-bottom:70px}
.pg2027-body :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout,.woocommerce){font-family:'Work Sans',sans-serif;color:#3b261b}
.pg2027-body :is(.wc-block-components-button,.woocommerce button.button,.woocommerce a.button){background:#2c5672;color:#fff;border-radius:0;min-height:47px;font-weight:650}
.pg2027-body :is(.wc-block-components-button,.woocommerce button.button):hover{background:#23485f;color:white}
/* Carrito: contraste legible también cuando «Actualizar carrito» está desactivado. */
.pg2027-body.woocommerce-cart .woocommerce button[name="update_cart"],
.pg2027-body.woocommerce-cart .woocommerce button[name="update_cart"].button{background:#285068!important;color:#fff!important;border:1px solid #285068!important;opacity:1!important;min-height:47px}
.pg2027-body.woocommerce-cart .woocommerce button[name="update_cart"]:disabled,
.pg2027-body.woocommerce-cart .woocommerce button[name="update_cart"]:disabled[disabled],
.pg2027-body.woocommerce-cart .woocommerce button[name="update_cart"].button:disabled{background:#E7E1D9!important;color:#41322B!important;border-color:#B9ADA1!important;opacity:1!important;cursor:not-allowed!important}
/* Checkout: casilla nativa de tamaño fijo, visible en Safari/iPhone. */
.pg2027-body.woocommerce-checkout .woocommerce input[type="checkbox"],
.pg2027-body.woocommerce-checkout .woocommerce .input-checkbox{display:inline-block!important;appearance:checkbox!important;-webkit-appearance:checkbox!important;accent-color:#285068!important;box-sizing:border-box!important;inline-size:20px!important;block-size:20px!important;min-width:20px!important;min-height:20px!important;width:20px!important;height:20px!important;flex:0 0 20px!important;margin:3px 0 0!important;padding:0!important;opacity:1!important;vertical-align:top!important;border:1px solid #74675B!important;border-radius:2px!important}
.pg2027-body.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label-for-checkbox{display:flex!important;align-items:flex-start!important;gap:12px!important;line-height:1.55!important;cursor:pointer}
.pg2027-body.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label-for-checkbox span{min-width:0;flex:1 1 auto}
.pg2027-body.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions-wrapper .woocommerce-form__input-checkbox:focus-visible{outline:3px solid #285068!important;outline-offset:3px!important}
.pg2027-body :is(.wc-block-components-text-input input,.wc-block-components-combobox input,.woocommerce input.input-text){border-radius:0;border-color:#d9cebd}
.pg2027-body :is(.wc-block-components-text-input input,.wc-block-components-combobox input,.woocommerce input.input-text):focus-visible{outline:2px solid #2c5672;outline-offset:2px}
.pg2027-body :is(.wc-block-components-totals-wrapper,.wc-block-components-sidebar-layout){border-color:#eae3d8}
.pg2027-body .wc-block-components-order-summary{background:#fbf9f5}
.pg2027-body .wc-block-components-title{font-family:'Playfair Display',Georgia,serif}
.pg-order-received-intro{max-width:640px;font-size:.94rem;line-height:1.6;color:#62584e}
.pg27-order-confirmation{background:transparent}
.pg27-order-confirmation .pg27-order-received-petit{mix-blend-mode:multiply;mask-image:radial-gradient(ellipse 76% 77% at center,#000 62%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 76% 77% at center,#000 62%,transparent 100%)}
.pg27-order-received-phrase{font:700 1.3rem/1.25 Georgia,serif;color:#41322b;text-align:center;margin:0 0 10px}
.pg27-order-confirmation{padding-bottom:22px}.pg27-order-confirmation h1{margin-bottom:8px}.pg27-order-received-panel{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;max-width:1180px}
.pg27-order-received-content{flex:1 1 auto;min-width:0}
.pg27-order-received-art{flex:0 0 270px;max-width:29%;text-align:center;align-self:flex-start;margin-top:-4px;margin-left:auto}
.pg27-order-received-petit{display:block;width:100%;max-width:270px;height:auto;margin:0 auto;object-fit:contain;border:0}
@media(max-width:650px){.pg27-order-received-panel{display:flex;flex-direction:column;gap:4px}.pg27-order-received-art{flex:none;max-width:100%;width:min(100%,205px);margin:0 0 0 auto}.pg27-order-received-petit{width:100%;margin-left:auto}}
.pg27-order-final-thanks{margin:44px 0 10px;padding-top:22px;border-top:1px solid #ded6cc;font:600 1.12rem/1.5 'Work Sans',Arial,sans-serif;color:#41322b;text-align:center}
.pg-order-print{background:none;border:0;border-bottom:1px solid currentColor;padding:8px 0;margin:8px 0 12px;cursor:pointer;color:#09688b;font-weight:650}
@media print{.pg-order-print,.pg-order-received-intro,.pg-site-header,.pg-site-footer,.pg-breadcrumb{display:none!important}.pg-interior-hero{padding-bottom:0!important}.pg-interior-layout{padding-top:8px!important}.woocommerce-order-details{break-inside:avoid}}
@media(max-width:780px){.pg2027-body.woocommerce-cart .pg-interior-layout,.pg2027-body.woocommerce-checkout .pg-interior-layout{padding-bottom:45px}}

/* Resumen de compra: bloque WooCommerce completo, sin columnas ilegibles. */
.pg2027-body.woocommerce-order-received .pg-interior-layout{max-width:1100px}
.pg2027-body.woocommerce-order-received .pg-interior-layout .pg-prose{max-width:100%;min-width:0}
.pg2027-body.woocommerce-order-received .woocommerce-order{font:400 .95rem/1.65 "Work Sans",Arial,sans-serif;color:#41322B}
.pg2027-body.woocommerce-order-received .pg27-receipt-fallback{padding:22px 24px;background:#fff;border:1px solid #D9CFC3;border-left:4px solid #285068;border-radius:6px;color:#41322B;font:600 .97rem/1.7 "Work Sans",sans-serif;max-width:900px;margin:15px auto 30px}
.pg2027-body.woocommerce-order-received .woocommerce-order .woocommerce-thankyou-order-received{font-weight:650;color:#285068;font-size:1rem;margin:5px 0 23px}
.pg2027-body.woocommerce-order-received .woocommerce-order-overview{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;padding:0!important;margin:24px 0 32px!important}
.pg2027-body.woocommerce-order-received .woocommerce-order-overview li{float:none!important;width:auto!important;display:block!important;border:1px solid #E4DAD0!important;border-radius:6px;padding:13px!important;margin:0!important;background:#fff;font:600 .79rem/1.6 "Work Sans",sans-serif;color:#73665C;overflow-wrap:anywhere}
.pg2027-body.woocommerce-order-received .woocommerce-order-overview li strong{display:block;font:700 .99rem/1.45 "Work Sans",sans-serif;color:#41322B;margin-top:5px}
.pg2027-body.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details,.woocommerce-order-downloads){background:#fff;border:1px solid #E6DED4;border-radius:8px;padding:clamp(17px,3vw,32px);margin:25px 0;max-width:100%;overflow-x:auto}
.pg2027-body.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details,.woocommerce-order-downloads) h2{font:500 clamp(1.4rem,2.2vw,1.8rem)/1.2 "Playfair Display",Georgia,serif;color:#41322B;margin:0 0 20px}
.pg2027-body.woocommerce-order-received :is(.woocommerce-table--order-details,.woocommerce-table--order-downloads){width:100%;border-collapse:collapse;table-layout:auto;font:500 .87rem/1.55 "Work Sans",sans-serif;background:white}
.pg2027-body.woocommerce-order-received :is(.woocommerce-table--order-details,.woocommerce-table--order-downloads) th,
.pg2027-body.woocommerce-order-received :is(.woocommerce-table--order-details,.woocommerce-table--order-downloads) td{padding:12px 11px;border:0;border-bottom:1px solid #E7E0D7;vertical-align:top;text-align:left;color:#41322B}
.pg2027-body.woocommerce-order-received .woocommerce-table--order-details tfoot th{font-weight:700}
.pg2027-body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child th,
.pg2027-body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child td{border:0;font-size:1.08rem;font-weight:700}
.pg2027-body.woocommerce-order-received :is(.woocommerce-table--order-details,.woocommerce-table--order-downloads) td:last-child{text-align:right}
.pg2027-body.woocommerce-order-received .woocommerce-order-details a,
.pg2027-body.woocommerce-order-received .woocommerce-order-downloads a{color:#285068;text-decoration:underline;text-underline-offset:3px}
.pg2027-body.woocommerce-order-received .woocommerce-order-downloads a.button{display:inline-flex;align-items:center;justify-content:center;background:#285068;color:white;text-decoration:none;font-weight:700;padding:11px 18px;min-height:44px}
.pg2027-body.woocommerce-order-received .woocommerce-customer-details address{border:0;font-style:normal;font:400 .9rem/1.75 "Work Sans",sans-serif;padding:0;margin:0;color:#51463D}
.pg2027-body.woocommerce-order-received .woocommerce-columns--addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.pg2027-body.woocommerce-order-received .woocommerce-columns--addresses>.woocommerce-column{float:none;width:auto;min-width:0}
.pg2027-body.woocommerce-order-received .woocommerce-order-details .wc-item-meta{padding:3px 0 0;list-style:none}
.pg2027-body.woocommerce-order-received .woocommerce-order-details .wc-item-meta li{display:flex;flex-wrap:wrap;gap:5px;font-size:.79rem;color:#62574e}
@media(max-width:750px){
 .pg2027-body.woocommerce-order-received .woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pg2027-body.woocommerce-order-received .woocommerce-columns--addresses{grid-template-columns:1fr}
 .pg2027-body.woocommerce-order-received .woocommerce-order-details,
 .pg2027-body.woocommerce-order-received .woocommerce-customer-details,
 .pg2027-body.woocommerce-order-received .woocommerce-order-downloads{padding:17px 12px}
 .pg2027-body.woocommerce-order-received .woocommerce-table--order-details th,
 .pg2027-body.woocommerce-order-received .woocommerce-table--order-details td{padding:11px 7px}
}
@media(max-width:420px){
 .pg2027-body.woocommerce-order-received .woocommerce-order-overview{grid-template-columns:1fr 1fr;gap:8px}
 .pg2027-body.woocommerce-order-received .woocommerce-table--order-details{font-size:.78rem}
}

