/*!
Theme Name: Ralve
Theme URI: http://underscores.me/
Author: Ralve Digital
Author URI: https://wa.me/51977303013
Description: Paginas Web, Tiendas Virtuales
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: ralve
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.

Ralve 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
--------------------------------------------------------------*/

/* Variables y Tipografía
--------------------------------------------- */
:root {
	/* Tipografía */
	--font-body: clamp(0.9375rem, 2vw, 1rem);   /* 15px → 16px */
	--line-body: 1.6;

	--font-h1: clamp(2rem, 5vw, 2.5rem);        /* 32px → 40px */
	--font-h2: clamp(1.75rem, 4vw, 2rem);       /* 28px → 32px */
	--font-h3: clamp(1.5rem, 3.5vw, 1.75rem);   /* 24px → 28px */
	--font-h4: clamp(1.25rem, 3vw, 1.5rem);     /* 20px → 24px */
	--font-h5: clamp(1.125rem, 2.5vw, 1.25rem); /* 18px → 20px */
	--font-h6: 1rem;                            /* 16px */
	--line-heading: 1.3;

	--font-small: 0.875rem;   /* 14px */
	--font-table: 0.9375rem;  /* 15px */
	--font-blockquote: clamp(1rem, 2.5vw, 1.125rem); /* 16px → 18px */
	--font-button: 1rem; /* 16px */

	/* Colores minimalistas */
	--color-body: #333333;
	--color-heading: #111111;
	--color-muted: #777777;
	--color-bg: #ffffff;
	--color-bg-alt: #f9f9f9;
	--color-border: #e5e5e5;
	--color-hr: #e5e5e5;

	/* Estados */
	--color-success: #28a745;
	--color-warning: #ffc107;
	--color-error: #dc3545;

	/* Transiciones */
	--theme-transition: 0.3s ease all;
}

/* Base */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-body);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: var(--font-body);
	line-height: var(--line-body);
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	margin-top: 0;
	margin-bottom: 0.75em;
    font-weight: 700;
	color: var(--color-heading);
}

h1 { font-size: var(--font-h1); line-height: 1.2; }
h2 { font-size: var(--font-h2); line-height: var(--line-heading); }
h3 { font-size: var(--font-h3); line-height: var(--line-heading); }
h4 { font-size: var(--font-h4); line-height: var(--line-heading); }
h5 { font-size: var(--font-h5); line-height: var(--line-heading); }
h6 { font-size: var(--font-h6); line-height: var(--line-body); }

p {
    margin-top: 0;
	margin-bottom: 1.5em;
}
p:last-child {
	margin-bottom: 0;
}

small { font-size: var(--font-small); }

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

blockquote {
	font-size: var(--font-blockquote);
	line-height: var(--line-body);
	font-style: italic;
	margin: 1.5rem 0;
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--theme-color-1);
	background: var(--color-bg-alt);
	color: var(--color-muted);
}

address { margin: 0 0 1.5em; }

pre {
	background: var(--color-bg-alt);
	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 var(--color-muted);
	cursor: help;
}

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

big { font-size: 125%; }

sup, sub {
	font-size: 0.75em;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Elements
--------------------------------------------- */
body {
	background: var(--color-bg);
}

hr {
	background-color: var(--color-hr);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

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

ul { list-style: disc; padding-left: 1.25rem; }
ol { list-style: decimal; }

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

dt { font-weight: 700; }
dd { margin: 0 1.5em 1.5em; }

/* Media */
embed, iframe, object { max-width: 100%; }
img { height: auto; max-width: 100%; }
figure { margin: 1em 0; }

/* Tablas */
table {
	margin: 0 0 1.5em;
	width: 100%;
	border-collapse: collapse;
	font-size: var(--font-table);
}
th, td {
	padding: 0.75rem;
	border: 1px solid var(--color-border);
	line-height: 1.4;
}

/* Links
--------------------------------------------- */
a {
	color: var(--theme-color-1);
	text-decoration: none;
	display: inline-block;
	transition: var(--theme-transition);
}
a:hover { color: var(--theme-color-3); }
ul li a { display: inline; }
a:focus { outline: none; }
a:hover, a:active { outline: 0; }

/* Forms
--------------------------------------------- */
.btn,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    display: inline-block;
	cursor: pointer;
	border-radius: 5px;
	line-height: 1;
    background: var(--color-bg);
    border: 1px solid var(--theme-color-1);
    color: var(--theme-color-1);
	padding: 14px 30px;
	font-size: var(--font-button);
	transition: var(--theme-transition);
}
.btn:hover,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: var(--theme-color-1);
    color: #fff;
}

.button.single_add_to_cart_button,
.button.checkout {
    background: var(--theme-color-1);
    color: #fff;
    border: 1px solid var(--theme-color-1);
}
.button.single_add_to_cart_button:hover,
.button.checkout:hover {
    background: var(--theme-color-2);
    border-color: var(--theme-color-2);
}

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: var(--color-muted);
    border: 1px solid var(--color-border);
    border-radius: 3px;
    padding: 5px 12px;
    font-size: var(--font-body);
    line-height: 2;
}

input:focus, textarea:focus {
	border: 1px solid var(--theme-color-1);
	color: var(--color-heading);
	outline: none;
}

select {
    color: var(--color-muted);
    border: 1px solid var(--color-border);
    border-radius: 3px;
    padding: 5px 12px;
    font-size: var(--font-body);
    line-height: 2;
}

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;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
	color: black;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
.main-navigation .menu-toggle {
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.main-navigation .menu-toggle svg {
    fill: white;
}

@media screen and (min-width: 1200px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
        display: flex;
		align-items: center;
        gap: 35px;
	}
}

.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 {
    
}

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

.page-content,
.entry-content,
.entry-summary {
    
}

.page-links {
	clear: both;
}

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

.bypostauthor {
	display: block;
}
.autor-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.autor-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #F7F7F7;
    padding: 1rem;
    border-radius: 1rem;
}
.autor-box-info h4 {
	margin: 0;
}
.autor-box-info p {
	margin: 0;
}
.autor-box-info p a {
    font-weight: 700;
}
.autor-box-info .theme-btn {
    border-radius: 0;
    font-size: 14px;
    margin-top: 12px;
}
/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 30px;
}
.widget:last-child {
    margin-bottom: 0px;
}

.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;
}

/* Custom Style
--------------------------------------------- */

.site-main,
.container {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}
.theme-btn {
    background: #99A57D;
    color: white;
    padding: 6px 16px;
    border-radius: 5px;
}
.theme-btn:hover {
    color: white;
    background: var(--theme-color-3);
}
/* Header
--------------------------------------------- */
#masthead {
	background: white;
    padding-top: 25px;
    padding-bottom: 25px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0px 5px 20px 0px #0000003d;
}
.site-branding {
    line-height: 0;
}
.site-branding .custom-logo {
	max-width: 185px;
}
#masthead .grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}
#masthead a:hover {
    color: var(--theme-color-2);
}
#masthead .grid .item-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
#masthead ul li.btn-wsp-header a {
    background: #25D366;
    color: white;
    padding: 12px 1rem;
    display: inline-flex;
    align-items: center;
    border-radius: 2rem;
    gap: 5px;
}
.header-top {
	background: var(--theme-color-2);
    padding-top: 12px;
    padding-bottom: 12px;
}
.header-top ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.header-top ul li {
	color: white;
}
/* Header / Button category
--------------------------------------------- */
.button-category {
    display: none;
    line-height: 0;
    cursor: pointer;
}
.cap-active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 99;
}



/* Footer
--------------------------------------------- */
#colophon {
    border-top: 2px solid var(--theme-color-3);
    background: linear-gradient(rgb(0 8 35 / 85%), rgb(0 8 38 / 85%)), url(/wp-content/uploads/2026/04/pixels-footer.jpg);
    background-size: cover;
    background-position: center;
}
#colophon * {
	color: var(--theme-color-1);
}
#colophon .footer-grid section:last-child {
    background: black;
	padding: 2rem;
}
#colophon .footer-grid section:last-child .widget-title {
	color: white;
}
#colophon .footer-grid section:last-child p {
	color: white;
}
#colophon .site-info {
    padding: 1rem 0;
    text-align: center;
}
#colophon .site-info p {
    font-size: 14px;
}
#colophon .site-info p span {
    display: inline-block;
}
#colophon .site-info a {
	
}
.footer-widgets .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.4fr;
    gap: 30px;
    padding: 4rem 0;
}
.footer-widgets .footer-grid .widget {
    margin-bottom: 0px;
}
.footer-widgets .footer-grid .widget .widget-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.footer-widgets .footer-grid .widget .widget-title .arrow {
    transition: var(--theme-transition);
    line-height: 0;
}
.footer-widgets .footer-grid .widget .widget-title.active .arrow {
    transform: scaleY(-1);
    display: inline-block;
}
.footer-widgets .footer-grid .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-widgets .footer-grid .widget ul li a {
    
}


/* Blog
--------------------------------------------- */
.blog-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}
.blog-grid .grid-archive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
/* Blog Sidebar
--------------------------------------------- */
.sidebar-post .widget {
	
}
.sidebar-post .widget_categories ul {
    margin-left: 0;
}
/* Blog Single
--------------------------------------------- */
.breadcrumb {
    background: #f7f7f7;
    padding: 10px 1rem;
    font-size: 12px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border: 1px solid rgb(0 0 0 / 10%);
}
.post-single .post-thumbnail img {
    width: 100%;
    border-radius: 5px;
}
.single-post .post-navigation .nav-links a {
	background: #f7f7f7;
    padding: 1rem;
    font-weight: 600;
    border: 1px solid rgb(0 0 0 / 10%);
}
.single-post .autor-list {
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.single-post .content-main .entry-content img {
    margin-top: 1rem;
}
.single-post .content-main .entry-header {
	margin-bottom: 1.5rem;
}
.single-post .content-main .entry-header .entry-title {
    text-transform: uppercase;
	margin-bottom: 1rem;
}
.single-post .content-main .entry-header .entry-date {
	display: flex;
    align-items: center;
    gap: 10px;
    background: #f7f7f7;
    width: max-content;
    padding: 4px 12px;
    border: 1px solid rgb(0 0 0 / 10%);
}
.single-post .autor-box {
    border: 1px solid rgb(0 0 0 / 10%);
}
.post-single-image {
	position: relative;
    margin-bottom: 1rem;
}
.post-single-image .post-category {
	position: absolute;
    top: 1rem;
    left: 0;
    z-index: 9;
}
.post-single-image .post-category a {
    background: var(--theme-color-3);
    color: white;
    padding: 4px 12px;
    font-size: 14px;
}
.share-post {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    background: #f7f7f7;
    padding: 1rem;
    text-align: center;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgb(0 0 0 / 10%);
}
.share-post p {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.share-post a {
    line-height: 0;
    border-radius: 5px;
    padding: 5px;
}
.share-post a svg path {
	transition: .3s ease;
}
.share-post a:hover {
    background: var(--theme-color-1);
}
.share-post a:hover svg path {
	stroke: white;
}
@media (min-width: 1200px) {
	.single-post .site-main {
		margin-bottom: 3rem;
	}
}

/* Blog Single Related
--------------------------------------------- */
.post-related .grid-related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
/* Blog Loop
--------------------------------------------- */
.post-loop {
    position: relative;
    transition: var(--theme-transition);
}
.post-loop:hover {
    border-color: transparent;
    box-shadow: 6px 5px 30px rgb(0 0 0 / 12%);
}
.post-loop .post-img a {
    display: block;
    line-height: 0;
	overflow: hidden;
    height: 100%;
}
.post-loop .post-img img {
    width: 100%;
	transition: var(--theme-transition);
    object-fit: cover;
    height: 100%;
}
.post-loop .post-img:hover img {
    transform: scale(1.1);
}
.post-loop .post-info {
    padding: 1.5rem;
}
.post-loop .post-info .entry-title {
    line-height: 1.2;
}
.post-loop .post-info .entry-title a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: var(--font-h5);
}
.post-loop .post-info .entry-category {
    position: absolute;
    top: 10px;
    left: 0;
}
.post-loop .post-info .entry-category a {
    background: var(--theme-color-3);
	color: white !important;
    padding: 4px 12px;
    font-size: 12px;
}
.post-loop .post-info .entry-category a:hover {
    background: var(--theme-color-1);
}
.post-loop .post-info .entry-date {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7f7f7;
    width: max-content;
    padding: 4px 4px;
    border: 1px solid rgb(0 0 0 / 10%);
    margin-top: 10px;
    margin-bottom: 10px;
}
.post-loop .post-info .entry-content {
    margin-bottom: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.post-loop .entry-footer {
    margin-top: 20px;
}
.post-loop .entry-footer .theme-btn {
    border-radius: 0;
    font-size: 14px;
}
.size-xl .post-loop .entry-title a {
    font-size: var(--font-h2);
    font-weight: 700;
}
.size-md .post-loop .entry-title a {
    font-size: var(--font-h3);
    font-weight: 700;
}

@media(min-width: 991px) {
	.image-xxl .post-loop img {min-height: 600px;}
	.image-xl .post-loop img {min-height: 500px;}
	.image-md .post-loop img {min-height: 400px;}
}
/* Blog Loop / Grid
--------------------------------------------- */
.ralve-blog-loop {
  display: grid;
  gap: 1.5rem;
}

.ralve-blog-loop.grid-2 { grid-template-columns: repeat(2, 1fr); }
.ralve-blog-loop.grid-3 { grid-template-columns: repeat(3, 1fr); }
.ralve-blog-loop.grid-4 { grid-template-columns: repeat(4, 1fr); }
.ralve-blog-loop.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media(max-width: 1200px){
	.ralve-blog-loop.grid-4 { grid-template-columns: repeat(3, 1fr); }
	.ralve-blog-loop.grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width: 991px){
	.ralve-blog-loop.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.ralve-blog-loop.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.ralve-blog-loop.grid-5 { grid-template-columns: repeat(2, 1fr); }
	.image-xxl .post-loop img {min-height: 350px;}
	.image-xl .post-loop img {min-height: auto;}
	.image-md .post-loop img {min-height: 280px;}
}
@media(max-width: 768px){
  .ralve-blog-loop.grid-4,
  .ralve-blog-loop.grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .loop-style-3 .post-loop .post-img,
  .loop-style-1 .post-loop .post-img {
    height: 100%;
  }
}

@media(max-width: 480px){
   .ralve-blog-loop {
     	grid-template-columns: 1fr;
   }
    .ralve-blog-loop.grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* Blog Loop / style 1
--------------------------------------------- */
.loop-style-1 .post-loop {
	display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}
.loop-style-1 .post-loop .entry-content {
	display: none;
}
/* Blog Loop / style 2
--------------------------------------------- */
.loop-style-2 .post-loop .post-info {
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
    background: linear-gradient(0deg, rgb(0 0 0 / 25%), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.loop-style-2 .post-loop .post-info .entry-header {
    margin-bottom: 1.5rem;
}
.loop-style-2 .post-loop .post-info .entry-meta a,
.loop-style-2 .post-loop .post-info .entry-title a {
	color: white;
}
.loop-style-2 .post-loop .post-info .entry-date,
.loop-style-2 .post-loop .post-info .entry-title a {
    text-shadow: 2px 0px 4px black;
}
.loop-style-2 .post-loop .post-info .entry-meta a {
    text-shadow: none;
    color: var(--theme-color-1);
}
.loop-style-2 .post-loop .post-info .theme-btn {
    background: white;
    color: var(--theme-color-1);
}
.loop-style-2 .post-loop .entry-content {
	display: none;
}

/* Blog Loop / style 3
--------------------------------------------- */
.loop-style-3 .post-loop {
	display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}

/* Pagination
--------------------------------------------- */
nav.pagination {
    text-align: center;
    margin-bottom: 60px;
}
nav.pagination .page-numbers {
    font-size: 1rem;
    background: var(--theme-color-1);
    display: inline-block;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
}
nav.pagination .page-numbers.next,
nav.pagination .page-numbers.prev {
    font-family: cursive;
}
nav.pagination .page-numbers:hover,
nav.pagination .page-numbers.current {
    background: var(--theme-color-2);
}


/* Responsive
--------------------------------------------- */
@media (max-width: 1199.98px) {
    /* Header Menu
    --------------------------------------------- */
    .main-navigation .menu-menu-principal-container {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        background: var(--theme-color-3);
        width: 320px;
        overflow: auto;
        padding: 1rem;
        z-index: 99;
        transition: var(--theme-transition);
        transform: translateX(-100%);
    }
    .main-navigation .menu-menu-principal-container ul.nav-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        gap: 10px;
    }
    .main-navigation .menu-menu-principal-container ul.nav-menu li a {
        font-size: 1.2rem;
        font-weight: 600;
    }
    .main-navigation.toggled .menu-menu-principal-container {
        transform: translateX(0);
    }
    /* Header Menu / Button Category
    --------------------------------------------- */
    .button-category {
        display: block;
    }
    .button-category svg {
        fill: white;
    }
    /* Blog
    --------------------------------------------- */
    .blog-grid {
        grid-template-columns: auto;
    }
    .blog-grid .grid-archive {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Blog Loop
    --------------------------------------------- */
    .post-loop .post-info {
        padding: 1rem;
    }
    /* Blog Loop
    --------------------------------------------- */
    aside.widget-area {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        background: aliceblue;
        width: 320px;
        overflow: auto;
        padding: 1rem;
        z-index: 999;
        transition: var(--theme-transition);
        transform: translateX(-100%);
    }
    aside.widget-area.active {
        transform: translateX(0);
    }
}
@media (max-width: 991.98px) {
    /* Footer
    --------------------------------------------- */
    .footer-widgets .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }
    /* Blog
    --------------------------------------------- */
    .blog-grid .grid-archive {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Blog Loop
    --------------------------------------------- */
    .post-loop:hover {
        border-color: var(--color-border);
        box-shadow: none;
    }
    /* Blog Single Related
    --------------------------------------------- */
    .post-related .grid-related {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) {
    /* Blog
    --------------------------------------------- */
    .blog-grid .grid-archive {
        grid-template-columns: auto;
    }
    /* Blog Single Related
    --------------------------------------------- */
    .post-related .grid-related {
        grid-template-columns: auto;
    }
    /* Pagination
    --------------------------------------------- */
    nav.pagination,
    .blog-grid .grid-archive {
        margin-bottom: 30px;
    }
    /* Blog Single Related
    --------------------------------------------- */
    .post-related .grid-related {
        margin-bottom: 30px;
    }
}
@media (max-width: 575.98px) {
    /* Footer
    --------------------------------------------- */
    .footer-widgets .footer-grid {
        grid-template-columns: auto;
        padding: 2rem 0;
        gap: 14px;
    }
    .footer-widgets .footer-grid .widget .textwidget,
    .footer-widgets .footer-grid .widget .menu-menu-principal-container {
        display: none;
    }
}



/*------------------------------------------------------------------------------
* WooCommerce / Generals
*------------------------------------------------------------------------------*/
:focus-visible {
    outline: none;
}
/*------------------------------------------------------------------------------
* WooCommerce / Layout
*------------------------------------------------------------------------------*/
.woo-layout {
    display: flex;
    gap: 2rem;
}
.woo-layout aside.widget-area {
    width: 275px;
    flex-shrink: 0;
}
.woo-layout .content-area {
    flex: 1;
}
.woo-layout .product-main {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 5rem;
}
/*------------------------------------------------------------------------------
* WooCommerce / Breadcrumb
*------------------------------------------------------------------------------*/
.woocommerce-breadcrumb {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.woocommerce-breadcrumb a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}
.woocommerce-breadcrumb a:hover {
    color: #111827;
    text-decoration: underline;
}
/*------------------------------------------------------------------------------
* WooCommerce / Loop (Shop, Categorías, Etiquetas)
*------------------------------------------------------------------------------*/

/* Contenedor del listado de productos */
.woocommerce ul.products {
    /* grid general */
}

/* Cada producto en el loop */
.woocommerce ul.products li.product {
    /* card del producto */
}
ul.products li {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    padding: 5px;
    transition: var(--theme-transition);
}
ul.products li:hover {
    box-shadow: 0 0 5px 0px rgb(0 0 0 / 15%);
}
ul.products li .onsale {
    position: absolute;
    top: 10px;
    left: 0px;
    background: red;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}
ul.products li .add_to_cart_button {
    margin-top: 1.5rem;
}
/* Grid de productos: 4 columnas */
ul.products.columns-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem; /* 16px */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Grid de productos: 5 columnas */
ul.products.columns-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Grid de productos: 6 columnas */
ul.products.columns-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Imagen del producto */
.woocommerce ul.products li.product img {
    /* imagen de producto */
}

/* Título */
.woocommerce-loop-product__title {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Precio */
.woocommerce ul.products li.product .price {
    /* precio en loop */
}

/* Botón añadir al carrito */
.woocommerce ul.products li.product .button {
    /* botón "Añadir al carrito" */
}

/* Etiquetas tipo "Sale" */
.woocommerce span.onsale {
    /* badge de oferta */
}

/* Paginación Woocommerce */
.woocommerce-pagination {
  text-align: center;
  margin: 2rem 0;
}

.woocommerce-pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-pagination .page-numbers li {
  display: inline-block;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  display: inline-block;
  min-width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--theme-transition);
}

/* Estado normal */
.woocommerce-pagination .page-numbers a {
  color: var(--color-body);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

/* Hover */
.woocommerce-pagination .page-numbers a:hover {
  border-color: var(--theme-color-1);
  color: var(--theme-color-1);
}

/* Página activa */
.woocommerce-pagination .page-numbers .current {
  background: var(--theme-color-1);
  border: 1px solid var(--theme-color-1);
  color: #fff;
}

/* Puntos suspensivos (…) */
.woocommerce-pagination .page-numbers .dots {
  border: none;
  background: transparent;
  color: var(--color-muted);
}


/* Ordenar por (filtros de loop) */
.woocommerce .woocommerce-ordering {
    /* select ordenar por */
}

/* Resultados de productos (ej: mostrando 1–9 de 20 resultados) */
.woocommerce .woocommerce-result-count {
    /* contador de resultados */
}

/*------------------------------------------------------------------------------
* WooCommerce / Sidebar
*------------------------------------------------------------------------------*/
.sidebar-woocommerce {
    
}
.sidebar-woocommerce .widget {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.sidebar-woocommerce ul.product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-woocommerce ul.product-categories > li {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}
.sidebar-woocommerce ul.product-categories > li:last-child {
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-bottom: 0px solid var(--color-border);
}
.sidebar-woocommerce ul.product-categories li a {
    font-size: var(--font-small);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-woocommerce ul.product-categories li.current-cat > a,
.sidebar-woocommerce ul.product-categories li:hover > a {
    color: var(--theme-color-3);
}
.sidebar-woocommerce ul.product-categories ul.children {
    margin: 0;
    display: none;
}

/*------------------------------------------------------------------------------
* WooCommerce / Single Product Page
*------------------------------------------------------------------------------*/

/* Contenedor principal del producto */
.woocommerce div.product {
    /* layout del producto */
}

/* Galería de imágenes */
.woocommerce-product-gallery {
    position: relative;
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    z-index: 9;
    left: 0;
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger span {
    font-size: 1.5rem;
}
.woocommerce-product-gallery__image {
    line-height: 0;
}

/* Galería de imágenes del producto */
.flex-control-nav.flex-control-thumbs {
  display: flex;
  justify-content: center;     /* Centrado */
  gap: 0.75rem;                /* Espacio entre imágenes */
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.flex-control-nav.flex-control-thumbs li {
  flex: 0 0 auto;
}

.flex-control-nav.flex-control-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;           /* Bordes suaves */
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: var(--theme-transition);
  background: var(--color-bg);
}

/* Hover */
.flex-control-nav.flex-control-thumbs img:hover {
  border-color: var(--theme-color-1);
  transform: scale(1.05);
}

/* Imagen activa */
.flex-control-nav.flex-control-thumbs img.flex-active {
  border-color: var(--theme-color-1);
  box-shadow: 0 0 0 2px var(--theme-color-1) inset;
}

/* Título */
.woocommerce div.product .product_title {
    /* título */
}

/* Precio */
.woocommerce div.product p.price {
    font-size: 2rem;
    color: var(--theme-color-1);
    font-weight: bold;
}
.woocommerce div.product p.price del {
    font-size: 1.3rem;
    opacity: 0.75;
}
.woocommerce div.product p.price ins {
    background: unset;
}

/* Resumen (columna de info) */
.woocommerce div.product .summary {
    /* info derecha */
}

/* Botón añadir al carrito */
.single_add_to_cart_button {
    /* botón en single */
}

/* Formularios de variaciones */
.variations_form {
    /* form de variaciones */
}
.variations select {
    /* selects de variaciones */
}

/* Tabs (Descripción, Información adicional, Reseñas) */
/* Contenedor de tabs */
.woocommerce-tabs {
    margin: 4rem 0;
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* Lista de pestañas */
.woocommerce-tabs .tabs {
  display: flex;
  justify-content: center; /* centrado */
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* Ítems */
.woocommerce-tabs .tabs li {
  margin: 0;
}

/* Enlaces de pestaña */
.woocommerce-tabs .tabs li a {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-body);
  border-radius: 6px 6px 0 0;
  transition: var(--theme-transition);
}

/* Hover */
.woocommerce-tabs .tabs li a:hover {
  color: var(--theme-color-1);
}

/* Activa */
.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a[aria-selected="true"] {
  background: var(--theme-color-1);
  color: #fff;
  font-weight: 600;
}

/* Contenido de la pestaña */
.woocommerce-Tabs-panel {
  padding: 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0 6px 6px 6px;
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Titulares dentro de la pestaña */
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3,
.woocommerce-Tabs-panel h4 {
  color: var(--color-heading);
  margin-top: 1.5rem;
}

/* Listas dentro del contenido */
.woocommerce-Tabs-panel ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}


/* Reseñas */
/* Contenedor general */
.woocommerce-Reviews {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
}

/* Título */
.woocommerce-Reviews-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-heading);
  text-align: left;
}

/* Mensaje sin valoraciones */
.woocommerce-noreviews {
  color: var(--color-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Estrellas de puntuación */
.comment-form-rating {
  margin-bottom: 1rem;
}

.comment-form-rating label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}

/* Contenedor de estrellas */
.comment-form-rating .stars {
  display: flex;
  gap: 0.25rem;
}

.comment-form-rating .stars a {
  font-size: 1.4rem;
  color: var(--color-border); /* gris claro por defecto */
  text-decoration: none;
  transition: var(--theme-transition);
}

/* Hover y selección */
.comment-form-rating .stars a:hover,
.comment-form-rating .stars a:focus,
.comment-form-rating .stars a.active {
  color: var(--theme-color-1); /* morado de tu paleta */
}

/* Campos del formulario */
.comment-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--color-heading);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.comment-form select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.75rem;
  font-size: var(--font-body);
  color: var(--color-body);
  transition: var(--theme-transition);
  background: var(--color-bg);
  margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--theme-color-1);
  outline: none;
}

/* Botón enviar */
.comment-form .form-submit input[type="submit"] {
  background: var(--theme-color-1);
  border: none;
  border-radius: 6px;
  padding: 0.75rem 2rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--theme-transition);
}

.comment-form .form-submit input[type="submit"]:hover {
  background: var(--theme-color-2);
}

/* Check de cookies */
.comment-form-cookies-consent {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0.75rem 0;
}
.related.products {
    margin-bottom: 4rem;
}

/*------------------------------------------------------------------------------
* WooCommerce / Cart (Carrito)
*------------------------------------------------------------------------------*/

/* Tabla del carrito */
.woocommerce-cart-form .shop_table {
    /* tabla principal */
}

/* Items */
.woocommerce-cart-form .cart_item {
    /* fila del producto */
}
.product-thumbnail {
    /* miniatura */
}
.product-name {
    /* nombre del producto */
}
.product-price {
    /* precio unitario */
}
.product-quantity {
    /* input cantidad */
}
.product-subtotal {
    /* subtotal */
}

/* Totales del carrito */
.cart-collaterals .cart_totals {
    /* bloque totales */
}
.cart_totals .wc-proceed-to-checkout a {
    /* botón ir a checkout */
}
/*------------------------------------------------------------------------------
* WooCommerce / Mini Cart (Mini Carrito)
*------------------------------------------------------------------------------*/
/* Overlay oscuro */
.mini-cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  transition: opacity 0.3s ease;
}
.mini-cart-overlay.active {
  display: block;
  opacity: 1;
}

/* Panel lateral */
.mini-cart-panel {
  position: fixed;
  top: 0;
  right: -400px; /* oculto */
  width: 350px;
  max-width: 90%;
  height: 100%;
  background: var(--color-bg);
  box-shadow: -4px 0 12px rgba(0,0,0,0.15);
  border-left: 1px solid var(--color-border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.mini-cart-panel.active {
  right: 0;
}

/* Header del panel */
.mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 1rem;
}
.close-mini-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-body);
}

/* Contenido */
.mini-cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

/* ============================
   PRODUCTOS EN EL MINI CART
============================ */
.woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-mini-cart-item {
    display: flex;
    gap: 0.75rem;
    border: 1px solid var(--color-border);
    position: relative;
    flex-direction: column;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.woocommerce-mini-cart-item:last-child {
  border-bottom: none;
}

/* Imagen producto */
.woocommerce-mini-cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Nombre */
.woocommerce-mini-cart-item a {
    font-weight: 500;
    color: var(--color-body);
    text-decoration: none;
    transition: var(--theme-transition);
    width: 90%;
    display: flex;
    gap: 1rem;
    line-height: normal;
}
.woocommerce-mini-cart-item a:hover {
  color: var(--theme-color-1);
}

/* Cantidad y precio */
.woocommerce-mini-cart-item .quantity {
  font-size: 0.85rem;
  color: var(--color-muted);
  white-space: nowrap;
}

/* Botón eliminar */
.woocommerce-mini-cart-item .remove {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--color-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--theme-transition);
    border: 1px solid;
    width: 25px;
    height: 25px;
    justify-content: center;
    border-radius: 50%;
    align-items: center;
}
.woocommerce-mini-cart-item .remove:hover {
  color: var(--color-error);
}

/* ============================
   SUBTOTAL + BOTONES
============================ */
.woocommerce-mini-cart__total {
  margin: 1rem 0;
  font-weight: 600;
  text-align: right;
  color: var(--color-heading);
}

.woocommerce-mini-cart__buttons {
  display: flex;
  gap: 0.5rem;
}
.woocommerce-mini-cart__buttons .button {
  flex: 1;
  padding: 0.6rem;
  text-align: center;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--theme-transition);
}


/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px) {
  .mini-cart-panel {
    width: 100%;
    right: -100%;
  }
  .mini-cart-panel.active {
    right: 0;
  }
}


/*------------------------------------------------------------------------------
* WooCommerce / Checkout
*------------------------------------------------------------------------------*/

/* Contenedor principal */
.woocommerce-checkout form.checkout {
    /* layout del checkout */
}

/* Secciones de facturación y envío */
.woocommerce-billing-fields,
.woocommerce-shipping-fields {
    /* campos de datos */
}

/* Campos individuales */
.woocommerce-checkout .form-row {
    /* cada campo */
}

/* Resumen del pedido */
.woocommerce-checkout-review-order-table {
    /* tabla del resumen */
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    /* celdas */
}

/* Botón finalizar compra */
#place_order {
    /* botón checkout */
}


/*------------------------------------------------------------------------------
* WooCommerce / My Account
*------------------------------------------------------------------------------*/

/* Navegación lateral */
.woocommerce-MyAccount-navigation {
    /* sidebar mi cuenta */
}
.woocommerce-MyAccount-navigation-link {
    /* cada link */
}
.woocommerce-MyAccount-navigation-link.is-active {
    /* link activo */
}

/* Contenido */
.woocommerce-MyAccount-content {
    /* contenido principal */
}


/*------------------------------------------------------------------------------
* WooCommerce / Mensajes & Notificaciones
*------------------------------------------------------------------------------*/

/* Mensajes de éxito */
.woocommerce-message {
    background: #f0fdf4;
    padding: 5px 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #166534;
    border: 1px solid #86efac;
    margin-bottom: 1.5rem;
}

/* Mensajes de error */
.woocommerce-error {
    background: #fef2f2;
    padding: 5px 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #991b1b;
    border: 1px solid #fca5a5;
    margin-left: 0;
    margin-bottom: 1.5rem;
}

/* Mensajes de aviso */
.woocommerce-info {
    background: #eff6ff;
    padding: 5px 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #1e3a8a;
    border: 1px solid #93c5fd;
    margin-bottom: 1.5rem;
}



/*------------------------------------------------------------------------------
* Responsive / Small Desktop (≤1200px)
*------------------------------------------------------------------------------*/
@media (max-width: 1200px) {
    /* Laptops pequeñas y pantallas medianas */
}
/*------------------------------------------------------------------------------
* Responsive / Tablet (≤992px)
*------------------------------------------------------------------------------*/
@media (max-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*------------------------------------------------------------------------------
* Responsive / Mobile (≤768px)
*------------------------------------------------------------------------------*/
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}


/*------------------------------------------------------------------------------
* Responsive / Mobile XS (≤576px)
*------------------------------------------------------------------------------*/
@media (max-width: 576px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
    .woo-layout .product-main {
        grid-template-columns: 1fr;
    }
    /* Contenedor de productos relacionados en scroll */
    section.related ul.products {
      display: flex;
      flex-wrap: nowrap;             /* Todos en una sola fila */
      overflow-x: auto;              /* Scroll horizontal */
      gap: 1rem;                     /* Espacio entre productos */
      scroll-snap-type: x mandatory; /* Snap para que encaje al hacer scroll */
      padding: 0 1rem;               /* Respiro lateral */
      list-style: none;
      margin: 0;
    }
    
    /* Estilo de cada producto */
    section.related ul.products li.product {
      flex: 0 0 calc(100% / 2.5); /* 2 productos completos + medio */
      scroll-snap-align: start;
      background: #fff;
      border: 1px solid var(--theme-color-border);
      border-radius: 8px;
      padding: 0.75rem;
      box-sizing: border-box;
      transition: transform 0.3s ease;
    }
    
    section.related ul.products li.product:hover {
      transform: translateY(-4px);
    }
    
    /* Ocultar scrollbar */
    section.related ul.products::-webkit-scrollbar {
      display: none;
    }
    section.related ul.products {
      -ms-overflow-style: none;  /* IE/Edge */
      scrollbar-width: none;     /* Firefox */
    }
    
    /* Imágenes */
    section.related ul.products li.product img {
      border-radius: 6px;
      margin-bottom: 0.5rem;
      max-width: 100%;
      height: auto;
      display: block;
    }
    
    /* Títulos */
    section.related ul.products li.product h2 {
      font-size: 0.95rem;
      margin: 0.5rem 0;
      color: var(--theme-color-text);
      font-weight: 500;
      line-height: 1.3;
    }
    
    /* Precios */
    section.related ul.products li.product .price {
      color: var(--theme-color-1);
      font-weight: 600;
      font-size: 1rem;
    }
    
    /* Botón añadir al carrito */
    section.related ul.products li.product .button {
      display: block;
      text-align: center;
      margin-top: 0.75rem;
      background: var(--theme-color-1);
      color: #fff;
      padding: 0.5rem;
      border-radius: 4px;
      font-size: 0.9rem;
      transition: background 0.3s ease;
    }
    
    section.related ul.products li.product .button:hover {
      background: var(--theme-color-3);
    }

}


