/*
 Theme Name:   Tema base
 Theme URI:    https://temujin.es
 Description:  Tema base que sólo sirve como una introducción a la programación de temas en WordPress.
 Author:       Jonatan Sandoval Alarcón (Temujin.es)
 Author URI:   https://temujin.es
 Version:      230704
*/

@font-face {
    font-family: 'Dayrom';
    src: url('./DAYROM__.ttf');
}

body {
    margin: 0;
    margin-top: 0;
    font-family: sans-serif;
    background-image: url(./images/isotipo.svg), url(./images/logotipo.svg);
    background-position: left 3% top 20vw, right 3% top 20vw;
    background-repeat: no-repeat, no-repeat;
    background-size: 15%;
    background-attachment: fixed;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    height: 100dvh;
}

p {
    line-height: 1.5em;
    font-size: 1.1em;
    float: left;
}

h1,
header .logo,
footer .text {
    text-align: center;
}

#menu_toggle {
    display: none;
}

.menu_icon {
    display: none;
}

a {
    color: darkgoldenrod;
    text-decoration: none;
}

a:hover {
    color: goldenrod;
}

ul {
    margin: 0;
    padding: 0;
}

.wrapper {
    margin: 0 auto;
    max-width: 1290px;
    width: 90%;
}

header {
    border-bottom: 1px solid #d5d5d5;
    font-size: 12px;
    font-weight: bold;
    background-color: #D5D5D5;
}

header .banner_sup {
    float: left;
    width: 100%;
    background-color: #222222;
    color: #BBBBBB;
    text-align: center;
    padding: 4px 0;
    font-size: 11px;
    user-select: none;
    text-transform: uppercase;
}

header .banner_sup > div {
    display: inline-block;
    margin: 0 10px;
}

header .logo {
    float: left;
    width: auto;
    padding: 20px 0;
}

header .logo img {
    height: 30px;
}

header .flexible {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-content: stretch;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
}

header .cen {
    text-align: center;
    padding: 20px 0;
    background-color: #fff;
}

header nav ul {
    margin: 0;
    padding: 0;
}

header nav li {
    list-style: none;
    display: inline-block;
    text-transform: uppercase;
    margin: 0 12px;
}

header i {
    cursor: pointer;
}

header a {
    text-decoration: none;
    color: #1e1a0f;
}

header nav .izq {
    float: left;
}

header .der {
    float: right;
    padding: 30px 0 0;
}

header .der li {
    list-style: none;
    display: inline-block;
    margin: 0 10px;
}

header .der a {
    color: #4D4D4D;
}

header .der i {
    font-size: 20px;
}

header .button {
    border: 1px solid #1e1a0f;
    background-color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin: 27px 12px 0;
    font-weight: bold;
    font-size: 12px;
    padding: 3px 6px;
}

#menu-compras{
    font-size: 15px;
}

#menu-menu{
    font-size: 15px;
    letter-spacing: 1px;
}

.slider_superior {
    background-color: #f0f0f0;
    text-align: center;
    min-height: 200px;
    padding: 100px;
    font-size: 40px;
    color: #ccc;
}

main {
    width: 90%;
    max-width: 1290px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.products {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: stretch;
    flex-wrap: wrap;
    align-items: stretch;
}

.products li {
    list-style: none;
}

.single-product{
    p{
        width: 100%;
    }
    p.price{
        text-align: center;
    }
    .variations{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #pa_talla{
        min-width: auto;
        padding: 6px 12px;
        border-radius: 12px;
        padding-right: 30px;
        cursor: pointer;
        text-align: center;
        text-indent: 0;
        margin: 0 12px;
    }
    .woocommerce-variation-add-to-cart{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .product_meta{
        text-align: right;
    }
    .quantity input{
        border: 1px solid;
        padding: 5px 2px;
        width: 40px;
        border-radius: 12px;
    }
}

.content {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;

    .wc-block-grid__product-title{
        font-size: 16px;
        color: #cf9914;
        letter-spacing: 2px;
    }
}

.content h2 {
    font-size: 30px;
}

.wp-block-product-category ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.wp-block-product-category ul li {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.wc-block-grid__product-title {
    text-align: center;
}

.wc-block-grid__products a {
    text-decoration: none;
    color: inherit;
}

.logo_prefooter {
    text-align: center;
    margin: 40px 0;
}

.logo_prefooter img {
    max-height: 40px;
    width: auto;
}

footer {
    padding: 20px;
    font-weight: bold;
    color: #fff;
    background-color: #222222;
}

footer a {
    color: #fff;
    font-weight: normal;
}

footer .flexible {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .flexible > div {
    font-size: 12px;
    text-align: center;
    margin-bottom: 20px;
}

footer .flexible > div li {
    list-style: none;
    margin: 6px 0;
}

/* HOME */

.home1 .wp-block-columns,
.home2 .wp-block-columns,
.home4 figure {
    gap: 0 !important;
}

.home1 .wp-block-group__inner-container,
.home2 .wp-block-group__inner-container,
.home4 .wp-block-group__inner-container {
    width: 1000px;
    position: relative;
}

.home1 img,
.home2 img {
    width: 325px;
}

.gradientehome {
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 60%, rgba(200, 200, 200, 1) 100%);
}

/*
.gradientehome img {
    transform: scaleX(-1);
}
*/

.gradientehome2 {
    background: rgb(200, 200, 200);
    background: linear-gradient(90deg, rgba(200, 200, 200, 1) 0%, rgba(255, 255, 255, 1) 40%);
}

.home1 .wp-block-column:nth-child(2) figure,
.home2 .wp-block-column:nth-child(2) figure {
    display: flex;
    justify-content: flex-end;
}

.home1 a,
.home2 a,
.home4 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    background-color: white;
    color: grey;
    text-transform: uppercase;
    border-radius: 0%;
    height: 45px;
    border: 2px solid gold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.home3 {
    width: 1000px;
}

.home3 h1 {
    text-transform: uppercase;
    color: grey;
    font-weight: 200;
    border-bottom: 1px solid gold;
    padding-bottom: 10px;
}

.home3 ul {
    border-bottom: 1px solid gold;
    margin-top: -20px;
}

.home3 .wc-block-grid__product-title {
    color: #d3af37
}

.home3 .wc-block-grid__product-add-to-cart a {
    background-color: white;
    color: grey;
    border-radius: 0%;
    border: 1px solid gold
}

.home4 img {
    width: 350px !important;
}

.home4 figure figure:nth-child(1) {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-end;
}

.home4 figure figure:nth-child(2) {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-end;
}
.related.products{
    float:left;
    width:100%;
}
.related.products ul{
    float:left;
    width:100%;
}
.woocommerce .woocommerce-result-count{
    color: #777;
    font-size: 15px;
    margin-top: 5px !important;
}
.woocommerce div.product div.images.woocommerce-product-gallery{
    width:30%;
}
.woocommerce div.product div.summary{
    width:60% !important;
}
.woocommerce ul.products li.product{
    text-align: center;
}
.woocommerce ul.products li.product .price{
    color:goldenrod !important;
    font-size:1em !important;
}
.woocommerce div.product p.price, .woocommerce div.product span.price{
    color:goldenrod !important;
    font-size:1.25em !important;
}
.woocommerce ul.products li.product .button {
    display: inline-block;
    margin-top: 1em;
    text-align: center;
    border: 3px solid #ffedce;
    background-color: #fff;
    color: darkgoldenrod;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 20px;
}
.woocommerce ul.products li.product a {
    text-decoration: none;
    text-align: center;

    .woocommerce-loop-product__title{
        font-size: 18px;
        color: #1e1a0f;
    }
}
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    float:left;
    margin: 0 !important;
    background-color: #fff;
    font-size: 14px;
}
.woocommerce form .show-password-input, .woocommerce-page form .show-password-input{
    top:0;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea{
    min-height:40px;
}
.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: inline-block;
    float: left;
    margin-right: 40px;
}
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    float: right !important;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt{
    background-color: goldenrod !important;
}
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box{
    float:left;
}
nav.woocommerce-MyAccount-navigation{
    float:left;
    width:100%;
}
nav.woocommerce-MyAccount-navigation li{
    list-style: none;
    display: inline-block;
    margin: 0 6px;
}

.woocommerce-ordering{
    .orderby{
        padding: 6px 6px;
        border-radius: 12px;
        border: 1px solid #ddd;
        color: #777;
        cursor: pointer;
        font-size: 14px;
        font-family: sans-serif;
    }
}

@media (max-width: 1400px) {}

@media (max-width: 1200px) {}

@media (max-width: 992px) {

    .home1 .wp-block-group__inner-container,
    .home2 .wp-block-group__inner-container,
    .home4 .wp-block-group__inner-container {
        width: initial;
    }

    .home1 a,
    .home2 a {
        width: 240px;
    }

    .home3 {
        width: initial;
        font-size: 35px;
    }

    .home3 h1 {
        font-size: 30px;
    }

    .home3 .wc-block-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .home3 ul {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .home3 .wc-block-grid__product {
        max-width: max-content !important;
    }

    .woocommerce div.product div.images.woocommerce-product-gallery{
        width:100%;
    }
    .woocommerce div.product div.summary{
        width:100% !important;
    }
}

@media (max-width: 576px) {
    .gradientehome img {
        width: 180px;
    }

    .gradientehome2 img {
        width: 180px;
    }

    .home1 .wp-block-columns .wp-block-column:nth-child(2) img {
        width: 180px;
        margin-top: -175px;
    }
    
    .home2 .wp-block-columns .wp-block-column:nth-child(1) img {
        width: 180px;
        margin-bottom: -150px;
    }

    .home1 .wp-block-columns, .home2 .wp-block-columns{
        height: 415px;
    }

    .home1 .wp-block-columns, .home2 .wp-block-columns{
        height: 415px;
    }

    .home1 a {
        width: initial;
        transform: translate(-50%, -20%);
    }
    .home2 a {
        width: initial;
        transform: translate(-50%, 200%);
    }
    .home4 .wp-block-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .home4 .wp-block-gallery .wp-block-image{
        width: 300px !important; 
    }

    .home2 .wp-block-columns {
        align-content: space-around !important;
    }

    .gradientehome2 figure {
        height: 115px;
    }

    .home1 {
        margin-bottom: -210px;
    }
}
tr#user-5,tr#user_5{display:none!important}
