/* CMD Tienda — identidad global única; complementa el CSS WooCommerce */
:root{--cmd-ink:#251e23;--cmd-wine:#862f42;--cmd-wine-hover:#a43d51;--cmd-paper:#f7f4f1;--cmd-card:#fff;--cmd-line:#e7deda;--cmd-muted:#665c61}
body{background:var(--cmd-paper);color:var(--cmd-ink)}
#main-container{background:var(--cmd-paper)}
#main,.site-main{min-height:50vh}
.ct-container{max-width:1080px;width:min(100% - 40px,1080px);margin-inline:auto}
/* Contenido central más compacto también en páginas WooCommerce. */
#main .ct-container,.site-main .ct-container,.woocommerce .ct-container{max-width:1080px}
@media(min-width:1100px){.entry-content>.alignwide{max-width:1080px;margin-inline:auto}.entry-content>.alignfull{max-width:100%}}
@media(max-width:690px){.ct-container{width:calc(100% - 30px)}}
#header{box-shadow:0 4px 22px rgba(31,19,23,.1)}
#header [data-row="middle"]{background:#211b21;color:#fff}
#header [data-row="top"]{background:#332630;color:#f6e5e8}
#header .ct-header-logo img{max-height:76px;object-fit:contain}
#header .menu>li>a,#header .ct-header-menu a{font-weight:750;letter-spacing:.01em}
#header .menu>li>a:hover,#header .ct-header-menu a:hover{color:#e9a0af}
.ct-header [data-device="mobile"]{background:#241b23}
#footer,.ct-footer{background:#211b21;color:#f7eced}
#footer a,.ct-footer a{color:#e8d5da}
#footer a:hover,.ct-footer a:hover{color:#fff}
h1,h2,h3,h4,h5{letter-spacing:-.018em;line-height:1.18;color:#261e25}
.entry-title,.page-title{font-weight:850;font-size:clamp(2rem,3.5vw,3.1rem);line-height:1.12}
.entry-content{line-height:1.7}
.entry-content>*,.entry-content .wp-block-group{max-width:100%}
.entry-content .wp-block-button__link,
body .wp-element-button,
body button[type=submit],
body input[type=submit],
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button{background:var(--cmd-wine);color:#fff;border-radius:7px;border-color:var(--cmd-wine);font-weight:750;transition:background .2s}
.entry-content .wp-block-button__link:hover,
body .wp-element-button:hover,
body button[type=submit]:hover,
body input[type=submit]:hover,
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover{background:var(--cmd-wine-hover);color:#fff}
body a{transition:color .15s}
body a:hover{color:var(--cmd-wine-hover)}
.ct-breadcrumbs{font-size:.82rem;color:var(--cmd-muted)}
.site-main .entry-content img{border-radius:9px}
.site-main .entry-content .wp-block-cover img{border-radius:0}
.ct-panel, .ct-drawer-canvas .ct-panel{color:var(--cmd-ink)}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,
body input[type=text],body input[type=email],body input[type=tel],body textarea{border-radius:7px}
.woocommerce-notices-wrapper .woocommerce-message,.woocommerce-info{border-radius:8px}
.woocommerce table.shop_table,.woocommerce .cart-collaterals,.woocommerce-checkout #order_review{background:#fff;border-radius:10px}
.woocommerce span.onsale{background:var(--cmd-wine);border-radius:6px}
.site-main .entry-content .wp-block-columns{gap:clamp(18px,3vw,38px)}
/* Evita que las páginas editoriales queden pegadas al pie */
body.page:not(.woocommerce-page) .site-main{padding-bottom:clamp(50px,7vw,100px)}
@media(max-width:999px){.ct-header [data-device="mobile"]{background:#241b23}.ct-container{padding-inline:16px}}
@media(max-width:600px){.site-main .entry-content{font-size:15px}body.page:not(.woocommerce-page) .site-main{padding-bottom:55px}}
