/*
Theme Name: ATM Starter Theme
Theme URI: https://github.com/atm/atm-starter
Author: ATM
Author URI: https://example.com
Description: Lean FSE block theme for the ATM starter kit. Design tokens via theme.json. No JS, no SCSS in the theme — all interactivity lives in the starter-blocks plugin.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.3
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: starter-theme
Tags: full-site-editing, block-patterns, multisite, accessibility-ready, translation-ready
*/

.wc-block-mini-cart,
.wp-block-woocommerce-customer-account {
    display: none !important;
}

/* Tamaño del logo */
.wp-block-site-logo img {
    width: 180px !important;
    height: auto !important;
}

/* Header padding */
.wc-blocks-header-pattern {
    padding: 20px !important;
}

/* Resetear margen/relleno del main */
.wp-block-group:is(main) {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.wp-block-post-content {
    margin-top: 0;
    padding-top: 0;
}
.spb-product-card__img img {
   
    object-fit: cover ;
}
.spb-product-card__img {
    height: 240px ;
}
.spb-panel__empty {
    align-items: flex-start;
}

.contacto-grid{
    display:grid;
    grid-template-columns: 35% 65%;
    gap:30px;
    align-items:start;
}

.contacto-info{
    background:#fff;
}

.info-item{
    display:flex;
    gap:15px;
    margin-bottom:30px;
}

.icono{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#4e8fcc;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    flex-shrink:0;
}

.contacto-info h3{
    margin:0 0 8px;
    font-size:22px;
}

.contacto-info ul{
    margin:0;
    padding-left:18px;
}

.contacto-info a{
    color:#4e8fcc;
    text-decoration:none;
}

.contacto-formulario{
    background:#f5f5f5;
    padding:20px;
    border-radius:4px;
}

@media(max-width:768px){
    .contacto-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width: 768px) {
    .wp-block-post-template.is-flex-container,
    .wp-block-query .wp-block-post-template[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile) {
        flex-wrap: wrap !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 100% !important;
    }
    .wp-block-cover {
        min-height: 280px !important;
    }
}

.wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

img {
    max-width: 100%;
    height: auto;
}
iframe, embed, object {
    max-width: 100%;
}
@media (max-width: 768px) {
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        align-items: center;
    }
}
@media (max-width: 768px) {
    .starter-product-browser .spb-sidebar__header:after {
        font-size: 1.1rem;
        position: absolute;
        right: 50px;
    }
}
body {
    max-width: 100%;
    overflow-x: hidden;
}
/* Sombra del header */
header.wp-block-group {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
