/**
* Theme Name: OriolGen31
* Description: Tema fill de Shopkeeper per a Oriol Gené.
* Template: shopkeeper
* Version: 1.0.0
*/

/*
 	Espais
*/

.page:not(.elementor-page) .site-content {
	padding-bottom: 50px
}

/*
    Botons
*/

    .button, input[type="button"],.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
        border-radius: 100px !important;
    }


/*
    Botiga
*/

    .product_after_shop_loop {
        display: none;
    }


/*
    Títols de les pàgines
*/

    .page-title.blog-listing, 
    .page-title, 
    .single .entry-title {
        font-weight: 700;
        text-transform: unset;
    }

    .woocommerce .page-title, 
    .woocommerce-cart .page-title, 
    .woocommerce-checkout .page-title, 
    .woocommerce-account .page-title {
        font-weight: 500;
        text-transform: uppercase;
    }

    .cat-pare {
        text-align: center;
        font-size: 3em;
        font-weight: 600;
        margin-bottom: 25px;
    }

    @media (max-width:767px) {
        .cat-pare {
            font-size: 2em;
        }
    }

    .blog .entry-header-page .cat-item {
        display: none;
    }


/*
    Faqs
*/

    #caixa-faqs .elementor-accordion .elementor-tab-title {
        border: 2px solid;
        margin-top: 30px;
    }


/*
    Footer
*/

    footer.entry-meta {
        margin-top: 0;
    }


/*
    Llista de categories de productes a la barra lateral
*/

    .woocommerce .widget_product_categories ul li a:before, 
    .woocommerce-page .widget_product_categories ul li a:before, 
    .widget_product_categories ul li a:before {
        display: none;
    }

    .product-categories > .cat-item:not(:first-child) {
        margin-top: 20px
    }

    .product-categories .cat-item a {
        text-transform: uppercase !important;
    }

    .product-categories > .cat-item > a {
        font-weight: bold;
        color: #000000 !important;
    }

    .product-categories > .cat-item > ul.children {
        margin-left: 0;
    }

    .woocommerce .widget_product_categories ul li.current-cat > a, 
    .woocommerce-page .widget_product_categories ul li.current-cat > a, 
    .widget_product_categories ul li.current-cat > a {
        color: #767373;
    }


/*
    WooSwatches
*/


    .swatchtitlelabel {
        color: #000;
    }

    .wcva_selected_attribute {
        display: none;
    }

    #pa_medida + .attribute-swatch .swatchinput .wcva_single_textblock,
    #pa_presentacion-fotografica + .attribute-swatch .swatchinput .belowtext {
        position: relative;
        left: 0;
        padding-left: 20px;
        font-weight: 500 !important;
    }

    .swatchinput .wcva_single_textblock::before,
    .swatchinput .wcva_image_label + .belowtext::before {
        content: "";
        display: block;
        position: absolute;
        top: 3px;
        left: 0;
        width: 1em;
        height: 1em;
        border: 1px solid;
        border-radius: 50%;
    }

    .swatchinput .wcva_single_textblock.selectedswatch::before,
    .swatchinput .wcva_image_label.selectedswatch + .belowtext::before {
        background-color: #767373;
        border-color: #767373;
    }


    .product_content_wrapper .product_infos table.variations .wcvaswatchlabel.wcva_single_textblock,
    .product_content_wrapper .product_infos table.variations label.wcva_single_textblock {
        border: 0 !important;
        padding: 0 0 0 20px !important;
        margin-right: 1em !important;
    }

    .product_content_wrapper .product_infos label.selectedswatch.wcva_single_textblock,
    .product_content_wrapper .product_infos table.variations .wcva_single_textblock.selectedswatch,
    .wcvashopswatchlabel.wcvasquare.wcva-selected-filter.wcva_filter_textblock {
        background-color: #fff;
        color: #000 !important;
    }

    .woocommerce-variation-add-to-cart {
        margin: 20px 0;
    }

    #pa_presentacion-fotografica + .attribute-swatch {
        margin: 10px 0 30px;
    }

    #pa_presentacion-fotografica + .attribute-swatch .swatchinput {
        margin: 10px 0;
        max-width: 150px;
    }

    #pa_presentacion-fotografica + .attribute-swatch .swatchinput label {
        outline: 0 !important;
    }

    #pa_presentacion-fotografica + .attribute-swatch .swatchinput .belowtext {
        text-transform: uppercase;
        text-align: left;
        font-size: 12px !important;
    }

    #pa_presentacion-fotografica + .attribute-swatch .swatchinput .belowtext {
        text-transform: uppercase;
        text-align: left;
    }


/*
    Advanced Product fields
*/

    .single-product .wapf-product-totals {
        display: none !important;
    }

    .wapf-pricing-hint {
        display: none;
    }

    .wapf-field-radio .wapf-checkable {
        position: relative;
        padding-bottom: 10px;
        padding-right: 30px;
    }

    .wapf-field-radio .wapf-checkable:last-child {
        padding-right: 0;
    }

    .presentacion-fotografica .wapf-checkable {
        margin-top: 75px;
    }

    .presentacion-fotografica .wapf-checkable label::before {
        content: "";
        display: block;
        position: absolute;
        width: 80px;
        height: 60px;
        top: -65px;
        left: 20px;
        background-position: left center;
        background-repeat: no-repeat;
        background-size: contain;  
        background-size: contain;
    }

    .presentacion-fotografica .wapf-field-input .wapf-radios > .wapf-checkable:nth-of-type(1) label::before {
        background-image: url(/wp-content/themes/oriolgene/img/impresion-fotografica.svg);    
    }

    .presentacion-fotografica .wapf-field-input .wapf-radios > .wapf-checkable:nth-of-type(2) label::before {
        background-image: url(/wp-content/themes/oriolgene/img/impresion-fotografica.svg);    
    }


    .presentacion-fotografica .wapf-field-input .wapf-radios > .wapf-checkable:nth-of-type(3) label::before {
        background-image: url(/wp-content/themes/oriolgene/img/tassa.png);
    }

    .presentacion-fotografica .wapf-label-text,
    .mides .wapf-label-text {
        line-height: 1.2em;
        display: inline-block;
        padding-left: 25px
    }

    .presentacion-fotografica .wapf-field-input input[type=radio],
    .mides .wapf-field-input input[type=radio] {
        position: absolute;
        top: 0;
    }

    @media (min-width:480px) {
        
        .presentacion-fotografica .wapf-radios,
        .mides .wapf-radios {
            display: flex;
            flex-wrap: wrap;
        }
        
        .presentacion-fotografica .wapf-checkable {
            width: 33%;
        }
        
        .mides .wapf-checkable {
            width: 25%;
        }
 
        .presentacion-fotografica .wapf-field-input input[type=radio],
        .mides .wapf-field-input input[type=radio] {
            top: 0.5em;
        }

    }