/*
Theme Name: Luchiana-Child
Theme URI: https://parkofideas.com/luchiana/
Text Domain: luchiana-child
Description: Cosmetics and Beauty Shop Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.2
Template: luchiana
Author: parkofideas.com
Author URI: https://parkofideas.com
Tags: right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* Theme customization starts here
-------------------------------------------------------------- */
.my_font_sec{
	font-family: var(--e-global-typography-secondary-font-family), Sans-serif!important;
}

/* Disabilita click sui link prodotto (senza toccare eventuali bottoni carrello) */
.woocommerce ul.products li.product a:not(.add_to_cart_button),
.wc-block-grid__product a:not(.add_to_cart_button),
.products .product a:not(.add_to_cart_button),
a.woocommerce-LoopProduct__link, a.woocommerce-loop-product__link{
  pointer-events: none;
  cursor: default;
}

:root {
  --font-header: "the-seasons", sans-serif;
}

.category-card {
    aspect-ratio: 1 / 1.8; /* altezza = 1.7x larghezza */
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: none!important;
    padding:0!important;
}

.category-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-card__image {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px!important
    border-bottom: 1px solid #eee;
}

.category-card__image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.category-card__content {
    flex: 1 1 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.category-card__title {
    font-weight: normal;
    font-size: large;
    line-height: 1.4;
    margin: 0 0 10px 0;
    letter-spacing: 0.25em;
    padding-left: var(--font-letter-spacing);
    text-transform: uppercase;
    font-family: var(--font-header);
}

.category-card__subtitle {
    font-weight: 300;
    font-size: 11.5px;
    line-height: 24px;
    letter-spacing: 0.025em;
    color: var(--text-color);
    margin: 0;
    position: absolute;
    bottom: 0px;
    left: 0;
        width: 100%;
    padding: 30px;
  	max-height:112px;
}
.c-product-grid__list{
  max-width: calc(5 * 290px + 4rem);
}
