/*
Theme Name:   	Dafisa
Theme URI:    	https://aceitecoloniapatricia.es/
Author:       	E2pg
Author URI:     https://e2pg.com
Template:     	storefront
Description:  	Tema hijo basado en Storefront
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:  	Fundacionmartinezbenavides
License:        GPL v2 or later
*/
/* --------------- CSS Peronalizado ----------------- */

/* font Rubik variable | Spectral 400, 400italic, 600, 600italic*/

body {
  font-family: "Rubik", sans-serif;
  font-style: normal;
}

.col-full {
  max-width: 80em !important;
}

/* FUENTES */

h1 {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
h2 {
  font-family: "Spectral", serif;
  font-weight: 600;
  font-style: italic;
}
h3 {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
h4 {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
h5 {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
h6 {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
p {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.fuente_titulo {
  font-family: "Spectral", serif;
  font-weight: 600;
  font-style: italic;
}

/* HEADER */

#masthead {
  margin-bottom: 0px;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

/* busqueda y cesta */

@media (min-width: 768px) {
  .site-header-cart .cart-contents .count {
    opacity: 1;
  }

	.count {
  background-color: #01748c;
  padding: 5px 10px;
  color: beige;
  border-radius: 10px;
 }

}

	.count {
  background-color: #01748c !important;
 }

.site-header-cart .cart-contents::after {
    content: "";
    display: inline-block;
    width: 35px; /* Ajusta según el tamaño de tu icono */
    height: 35px;
    background-image: url("https://www.aceitecoloniapatricia.es/wp-content/uploads/2025/03/carro_compra.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.storefront-handheld-footer-bar ul li.cart > a::before {
    content: "";
    display: inline-block;
    width: auto; /* Ajusta según el tamaño de tu icono */
    height: auto;
    background-image: url("https://www.aceitecoloniapatricia.es/wp-content/uploads/2025/03/carro_compra.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* MENU */

.main-navigation ul li a:hover, .main-navigation ul li:hover > a, .site-title a:hover, .site-header ul.menu li.current-menu-item > a {
  color: #01748b;
	text-decoration: underline 8px;
	text-underline-offset: 27px;
}


/* MIGAS DE PAN */

.woocommerce-breadcrumb {
  font-size: 1em;
	color: black;
  font-weight: 500;
}

.woocommerce-breadcrumb a:first-of-type::before {
  content: none;
}

.woocommerce-breadcrumb a {
  text-decoration: none;
	color: #00748b;
	font-weight:300;
	font-size:.85em
}

.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
	color: #00748b;
}

.woocommerce-breadcrumb .breadcrumb-separator::after {
  content: "|";
}

/* HOME */

.alto-portada {
  padding: 0 !important;
	height: 720px;
	align-items: center !important;
}

.hentry .entry-content .wp-block-cover .wp-block-cover__inner-container {
	padding: 0px;
	width:100%;
}

@media (min-width: 768px) {
  .hentry .entry-content .wp-block-cover .wp-block-cover__inner-container, .editor-styles-wrapper .wp-block-cover .wp-block-cover__inner-container {
    max-width: 70vw;
  }
}

/* secciones */

.ancho-seccion {
	max-width: 60em;
	margin: auto;
	padding-bottom: 50px;
}

/* ADAPTACIÓN MV */

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

	.wp-block-group-is-layout-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

}

/* Posición Z */

.frente {
	z-index:999;
	position: relative;
}

/* margen antes de footer */

.hentry {
  margin: 0;
}

#primary {
  margin-bottom: 0px;
}

.site-main {
  margin-bottom: 0;
}


/* WOO */

.wp-block-post-title {
  font-size: 1em !important;
  font-weight: bold;
}

.woocommerce-loop-product__title {
  font-size: 1.5em !important;
  font-weight: bold !important;
  padding: 0px 0.5em !important;
}

/* botones productos */

.wp-block-button__link.wc-block-components-product-button__button.add_to_cart_button {
  background-color: #89B9A4 !important;
  border-radius: 50px !important;
  padding: 10px 50px !important;
  font-size: 1rem !important;
  box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.2);
}
.wp-block-button__link.wc-block-components-product-button__button.add_to_cart_button:hover {
  background-color: #89B9A4 !important;
  border-radius: 50px !important;
  padding: 10px 50px !important;
  font-size: 1rem !important;
  box-shadow: 3px 2px 5px 1px rgba(0, 0, 0, 0.0);
}

.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
  background-color: #89B9A4 !important;
  border-radius: 50px !important;
  padding: 10px 50px !important;
  font-size: 1rem !important;
  box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.2);
}

.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover {
  background-color: #89B9A4 !important;
  border-radius: 50px !important;
  padding: 10px 50px !important;
  font-size: 1rem !important;
  box-shadow: 3px 2px 5px 1px rgba(0, 0, 0, 0.0);
}



/* botones ver todo */

.wp-block-button__link.has-white-background-color.has-background.wp-element-button {
  border-bottom: 2px solid;
}

.wp-block-button__link.has-white-background-color.has-background.wp-element-button:hover {
  border-bottom: 1px solid;
}

/* grid tienda */

/* filtro ordenado */

.storefront-sorting {
  border-bottom: 1px solid #00748b;
  margin-bottom: 80px;
  font-size: 1rem;
  font-weight: lighter;
}

.woocommerce-ordering {
  background-color: beige;
  padding-left: 20px;
}

.orderby {
  color: #000;
  background-color: #fff0;
  border: 0px;
  margin-right: 16px;
}

.orderby option {
  background-color: #fff;
}

option:hover {
  background-color: #2eb5b5;
}

.woocommerce-result-count {
  font-size: 0.7em;
  float: right;
  margin-right: 20px;
}

/* FOOTER */

.storefront-handheld-footer-bar a {
	color:black;
}

.site-footer {
	background-color: #89b9a4;
	color:#fff
}

.widget-title {
  font-size: 1.1em !important;
  font-family: "Spectral", serif;
}

.site-footer a {
	color:#fff !important;
	text-decoration: none;
}

@media (max-width: 720px) {

	.site-footer a {
	  color:#fff !important;
   }

}

.site-footer a:hover {
	color:#fff !important;
	text-decoration: underline 2px;
}

.storefront-handheld-footer-bar a {
  color: black !important;
}

.storefront-handheld-footer-bar a:hover {
  color: #89b9a4 !important;
}

.widget_nav_menu ul li::before {
  content: none;
}

.widget_nav_menu ul li::after {
  content: ">";
	margin-left:10px
}

/* barra MV Footer iconos */

.site-footer a:hover {
  color: #89b9a4 !important;
}
