/* ==========================================
   RESPONSIVE GENERAL
========================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* ==========================================
   HEADER
========================================== */

@media (max-width: 992px) {

    .site-header {
        padding-left: 25px;
        padding-right: 25px;
    }

}

@media (max-width: 768px) {

    .site-header {
        padding-left: 20px;
        padding-right: 20px;
    }

}

@media (max-width: 576px) {

    .site-header {
        padding-left: 15px;
        padding-right: 15px;
    }

}


/* ==========================================
   HOME
========================================== */

@media (max-width: 992px) {

    .hero-content {
        width: 90%;
    }

}

@media (max-width: 768px) {

    .hero-content {
        width: 92%;
    }

}

@media (max-width: 576px) {

    .hero-content {
        width: 94%;
    }

}


/* ==========================================
   SOBRE MI
========================================== */

@media (max-width: 992px) {

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 50px;
    }

}

@media (max-width: 768px) {

    .about-shiwa {
        width: 92%;
        margin: 70px auto;
    }

    .about-image img {
        min-height: 450px;
    }

    .about-content {
        padding: 40px 30px;
    }

    .about-content h2 {
        font-size: 52px;
    }

}

@media (max-width: 576px) {

    .about-shiwa {
        width: 94%;
        margin: 50px auto;
        border-radius: 20px;
    }

    .about-image img {
        min-height: 320px;
    }

    .about-content {
        padding: 30px 20px;
    }

    .about-content h2 {
        font-size: 42px;
    }

    .about-content p {
        font-size: 17px;
        line-height: 1.7;
    }

}


/* ==========================================
   CONTACTO
========================================== */

@media (max-width: 992px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    .contact-section {
        width: 92%;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        box-sizing: border-box;
    }

}

@media (max-width: 576px) {

    .contact-section {
        width: 94%;
    }

    .contact-info,
    .contact-form {
        padding: 25px 20px;
        box-sizing: border-box;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

}


/* ==========================================
   TIENDA
========================================== */

@media (max-width: 1200px) {

    .shop-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

}

@media (max-width: 992px) {

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-card {
        min-height: 480px;
    }

    .shop-card img {
        height: 480px;
    }

}

@media (max-width: 768px) {

    .shop-grid {
        grid-template-columns: 1fr;
        width: 92%;
    }

    .shop-card {
        min-height: 500px;
    }

    .shop-card img {
        height: 500px;
    }

    .shop-card h3 {
        font-size: 34px;
    }

    .shop-hero {
        min-height: 420px;
        padding: 50px 20px;
    }

    .shop-hero h1 {
        font-size: 48px;
    }

}

@media (max-width: 576px) {

    .shop-grid {
        width: 94%;
    }

    .shop-card {
        min-height: 450px;
    }

    .shop-card img {
        height: 450px;
    }

    .shop-hero {
        min-height: 380px;
        padding: 40px 15px;
    }

    .shop-hero h1 {
        font-size: 42px;
        line-height: 1.15;
    }

}


/* ==========================================
   WOOCOMMERCE / PRODUCTOS
========================================== */

@media (max-width: 992px) {

    .woocommerce div.product {
        width: 100%;
    }

}

@media (max-width: 768px) {

    .woocommerce div.product {
        display: block;
    }

    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .woocommerce div.product .product_title {
        font-size: 52px;
    }

}

@media (max-width: 576px) {

    .woocommerce div.product .product_title {
        font-size: 42px;
    }

    .woocommerce div.product div.summary {
        padding: 20px;
        box-sizing: border-box;
    }

}


/* ==========================================
   IMÁGENES GENERALES
========================================== */

img {
    max-width: 100%;
    height: auto;
}


/* ==========================================
   ELEMENTOS QUE NO DEBEN DESBORDAR
========================================== */

* {
    box-sizing: border-box;
}

p,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}


/* ==========================================
   FIX DEFINITIVO TARJETAS TIENDA
========================================== */

@media screen and (max-width: 768px) {

    .shop-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 92% !important;
        max-width: 92% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .shop-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

}


@media screen and (min-width: 769px) and (max-width: 992px) {

    .shop-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

}
