/*!
Theme Name: Electroiris
Author: Jose Luis
Description: Tema a medida para Electroiris, tienda de materiales eléctricos con WooCommerce.
Version: 1.0.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: electroiris
Tags: custom-logo, custom-menu, e-commerce, translation-ready

This theme, like WordPress, is licensed under the GPL.

Based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.,
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/
*/

:root {
	--color-navy: #1B3A6B;
	--color-orange: #E8752C;
	--color-text: #2C2C2C;
	--color-whatsapp: #25D366;
	--color-page-bg: #F1F3F6;
}

/*--------------------------------------------------------------
>>> 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: #fff;
}

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: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;
}

/*==============================================================
# Electroiris — Diseño de marca
================================================================*/

/* Base
--------------------------------------------- */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	color: var(--color-text);
	background-color: var(--color-page-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-navy);
	font-weight: 700;
	line-height: 1.25;
}

a {
	color: var(--color-navy);
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--color-orange);
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button {
	background-color: var(--color-navy);
	border: none;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
	padding: 0.7em 1.5em;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.button:hover,
.button:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button:hover {
	background-color: var(--color-orange);
	color: #fff;
}

.site {
	background-color: var(--color-page-bg);
	overflow-x: hidden;
}

/* Header
--------------------------------------------- */
.site-header {
	background-color: #fff;
	border-bottom: 1px solid #ececec;
	position: relative;
	z-index: 100;
}

.site-header .header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	max-width: 1240px;
	margin: 0 auto;
	padding: 1rem 1.5rem;
	gap: 1rem 2rem;
}

.site-branding {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-branding .custom-logo-link {
	display: block;
}

.site-branding img.custom-logo {
	max-height: 84px;
	width: auto;
	display: block;
}

@media screen and (max-width: 480px) {
	.site-branding img.custom-logo {
		max-height: 60px;
	}
}

body.wp-custom-logo .site-branding .site-title,
body.wp-custom-logo .site-branding .site-description {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.site-branding .site-title {
	font-size: 1.4rem;
	margin: 0;
}

.site-branding .site-title a {
	color: var(--color-navy);
	text-decoration: none;
}

.site-branding .site-description {
	margin: 0;
	font-size: 0.85rem;
	color: var(--color-text);
}

.site-header-right {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	flex-wrap: wrap;
	margin-left: auto;
}

/* Primary nav */
.main-navigation {
	width: auto;
}

.main-navigation ul#primary-menu {
	display: flex;
	align-items: center;
	gap: 0;
	flex-wrap: wrap;
}

.main-navigation ul li {
	position: relative;
}

.main-navigation ul#primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	position: relative;
	padding: 0.5rem 0.15rem;
	margin: 0 0.9rem;
	color: var(--color-text);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
}

.main-navigation ul#primary-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 0;
	background-color: var(--color-navy);
	transition: width 0.25s ease;
}

.main-navigation ul#primary-menu > li:hover > a,
.main-navigation ul#primary-menu > li.focus > a,
.main-navigation ul#primary-menu > li > a:hover,
.main-navigation ul#primary-menu > li > a:focus,
.main-navigation ul#primary-menu > li.current-menu-item > a,
.main-navigation ul#primary-menu > li.current-menu-ancestor > a,
.main-navigation ul#primary-menu > li.current-menu-parent > a {
	color: var(--color-navy);
}

.main-navigation ul#primary-menu > li:hover > a::after,
.main-navigation ul#primary-menu > li.focus > a::after,
.main-navigation ul#primary-menu > li > a:hover::after,
.main-navigation ul#primary-menu > li > a:focus::after,
.main-navigation ul#primary-menu > li.current-menu-item > a::after,
.main-navigation ul#primary-menu > li.current-menu-ancestor > a::after,
.main-navigation ul#primary-menu > li.current-menu-parent > a::after {
	width: 100%;
}

/* Dropdown submenus (categorías) */
.main-navigation ul ul {
	display: block;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(27, 58, 107, 0.14);
	padding: 0.5rem 0;
	min-width: 220px;
}

.main-navigation ul ul a {
	position: relative;
	width: auto;
	padding: 0.6rem 1.25rem;
	margin: 0;
	color: var(--color-text);
	font-weight: 500;
	font-size: 0.9rem;
}

.main-navigation ul ul a::after {
	content: "";
	position: absolute;
	left: 1.25rem;
	bottom: 0.4rem;
	height: 2px;
	width: 0;
	background-color: var(--color-navy);
	transition: width 0.25s ease;
}

.main-navigation ul ul li:hover > a::after,
.main-navigation ul ul li.focus > a::after,
.main-navigation ul ul a:hover::after,
.main-navigation ul ul a:focus::after,
.main-navigation ul ul li.current-menu-item > a::after {
	width: calc(100% - 2.5rem);
}

.main-navigation ul ul li:hover > a,
.main-navigation ul ul li.focus > a,
.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus,
.main-navigation ul ul li.current-menu-item > a {
	background-color: #f5f7fa;
	color: var(--color-navy);
}

.main-navigation .menu-item-has-children > a::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-right: 6px;
	vertical-align: middle;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}

/* Header actions: buscador + carrito */
.site-header-actions {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

.search-form {
	display: flex;
	align-items: center;
	background-color: #f3f5f8;
	border-radius: 999px;
	padding: 0.3rem 0.35rem 0.3rem 1rem;
}

.search-form .search-field {
	border: none;
	background: transparent;
	outline: none;
	font-family: inherit;
	font-size: 0.85rem;
	width: 130px;
	color: var(--color-text);
}

.search-form .search-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-navy);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.2s ease;
}

.search-form .search-submit:hover,
.search-form .search-submit:focus {
	background-color: var(--color-orange);
}

.search-form .search-submit svg {
	display: block;
	width: 15px;
	height: 15px;
	pointer-events: none;
}

.cart-contents {
	display: flex;
	align-items: center;
	position: relative;
	color: var(--color-navy);
	text-decoration: none;
}

.cart-contents .cart-icon {
	width: 24px;
	height: 24px;
	display: block;
	color: var(--color-navy);
}

.cart-contents:hover .cart-icon,
.cart-contents:focus .cart-icon {
	color: var(--color-orange);
}

.cart-contents .cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background-color: var(--color-orange);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1;
	min-width: 17px;
	height: 17px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
}

/* Mini-carrito desplegable (hover sobre el ícono del carrito) */
.cart-dropdown {
	position: relative;
}

.cart-dropdown-panel {
	position: absolute;
	top: 100%;
	right: -0.75rem;
	z-index: 200;
	width: 340px;
	max-width: calc(100vw - 2rem);
	/* padding-top (en vez de margin-top) mantiene el hit-area continuo entre el
	   ícono y el panel, para que el hover no se pierda al bajar el mouse. */
	padding-top: 1.1rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	pointer-events: none;
}

.cart-dropdown-panel-inner {
	position: relative;
	padding: 1.25rem;
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 45px rgba(27, 58, 107, 0.18);
}

.cart-dropdown-panel-inner::before {
	content: "";
	position: absolute;
	top: -6px;
	right: 1.35rem;
	width: 12px;
	height: 12px;
	background-color: #fff;
	transform: rotate(45deg);
	border-radius: 2px 0 0 0;
	box-shadow: -3px -3px 6px rgba(27, 58, 107, 0.05);
}

.cart-dropdown:hover .cart-dropdown-panel,
.cart-dropdown:focus-within .cart-dropdown-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.cart-dropdown-panel .widget-title {
	display: none;
}

.cart-dropdown-panel .woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 320px;
	overflow-y: auto;
}

.cart-dropdown-panel .woocommerce-mini-cart-item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	padding: 0.85rem 1.75rem 0.85rem 0;
	border-bottom: 1px solid #ececec;
}

.cart-dropdown-panel .woocommerce-mini-cart-item:first-child {
	padding-top: 0;
}

.cart-dropdown-panel .woocommerce-mini-cart-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.cart-dropdown-panel .woocommerce-mini-cart-item a.remove {
	position: absolute;
	top: 0.85rem;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background-color: #f3f5f8;
	color: #9aa3af;
	font-size: 0.95rem;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cart-dropdown-panel .woocommerce-mini-cart-item:first-child a.remove {
	top: 0;
}

.cart-dropdown-panel .woocommerce-mini-cart-item a.remove:hover {
	background-color: #fdecea;
	color: #d8432a;
}

.cart-dropdown-panel .woocommerce-mini-cart-item > a:not(.remove) {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	color: var(--color-navy);
	font-weight: 600;
	font-size: 0.87rem;
	line-height: 1.35;
	text-decoration: none;
}

.cart-dropdown-panel .woocommerce-mini-cart-item > a:not(.remove):hover {
	color: var(--color-orange);
}

.cart-dropdown-panel .woocommerce-mini-cart-item img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	border-radius: 6px;
	background-color: #f7f8fa;
	border: 1px solid #ececec;
	flex-shrink: 0;
}

.cart-dropdown-panel .woocommerce-mini-cart-item .quantity {
	display: block;
	width: 100%;
	margin: 0.35rem 0 0 calc(52px + 0.75rem);
	font-size: 0.82rem;
	color: #6b7280;
	font-weight: 500;
}

.cart-dropdown-panel .woocommerce-mini-cart-item .quantity .woocommerce-Price-amount {
	color: var(--color-text);
	font-weight: 600;
}

.cart-dropdown-panel .woocommerce-mini-cart__total.total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 1rem 0 0;
	padding-top: 1rem;
	border-top: 2px solid #ececec;
	font-weight: 700;
	color: var(--color-navy);
}

.cart-dropdown-panel .woocommerce-mini-cart__total .woocommerce-Price-amount {
	color: var(--color-orange);
	font-size: 1.1rem;
}

.cart-dropdown-panel .woocommerce-mini-cart__buttons.buttons {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 1rem 0 0;
}

.cart-dropdown-panel .woocommerce-mini-cart__buttons .button {
	width: 100%;
	text-align: center;
	font-size: 0.9rem;
}

.cart-dropdown-panel .woocommerce-mini-cart__buttons .button:not(.checkout) {
	background-color: transparent;
	color: var(--color-navy);
	border: 2px solid var(--color-navy);
}

.cart-dropdown-panel .woocommerce-mini-cart__buttons .button:not(.checkout):hover {
	background-color: var(--color-navy);
	color: #fff;
}

.cart-dropdown-panel .woocommerce-mini-cart__buttons .button.checkout {
	background-color: var(--color-orange);
}

.cart-dropdown-panel .woocommerce-mini-cart__buttons .button.checkout:hover {
	background-color: var(--color-navy);
}

.cart-dropdown-panel .woocommerce-mini-cart__empty-message {
	margin: 0;
	padding: 1.5rem 0;
	text-align: center;
	color: #9aa3af;
	font-size: 0.9rem;
}

@media (hover: none) {
	.cart-dropdown-panel {
		display: none;
	}
}

/* Mobile hamburger button */
.menu-toggle {
	background: transparent;
	border: none;
	cursor: pointer;
	width: 32px;
	height: 32px;
	padding: 0;
	display: none;
	align-items: center;
	justify-content: center;
}

.menu-toggle-bar,
.menu-toggle-bar::before,
.menu-toggle-bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--color-navy);
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.menu-toggle-bar {
	position: relative;
}

.menu-toggle-bar::before,
.menu-toggle-bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle-bar::before {
	top: -7px;
}

.menu-toggle-bar::after {
	top: 7px;
}

.main-navigation.toggled .menu-toggle-bar {
	background-color: transparent;
}

.main-navigation.toggled .menu-toggle-bar::before {
	top: 0;
	transform: rotate(45deg);
}

.main-navigation.toggled .menu-toggle-bar::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Breakpoint: below 860px, collapse nav into hamburger */
@media screen and (max-width: 860px) {
	.site-header-right {
		width: 100%;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.main-navigation {
		order: 3;
		flex-basis: 100%;
	}

	.menu-toggle {
		display: flex;
		order: 2;
	}

	.site-header-actions {
		order: 1;
	}

	.search-form .search-field {
		width: 90px;
	}

	.main-navigation ul#primary-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin-top: 1rem;
		padding-top: 0.75rem;
		border-top: 1px solid #ececec;
	}

	.main-navigation.toggled ul#primary-menu {
		display: flex;
	}

	.main-navigation ul#primary-menu > li > a {
		margin: 0;
		padding: 0.75rem 0;
		width: 100%;
	}

	.main-navigation ul#primary-menu > li > a::after {
		display: none;
	}

	.main-navigation ul ul {
		position: static;
		box-shadow: none;
		border-radius: 0;
		padding-left: 1rem;
		min-width: 0;
		display: none;
	}

	.main-navigation.toggled ul ul {
		display: none;
	}

	.main-navigation ul li.focus > ul,
	.main-navigation ul li:hover > ul {
		display: block;
	}
}

@media screen and (min-width: 861px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul#primary-menu {
		display: flex;
	}
}

/*==============================================================
# Footer
================================================================*/
.site-footer {
	background-color: #f7f8fa;
	border-top: 1px solid #ececec;
	margin-top: 3rem;
}

.footer-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 3rem 1.5rem 0;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	padding-bottom: 2.5rem;
}

.site-footer .widget-title {
	color: var(--color-navy);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 1.25rem;
}

/* Columna 1: logo + descripción */
.footer-widget-area--about .footer-logo {
	margin: 0 0 1rem;
}

.footer-widget-area--about .footer-logo img {
	max-height: 64px;
	width: auto;
	display: block;
}

.footer-site-name {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 1rem;
}

.footer-description {
	color: var(--color-text);
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0;
	max-width: 320px;
}

.footer-social-links {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #fff;
	border: 1px solid #dde1e7;
	color: var(--color-navy);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social-link svg {
	width: 18px;
	height: 18px;
}

.footer-social-link:hover,
.footer-social-link:focus {
	background-color: var(--color-navy);
	border-color: var(--color-navy);
	color: #fff;
}

/* Columna 2: enlaces rápidos */
.footer-widget-area--enlaces .footer-links-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-widget-area--enlaces .footer-links-list li {
	margin: 0 0 0.65rem;
}

.footer-widget-area--enlaces .footer-links-list a {
	color: var(--color-text);
	font-size: 0.9rem;
	text-decoration: none;
}

.footer-widget-area--enlaces .footer-links-list a:hover,
.footer-widget-area--enlaces .footer-links-list a:focus {
	color: var(--color-orange);
	text-decoration: underline;
}

/* Columna 3: contacto + WhatsApp */
.footer-widget-area--contacto .footer-contact-phone,
.footer-widget-area--contacto .footer-contact-email,
.footer-widget-area--contacto .footer-contact-hours {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.9rem;
	color: var(--color-text);
	line-height: 1.7;
	margin: 0 0 0.75rem;
}

.footer-widget-area--contacto .footer-contact-hours {
	align-items: flex-start;
}

.footer-contact-icon {
	flex-shrink: 0;
	width: 17px;
	height: 17px;
	color: var(--color-orange);
}

.footer-widget-area--contacto .footer-contact-hours .footer-contact-icon {
	margin-top: 0.2rem;
}

.footer-widget-area--contacto .footer-contact-phone a,
.footer-widget-area--contacto .footer-contact-email a {
	color: var(--color-navy);
	font-weight: 700;
	text-decoration: none;
}

.footer-widget-area--contacto .footer-contact-phone a:hover,
.footer-widget-area--contacto .footer-contact-email a:hover {
	text-decoration: underline;
}

.footer-widget-area--contacto .footer-contact-hours strong {
	color: var(--color-navy);
}

.footer-whatsapp-button {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	background-color: var(--color-whatsapp);
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 0.7em 1.3em;
	border-radius: 999px;
	text-decoration: none;
	margin-top: 0.5rem;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.footer-whatsapp-button:hover,
.footer-whatsapp-button:focus {
	background-color: #1ebe5b;
	color: #fff;
	transform: translateY(-1px);
}

.footer-whatsapp-button svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Mapa de ubicación */
.footer-map {
	margin: 0 0 2.5rem;
	border: 1px solid #ececec;
	border-radius: 10px;
	overflow: hidden;
}

.footer-map iframe {
	display: block;
	width: 100%;
	height: 300px;
}

/* Barra final: copyright */
.site-footer .site-info {
	border-top: 1px solid #e2e5ea;
	padding: 1.25rem 0;
	text-align: center;
}

.site-footer .site-info p {
	margin: 0;
	font-size: 0.8rem;
	color: #9aa3af;
}

@media screen and (max-width: 860px) {
	.footer-widgets {
		grid-template-columns: 1fr 1fr;
	}

	.footer-widget-area--about {
		grid-column: 1 / -1;
	}
}

@media screen and (max-width: 600px) {
	.footer-widgets {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-widget-area--about {
		grid-column: auto;
	}

	.footer-social-links {
		justify-content: center;
	}

	.footer-widget-area--about .footer-logo,
	.footer-description {
		margin-left: auto;
		margin-right: auto;
	}

	.footer-whatsapp-button {
		margin-left: auto;
		margin-right: auto;
	}
}

/*==============================================================
# Página de resultados de búsqueda
================================================================*/
.search-page-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 1.5rem 3rem;
}

.search-page-container .page-header {
	margin: 0 0 2rem;
	padding-top: 2rem;
	text-align: center;
}

.search-page-container .page-title {
	font-size: 1.6rem;
	margin: 0 0 0.5rem;
}

.search-page-container .page-title span {
	color: var(--color-orange);
}

.search-page-container .search-results-count {
	color: #9aa3af;
	font-size: 0.9rem;
	margin: 0;
}

.search-page-container ul.products {
	margin-top: 0;
}

.search-other-results {
	max-width: 760px;
	margin: 3rem auto 0;
}

.search-other-results__title {
	font-size: 1.1rem;
	color: var(--color-navy);
	margin: 0 0 1.25rem;
	padding-top: 2rem;
	border-top: 1px solid #ececec;
}

.search-result-card {
	background-color: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 1.5rem;
	margin: 0 0 1.25rem;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-result-card:hover {
	box-shadow: 0 10px 24px rgba(27, 58, 107, 0.1);
	border-color: transparent;
}

.search-result-card .entry-header {
	margin: 0 0 0.6rem;
}

.search-result-card .entry-title {
	font-size: 1.1rem;
	margin: 0;
}

.search-result-card .entry-title a {
	color: var(--color-navy);
	text-decoration: none;
}

.search-result-card .entry-title a:hover {
	text-decoration: underline;
}

.search-result-card .entry-summary {
	color: var(--color-text);
	font-size: 0.9rem;
	line-height: 1.6;
}

.search-result-card .entry-summary p:last-child {
	margin-bottom: 0;
}

/* Sin resultados */
.search-page-container .no-results {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.search-page-container .no-results .page-content p {
	color: var(--color-text);
	margin: 0 0 1.5rem;
}

.search-page-container .no-results .search-form {
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
}

.search-page-container .no-results .search-form .search-field {
	width: 100%;
}

/*==============================================================
# Páginas genéricas (Mi cuenta, Carrito, Checkout, páginas simples)
================================================================*/
body.page:not(.home) #primary {
	max-width: 800px;
	margin: 0 auto;
	padding: 3rem 1.5rem 5rem;
}

body.woocommerce-cart #primary,
body.woocommerce-checkout #primary,
body.woocommerce-account #primary {
	max-width: 1100px;
}

/* Blog: entradas, archivo, 404 */
body.single-post #primary,
body.blog #primary,
body.error404 #primary,
body.archive:not(.tax-product_cat):not(.tax-product_tag):not(.post-type-archive-product) #primary {
	max-width: 760px;
	margin: 0 auto;
	padding: 3rem 1.5rem 5rem;
}

.entry-header {
	margin: 0 0 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 2px solid #ececec;
}

.entry-title {
	font-size: 2rem;
	margin: 0;
}

.site-main > article .entry-title a {
	color: var(--color-navy);
	text-decoration: none;
}

.site-main > article .entry-title a:hover {
	color: var(--color-orange);
}

.entry-content {
	margin-top: 0;
	color: var(--color-text);
	line-height: 1.7;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content img {
	border-radius: 8px;
}

.entry-content table {
	border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
	padding: 0.6rem 0.9rem;
	border: 1px solid #ececec;
}

/* Tarjeta de entrada dentro del listado del blog (archive.php) */
body.blog .site-main > article,
body.archive .site-main > article {
	background-color: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 1.75rem;
	margin: 0 0 1.5rem;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.blog .site-main > article:hover,
body.archive .site-main > article:hover {
	box-shadow: 0 10px 24px rgba(27, 58, 107, 0.1);
	border-color: transparent;
}

body.blog .site-main > article .entry-title,
body.archive .site-main > article .entry-title {
	font-size: 1.3rem;
}

/* Header genérico de archivo (título de categoría/etiqueta/fecha) */
.page-header {
	margin: 0 0 2rem;
}

.page-header .page-title {
	font-size: 1.9rem;
	margin: 0 0 0.5rem;
}

.archive-description {
	color: #6b7280;
}

/* Navegación entre entradas / paginación */
.post-navigation .nav-links,
.posts-navigation .nav-links {
	gap: 1.5rem;
	margin-top: 2rem;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #9aa3af;
}

.post-navigation .nav-title,
.posts-navigation .nav-links a {
	color: var(--color-navy);
	font-weight: 600;
	text-decoration: none;
}

.post-navigation .nav-title:hover,
.posts-navigation .nav-links a:hover {
	color: var(--color-orange);
}

/* Variante de botón con borde (usada en la 404 y otros CTAs secundarios) */
.button-outline,
a.button.button-outline {
	background-color: transparent;
	color: var(--color-navy);
	border: 2px solid var(--color-navy);
}

.button-outline:hover,
a.button.button-outline:hover {
	background-color: var(--color-navy);
	color: #fff;
}

/* Página 404 */
body.error404 #primary {
	text-align: center;
	max-width: 620px;
}

.error-404-code {
	font-size: 5rem;
	font-weight: 800;
	line-height: 1;
	color: var(--color-orange);
	margin: 0 0 0.5rem;
}

.error-404 .page-header {
	margin-bottom: 1rem;
}

.error-404 .page-content > p {
	color: #6b7280;
	margin-bottom: 2rem;
}

.error-404 .search-form {
	max-width: 420px;
	margin: 0 auto 2rem;
	background-color: #f3f5f8;
}

.error-404-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
}

.error-404-categories {
	padding-top: 2.5rem;
	border-top: 2px solid #ececec;
}

.error-404-categories h2 {
	font-size: 1.1rem;
	margin-bottom: 1.25rem;
}

.error-404-categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.error-404-categories a {
	display: inline-block;
	padding: 0.5em 1.25em;
	border-radius: 999px;
	border: 1px solid #dde1e7;
	color: var(--color-text);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.error-404-categories a:hover {
	background-color: var(--color-navy);
	border-color: var(--color-navy);
	color: #fff;
}

@media screen and (max-width: 480px) {
	.error-404-code {
		font-size: 3.5rem;
	}
}

/* Comentarios (blog) */
.comments-area {
	margin: 3rem 0 0;
	padding-top: 2rem;
	border-top: 2px solid #ececec;
}

.comments-area .comments-title,
.comments-area .comment-reply-title {
	font-size: 1.3rem;
	margin: 0 0 1.5rem;
}

.comment-list {
	list-style: none;
	margin: 0;
}

.comment-list .comment {
	margin: 0 0 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #ececec;
}

.comment-list .comment:last-child {
	border-bottom: none;
}

.comment-list .comment-body {
	position: relative;
}

.comment-list .comment-author .avatar {
	border-radius: 50%;
	float: left;
	margin-right: 1rem;
}

.comment-list .comment-author .fn {
	font-weight: 700;
	color: var(--color-navy);
	font-style: normal;
}

.comment-list .comment-metadata {
	font-size: 0.8rem;
	color: #8a93a3;
	margin-bottom: 0.5rem;
}

.comment-list .comment-metadata a {
	color: inherit;
}

.comment-list .comment-content p {
	margin-bottom: 0.75rem;
}

.comment-reply-link {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--color-navy);
	text-decoration: none;
	border: 1px solid #dde1e7;
	border-radius: 999px;
	padding: 0.3em 1em;
}

.comment-reply-link:hover {
	background-color: var(--color-navy);
	color: #fff;
	border-color: var(--color-navy);
}

#respond textarea#comment {
	width: 100%;
	min-height: 130px;
	padding: 0.75rem;
	font-family: inherit;
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-form label {
	display: block;
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 0.35rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	max-width: 400px;
	padding: 0.6rem 0.75rem;
}

@media screen and (max-width: 600px) {
	body.page:not(.home) #primary {
		padding: 2rem 1.25rem 3rem;
	}

	body.page .entry-title {
		font-size: 1.5rem;
	}
}

/*==============================================================
# Página de inicio
================================================================*/
.home-main {
	overflow-x: hidden;
}

.home-section-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.home-section-title {
	font-size: 1.6rem;
	margin: 0 0 2rem;
}

.home-section-title--center {
	text-align: center;
}

.home-section-cta {
	text-align: center;
	margin-top: 2.5rem;
}

/* Hero */
.home-hero {
	background: linear-gradient(180deg, #f5f7fa 0%, #fff 100%);
	padding: 3.5rem 0 4.5rem;
	border-bottom: 1px solid #ececec;
}

.home-hero-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	gap: 3rem;
}

.home-hero-copy {
	flex: 1 1 420px;
}

.home-hero-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-orange);
	margin: 0 0 1rem;
}

.home-hero-copy h1 {
	font-size: 2.6rem;
	line-height: 1.15;
	margin: 0 0 1.25rem;
	color: var(--color-navy);
}

.home-hero-subtitle {
	font-size: 1.05rem;
	color: #6b7280;
	line-height: 1.6;
	margin: 0 0 2rem;
	max-width: 480px;
}

.home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.home-hero-actions .button {
	padding: 0.85em 1.75em;
	font-size: 0.98rem;
}

.home-hero-media {
	position: relative;
	flex: 1 1 460px;
	max-width: 560px;
}

.home-hero-media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 24px 50px rgba(27, 58, 107, 0.18);
	display: block;
}

.home-hero-badge {
	position: absolute;
	left: 1.5rem;
	bottom: -1.25rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background-color: #fff;
	color: var(--color-navy);
	font-weight: 700;
	font-size: 0.85rem;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(27, 58, 107, 0.18);
}

.home-hero-badge svg {
	width: 18px;
	height: 18px;
	color: var(--color-orange);
	flex-shrink: 0;
}

/* Propuesta de valor */
.home-values {
	padding: 3.5rem 0 2.5rem;
}

.home-values .home-section-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.home-value-item {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
}

.home-value-item svg {
	width: 30px;
	height: 30px;
	color: var(--color-orange);
	flex-shrink: 0;
}

.home-value-item strong {
	display: block;
	color: var(--color-navy);
	font-size: 0.95rem;
	margin-bottom: 0.2rem;
}

.home-value-item span {
	display: block;
	font-size: 0.85rem;
	color: #6b7280;
}

/* Categorías */
.home-categories {
	padding: 2.5rem 0;
}

.home-categories-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.home-category-card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: hidden;
	background-color: var(--color-navy);
	text-decoration: none;
}

.home-category-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.home-category-card:hover img {
	transform: scale(1.06);
}

.home-category-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(27, 58, 107, 0) 40%, rgba(19, 32, 58, 0.85) 100%);
}

.home-category-card--icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-category-card--icon svg {
	width: 64px;
	height: 64px;
	color: rgba(255, 255, 255, 0.25);
}

.home-category-card-overlay {
	position: absolute;
	left: 1.25rem;
	right: 1.25rem;
	bottom: 1.1rem;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #fff;
}

.home-category-card-name {
	font-size: 1.15rem;
	font-weight: 700;
}

.home-category-card-arrow {
	font-size: 1.3rem;
	transition: transform 0.2s ease;
}

.home-category-card:hover .home-category-card-arrow {
	transform: translateX(4px);
}

/* Productos recién llegados */
.home-featured-products {
	padding: 2.5rem 0 3.5rem;
	background-color: #f9fafb;
}

/* Sobre nosotros */
.home-about {
	padding: 3.5rem 0;
}

.home-about-inner {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.home-about-media {
	flex: 1 1 420px;
	max-width: 480px;
}

.home-about-media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(27, 58, 107, 0.14);
	display: block;
}

.home-about-copy {
	flex: 1 1 420px;
}

.home-about-copy p {
	color: #6b7280;
	line-height: 1.7;
	font-size: 1rem;
}

.home-about-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	color: var(--color-text);
	font-size: 0.92rem;
}

.home-about-list li {
	padding: 0.4rem 0 0.4rem 1.6rem;
	position: relative;
}

.home-about-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85rem;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--color-orange);
}

.home-about-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--color-navy);
	font-weight: 700;
	text-decoration: none;
}

.home-about-link:hover {
	color: var(--color-orange);
}

/* Instagram */
.home-instagram {
	padding: 3.5rem 0;
	text-align: center;
}

.home-instagram-handle {
	margin: 0 0 2rem;
}

.home-instagram-handle a {
	color: #6b7280;
	font-weight: 600;
	text-decoration: none;
}

.home-instagram-handle a:hover {
	color: var(--color-orange);
}

.home-instagram-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
	align-items: start;
	text-align: left;
}

.home-instagram-item {
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(27, 58, 107, 0.05);
}

.home-instagram-item blockquote.instagram-media {
	margin: 0 !important;
	width: 100% !important;
	min-width: unset !important;
	max-width: 100% !important;
}

/* Marcas */
.home-brands {
	padding: 3rem 0;
	background-color: #f9fafb;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
}

.home-brands-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;
}

.home-brand-item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	opacity: 0.7;
	filter: grayscale(1);
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.home-brand-item:hover {
	opacity: 1;
	filter: grayscale(0);
}

.home-brand-item img {
	max-height: 100%;
	max-width: 140px;
	width: auto;
	object-fit: contain;
}

.home-brand-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-navy);
	letter-spacing: 0.02em;
}

/* CTA WhatsApp */
.home-cta {
	padding: 3rem 0;
	background-color: var(--color-navy);
}

.home-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.home-cta h2 {
	color: #fff;
	font-size: 1.4rem;
	margin: 0 0 0.4rem;
}

.home-cta p {
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
	font-size: 0.95rem;
}

.home-cta .footer-whatsapp-button {
	margin-top: 0;
	flex-shrink: 0;
}

@media screen and (max-width: 900px) {
	.home-hero-inner {
		flex-direction: column-reverse;
		text-align: center;
	}

	/* En layout de columna, flex-basis pasa a controlar el alto (no el ancho
	   como en la fila de escritorio) — sin esto quedaba un hueco vacío debajo
	   de la foto y del texto. */
	.home-hero-copy,
	.home-hero-media {
		flex: 0 0 auto;
	}

	.home-hero-subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.home-hero-actions {
		justify-content: center;
	}

	.home-hero-media {
		max-width: 420px;
		width: 100%;
	}

	.home-hero-badge {
		left: 50%;
		transform: translateX(-50%);
	}

	.home-values .home-section-inner {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-categories-grid {
		grid-template-columns: 1fr;
	}

	.home-about-inner {
		flex-direction: column;
	}

	.home-about-media,
	.home-about-copy {
		flex: 0 0 auto;
		max-width: 100%;
	}

	.home-cta-inner {
		flex-direction: column;
		text-align: center;
	}
}

@media screen and (max-width: 560px) {
	.home-hero-copy h1 {
		font-size: 1.9rem;
	}

	.home-values .home-section-inner {
		grid-template-columns: 1fr;
	}
}
