/*!
Theme Name: Consentidos
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: consentidos
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Consentidos is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #FDF3F6;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ==========================================================
   Consentidos en Pañales — Header + Hero (estilos propios)
   ========================================================== */

:root{
  --azul: #2E9FD6;
  --coral: #E8899A;
  --rosa-pastel: #F9D3E0;
  --blanco: #FFFFFF;
  --texto: #4A4A4A;
}

/* ===== HEADER ===== */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f0e4e8;
  background: var(--blanco);
  position: sticky;
  top: 0;
  z-index: 100;
}

.menu-btn{
  background:none;
  border:none;
  display:flex;
  flex-direction:column;
  gap:4px;
  cursor:pointer;
  padding:4px;
}
.menu-btn span{
  width:22px;
  height:2px;
  background: var(--azul);
  border-radius:2px;
}

.site-logo{
  display:flex;
  align-items:center;
  gap:8px;
}
.site-logo a{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
}
.site-logo img{
  width:34px;
  height:34px;
  object-fit:cover;
  border-radius:50%;
}
.site-logo span{
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size:1rem;
  color: var(--azul);
}

.header-icons{
  display:flex;
  align-items:center;
  gap:16px;
}
.header-icons a,
.header-icons button{
  background:none;
  border:none;
  cursor:pointer;
  color: var(--azul);
  position:relative;
  text-decoration:none;
}
.cart-count{
  position:absolute;
  top:-6px;
  right:-8px;
  background: var(--coral);
  color:#fff;
  font-size:0.6rem;
  font-weight:700;
  width:16px;
  height:16px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Menú lateral (oculto por defecto, se abre con JS) */
.mobile-menu{
  position:fixed;
  top:0;
  left:-280px;
  width:260px;
  height:100%;
  background: var(--blanco);
  box-shadow: 2px 0 20px rgba(0,0,0,0.15);
  transition: left 0.3s ease;
  z-index: 200;
  padding: 80px 20px 20px;
}
.mobile-menu.open{
  left:0;
}
.mobile-menu ul{
  list-style:none;
  margin:0;
  padding:0;
}
.mobile-menu li{
  margin-bottom:16px;
}
.mobile-menu a{
  font-family:'Fredoka', sans-serif;
  color: var(--texto);
  text-decoration:none;
  font-size:1rem;
}

/* ===== HERO CARRUSEL ===== */
.hero{
  position:relative;
  width:100%;
  height: 460px;
  overflow:hidden;
}

.slides{
  display:flex;
  width:400%;
  height:100%;
  transition: transform 0.5s ease;
}

.slide{
  width:25%;
  height:100%;
  position:relative;
  display:flex;
  align-items:flex-end;
  color:#fff;
}

.slide::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
}

/* ==========================================================
   RUTAS CORREGIDAS (sin /wp/) — reemplaza las líneas
   correspondientes en tu style.css por estas
   ========================================================== */

/* ---- Hero: 4 slides ---- */
.slide-1{
  background-image: url('/wp/wp-content/themes/consentidos/assets/images/hero-recien-nacido.png');
  background-size: cover;
  background-position: center;
}

.slide-2{
  background-image: url('/wp/wp-content/themes/consentidos/assets/images/hero-maternidad.png');
  background-size: cover;
  background-position: center;
}

.slide-3{
  background-image: url('/wp/wp-content/themes/consentidos/assets/images/hero-mordedores.png');
  background-size: cover;
  background-position: center;
}

.slide-4{
  background-image: url('/wp/wp-content/themes/consentidos/assets/images/hero-juguetes-didacticos.png');
  background-size: cover;
  background-position: center;
}


/* Cuando tengan fotos reales, reemplazar por:
.slide-1{ background-image: url('ruta-de-la-foto.jpg'); background-size:cover; background-position:center; }
*/

.slide-content{
  position:relative;
  z-index:2;
  padding: 0 20px 34px;
}

.slide-eyebrow{
  font-family:'Fredoka', sans-serif;
  font-size:0.75rem;
  letter-spacing:1px;
  text-transform:uppercase;
  opacity:0.9;
  margin-bottom:4px;
}

.slide-title{
  font-family:'Fredoka', sans-serif;
  font-weight:700;
  font-size:2rem;
  line-height:1.05;
  text-transform:uppercase;
}

.slide-cta{
  display:inline-block;
  margin-top:14px;
  background: var(--blanco);
  color: var(--azul);
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size:0.8rem;
  padding: 9px 18px;
  border-radius:999px;
  text-decoration:none;
}

.arrow{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border:none;
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color: var(--azul);
  z-index:3;
}
.arrow.prev{ left:12px; }
.arrow.next{ right:12px; }

.dots{
  position:absolute;
  bottom:12px;
  left:50%;
  transform: translateX(-50%);
  display:flex;
  gap:6px;
  z-index:3;
}
.dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background: rgba(255,255,255,0.6);
  cursor:pointer;
}
.dot.active{
  background: #fff;
  width:18px;
  border-radius:4px;
  transition: width 0.3s ease;
}

/* ==========================================================
   Ajuste: logo + texto a la izquierda en mobile
   Reemplaza el bloque anterior dentro de
   @media screen and (max-width: 600px) en tu style.css
   (el que tenía ".site-logo span{ display:none; }" y
   ".site-logo{ justify-content:center; }")
   ========================================================== */

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

  /* El header ya no reparte espacio parejo entre los 3 bloques */
  .site-header{
    justify-content: flex-start;
  }

  /* Logo + texto van pegados al botón de menú, no centrados */
  .site-logo{
    justify-content: flex-start;
    margin-left: 10px;
  }

  /* Mostramos el texto de nuevo (antes estaba oculto) */
  .site-logo span{
    display: inline;
    font-size: 0.9rem;
  }

  /* Logo un poco más chico ya que ahora va con texto al lado */
  .site-logo img{
    width: 42px;
    height: 42px;
  }

  /* Empujamos los íconos de búsqueda/cuenta/carrito hacia la derecha del todo */
  .header-icons{
    margin-left: auto;
  }
}

/* ---- DESKTOP (desde 768px) ---- */
@media screen and (min-width: 768px) {

  /* Logo más grande */
  .site-logo img{
    width: 52px;
    height: 52px;
  }

  .site-logo span{
    font-size: 1.3rem;
  }

  /* Hero un poco más alto para que respire en pantallas grandes */
  .hero{
    height: 560px;
  }

  /* Centramos el contenido del slide (título + botón) en vez de dejarlo abajo a la izquierda */
  .slide{
    align-items: center;
    justify-content: center;
  }

  .slide-content{
    text-align: center;
    padding: 0 40px;
  }

  .slide-title{
    font-size: 3.2rem;
  }

  .slide-eyebrow{
    font-size: 1rem;
  }

  .slide-cta{
    padding: 14px 32px;
    font-size: 1rem;
    margin-top: 20px;
  }
}

/* ==========================================================
   MEDIA QUERIES — pega este bloque completo al FINAL de style.css
   (todo lo de acá faltaba, por eso el banner se veía tamaño desktop en el celular)
   ========================================================== */

/* ---- MOBILE (hasta 600px) ---- */
@media screen and (max-width: 600px) {

  /* Banner a la mitad de alto */
  .hero{
    height: 260px !important;
  }

  /* Logo + texto pegados al botón de menú, no centrados */
  .site-header{
    justify-content: flex-start;
  }

  .site-logo{
    justify-content: flex-start;
    margin-left: 10px;
  }

  .site-logo span{
    display: inline;
    font-size: 0.9rem;
  }

  .site-logo img{
    width: 42px;
    height: 42px;
  }

  .header-icons{
    margin-left: auto;
  }

  /* Textos del slide más chicos para el banner más bajo */
  .slide-title{
    font-size: 1.3rem;
  }

  .slide-eyebrow{
    font-size: 0.6rem;
  }

  .slide-cta{
    padding: 6px 14px;
    font-size: 0.7rem;
    margin-top: 6px;
  }

  .slide-content{
    padding: 0 16px 16px;
  }
}

/* ---- DESKTOP (desde 768px) ---- */
@media screen and (min-width: 768px) {

  .site-logo img{
    width: 52px;
    height: 52px;
  }

  .site-logo span{
    font-size: 1.3rem;
  }

  .hero{
    height: 560px;
  }

  .slide{
    align-items: center;
    justify-content: center;
  }

  .slide-content{
    text-align: center;
    padding: 0 40px;
  }

  .slide-title{
    font-size: 3.2rem;
  }

  .slide-eyebrow{
    font-size: 1rem;
  }

  .slide-cta{
    padding: 14px 32px;
    font-size: 1rem;
    margin-top: 20px;
  }
}

/* ==========================================================
   Sección: Nuestros productos (categorías con imagen de fondo)
   Pega esto al FINAL de style.css
   ========================================================== */

.categorias{
  padding: 32px 0 30px;
}
.categorias h2{
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size:1.4rem;
  color: var(--azul);
  text-align:center;
  margin-bottom:6px;
}
.categorias .subtitulo{
  text-align:center;
  color: var(--coral);
  font-weight:700;
  font-size:0.9rem;
  margin-bottom:22px;
}

.cat-scroll{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding: 4px 20px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar{ display:none; }

.cat-card{
  flex: 0 0 auto;
  width: 130px;
  height: 150px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  scroll-snap-align: start;
  text-decoration:none;

  background-color: #ffffff; /* color de respaldo mientras no hay foto */
  background-size: cover;
  background-position: center;
}

/* degradado oscuro abajo para que el texto blanco siempre se lea, sea cual sea la foto */
.cat-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 100%);
}

.cat-card span{
  position: relative;
  z-index: 2;
  color:#fff;
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size:0.8rem;
  text-align:center;
  text-transform:uppercase;
  line-height:1.15;
  padding: 0 8px 14px;
}

/* Desktop: tarjetas un poco más grandes */
@media screen and (min-width: 768px) {
  .categorias h2{ font-size: 1.9rem; }
  .categorias .subtitulo{ font-size: 1.05rem; margin-bottom: 30px; }

  .cat-scroll{
    justify-content: center;
    padding: 4px 40px 10px;
  }

  .cat-card{
    width: 190px;
    height: 220px;
  }

  .cat-card span{
    font-size: 1rem;
    padding-bottom: 20px;
  }
}

/* ==========================================================
   Sección: Lo más vendido
   Pega esto al FINAL de style.css
   ========================================================== */

.mas-vendido{
  padding: 10px 20px 40px;
}
.mas-vendido h2{
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size:1.4rem;
  color: var(--azul);
  text-align:center;
  margin-bottom:6px;
}
.mas-vendido .subtitulo{
  text-align:center;
  color: var(--coral);
  font-weight:700;
  font-size:0.9rem;
  margin-bottom:22px;
}

/* Grid 2x2 en mobile */
.productos-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.producto-card{
  background: var(--blanco);
  border-radius: 16px;
  padding: 10px 10px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.producto-imagen{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #ffffff;
}
.producto-imagen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.producto-nombre{
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size: 0.82rem;
  color: var(--texto);
  line-height: 1.25;
  margin-bottom: 4px;
  text-decoration: none;
}

.producto-precio{
  font-family:'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--azul);
  margin-bottom: 12px;
}

.producto-acciones{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.producto-carrito{
  background: var(--coral);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.sin-productos{
  grid-column: 1 / -1;
  text-align: center;
  color: var(--texto);
  font-size: 0.9rem;
}

/* Desktop: 4 en una fila */
@media screen and (min-width: 768px) {
  .mas-vendido{ padding: 20px 40px 60px; }
  .mas-vendido h2{ font-size: 1.9rem; }
  .mas-vendido .subtitulo{ font-size: 1.05rem; margin-bottom: 34px; }

  .productos-grid{
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .producto-nombre{ font-size: 0.95rem; }
  .producto-precio{ font-size: 0.95rem; }
}

/* ==========================================================
   Tarjeta promocional (Box Juguetes por Etapas, y reutilizable
   para otras tarjetas promocionales similares)
   Pega esto al FINAL de style.css
   ========================================================== */

.promo-card-wrap{
  padding: 10px 20px 40px;
  display: flex;
  justify-content: center;
}

.promo-card{
  width: 100%;
  max-width: 360px;
  background: var(--rosa-pastel);
  border-radius: 20px;
  overflow: hidden;
}

.promo-imagen{
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.promo-imagen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-texto{
  padding: 20px 22px 26px;
  text-align: center;
}

.promo-pregunta{
  font-size: 0.85rem;
  color: var(--texto);
  margin-bottom: 8px;
  line-height: 1.4;
}

.promo-titulo{
  font-family:'Fredoka', sans-serif;
  font-weight:700;
  font-size: 1.3rem;
  color: var(--azul);
  margin: 0 0 16px;
  line-height: 1.2;
}

.promo-boton{
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 30px;
  border-radius: 999px;
}

/* Desktop: tarjeta horizontal en vez de apilada */
@media screen and (min-width: 768px) {
  .promo-card{
    max-width: 780px;
    display: flex;
    align-items: stretch;
  }

  .promo-imagen{
    width: 50%;
    aspect-ratio: auto;
  }

  .promo-texto{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 40px 50px;
  }

  .promo-pregunta{ font-size: 1rem; }
  .promo-titulo{ font-size: 1.8rem; }
}

/* ==========================================================
   Menú lateral mejorado — REEMPLAZA todas las reglas anteriores
   de ".mobile-menu", ".mobile-menu ul", ".mobile-menu li",
   ".mobile-menu a" y ".menu-close" que ya tengas en style.css
   por este bloque completo.
   ========================================================== */

/* Fondo oscuro detrás del menú */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 150;
}
.menu-overlay.active{
  opacity: 1;
  visibility: visible;
}

/* Botón de cerrar */
.menu-close{
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--coral);
  cursor: pointer;
  padding: 6px 10px;
  z-index: 2;
}

/* Panel del menú */
.mobile-menu{
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--blanco);
  box-shadow: 2px 0 20px rgba(0,0,0,0.15);
  transition: left 0.3s ease;
  z-index: 200;
  padding: 70px 0 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open{
  left: 0;
}

.mobile-menu-scroll{
  flex: 1;
  overflow-y: auto;
  padding: 0 22px;
}

.mobile-menu-seccion{
  padding: 16px 0;
  border-bottom: 1px solid #f2eaee;
}
.mobile-menu-seccion:last-child{
  border-bottom: none;
}

.mobile-menu-titulo{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--azul);
  margin: 0 0 10px;
}

.mobile-menu-principal,
.mobile-menu-categorias,
.mobile-menu-secundario{
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-principal li,
.mobile-menu-categorias li,
.mobile-menu-secundario li{
  margin-bottom: 4px;
}

.mobile-menu-principal a{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--texto);
  text-decoration: none;
  display: block;
  padding: 8px 0;
}
.mobile-menu-principal a:hover{
  color: var(--azul);
}

.mobile-menu-categorias a{
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--texto);
  text-decoration: none;
  display: block;
  padding: 6px 0;
}
.mobile-menu-categorias a:hover{
  color: var(--coral);
}

.mobile-menu-secundario a{
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--texto);
  text-decoration: none;
  display: block;
  padding: 6px 0;
}
.mobile-menu-secundario a:hover{
  color: var(--azul);
}

.mobile-menu-social{
  flex-shrink: 0;
  padding: 16px 22px;
  border-top: 1px solid #f2eaee;
  background: var(--rosa-pastel);
}
.mobile-menu-social-label{
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--texto);
  margin-bottom: 8px;
}
.mobile-menu-social-icons{
  display: flex;
  gap: 16px;
}
.mobile-menu-social-icons a{
  color: var(--azul);
  display: inline-flex;
}
.mobile-menu-social-icons a:hover{
  color: var(--coral);
}

/* ==========================================================
   Footer
   Pega esto al FINAL de style.css
   ========================================================== */

.site-footer{
  background: var(--azul);
  color: #ffffff;
  padding: 40px 24px 26px;
}

.footer-inner{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-tagline{
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 480px;
  margin: 0 auto 24px;
}

.footer-social{
  margin-bottom: 24px;
}
.footer-social-label{
  display: block;
  font-family:'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.footer-social-icons{
  display: flex;
  justify-content: center;
  gap: 18px;
}
.footer-social-icons a{
  color: #fff;
  display: inline-flex;
}

.footer-links{
  font-size: 0.78rem;
  margin-bottom: 22px;
  line-height: 1.9;
}
.footer-links a{
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}
.footer-links a:hover{
  opacity: 1;
  text-decoration: underline;
}
.footer-links .sep{
  opacity: 0.5;
  margin: 0 6px;
}

.footer-copyright{
  font-size: 0.75rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 18px;
}
.footer-copyright a{
  color: #fff;
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .footer-tagline{ font-size: 1rem; }
  .footer-links{ font-size: 0.85rem; }
}


/* ==========================================================
   Sección: Productos Destacados
   Pega esto al FINAL de style.css
   ========================================================== */

.destacados{
  padding: 30px 20px 40px;
}
.destacados h2{
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size:1.3rem;
  color: var(--texto);
  text-align:center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.destacados-linea{
  width: 60px;
  height: 3px;
  background: var(--azul);
  border-radius: 3px;
  margin: 0 auto 24px;
}

.destacados-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.destacado-card{
  background: var(--blanco);
  border-radius: 20px; /* bordes redondeados, a diferencia de la referencia cuadrada */
  padding: 14px 14px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.destacado-imagen{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #ffffff;
}
.destacado-imagen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.destacado-badge{
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--coral);
  color: #fff;
  font-family:'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.destacado-nombre{
  font-family:'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--azul);
  text-decoration: none;
  margin-bottom: 4px;
  line-height: 1.3;
}

.destacado-rating{
  margin-bottom: 6px;
}
.destacado-rating .star-rating{
  font-size: 0.75rem;
}

.destacado-precio{
  font-family:'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--coral);
  margin-bottom: 12px;
}
.destacado-precio del{
  color: #b8b8b8;
  font-weight: 400;
  font-size: 0.8rem;
  margin-right: 6px;
}
.destacado-precio ins{
  text-decoration: none;
}

.destacado-acciones{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qty-stepper{
  display: flex;
  align-items: center;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  overflow: hidden;
}
.qty-btn{
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  color: var(--azul);
  font-size: 1rem;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.qty-input{
  width: 22px;
  border: none;
  text-align: center;
  font-size: 0.8rem;
  color: var(--texto);
}

.destacado-carrito{
  background: var(--coral);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.destacado-carrito.loading{
  opacity: 0.6;
}

/* Ocultamos el link "Ver carrito" que WooCommerce agrega solo
   después de un "Añadir al carrito" exitoso, ya que nuestro
   propio ícono de carrito ya cumple esa función */
.added_to_cart.wc-forward{
  display: none !important;
}
.destacado-carrito.added::after{
  content: none; /* WooCommerce agrega su propio ícono de check via JS/CSS del core */
}

.sin-productos{
  grid-column: 1 / -1;
  text-align: center;
  color: var(--texto);
  font-size: 0.9rem;
}

/* En mobile, las tarjetas de 2 columnas quedan angostas: achicamos
   el selector de cantidad y el botón de carrito para que quepan bien */
@media screen and (max-width: 600px) {
  .destacado-acciones,
  .producto-acciones{
    gap: 6px;
  }
  .qty-stepper{
    flex-shrink: 0;
  }
  .qty-stepper .qty-btn{
    width: 22px;
    height: 22px;
    font-size: 0.85rem;
  }
  .qty-stepper .qty-input{
    width: 16px;
    font-size: 0.72rem;
  }
  .destacado-carrito,
  .producto-carrito{
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .destacado-carrito svg,
  .producto-carrito svg{
    width: 13px;
    height: 13px;
  }
}

/* Desktop: 4 columnas */
@media screen and (min-width: 768px) {
  .destacados{ padding: 40px 40px 60px; }
  .destacados h2{ font-size: 1.7rem; }

  .destacados-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .destacado-nombre{ font-size: 0.95rem; }
  .destacado-precio{ font-size: 1.05rem; }
}
/* ==========================================================
   Ficha de Producto — Galería y Variaciones (UX Mejorada)
   ========================================================== */

.producto-single-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 50px;
}

.producto-single-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Dispositivos de escritorio (2 columnas: Galería a la izq, Info a la der) */
@media (min-width: 768px) {
  .producto-single-top {
    flex-direction: row;
    align-items: flex-start;
  }
  .producto-single-galeria {
    width: 48%;
    position: sticky;
    top: 20px;
  }
  .producto-single-info {
    width: 48%;
  }
}

/* ---- Contenedor de la Galería Principal ---- */
.producto-single-galeria {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.galeria-foto-principal,
.producto-single-galeria .woocommerce-product-gallery {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #f0e4e8;
  aspect-ratio: 1 / 1;
}

.galeria-foto-principal img,
.producto-single-galeria .woocommerce-product-gallery img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* EVITAR QUE LAS FOTOS SECUNDARIAS SE APILEN ABAJO EN TAMAÑO GRANDE */
.woocommerce-product-gallery__image:not(:first-child) {
  display: none !important;
}

/* ---- Ocultar elementos sobrantes o rotos ---- */
.woocommerce-product-gallery__trigger {
  display: none !important;
}

/* Ocultar el selector de variaciones textuales nativo */
.variations_form .variations {
  display: none !important;
}

/* ---- Galería de Miniaturas / Variaciones (En una sola fila con scroll horizontal) ---- */
.colores-disponibles {
  margin-top: 8px;
}

.colores-disponibles-titulo {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #38b6ff;
  margin: 0 0 8px;
}

.colores-disponibles-fila {
  display: flex !important;
  flex-wrap: nowrap !important; /* Mantiene todo en una sola fila en móviles */
  overflow-x: auto !important; /* Permite deslizar si hay muchas fotos o nombres */
  gap: 10px !important;
  padding: 4px 2px 10px !important;
  -webkit-overflow-scrolling: touch;
}

/* Base común para todos los botones */
.color-mini-thumb {
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 2px solid #e8e8e8 !important;
  padding: 0 !important;
  cursor: pointer !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

/* Cuando la variación TIENE IMAGEN (Cuadrado 60x60) */
.color-mini-thumb.has-image {
  flex: 0 0 60px !important;
  width: 60px !important;
  height: 60px !important;
}

.color-mini-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Cuando la variación ES SOLO TEXTO / NOMBRE (Píldora adaptable) */
.color-mini-thumb.has-text {
  width: auto !important;
  min-width: 50px !important;
  height: 42px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fdf5f8 !important;
  border: 1px solid #f0e4e8 !important;
  border-radius: 20px !important;
  font-family: 'Fredoka', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #4a4a4a !important;
}

/* Estado Activo / Hover para ambos tipos de botones */
.color-mini-thumb:hover,
.color-mini-thumb.activo {
  border-color: #38b6ff !important;
  transform: scale(1.04);
  box-shadow: 0 2px 8px rgba(56, 182, 255, 0.25);
}

.color-mini-thumb.has-text.activo {
  background: #38b6ff !important;
  color: #ffffff !important;
}

/* ---- Botón "Ir a tienda" (debajo de Añadir al carrito) ---- */
.producto-single-ir-tienda{
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: 2px solid var(--azul);
  color: var(--azul);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 12px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
.producto-single-ir-tienda:hover{
  background: var(--azul);
  color: #fff;
}

/* ---- Info (título, precio, botón) ---- */
.producto-single-titulo{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--texto);
  margin: 0 0 8px;
}

.producto-single-rating{
  margin-bottom: 10px;
}
.producto-single-rating .star-rating{
  font-size: 0.9rem;
}

.producto-single-precio{
  margin-bottom: 14px;
}
.producto-single-precio .price{
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--coral) !important;
}
.producto-single-precio del{
  color: #b8b8b8 !important;
  font-weight: 400;
  font-size: 1rem;
}
.producto-single-precio ins{
  text-decoration: none;
}

.producto-single-corto{
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--texto);
  margin-bottom: 20px;
}
.producto-single-corto p{
  margin: 0 0 10px;
}

/* ---- Formulario de compra (cantidad + botón) ---- */
.producto-single-addtocart {
  margin-bottom: 18px;
}

/* Forzar que el contenedor principal de la compra siempre alinee en fila */
.producto-single-addtocart form.cart,
.producto-single-addtocart .woocommerce-variation-add-to-cart,
.producto-single-addtocart .variations_button {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important; /* Evita que el botón caiga a la siguiente línea */
  width: 100% !important;
}

/* Envoltorios internos de productos variables */
.producto-single-addtocart .single_variation_wrap,
.producto-single-addtocart .woocommerce-variation-add-to-cart {
  width: 100% !important;
}

.producto-single-addtocart .quantity {
  display: flex !important;
  flex: 0 0 auto !important; /* Mantiene su tamaño fijo a la izquierda */
  margin: 0 !important;
}

/* Selector de cantidad con botones +/-, mismo estilo que el resto del sitio */
.producto-single-addtocart .qty-stepper {
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  height: 46px;
  padding: 0 4px;
  display: flex;
  align-items: center;
}
.producto-single-addtocart .qty-btn {
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.producto-single-addtocart .qty-input {
  width: 34px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--texto);
  text-align: center;
  border: none;
  background: transparent;
}

/* Ocultar flechitas nativas del input number */
.producto-single-addtocart input.qty::-webkit-outer-spin-button,
.producto-single-addtocart input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.producto-single-addtocart input.qty {
  -moz-appearance: textfield;
}

/* Botón Añadir al carrito adaptable en la misma fila */
.producto-single-addtocart .single_add_to_cart_button {
  flex: 1 1 auto !important; /* Ocupa todo el espacio restante horizontal */
  height: 46px !important;
  background: var(--coral) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 20px !important;
  text-transform: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important; /* Evita que el texto del botón se rompa en dos líneas */
  margin: 0 !important;
}

.producto-single-addtocart .single_add_to_cart_button:hover {
  opacity: 0.9;
}

/* Selector de variaciones en caso de usarse la tabla nativa */
.producto-single-addtocart table.variations {
  width: 100%;
  margin-bottom: 14px;
}
.producto-single-addtocart table.variations select {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: 'Nunito', sans-serif;
}

/* ---- Meta (categoría, SKU) ---- */
.producto-single-meta {
  font-size: 0.85rem;
  color: var(--texto);
  opacity: 0.8;
}
.producto-single-meta a {
  color: var(--azul);
  text-decoration: none;
}

/* ---- Tabs (Descripción / Reseñas) ---- */
.producto-single-tabs {
  margin-top: 40px;
}
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 1px solid #eee;
}
.woocommerce-tabs ul.tabs li {
  margin: 0;
}
.woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 10px 18px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--texto);
  text-decoration: none;
  border-radius: 999px 999px 0 0;
}
.woocommerce-tabs ul.tabs li.active a {
  color: var(--azul);
  background: var(--rosa-pastel);
}
.woocommerce-tabs .panel {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--texto);
}

/* ---- Productos relacionados: mismo estilo que "Lo más vendido" ---- */
.producto-single-relacionados{
  margin-top: 50px;
}
.producto-single-relacionados h2{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--azul);
  text-align: center;
  margin-bottom: 24px;
}

/* El layout va en flexbox (más resistente a conflictos con los estilos
   base de WooCommerce que forzaban float/ancho fijo en cada tarjeta) */
.related.products ul.products,
ul.products{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  float: none !important;
}

.related.products li.product{
  background: var(--blanco);
  border-radius: 16px;
  padding: 10px 10px 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  text-align: center;
  list-style: none;
  float: none !important;
  width: calc(50% - 8px) !important;
  margin: 0 !important;
}

.related.products li.product a img{
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
  display: block;
}

.related.products li.product .woocommerce-loop-product__title{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--texto) !important;
  margin: 0 0 4px;
}

.related.products li.product .price,
.related.products li.product .price .woocommerce-Price-amount{
  color: var(--azul) !important;
  font-weight: 700;
  font-size: 0.85rem;
}

.related.products li.product .button{
  display: inline-block;
  margin-top: 10px;
  background: var(--coral);
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  text-align: center;
}

/* ---- Desktop ---- */
@media screen and (min-width: 768px) {
  .producto-single-top{
    flex-direction: row;
    gap: 50px;
  }
  .producto-single-galeria,
  .producto-single-info{
    flex: 1;
  }
  .producto-single-titulo{ font-size: 2rem; }
  .producto-single-precio .price{ font-size: 1.9rem; }

  .related.products li.product{
    width: calc(25% - 18px) !important;
  }
}
/* ==========================================================
   Sección: Marca destacada (Bambino, y reutilizable para otras marcas)
   Pega esto al FINAL de style.css
   ========================================================== */

.marca-destacada{
  margin: 20px 20px 40px;
  background: linear-gradient(135deg, var(--azul), #6bc4ea);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.marca-destacada-imagen{
  width: 100%;
  height: 130px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.marca-destacada-imagen img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.marca-destacada-texto{
  padding: 22px 24px 26px;
  text-align: center;
}

.marca-destacada-eyebrow{
  font-family:'Fredoka', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin: 0 0 4px;
}

.marca-destacada-titulo{
  font-family:'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 10px;
}

.marca-destacada-descripcion{
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 18px;
  opacity: 0.95;
}

.marca-destacada-boton{
  display: inline-block;
  background: #fff;
  color: var(--azul);
  font-family:'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 11px 26px;
  border-radius: 999px;
  text-decoration: none;
}

/* Desktop: imagen a un lado, texto al otro */
@media screen and (min-width: 768px) {
  .marca-destacada{
    flex-direction: row;
    max-width: 900px;
    margin: 30px auto 60px;
  }
  .marca-destacada-imagen{
    width: 45%;
    height: auto;
    min-height: 220px;
  }
  .marca-destacada-texto{
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 40px 50px;
  }
  .marca-destacada-titulo{ font-size: 2.1rem; }
  .marca-destacada-descripcion{ font-size: 1rem; }
}

/* ==========================================================
   Ticker de categorías (deslizamiento automático)
   Pega esto al FINAL de style.css
   ========================================================== */

.cat-ticker{
  width: 100%;
  overflow: hidden;
  background: var(--rosa-pastel);
  padding: 10px 0;
}

.cat-ticker-track{
  display: flex;
  width: max-content;
  gap: 34px;
  animation: cat-ticker-scroll 22s linear infinite;
}

.cat-ticker-item{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--azul);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

@keyframes cat-ticker-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Pausa al pasar el mouse (solo aplica en desktop con mouse) */
.cat-ticker:hover .cat-ticker-track{
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce){
  .cat-ticker-track{
    animation: none;
  }
}

@media screen and (min-width: 768px) {
  .cat-ticker-item{
    font-size: 0.95rem;
  }
}

/* ==========================================================
   Barra de búsqueda desplegable
   Pega esto al FINAL de style.css
   ========================================================== */

.search-bar{
  max-height: 0;
  overflow: hidden;
  background: var(--blanco);
  border-bottom: 1px solid #f0e4e8;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px;
}
.search-bar.open{
  max-height: 70px;
  padding: 12px 16px;
}

.search-bar-form{
  display: flex;
  align-items: center;
  background: #f7f7f7;
  border-radius: 999px;
  padding: 4px 6px 4px 18px;
}

.search-bar-input{
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--texto);
}
.search-bar-input::placeholder{
  color: #a0a0a0;
}

.search-bar-submit{
  background: var(--azul);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
/* ==========================================================
   Sección: Nuestras sucursales
   Pega esto al FINAL de style.css
   ========================================================== */

.sucursales{
  padding: 30px 20px 40px;
  scroll-margin-top: 80px;
}
.sucursales h2{
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size:1.3rem;
  color: var(--azul);
  text-align:center;
  margin-bottom: 6px;
}
.sucursales .subtitulo{
  text-align:center;
  color: var(--coral);
  font-weight:700;
  font-size:0.9rem;
  margin-bottom:22px;
}

.sucursales-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sucursal-card{
  border-radius: 20px;
  overflow: hidden;
  background: var(--blanco);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.sucursal-imagen{
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--rosa-pastel);
}
.sucursal-imagen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sucursal-info{
  padding: 14px 14px 16px;
}

.sucursal-info h3{
  font-family:'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--texto);
  margin: 0 0 6px;
  line-height: 1.2;
}

.sucursal-direccion,
.sucursal-horario{
  font-size: 0.72rem;
  color: var(--texto);
  line-height: 1.4;
  margin: 0 0 4px;
}
.sucursal-horario{
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 12px;
}

.sucursal-boton{
  display: inline-block;
  background: var(--azul);
  color: #fff;
  font-family:'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  width: 100%;
  text-align: center;
}

/* Desktop: mismo grid de 2 columnas, pero con más aire y texto más grande */
@media screen and (min-width: 768px) {
  .sucursales{ padding: 40px 40px 60px; }
  .sucursales h2{ font-size: 1.7rem; }
  .sucursales .subtitulo{ font-size: 1.05rem; margin-bottom: 34px; }

  .sucursales-grid{
    max-width: 900px;
    margin: 0 auto;
    gap: 24px;
  }

  .sucursal-info{ padding: 20px 22px 24px; }
  .sucursal-info h3{ font-size: 1.15rem; }
  .sucursal-direccion,
  .sucursal-horario{ font-size: 0.85rem; }
  .sucursal-boton{ font-size: 0.85rem; padding: 11px 24px; width: auto; }
}

/* ==========================================================
   Página de categoría / tienda (archive-product.php)
   Pega esto al FINAL de style.css
   ========================================================== */

.shop-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px 50px;
}

.shop-breadcrumb{
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 10px;
}
.shop-breadcrumb a{
  color: var(--azul);
  text-decoration: none;
}

.shop-title{
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--texto);
  margin: 0 0 8px;
}

.shop-description{
  font-size: 0.9rem;
  color: var(--texto);
  line-height: 1.6;
  margin-bottom: 10px;
}

.shop-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0e4e8;
  flex-wrap: wrap;
}

.shop-count{
  font-size: 0.78rem;
  color: #999;
}

.shop-order select{
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  color: var(--texto);
  background: #fff;
}

/* ---- Grid de productos: mismo estilo que Destacados ---- */
.shop-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.shop-opciones-btn{
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--azul);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
}

.shop-sin-productos{
  text-align: center;
  color: var(--texto);
  padding: 40px 0;
}

/* ---- Paginación ---- */
.shop-pagination{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}
.shop-pagination .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  color: var(--texto);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
}
.shop-pagination .page-numbers.current{
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
}

/* ---- Desktop ---- */
@media screen and (min-width: 768px) {
  .shop-wrap{ padding: 30px 40px 60px; }
  .shop-title{ font-size: 2.1rem; }

  .shop-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}
/* ==========================================================
   Carrito lateral (drawer)
   Pega esto al FINAL de style.css
   ========================================================== */

.cart-drawer-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 250;
}
.cart-drawer-overlay.active{
  opacity: 1;
  visibility: visible;
}

.cart-drawer{
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 88%;
  height: 100%;
  background: var(--blanco);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  z-index: 300;
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open{
  right: 0;
}

.cart-drawer-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #f0e4e8;
}
.cart-drawer-header h3{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--texto);
  margin: 0;
}
.cart-drawer-close{
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--coral);
  cursor: pointer;
}

.cart-drawer-body{
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.cart-drawer-vacio{
  text-align: center;
  color: var(--texto);
  margin-top: 40px;
  font-size: 0.9rem;
}

.cart-drawer-items{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-drawer-item{
  display: flex;
  gap: 12px;
}

.cart-drawer-item-img{
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--rosa-pastel);
  flex-shrink: 0;
}
.cart-drawer-item-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-drawer-item-info{
  flex: 1;
}
.cart-drawer-item-nombre{
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--texto);
  margin: 0 0 2px;
  line-height: 1.3;
}
.cart-drawer-item-precio{
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--azul);
  margin: 0 0 8px;
}

.cart-drawer-item-acciones{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-drawer-eliminar{
  background: none;
  border: none;
  color: #c0c0c0;
  cursor: pointer;
  padding: 4px;
}
.cart-drawer-eliminar:hover{
  color: var(--coral);
}

.cart-drawer-footer{
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #f0e4e8;
}

.cart-drawer-total{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-family: 'Nunito', sans-serif;
}
.cart-drawer-total span{
  font-size: 0.85rem;
  color: var(--texto);
}
.cart-drawer-total strong{
  font-size: 1.15rem;
  color: var(--azul);
}

.cart-drawer-btn{
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  margin-bottom: 10px;
}
.cart-drawer-btn-secundario{
  background: var(--rosa-pastel);
  color: var(--texto);
}
.cart-drawer-btn-primario{
  background: var(--coral);
  color: #fff;
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .cart-drawer{
    width: 380px;
  }
}

/* ---- Aviso flotante "Agregado al carrito" ---- */
.add-to-cart-toast{
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--azul);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 13px 26px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 400;
  white-space: nowrap;
}
.add-to-cart-toast.show{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================
   Página del Carrito
   Pega esto al FINAL de style.css
   ========================================================== */

.site-main-page{
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

.carrito-wrap{
  max-width: 800px;
  margin: 0 auto;
}

.carrito-titulo{
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--texto);
  margin: 0 0 22px;
}

.carrito-items{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.carrito-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--blanco);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.carrito-item-img{
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--rosa-pastel);
  flex-shrink: 0;
}
.carrito-item-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carrito-item-info{
  flex: 1;
  min-width: 0;
}

.carrito-item-nombre{
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--texto);
  margin: 0 0 4px;
}
.carrito-item-nombre a{
  color: var(--texto);
  text-decoration: none;
}

.carrito-item-precio{
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--azul);
  margin: 0 0 10px;
}

.carrito-item-acciones{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Input de cantidad nativo de WooCommerce, restilizado */
.carrito-item-acciones .quantity{
  display: inline-flex;
}
.carrito-item-acciones .qty{
  width: 56px;
  height: 36px;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--texto);
}

.carrito-item-eliminar{
  color: #c0c0c0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.carrito-item-eliminar:hover{
  color: var(--coral);
}

.carrito-item-subtotal{
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--texto);
  white-space: nowrap;
  align-self: center;
}

/* ---- Cupón + actualizar carrito ---- */
.carrito-cupon-actualizar{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.carrito-cupon{
  display: flex;
  gap: 8px;
}
.carrito-cupon-input{
  flex: 1;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
}
.carrito-cupon-btn,
.carrito-actualizar-btn{
  background: var(--rosa-pastel);
  color: var(--texto);
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}
.carrito-actualizar-btn{
  align-self: flex-start;
}

/* ---- Totales (usa los hooks nativos de WooCommerce, solo re-vestimos) ---- */
.carrito-collaterals{
  background: var(--blanco);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.carrito-collaterals .cart_totals h2{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--texto);
  margin: 0 0 14px;
}
.carrito-collaterals table.shop_table{
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.carrito-collaterals table.shop_table th,
.carrito-collaterals table.shop_table td{
  padding: 10px 0;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--texto);
  border-bottom: 1px solid #f2f2f2;
  text-align: left;
}
.carrito-collaterals table.shop_table tr:last-child th,
.carrito-collaterals table.shop_table tr:last-child td{
  border-bottom: none;
  font-weight: 800;
  font-size: 1rem;
  color: var(--azul);
}
.carrito-collaterals .wc-proceed-to-checkout a.checkout-button{
  display: block;
  width: 100%;
  text-align: center;
  background: var(--coral);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px;
  border-radius: 999px;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .carrito-titulo{ font-size: 2.1rem; }
  .carrito-item-img{ width: 90px; height: 90px; }
}

/* ==========================================================
   Panel de filtros (tienda / categorías)
   Pega esto al FINAL de style.css
   ========================================================== */

.shop-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0e4e8;
}

.shop-order-select select{
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  padding: 9px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  color: var(--texto);
  background: #fff;
}

.shop-count{
  display: block;
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 10px;
}

.shop-filtros-btn{
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--rosa-pastel);
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--azul);
  cursor: pointer;
}

.shop-filtros-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 250;
}
.shop-filtros-overlay.active{
  opacity: 1;
  visibility: visible;
}

/* IMPORTANTE: usamos "transform" en vez de "bottom" para posicionar el panel.
   Esto crea un "contenedor" propio para sus elementos internos, así el botón
   fijo de "Aplicar filtros" queda contenido dentro del panel y no se cuela
   visible en pantalla cuando el panel está cerrado. */
.shop-filtros-panel{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 82vh;
  background: var(--blanco);
  border-radius: 22px 22px 0 0;
  z-index: 300;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.shop-filtros-panel.open{
  transform: translateY(0);
}

.shop-filtros-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #f0e4e8;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--texto);
  font-size: 0.85rem;
}
.shop-filtros-cerrar{
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--coral);
  cursor: pointer;
}

.shop-filtros-form{
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.shop-filtro-grupo{
  margin-bottom: 22px;
}
.shop-filtro-grupo h4{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 10px;
}

.shop-filtro-check{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--texto);
  margin-bottom: 10px;
  cursor: pointer;
}
.shop-filtro-check input{
  accent-color: var(--azul);
  width: 16px;
  height: 16px;
}

/* Select nativo de "Ordenar por" dentro del panel */
.shop-filtro-grupo select{
  width: 100%;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--texto);
  background: #fff;
}

.shop-filtro-acciones{
  flex-shrink: 0;
  width: 100%;
  background: var(--blanco);
  padding: 14px 20px;
  border-top: 1px solid #f0e4e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.shop-filtro-limpiar{
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--coral);
  text-decoration: none;
  white-space: nowrap;
}
.shop-filtro-aplicar{
  flex: 1;
  background: var(--azul);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .shop-filtros-panel{
    left: auto;
    right: 0;
    bottom: 0;
    top: 0;
    height: 100%;
    width: 380px;
    border-radius: 0;
    transform: translateX(100%);
  }
  .shop-filtros-panel.open{
    transform: translateX(0);
  }
}


/* ==========================================================
   Sección: Lo más vendido
   Pega esto al FINAL de style.css
   ========================================================== */

.mas-vendido{
  padding: 10px 20px 40px;
}
.mas-vendido h2{
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size:1.4rem;
  color: var(--azul);
  text-align:center;
  margin-bottom:6px;
}
.mas-vendido .subtitulo{
  text-align:center;
  color: var(--coral);
  font-weight:700;
  font-size:0.9rem;
  margin-bottom:22px;
}

/* Grid 2x2 en mobile */
.productos-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.producto-card{
  background: var(--blanco);
  border-radius: 16px;
  padding: 10px 10px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.producto-imagen{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #ffffff;
}
.producto-imagen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.producto-nombre{
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size: 0.82rem;
  color: var(--texto);
  line-height: 1.25;
  margin-bottom: 4px;
  text-decoration: none;
}

.producto-precio{
  font-family:'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--azul);
  margin-bottom: 12px;
}

.producto-acciones{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.producto-carrito{
  background: var(--coral);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.sin-productos{
  grid-column: 1 / -1;
  text-align: center;
  color: var(--texto);
  font-size: 0.9rem;
}

/* Desktop: 4 en una fila */
@media screen and (min-width: 768px) {
  .mas-vendido{ padding: 20px 40px 60px; }
  .mas-vendido h2{ font-size: 1.9rem; }
  .mas-vendido .subtitulo{ font-size: 1.05rem; margin-bottom: 34px; }

  .productos-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .producto-nombre{ font-size: 0.95rem; }
  .producto-precio{ font-size: 0.95rem; }
}

/* ==========================================================
   Página de Finalizar Compra (Checkout clásico)
   Pega esto al FINAL de style.css
   ========================================================== */

.woocommerce-checkout{
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 4px 40px;
  font-family: 'Nunito', sans-serif;
}

.woocommerce-checkout h1.entry-title,
.woocommerce-checkout .page-title{
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--texto);
}

/* ---- Cupón ---- */
.woocommerce-form-coupon-toggle .woocommerce-info{
  background: var(--rosa-pastel);
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--texto);
  list-style: none;
}
.woocommerce-form-coupon-toggle .woocommerce-info::before{
  content: none !important;
  display: none !important;
}
.woocommerce-form-coupon-toggle .woocommerce-info a{
  color: var(--azul);
  font-weight: 700;
  text-decoration: none;
}
.woocommerce-form-coupon{
  background: var(--blanco);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.woocommerce-form-coupon .form-row-first,
.woocommerce-form-coupon .form-row-last{
  width: 100%;
}
.woocommerce-form-coupon button{
  background: var(--azul);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ---- Títulos de sección ---- */
#customer_details h3,
#order_review_heading,
.woocommerce-additional-fields h3{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--azul);
  margin: 26px 0 14px;
}

/* ---- Campos del formulario ---- */
.woocommerce-checkout .form-row{
  margin-bottom: 14px;
}
.woocommerce-checkout label{
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 6px;
}
.woocommerce-checkout label .required{
  color: var(--coral);
  text-decoration: none;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection{
  width: 100%;
  border: 1px solid #e8e8e8 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--texto);
  background: #fff;
  height: auto !important;
}
.woocommerce-checkout textarea{
  min-height: 90px;
}

.woocommerce-checkout .select2-selection{
  display: flex;
  align-items: center;
}
.woocommerce-checkout .select2-selection__rendered{
  padding: 0 !important;
  line-height: normal !important;
}

/* ---- Tabla "Tu pedido" (mismo estilo que el carrito) ---- */
table.woocommerce-checkout-review-order-table{
  width: 100%;
  border-collapse: collapse;
  background: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}
table.woocommerce-checkout-review-order-table th,
table.woocommerce-checkout-review-order-table td{
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--texto);
  border-bottom: 1px solid #f2f2f2;
  text-align: left;
}
table.woocommerce-checkout-review-order-table thead th{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--azul);
  background: var(--rosa-pastel);
}
table.woocommerce-checkout-review-order-table .product-name{
  font-weight: 700;
}
table.woocommerce-checkout-review-order-table tfoot tr:last-child th,
table.woocommerce-checkout-review-order-table tfoot tr:last-child td{
  border-bottom: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--azul);
}

/* ---- Métodos de pago ---- */
#payment{
  background: var(--blanco);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}
ul.wc_payment_methods{
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.wc_payment_methods li.wc_payment_method{
  border-bottom: 1px solid #f2f2f2;
  padding: 12px 0;
}
ul.wc_payment_methods li.wc_payment_method:last-child{
  border-bottom: none;
}
ul.wc_payment_methods label{
  display: inline;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--texto);
}
.payment_box{
  background: var(--rosa-pastel);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--texto);
}

/* ---- Botón "Realizar el pedido" ---- */
#place_order,
.woocommerce-checkout #payment #place_order{
  width: 100%;
  background: var(--coral) !important;
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 15px !important;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

/* ---- Avisos / errores ---- */
.woocommerce-error,
.woocommerce-message{
  border-radius: 12px;
  font-size: 0.85rem;
  padding: 14px 18px;
  list-style: none;
}
.woocommerce-error{
  background: #fde8ea;
  color: #c0392b;
}
.woocommerce-message{
  background: var(--rosa-pastel);
  color: var(--texto);
}

@media screen and (min-width: 768px) {
  .woocommerce-checkout .col2-set{
    display: flex;
    gap: 40px;
  }
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2{
    flex: 1;
  }
}

/* ==========================================================
   Sección: Preguntas Frecuentes
   Pega esto al FINAL de style.css
   ========================================================== */

.faq{
  padding: 30px 20px 40px;
  scroll-margin-top: 80px;
}
.faq h2{
  font-family:'Fredoka', sans-serif;
  font-weight:600;
  font-size:1.3rem;
  color: var(--azul);
  text-align:center;
  margin-bottom: 6px;
}
.faq .subtitulo{
  text-align:center;
  color: var(--coral);
  font-weight:700;
  font-size:0.9rem;
  margin-bottom:24px;
}

.faq-lista{
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item{
  background: var(--blanco);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.faq-pregunta{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--texto);
  cursor: pointer;
}

.faq-icono{
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rosa-pastel);
  color: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icono{
  transform: rotate(45deg);
  background: var(--coral);
  color: #fff;
}

.faq-respuesta{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-respuesta p{
  padding: 0 18px 18px;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--texto);
}

@media screen and (min-width: 768px) {
  .faq h2{ font-size: 1.7rem; }
  .faq .subtitulo{ font-size: 1.05rem; margin-bottom: 34px; }
  .faq-pregunta{ font-size: 1rem; padding: 18px 22px; }
  .faq-respuesta p{ font-size: 0.9rem; padding: 0 22px 20px; }
}

/* ==========================================================
   Tabla de precios por mayor (ficha de producto)
   Pega esto al FINAL de style.css
   ========================================================== */

.precio-mayor-tabla{
  background: var(--rosa-pastel);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 4px 0 18px;
}

.precio-mayor-tabla h4{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--azul);
  margin: 0 0 4px;
}

.precio-mayor-nota{
  font-size: 0.72rem;
  color: var(--texto);
  opacity: 0.75;
  margin: 0 0 10px;
}

.precio-mayor-tabla ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.precio-mayor-tabla li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--texto);
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.precio-mayor-tabla li:last-child{
  border-bottom: none;
}

.precio-mayor-tabla li strong{
  color: var(--coral);
  font-weight: 800;
}

/* ==========================================================
   Botón "Ver tienda completa" (después de Lo más vendido)
   Pega esto al FINAL de style.css
   ========================================================== */

.mas-vendido-boton-wrap{
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.mas-vendido-boton{
  display: inline-block;
  background: none;
  border: 2px solid var(--azul);
  color: var(--azul);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 11px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.mas-vendido-boton:hover{
  background: var(--azul);
  color: #fff;
}

@media screen and (min-width: 768px) {
  .mas-vendido-boton{
    font-size: 0.95rem;
    padding: 13px 36px;
  }
}

/* ==========================================================
   Botones de variación (Color, Edad, etc.) en vez de desplegables
   Pega esto al FINAL de style.css
   ========================================================== */

/* Ocultamos toda la fila original de la tabla de WooCommerce
   (etiqueta + <select>), ya que ahora mostramos nuestra propia
   fila con los botones justo antes de esta */
table.variations tr:has(select){
  display: none !important;
}
/* Respaldo para navegadores que no soporten :has() */
.variations select{
  display: none !important;
}

.variacion-fila{
  margin-bottom: 16px;
}

.variacion-etiqueta{
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--texto);
  margin-bottom: 8px;
  display: block;
}

.variacion-opciones{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Botón tipo pastilla (para Edad, Género, Marca, etc.) */
.variacion-btn{
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--texto);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.variacion-btn:hover{
  border-color: var(--azul);
}
.variacion-btn.activo{
  border-color: var(--azul);
  color: var(--azul);
  background: var(--rosa-pastel);
}

/* Swatch de color (círculo) */
.variacion-color{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #e8e8e8;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.variacion-color:hover{
  transform: scale(1.08);
}
.variacion-color.activo{
  border-color: var(--azul);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--azul);
}
.variacion-color.activo::after{
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

/* Ajuste para tarjetas de categorías con etiquetas <img> optimizadas */
.cat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.cat-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cat-card span {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ---- Estilo bonito para los métodos de envío en el Checkout ---- */
#shipping_method {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#shipping_method li {
  margin-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.9rem !important;
  color: #4a4a4a !important;
}

#shipping_method input[type="radio"] {
  accent-color: #38b6ff !important; /* Pinta los círculos de azul de tu marca */
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ==========================================================
   PAGINACIÓN LIMPIA CONSENTIDOS (RESPONSIVE HORIZONTAL)
   ========================================================== */

.consentidos-paginacion-wrapper {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 40px 0 !important;
  clear: both !important;
}

/* Estilo para los botones redondos (números y flechas) */
.consentidos-paginacion-wrapper .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  color: #4a4a4a !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
}

/* Página Activa (Azul Consentidos) */
.consentidos-paginacion-wrapper span.page-numbers.current {
  background-color: #38b6ff !important;
  color: #ffffff !important;
  border-color: #38b6ff !important;
  box-shadow: 0 4px 10px rgba(56, 182, 255, 0.3) !important;
}

/* Efecto al tocar o pasar el mouse sobre otra página */
.consentidos-paginacion-wrapper a.page-numbers:hover {
  background-color: #fde2e4 !important;
  border-color: #ff85a2 !important;
  color: #ff85a2 !important;
}

/* Pestañas del menú móvil */
.mobile-menu-tabs {
    display: flex;
    border-bottom: 1px solid #eeeeee;
    background-color: #f7f7f7;
    margin-top: 45px;
}

.menu-tab-btn {
    flex: 1;
    padding: 14px 10px;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 700;
    color: #888888;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.menu-tab-btn.active {
    background-color: #ffffff;
    color: #38b6ff;
    border-bottom: 2px solid #38b6ff;
}

/* Control de paneles de pestañas */
.menu-tab-content {
    display: none;
}

.menu-tab-content.active {
    display: block;
}

/* Bloque de saludo en menú lateral */
.mobile-menu-saludo {
    background: linear-gradient(135deg, #fce8ec 0%, #e8f4fc 100%);
    padding: 26px 18px 14px 18px;
    border-bottom: 1px solid #f0dfe3;
    text-align: left;
}

.saludo-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #666666;
    margin-bottom: 3px;
}

.saludo-titulo {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #333333;
    line-height: 1.25;
}

.saludo-titulo span {
    color: #38b6ff;
}

/* Reajustes de posición */
.mobile-menu .menu-close {
    top: 12px;
    right: 14px;
    z-index: 10;
}

.mobile-menu-tabs {
    margin-top: 0 !important;
}