/**
Theme Name: RYM Urban Furniture
Author: Grafreak
Author URI: https://grafreak.net
Description: Theme for RYM Urban Furniture
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rym-urban-furniture
Template: astra
*/

:root {
	--color-1: #2f8372;
    --color-2: #47bda5;
    --negro: #313c4d;
    --gris-1: #dedddc;
    --gris-2: #F2F5F7;
    --blanco: #ffffff;
    --gradient: linear-gradient(135deg,var(--color-1) 0%,var(--color-2) 100%);
}
.has-color-1-color {
    color: var(--color-1) !important;
}
.has-negro-color {
    color: var(--negro) !important;
}
.has-gris-1-color {
    color: var(--gris-1) !important;
}
.has-gris-2-color {
    color: var(--gris-2) !important;
}
.has-blanco-color {
    color: var(--blanco) !important;
}

.has-color-1-background-color {
    background-color: var(--color-1) !important;
}
.has-negro-background-color {
    background-color: var(--negro) !important;
    }
.has-gris-1-background-color {
    background-color: var(--gris-1) !important;}
.has-gris-2-background-color {
    background-color: var(--gris-2) !important;
}
.has-blanco-background-color {
    background-color: var(--blanco) !important;
}
/*MENU*/
.main-header-menu .current-menu-item > .menu-link {
    font-weight: bold;
}
/*SECCIONES*/
input.wpcf7-submit.alt {
    background-color: var(--blanco);
    color: var(--color-1);
}
/*PRODUCTO*/
.content-intro-product {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid var(--gris-1);
    flex-wrap: wrap;
}
@media (min-width: 921px) {
    flex-wrap: nowrap;
}
.content-intro-product .imagen-product,
.content-intro-product .info-product {
    width: 100%;
    margin-bottom: 2em;
}
.content-intro-product .info-product a.link {
    display: block;
    margin-bottom: 1em;
}
.content-intro-product .info-product a.link svg {
    height: 1em;
    width: 1em;
    display: inline-block;
    vertical-align: middle;
}
@media (min-width: 921px) {
    .content-intro-product .imagen-product,
    .content-intro-product .info-product {
        width: 50%;
        margin-bottom: 0;
    }
    .content-intro-product .imagen-product {
        margin-right: 30px;
    }
}
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
	padding: 0;
}
/*LISTADO PRODUCTO*/
body.tax-categoria_de_productos main > .ast-row,
.product-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
}
body.tax-categoria_de_productos main > .ast-row article,
.product-container .product {
    background: var(--gris-2) !important;
    padding: 10px !important;
    width: 100% !important;
	margin-right: 0 !important;
    margin-bottom: 15px !important;
}
body.tax-categoria_de_productos main > .ast-row article:nth-child(2n),
.product-container .product:nth-child(2n){
	margin-right: 0 !important;
}
@media (min-width: 544px) {
	body.tax-categoria_de_productos main > .ast-row article,
	.product-container .product {
		width: calc(50% - 15px) !important;
		margin-right: 15px !important;
	}
	body.tax-categoria_de_productos main > .ast-row article:nth-child(2n),
	.product-container .product:nth-child(2n){
		margin-right: 0 !important;
	}
}
@media (min-width: 921px) {
	body.tax-categoria_de_productos main > .ast-row article,
    .product-container .product {
        width: calc(33.333% - 15px) !important;
    }
	body.tax-categoria_de_productos main > .ast-row article:nth-child(2n),
	.product-container .product:nth-child(2n){
		margin-right: 15px !important;
	}
	body.tax-categoria_de_productos main > .ast-row article:nth-child(3n),
	.product-container .product:nth-child(3n){
		margin-right: 0 !important;
	}
}
body.tax-categoria_de_productos main > .ast-row article .ast-post-format- {
	padding: 0;
	background-color: transparent;
}
.product-container .product .image-product {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    width: 100%;
    height: 200px;
    background-color: #fff;
    margin-bottom: 15px;
}

.ast-archive-description {
	padding: 0 !important;
	background-color: transparent !important;
}

.categoria-producto .wp-block-button__link {
	margin-bottom: 15px;
}

.entry-title a {
	color: var(--color-1);
}

/* DOWNLOAD AFTER EMAIL */
.dae-shortcode-download-content-wrapper h2.dae-shortcode-download-title {
    display:none !important;
}
.dae-shortcode-download-content-wrapper .dae-shortcode-download-button,
.dae-shortcode-download-content-wrapper .dae-shortcode-download-button:hover {
    margin: 0 !important;
}
.dae-shortcode-download-wrapper .dae-shortcode-download-content-wrapper .dae-shortcode-register-wrapper p,
.dae-shortcode-download-wrapper .dae-shortcode-download-content-wrapper .dae-shortcode-register-field-wrapper {
    margin: 0.5em 0 !important;
}
.dae-shortcode-download-wrapper .dae-shortcode-register-wrapper p,
.dae-shortcode-download-wrapper .dae-shortcode-register-field-wrap
{
   margin: 0.5em 0 !important;
}
.dae-shortcode-download-wrapper .dae-shortcode-download-content-wrapper .dae-shortcode-register-wrapper {
    padding: 1em !important;
    border: 1px solid #2f8372 !important;
    margin: 0.5em 0 !important;
}

@media print {
    header,
    footer {
        display: none;
    }
    .content-intro-product {
        border-bottom: 0;
        padding-bottom: 0;
    }
    .imagen-product {
        width: calc(50% - 30px);
        margin-bottom: 0;
        margin-right: 30px;
    }
    .info-product {
        width: 50%;
    }
    .info-product a.link,
    .info-product .wp-block-button {
        display: none !important;
    }
  }
