/* ==========================================================================
   WPSHOP - Tienda. Tema profesional (estilo Amazon / PCComponentes)
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--wpshop-primary: #0ea5a4;
	--wpshop-accent: #0077ff;
	--wpshop-header-bg: #0f172a;
	--wpshop-body-bg: #f4f5f7;
	--wpshop-text: #111827;
	--wpshop-footer-bg: #0f172a;
	--wpshop-body-font: 'Manrope', sans-serif;
	--wpshop-heading-font: 'Manrope', sans-serif;
	--wpshop-font-size: 16px;
	--wpshop-radius: 10px;
	--wpshop-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
	--wpshop-shadow-hover: 0 10px 24px rgba(15, 23, 42, 0.14);
	--wpshop-maxw: 1280px;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--wpshop-body-font);
	font-size: var(--wpshop-font-size);
	line-height: 1.6;
	color: var(--wpshop-text);
	background: var(--wpshop-body-bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--wpshop-primary);
	text-decoration: none;
}

a:hover {
	color: var(--wpshop-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--wpshop-heading-font);
	line-height: 1.2;
	margin: 0 0 0.5em;
	color: var(--wpshop-text);
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
}

.wpshop-container {
	max-width: var(--wpshop-maxw);
	margin: 0 auto;
	padding: 0 20px;
}

.wpshop-content-wrap {
	padding-top: 16px;
}

.home .wpshop-content-wrap,
.front-page .wpshop-content-wrap,
body.home #content,
.wpshop-content-wrap:has(.wpshop-hero) {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.wpshop-home {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* ------------------------------- BOTONES UNIFICADOS ---------------------------------- */

.wpshop-btn,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce #payment #place_order,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-checkout__submit-button,
.wp-block-button__link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: var(--wpshop-header-bg) !important;
	color: #ffffff !important;
	padding: 12px 24px !important;
	border-radius: var(--wpshop-radius, 10px) !important;
	font-weight: 700 !important;
	font-family: var(--wpshop-body-font) !important;
	font-size: 0.95rem !important;
	border: 0 !important;
	outline: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
	line-height: 1.3 !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12) !important;
}

.wpshop-btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce #payment #place_order:hover,
.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-checkout__submit-button:hover,
.wp-block-button__link:hover {
	background-color: var(--wpshop-accent) !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 20px rgba(0, 119, 255, 0.3) !important;
	filter: brightness(1.05) !important;
}

/* Botones destacados / CTA principal (Checkout, Hero, Suscribirse, Alt Buttons) */
.wpshop-btn-hero,
.wpshop-btn-newsletter,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce #payment #place_order,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background-color: var(--wpshop-accent) !important;
	color: #ffffff !important;
}

.wpshop-btn-hero:hover,
.wpshop-btn-newsletter:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce #payment #place_order:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background-color: var(--wpshop-accent) !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(0, 119, 255, 0.35) !important;
	filter: brightness(1.12) !important;
}

/* -------------------------------- HEADER ---------------------------------- */

.wpshop-header {
	background: var(--wpshop-header-bg);
	color: #fff;
}

.wpshop-topbar {
	background: rgba(0, 0, 0, 0.22);
	font-size: 0.8rem;
	text-align: center;
}

.wpshop-topbar-text {
	margin: 0;
	padding: 7px 12px;
	letter-spacing: 0.2px;
}

.wpshop-header-main {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wpshop-header-row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.wpshop-brand {
	display: flex;
	align-items: center;
	max-width: 280px;
}

.custom-logo-link,
.wpshop-brand img,
.custom-logo {
	display: block;
	max-height: var(--wpshop-logo-height, 42px);
	width: auto;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}

.wpshop-logo {
	color: #fff;
	font-family: var(--wpshop-heading-font);
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.5px;
}

.wpshop-logo:hover {
	color: var(--wpshop-accent);
}

.wpshop-search {
	position: relative;
}

.wpshop-search-form {
	display: flex;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid transparent;
	transition: border-color 0.2s ease;
	height: 44px;
}

.wpshop-search-form:focus-within {
	border-color: var(--wpshop-accent);
}

.wpshop-live-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
	z-index: 999;
	overflow: hidden;
	display: none;
	border: 1px solid #e2e8f0;
}

.wpshop-live-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wpshop-live-list li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: 1px solid #f1f5f9;
}

.wpshop-live-list li:last-child {
	border-bottom: 0;
}

.wpshop-live-item {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 10px 14px !important;
	text-decoration: none !important;
	transition: background 0.15s ease !important;
}

.wpshop-live-item:hover {
	background: #f8fafc !important;
}

.wpshop-live-thumb {
	width: 44px !important;
	height: 44px !important;
	object-fit: contain !important;
	border-radius: 6px !important;
	background: #f1f5f9 !important;
	flex-shrink: 0 !important;
}

.wpshop-live-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.wpshop-live-title {
	font-size: 0.9rem;
	color: #0f172a;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wpshop-live-price {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--wpshop-accent);
}

.wpshop-live-empty {
	padding: 14px;
	text-align: center;
	color: #64748b;
	font-size: 0.88rem;
}

.wpshop-search-form input[type='search'] {
	flex: 1;
	border: 0;
	padding: 0 16px;
	font-size: 0.95rem;
	outline: none;
	min-width: 0;
	background: transparent;
	color: #111827;
}

.wpshop-search-form input[type='search']::placeholder {
	color: #94a3b8;
}

.wpshop-search-submit {
	background: var(--wpshop-accent);
	color: #fff;
	border: 0;
	width: 52px;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.2s ease;
}

.wpshop-search-submit:hover {
	filter: brightness(1.15);
}

.wpshop-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wpshop-account,
.wpshop-cart {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #e2e8f0;
	font-size: 0.85rem;
	padding: 8px 12px;
	border-radius: 8px;
	transition: background 0.2s ease;
}

.wpshop-account:hover,
.wpshop-cart:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.wpshop-cart {
	position: relative;
}

.wpshop-cart-count {
	background: var(--wpshop-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	min-width: 20px;
	height: 20px;
	border-radius: 20px;
	display: inline-grid;
	place-items: center;
	padding: 0 6px;
}

/* -------------------------------- NAVBAR ---------------------------------- */

.wpshop-navbar {
	background: var(--wpshop-header-bg);
	position: sticky;
	top: -1px;
	z-index: 90;
}

.wpshop-navbar-row {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
}

.wpshop-nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
}

.wpshop-nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: #fff;
	margin: 3px 0;
}

.wpshop-nav-toggle-label {
	font-weight: 700;
	font-size: 0.85rem;
}

.wpshop-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.wpshop-menu > li {
	position: relative;
}

.wpshop-menu > li > a {
	display: block;
	color: #e2e8f0;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 12px 14px;
	border-radius: 8px;
	transition: background 0.2s ease, color 0.2s ease;
}

.wpshop-menu > li > a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.wpshop-menu > li.current-menu-item > a {
	color: var(--wpshop-accent);
}

.wpshop-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	color: #111827;
	min-width: 220px;
	list-style: none;
	margin: 0;
	padding: 8px;
	border-radius: 8px;
	box-shadow: var(--wpshop-shadow-hover);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s ease;
	z-index: 95;
}

.wpshop-menu li:hover > .sub-menu,
.wpshop-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.wpshop-menu .sub-menu a {
	display: block;
	color: #334155;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.9rem;
}

.wpshop-menu .sub-menu a:hover {
	background: #f1f5f9;
	color: var(--wpshop-primary);
}

/* Barra de categorias (catalogo) */
.wpshop-catbar {
	background: var(--wpshop-primary);
}

.wpshop-catbar-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	align-items: center;
}

.wpshop-catbar-list a {
	display: block;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 10px 12px;
	opacity: 0.92;
	transition: opacity 0.2s ease;
}

.wpshop-catbar-list a:hover {
	opacity: 1;
	text-decoration: underline;
}

.wpshop-catbar-list .current a {
	background: rgba(0, 0, 0, 0.18);
	border-radius: 6px;
}

/* ------------------------------- BREADCRUMB ------------------------------- */

.wpshop-woo-layout .wpshop-breadcrumb,
.wpshop-breadcrumb {
	font-size: 0.85rem;
	padding: 16px 0 8px;
	margin: 0;
}

.wpshop-breadcrumb a {
	color: #64748b;
}

.wpshop-breadcrumb a:hover {
	color: var(--wpshop-primary);
}

.wpshop-breadcrumb .breadcrumb-separator {
	margin: 0 6px;
	color: #cbd5e1;
}

/* ------------------------------- LAYOUT TIENDA ---------------------------- */

.wpshop-woo-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
	padding-bottom: 48px;
}

.wpshop-woo-main {
	min-width: 0;
}

.wpshop-woo-content > .woocommerce {
	background: #fff;
	border-radius: var(--wpshop-radius);
	padding: 20px;
	box-shadow: var(--wpshop-shadow);
}

.wpshop-single-page,
.wpshop-index {
	padding: 24px 0 48px;
	background: var(--wpshop-body-bg);
}

.wpshop-article,
.wpshop-article-content {
	background: #fff;
	border-radius: var(--wpshop-radius);
	box-shadow: var(--wpshop-shadow);
	padding: 28px;
}

/* ------------------------------- SIDEBAR ---------------------------------- */

.wpshop-sidebar {
	position: sticky;
	top: 60px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wpshop-widget,
.wpshop-sidebar .widget,
.wpshop-sidebar .wp-block-group,
.wpshop-sidebar .wp-block-search {
	background: #fff;
	border-radius: var(--wpshop-radius);
	box-shadow: var(--wpshop-shadow);
	padding: 18px;
}

.wpshop-widget-title,
.wpshop-sidebar .widget-title,
.wpshop-sidebar .widget h2,
.wpshop-sidebar .widget h3,
.wpshop-sidebar .widget h4,
.wpshop-sidebar .wp-block-heading {
	font-family: var(--wpshop-heading-font);
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f1f5f9;
	position: relative;
	color: var(--wpshop-text);
}

.wpshop-widget-title::after,
.wpshop-sidebar .widget-title::after,
.wpshop-sidebar .widget h2::after,
.wpshop-sidebar .widget h3::after,
.wpshop-sidebar .widget h4::after,
.wpshop-sidebar .wp-block-heading::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 42px;
	height: 2px;
	background: var(--wpshop-accent);
}

.wpshop-sidebar .widget ul,
.wpshop-sidebar .widget ol,
.wpshop-sidebar .wp-block-pages-list,
.wpshop-sidebar .wp-block-archives-list,
.wpshop-sidebar .wp-block-categories-list,
.wpshop-sidebar .wp-block-latest-posts {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wpshop-sidebar .widget li,
.wpshop-sidebar .wp-block-pages-list__item,
.wpshop-sidebar .wp-block-archives-list__item,
.wpshop-sidebar .wp-block-categories-list__item {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative;
}

.wpshop-sidebar .widget li::before,
.wpshop-sidebar .wp-block-pages-list__item::before {
	content: none !important;
	display: none !important;
}

.wpshop-sidebar .widget a,
.wpshop-sidebar .wp-block-pages-list a,
.wpshop-sidebar .wp-block-archives-list a,
.wpshop-sidebar .wp-block-categories-list a {
	display: block;
	padding: 7px 0 7px 14px;
	color: #334155;
	font-size: 0.9rem;
	border-left: 2px solid transparent;
	transition: all 0.15s ease;
	text-decoration: none;
}

.wpshop-sidebar .widget a:hover,
.wpshop-sidebar .wp-block-pages-list a:hover,
.wpshop-sidebar .wp-block-archives-list a:hover,
.wpshop-sidebar .wp-block-categories-list a:hover {
	color: var(--wpshop-primary);
	border-left-color: var(--wpshop-accent);
	padding-left: 18px;
}

.wpshop-sidebar .search-form,
.wpshop-sidebar .wp-block-search {
	display: flex;
	gap: 6px;
}

.wpshop-sidebar .search-form input[type="search"],
.wpshop-sidebar .wp-block-search__input {
	flex: 1;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 0.88rem;
	outline: none;
	background: #fff;
	color: var(--wpshop-text);
}

.wpshop-sidebar .search-form input[type="submit"],
.wpshop-sidebar .wp-block-search__button {
	background: var(--wpshop-primary);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 8px 14px;
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.wpshop-sidebar .search-form input[type="submit"]:hover,
.wpshop-sidebar .wp-block-search__button:hover {
	background: var(--wpshop-accent);
}

.wpshop-tree {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpshop-tree li {
	position: relative;
}

.wpshop-tree a {
	display: block;
	padding: 7px 0 7px 14px;
	color: #334155;
	font-size: 0.9rem;
	border-left: 2px solid transparent;
	transition: all 0.15s ease;
}

.wpshop-tree a:hover {
	color: var(--wpshop-primary);
	border-left-color: var(--wpshop-accent);
	padding-left: 18px;
}

.wpshop-tree .current > a {
	color: var(--wpshop-primary);
	font-weight: 700;
	border-left-color: var(--wpshop-primary);
}

.wpshop-tree .sub-menu,
.wpshop-tree .children,
.wpshop-tree ul {
	margin-left: 12px;
	border-left: 1px dashed #e2e8f0;
	padding-left: 4px;
}

.wpshop-tree-root {
	font-weight: 700;
}

.wpshop-tree-root a {
	color: var(--wpshop-primary);
}

/* ------------------------------ HERO PORTADA ------------------------------ */

.wpshop-hero {
	position: relative;
	height: 420px;
	overflow: hidden;
	background: var(--wpshop-header-bg);
	margin-top: 0;
}

.wpshop-hero-track {
	display: flex;
	height: 100%;
	transition: transform 0.6s ease;
}

.wpshop-hero-slide {
	flex: 0 0 100%;
	height: 100%;
	position: relative;
}

.wpshop-hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wpshop-hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	background: linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.35) 55%, transparent 100%);
}

.wpshop-hero-caption {
	max-width: 560px;
	padding: 0 48px;
	color: #fff;
}

.wpshop-hero-kicker {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.8rem;
	color: var(--wpshop-accent);
	font-weight: 700;
	margin-bottom: 8px;
}

.wpshop-hero-title {
	color: #fff;
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 800;
	margin-bottom: 10px;
}

.wpshop-hero-text {
	color: #e2e8f0;
	font-size: 1.05rem;
	margin-bottom: 20px;
}

.wpshop-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 1.1rem;
	cursor: pointer;
	z-index: 5;
	transition: background 0.2s ease;
	backdrop-filter: blur(4px);
}

.wpshop-hero-arrow:hover {
	background: var(--wpshop-accent);
	border-color: var(--wpshop-accent);
}

.wpshop-hero-prev {
	left: 18px;
}

.wpshop-hero-next {
	right: 18px;
}

.wpshop-hero-dots {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 5;
}

.wpshop-hero-dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0;
}

.wpshop-hero-dots button.is-active {
	background: var(--wpshop-accent);
	width: 26px;
	border-radius: 20px;
}

/* ------------------------------ HOME SECTIONS ----------------------------- */

.wpshop-home {
	padding-bottom: 48px;
}

.wpshop-home-section {
	margin-top: 40px;
}

.wpshop-section-title {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 1.35rem;
	font-weight: 800;
	position: relative;
	padding-left: 16px;
	margin-bottom: 18px;
}

.wpshop-section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 26px;
	border-radius: 4px;
	background: var(--wpshop-accent);
}

.wpshop-view-all {
	margin-left: auto;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--wpshop-primary);
}

.wpshop-car-arrows {
	margin-left: auto;
	display: flex;
	gap: 8px;
}

.wpshop-car-arrows button {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #334155;
	cursor: pointer;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.wpshop-car-arrows button:hover {
	background: var(--wpshop-primary);
	border-color: var(--wpshop-primary);
	color: #fff;
}

.wpshop-cats-carousel-wrap {
	position: relative;
	display: flex;
	align-items: center;
	margin-top: 10px;
}

.wpshop-cats-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 10px 6px 18px 6px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	width: 100%;
}

.wpshop-cats-carousel::-webkit-scrollbar {
	display: none;
}

.wpshop-cats-carousel .wpshop-cat-card {
	flex: 0 0 calc(16.666% - 14px);
	min-width: 160px;
	box-sizing: border-box;
}

@media (max-width: 1024px) {
	.wpshop-cats-carousel .wpshop-cat-card {
		flex: 0 0 calc(25% - 12px);
	}
}

@media (max-width: 768px) {
	.wpshop-cats-carousel .wpshop-cat-card {
		flex: 0 0 calc(33.333% - 11px);
	}
}

@media (max-width: 480px) {
	.wpshop-cats-carousel .wpshop-cat-card {
		flex: 0 0 calc(50% - 8px);
	}
}

.wpshop-cats-side-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #0f172a;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 1rem;
}

.wpshop-cats-side-arrow:hover {
	background: var(--wpshop-accent);
	color: #ffffff;
	border-color: var(--wpshop-accent);
	box-shadow: 0 6px 16px rgba(0, 119, 255, 0.35);
}

.wpshop-cats-side-prev {
	left: -14px;
}

.wpshop-cats-side-next {
	right: -14px;
}

.wpshop-cat-card {
	background: #fff;
	border-radius: var(--wpshop-radius);
	box-shadow: var(--wpshop-shadow);
	padding: 18px 12px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden;
	text-decoration: none;
}

.wpshop-cat-card--sub {
	border-top: 3px solid var(--wpshop-accent);
	background: #f8fafc;
}

.wpshop-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--wpshop-shadow-hover);
}

.wpshop-cat-img,
.wpshop-cat-placeholder {
	width: 86px;
	height: 86px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 12px;
	display: grid;
	place-items: center;
	background: #f1f5f9;
	font-size: 2rem;
	font-weight: 800;
	color: var(--wpshop-primary);
}

.wpshop-cat-name {
	display: block;
	font-weight: 700;
	color: var(--wpshop-text);
	font-size: 0.92rem;
	margin-bottom: 2px;
}

.wpshop-cat-parent-label {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--wpshop-accent);
	background: rgba(0, 119, 255, 0.08);
	padding: 2px 8px;
	border-radius: 12px;
	margin-bottom: 4px;
}

.wpshop-cat-count {
	display: block;
	font-size: 0.78rem;
	color: #94a3b8;
}

.wpshop-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	margin: 0 -20px;
	padding-left: 20px;
	padding-right: 20px;
}

.wpshop-carousel::-webkit-scrollbar {
	height: 6px;
}

.wpshop-carousel::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 10px;
}

.wpshop-carousel > * {
	flex: 0 0 calc(25% - 12px);
	scroll-snap-align: start;
}

.wpshop-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* ------------------------------- FOOTER ----------------------------------- */

.wpshop-footer {
	background: var(--wpshop-footer-bg);
	color: #cbd5e1;
	margin-top: 40px;
}

.wpshop-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	padding-top: 44px;
	padding-bottom: 36px;
}

.footer-widget-title,
.footer-widget h2,
.footer-widget h3,
.footer-widget h4,
.widget h2,
.widget h3,
.widget h4 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 14px;
	font-family: var(--wpshop-heading-font);
}

.wpshop-footer-links,
.footer-widget ul,
.footer-widget ol,
.widget ul,
.widget ol,
.widget_pages ul,
.widget_archive ul,
.widget_categories ul,
.widget_nav_menu ul {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0;
	padding: 0;
}

.wpshop-footer-links li,
.footer-widget li,
.widget li {
	list-style: none !important;
	list-style-type: none !important;
	margin-bottom: 8px;
}

.wpshop-footer-links li::before,
.footer-widget li::before,
.widget li::before {
	content: none !important;
	display: none !important;
}

.wpshop-footer-links a,
.footer-widget a,
.widget a,
.wpshop-footer-contact {
	color: #94a3b8;
	font-size: 0.88rem;
}

.wpshop-footer-links a:hover,
.footer-widget a:hover,
.widget a:hover {
	color: var(--wpshop-accent);
}

.wpshop-footer-desc {
	font-size: 0.88rem;
	color: #94a3b8;
	line-height: 1.5;
	margin-bottom: 12px;
}

.wpshop-footer-address {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: #cbd5e1;
	margin-bottom: 16px;
}

.wpshop-footer-address svg {
	color: var(--wpshop-accent);
	flex-shrink: 0;
}

.wpshop-social-links {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
}

.wpshop-social-links a {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
	transition: all 0.2s ease;
}

.wpshop-social-links a:hover {
	background: var(--wpshop-accent);
	color: #fff;
	transform: translateY(-2px);
}

.wpshop-newsletter-desc {
	font-size: 0.85rem;
	color: #94a3b8;
	margin-bottom: 12px;
	line-height: 1.4;
}

.wpshop-newsletter-form {
	display: flex;
	flex-direction: column;
}

.wpshop-newsletter-input-wrap {
	display: flex;
	gap: 6px;
}

.wpshop-newsletter-email {
	flex: 1;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	padding: 10px 12px;
	color: #fff;
	font-size: 0.88rem;
	outline: none;
	transition: border-color 0.2s ease;
}

.wpshop-newsletter-email:focus {
	border-color: var(--wpshop-accent);
	background: rgba(255, 255, 255, 0.12);
}

.wpshop-btn-newsletter {
	padding: 10px 16px;
	font-size: 0.85rem;
	white-space: nowrap;
}

.wpshop-back-to-top {
	position: fixed;
	bottom: 28px;
	right: 28px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wpshop-accent);
	color: #fff;
	border: 0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	z-index: 999;
	display: grid;
	place-items: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.wpshop-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.wpshop-back-to-top:hover {
	filter: brightness(1.15);
	transform: translateY(-2px);
}

/* --------------------------- FILTRO DE PRECIO (SIDEBAR) -------------------------- */

.wpshop-price-inputs {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.wpshop-price-min,
.wpshop-price-max {
	width: 72px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 6px 8px;
	font-size: 0.85rem;
	outline: none;
	background: #fff;
	color: var(--wpshop-text);
}

.wpshop-price-min:focus,
.wpshop-price-max:focus {
	border-color: var(--wpshop-accent);
}

.wpshop-price-dash {
	color: #94a3b8;
	font-weight: 700;
}

.wpshop-btn-price-filter {
	padding: 6px 14px !important;
	font-size: 0.82rem !important;
	margin-left: auto;
}

/* --------------------------- BANNER COOKIES (RGPD) -------------------------- */

.wpshop-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--wpshop-header-bg, #0f172a);
	color: #f1f5f9;
	padding: 16px 0;
	z-index: 9999;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
}

.wpshop-cookie-banner.is-visible {
	transform: translateY(0);
	visibility: visible;
}

.wpshop-cookie-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.wpshop-cookie-text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.4;
	color: #cbd5e1;
	flex: 1 1 500px;
}

.wpshop-cookie-text a {
	color: var(--wpshop-accent);
	text-decoration: underline;
}

.wpshop-cookie-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.wpshop-btn-cookie {
	padding: 8px 18px !important;
	font-size: 0.85rem !important;
}

.wpshop-btn-cookie-sec {
	padding: 8px 18px !important;
	font-size: 0.85rem !important;
	background-color: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: #e2e8f0 !important;
}

.wpshop-btn-cookie-sec:hover {
	background-color: rgba(255, 255, 255, 0.1) !important;
	color: #fff !important;
}

.wpshop-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 18px 0;
}

.wpshop-footer-bottom .wpshop-container {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
}

.wpshop-footer-bottom p {
	margin: 0;
	font-size: 0.82rem;
	color: #94a3b8;
}

.wpshop-payment-icons {
	font-weight: 700;
	letter-spacing: 0.5px;
}

.wpshop-cod {
	color: var(--wpshop-accent);
}

/* ------------------------------ NOT FOUND --------------------------------- */

.wpshop-notfound {
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	border-radius: var(--wpshop-radius);
	box-shadow: var(--wpshop-shadow);
}

.wpshop-notfound-code {
	font-size: 5rem;
	font-weight: 800;
	color: var(--wpshop-primary);
	margin: 0;
	line-height: 1;
}

.wpshop-notfound .wpshop-btn {
	margin-top: 16px;
}

/* ------------------------------ RESPONSIVE -------------------------------- */

@media (min-width: 981px) {
	.wpshop-woo-layout {
		grid-template-columns: 250px 1fr;
	}

	.wpshop-woo-layout .wpshop-sidebar {
		grid-column: 1;
		grid-row: 1;
	}

	.wpshop-woo-layout .wpshop-woo-main {
		grid-column: 2;
		grid-row: 1;
	}

	.wpshop-woo-layout.wpshop-woo-layout--fullwidth {
		grid-template-columns: 1fr;
	}

	.wpshop-woo-layout.wpshop-woo-layout--fullwidth .wpshop-woo-main {
		grid-column: 1;
		grid-row: 1;
	}
}

@media (max-width: 1100px) {
	.wpshop-cats-grid {
		grid-template-columns: repeat(4, 1fr);
	}

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

	.wpshop-carousel > * {
		flex-basis: calc(33.333% - 11px);
	}

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

@media (max-width: 860px) {
	.wpshop-header-row {
		grid-template-columns: 1fr auto;
	}

	.wpshop-search {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.wpshop-nav-toggle {
		display: flex;
	}

	.wpshop-nav {
		display: none;
		width: 100%;
	}

	.wpshop-nav.is-open {
		display: block;
	}

	.wpshop-navbar-row {
		flex-wrap: wrap;
	}

	.wpshop-menu {
		flex-direction: column;
		align-items: stretch;
	}

	.wpshop-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: rgba(255, 255, 255, 0.05);
		border-radius: 6px;
	}

	.wpshop-menu .sub-menu a {
		color: #cbd5e1;
	}

	.wpshop-woo-layout {
		grid-template-columns: 1fr;
	}

	.wpshop-sidebar {
		position: static;
	}

	.wpshop-brand {
		max-width: 220px;
	}

	.custom-logo-link,
	.wpshop-brand img,
	.custom-logo {
		max-height: min(var(--wpshop-logo-height, 42px), 38px);
	}
}

@media (max-width: 640px) {
	.wpshop-brand {
		max-width: 170px;
	}

	.custom-logo-link,
	.wpshop-brand img,
	.custom-logo {
		max-height: min(var(--wpshop-logo-height, 42px), 32px);
	}

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

	.wpshop-carousel > * {
		flex-basis: calc(50% - 8px);
	}

	.wpshop-hero {
		height: 320px;
	}

	.wpshop-hero-caption {
		padding: 0 24px;
	}

	.wpshop-footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.wpshop-container {
		padding-left: 12px;
		padding-right: 12px;
	}

	.wpshop-header-actions {
		gap: 6px;
	}

	.wpshop-account,
	.wpshop-cart {
		padding: 6px 8px;
	}

	.wpshop-account-label,
	.wpshop-cart-text {
		display: none;
	}

	.wpshop-cookie-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.wpshop-cookie-buttons {
		justify-content: flex-end;
	}
}