/*

Theme Name:  Carnicería Charcutería Ibaiondo
Description:  Tema hijo de Dox para  Carnicería Charcutería Ibaiondo
Text Domain:  ccibaiondo
Version:  1.0.0
Author: Navarraweb
Author URI: https://navarraweb.com/
Template: dox
Template Version: 1.4.1
*/

/* Slideshow heading */
.fy-slideshow-background h1 {
	font-family: 'Barlow', sans-serif;
	font-weight: 500;
}

/* Buttons */
.servicios .fy-button {
	border-radius: 0 !important;
}

.fy-caption-buttons .fy-button {
	border-radius: 0 !important;
	color: #fff !important;
}

.fy-caption-buttons .fy-button:hover {
	background-color: #0d1f3c !important;
	color: #fff !important;
}

/* Font sizes */

 
.wpcf7 .wpcf7-form-control-wrap { 
  margin: 0 !important;
}

.fy-field {
  margin: 0 !important;
}

.fy-form-terms {
  margin-bottom: 0 !important;
}

.fy-label { 
  width: 100%;
}

.fy-section__content {
  margin-bottom: 0 !important;
}
.fy-main-content {
  margin-bottom: 0 !important;
}

.wp-block-group {
  margin-bottom: 0 !important;}

/* [class*="wp-block"] {
  margin-bottom: 0 !important;
}*/

/*.fy-heading__navigation{
  display: none !important;
}*/

 .fy-heading__navigation .fy-navigation-list > li > a {
  padding: 10px 10px;
}

/* =========================================
   Subnav de anclas - página de menú/carta
   ========================================= */

.cc-menu-subnav {
	margin-bottom: 40px;
}

.cc-menu-subnav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cc-menu-subnav ul li {
	margin: 0;
}

.cc-menu-subnav ul li a {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid currentColor;
	border-radius: 2px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cc-menu-subnav ul li a:hover {
	background-color: #1255be;
	border-color: #1255be;
	color: #fff;
}

/* =========================================
   Categorías - diseño clásico: imagen + enlace debajo
   ========================================= */

/* El bloque término pasa a ser columna flex en vez de overlay */
.fy-section--categories .fy-term {
	display: flex;
	flex-direction: column;
	min-height: 0;
	background-color: transparent;
	color: inherit;
	overflow: visible;
	border-radius: 0;
}

/* La imagen ocupa su propio espacio (deja de ser absolute) */
.fy-section--categories .fy-term-image {
	position: relative;
	width: 100px;
	padding-bottom: 0;
	height: 100px;
	top: auto;
	left: auto;
	border-radius: 4px;
	overflow: hidden;
	flex-shrink: 0;
	margin: 0 auto;
}

/* Eliminar el overlay oscuro sobre la imagen */
.fy-section--categories .fy-term-image::before {
	display: none;
}

/* El encabezado con el nombre sale fuera de la imagen, debajo */
.fy-section--categories .fy-term-header {
	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	height: auto;
	padding: 14px 8px 6px;
	justify-content: center;
	text-align: center;
	z-index: 1;
}

.fy-section--categories .fy-term-header h3 {
	color: inherit;
}

/* Quitar el subrayado animado del hover (ya no tiene sentido con imagen separada) */
.fy-section--categories .fy-term-header span {
	margin-top: 0;
	border-bottom: none;
	transition: none;
}

/* Sin fondo de color al hacer hover */
.fy-section--categories .fy-term:hover,
.fy-section--categories .fy-term:focus-within {
	background-color: transparent;
	color: inherit;
}

/* Color al pasar el ratón sobre el nombre */
.fy-section--categories .fy-term:hover .fy-term-header h3,
.fy-section--categories .fy-term:focus-within .fy-term-header h3 {
	color: #1255be;
	text-decoration: underline;
}

/* Ocultar el contador de entradas (opcional) */
.fy-section--categories .fy-term-counter {
	display: none;
}

#categories .fy-centerer{
  padding-top: 4em !important;
}

#home .fy-section--content .fy-section--content,
#home .fy-section--content .fy-section,
#home .fy-section--content .fy-section--content .fy-centerer-100{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#home .fy-section { 
  margin: 40px 0 0 0 !important;
}

#home .fy-section__container { 
  padding-bottom: 0 !important; 
}

.fy-section { 
  margin: 40px 0 0 0;
}

.fy-section__container { 
  padding-bottom: 0px; 
}

.fy-main--homepage .fy-section:not(.fy-section--widgets-cta):first-of-type .fy-section__container {
  padding-top: 0px;
}
.fy-section--about .fy-section__container {
  padding-bottom: 0px;
}

.fy-section--widgets-top{
	padding-top: 80px;
}