/* Adaptaciones al marcado nativo: se conserva la hoja original sin modificar. */
.mcd-site .mcd-menu,.mcd-site .mcd-menu ul,.mcd-site .mcd-footer-menu,.mcd-site .mcd-legal-menu{list-style:none;margin:0;padding:0}
.mcd-site .mcd-menu{display:flex;gap:clamp(10px,1.4vw,26px);align-items:center}
.mcd-site .mcd-menu li{position:relative;min-width:0}
.mcd-site .mcd-nav{min-width:0}
.mcd-site .mcd-nav .sub-menu{min-width:220px;padding:12px;background:var(--mcd-panel);border:1px solid var(--mcd-border)}
.mcd-site .mcd-nav .sub-menu a{display:inline-flex;padding:8px;overflow-wrap:anywhere}
.mcd-site .mcd-nav .sub-menu .sub-menu{margin-left:12px}
.mcd-site.mcd-js .mcd-nav .sub-menu{display:none}
.mcd-site.mcd-js .mcd-nav li.is-open>.sub-menu{display:block}
.mcd-site .mcd-submenu-toggle{border:1px solid var(--mcd-border);background:none;color:var(--mcd-candle);min-height:32px;min-width:32px;margin-left:4px}
.mcd-site .mcd-legal-menu{display:flex;gap:18px;flex-wrap:wrap}
.mcd-site .mcd-footer-menu .sub-menu{list-style:none;padding-left:14px}
.mcd-site .mcd-rich>:last-child{margin-bottom:0}
.mcd-site .mcd-rich{margin-bottom:1rem}
.mcd-site .mcd-image-right .mcd-story-art{order:2}
.mcd-site .mcd-image-right .mcd-story-copy{order:1}
.mcd-site .mcd-steps{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
.mcd-site .mcd-news-meta{flex-wrap:wrap}
.mcd-site .mcd-promise-strip .mcd-container{flex-wrap:wrap}
.mcd-site .mcd-plan{height:100%}
.mcd-site .mcd-prose :where(iframe,video){max-width:100%}
.mcd-site .mcd-commerce,.mcd-site .mcd-community{min-height:45vh}
.mcd-site .woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.mcd-site .woocommerce ul.products::before,.mcd-site .woocommerce ul.products::after{display:none}
.mcd-site .woocommerce ul.products li.product{float:none;width:auto;margin:0;padding:0;background:none;border:0}
.mcd-site .woocommerce div.product .product_title{font-family:var(--mcd-heading)}
.mcd-site .woocommerce .mcd-price,.mcd-site .woocommerce div.product p.price{color:var(--mcd-candle)}
.mcd-site .woocommerce .quantity .qty{width:5em}
.mcd-site .woocommerce .col2-set,.mcd-site .woocommerce .woocommerce-MyAccount-content{min-width:0}
.mcd-site #bbpress-forums a{color:var(--mcd-candle)}
.mcd-site #bbpress-forums :where(input,textarea,select),.mcd-site .comment-form :where(input:not([type=checkbox]),textarea){max-width:100%;background:var(--mcd-ink);color:var(--mcd-text);border:1px solid var(--mcd-border);padding:10px}
.mcd-site .mcd-skeleton{height:80px;background:linear-gradient(90deg,var(--mcd-panel),var(--mcd-surface),var(--mcd-panel));border-radius:8px}
.mcd-site .pagination,.mcd-site .post-navigation{margin-block:32px}
.mcd-site .page-numbers{display:inline-block;padding:8px 14px}
.mcd-site .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.mcd-site .aligncenter{margin-inline:auto}.mcd-site .wp-caption{max-width:100%}
@media(min-width:1001px){.mcd-site.mcd-js .mcd-menu>.menu-item>.sub-menu{position:absolute;top:100%;right:0;max-height:70vh;overflow:auto;z-index:30}.mcd-site:not(.mcd-js) .mcd-menu{flex-wrap:wrap}}
@media(max-width:1000px){.mcd-site .mcd-menu{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:0}.mcd-site .mcd-menu>li>a{padding:8px}.mcd-site .mcd-nav .sub-menu{min-width:0;margin-left:14px}}
@media(max-width:782px){.admin-bar .mcd-header{top:46px}}
@media(max-width:700px){.mcd-site .mcd-image-right .mcd-story-art,.mcd-site .mcd-image-right .mcd-story-copy{order:initial}.mcd-site .woocommerce ul.products{grid-template-columns:1fr}.mcd-site .mcd-brand span{white-space:normal;max-width:160px}.mcd-site .woocommerce table.shop_table{font-size:16px}}
@media(max-width:600px){.admin-bar .mcd-header{top:0}}
/* Campos editoriales largos: conservar el ancho de cada columna y permitir saltos. */
.mcd-site .mcd-ledger-row{flex-wrap:wrap}
.mcd-site .mcd-ledger-row>*{min-width:0;overflow-wrap:anywhere}
.mcd-site .mcd-ledger-row>strong{white-space:normal}
.mcd-site .mcd-checkout-layout>*,.mcd-site .mcd-product-detail>*,.mcd-site .mcd-login-layout>*{min-width:0;overflow-wrap:anywhere}
.mcd-site .mcd-stat strong{overflow-wrap:anywhere}
@media(min-width:701px){.mcd-site .mcd-checkout-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}}

.mcd-site .mcd-stat>strong{white-space:normal;overflow-wrap:anywhere}

.mcd-site .mcd-price,.mcd-site .mcd-rich{overflow-wrap:anywhere}

/* Tamaño global del logo; móvil mantiene el máximo de 52 px de la plantilla. */
.mcd-site .mcd-brand img{width:var(--mcd-logo-size,70px);height:var(--mcd-logo-size,70px)}
@media(max-width:700px){.mcd-site .mcd-brand img{width:min(var(--mcd-logo-size,70px),52px);height:min(var(--mcd-logo-size,70px),52px)}}

/* Logo y nombre: separación estable y centrado vertical para cualquier tamaño. */
.mcd-site .mcd-brand{gap:12px;align-items:center}
.mcd-site .mcd-brand img{margin:0;flex-shrink:0}
.mcd-site .mcd-brand span{margin:0}

/* Seis posibilidades en Pasos: filas equilibradas en cada tamaño de pantalla. */
.mcd-site .mcd-steps:has(>article:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.mcd-site .mcd-steps:has(>article:nth-child(6):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mcd-site .mcd-steps:has(>article:nth-child(6):last-child){grid-template-columns:minmax(0,1fr)}}
