/*
Theme Name: Legion Pets WooCommerce Theme
Theme URI: https://legionpets.cl
Author: Legion Pets SPA
Description: Tema moderno y de alto rendimiento para WooCommerce, construido con PHP, JS y Tailwind CSS.
Version: 1.1.0
Author URI: https://legionpets.cl
Text Domain: legion-pets
*/

.glass-morphism {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.legion-home-wall {
	position: relative;
	isolation: isolate;
}

.legion-home-wall::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.9)),
		url('https://images.unsplash.com/photo-1469285994282-454ceb49e63f?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat,
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 2px, rgba(0, 0, 0, 0.03) 2px 8px);
	opacity: 0.96;
	animation: legionHomeWallFloat 24s ease-in-out infinite alternate;
}

@keyframes legionHomeWallFloat {
	0% {
		transform: translate3d(0, 0, 0) scale(1.02);
		filter: contrast(1) brightness(0.95);
	}
	100% {
		transform: translate3d(-8px, -6px, 0) scale(1.05);
		filter: contrast(1.08) brightness(1);
	}
}

.legion-footer {
	background-color: #020617;
}

.legion-footer__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(2, 6, 23, 0.84), rgba(2, 6, 23, 0.84)),
		url('https://legionpets.cl/wp-content/uploads/2026/04/patas.jpeg') center/cover no-repeat;
}

.legion-footer-partners {
	margin: 0 auto 2rem;
	display: grid;
	gap: 1rem;
	max-width: 980px;
}

.legion-footer-partners__group {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.legion-footer-partners__label {
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.legion-footer-partners__logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.legion-footer-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

.legion-footer-logo--image {
	background: rgba(255, 255, 255, 0.96);
	padding: 0.4rem 0.85rem;
	width: 210px;
	height: 58px;
	box-sizing: border-box;
}

.legion-footer-logo--image img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: contain;
}

.legion-footer-logo__transbank {
	display: inline-block;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #e71d36;
	text-transform: lowercase;
}

@media (max-width: 640px) {
	.legion-footer-logo--image {
		width: 170px;
		height: 52px;
	}

	.legion-footer-logo__transbank {
		font-size: 1.6rem;
	}
}

.legion-footer-logo--ml,
.legion-footer-logo--mp {
	color: rgba(255, 255, 255, 0.88);
}

.legion-footer-logo--sumup,
.legion-footer-logo--delivery,
.legion-footer-logo--social {
	color: rgba(255, 255, 255, 0.72);
}

.legion-category-tile {
	min-height: 220px;
	padding: 2rem 1.25rem;
	border-radius: 1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.1rem;
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.legion-category-tile:hover {
	transform: translateY(-2px);
}

.legion-category-tile--berry {
	background: linear-gradient(180deg, #261f26 0%, #211a20 100%);
}

.legion-category-tile--ocean {
	background: linear-gradient(180deg, #10254c 0%, #112347 100%);
}

.legion-category-tile:hover {
	border-color: rgba(184, 243, 74, 0.25);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.legion-category-tile__icon {
	width: 72px;
	height: 72px;
	margin: 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.legion-category-tile__icon svg {
	width: 100%;
	height: 100%;
}

.legion-category-tile__icon-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.legion-category-tile__icon--dog {
	color: #ff7c1f;
}

.legion-category-tile__icon--cat {
	color: #4b83f5;
}

.legion-category-tile__title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.25rem, 2vw, 1.8rem);
	font-weight: 900;
	line-height: 1.3;
	text-wrap: balance;
}

.text-gradient {
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	background-image: linear-gradient(to right, #a3e635, #ffffff);
}

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

.menu a {
	text-decoration: none;
}

body.admin-bar #navbar {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar #navbar {
		top: 46px;
	}
}

#navbar {
	background: rgba(10, 25, 47, 0.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

#navbar a,
#navbar button,
#navbar span,
#navbar i {
	color: #ffffff;
}

#navbar .bg-legion-lime,
#navbar .bg-legion-lime i,
#navbar .bg-legion-lime span {
	color: #0a192f !important;
}

.legion-woo-shell .woocommerce-notices-wrapper {
	margin-bottom: 1.5rem;
}

.legion-woo-shell .woocommerce-result-count,
.legion-woo-shell .woocommerce-breadcrumb,
.legion-woo-shell .woocommerce-product-details__short-description,
.legion-woo-shell .product_meta,
.legion-woo-shell .woocommerce-tabs {
	color: #64748b;
}

.legion-woo-shell ul.products {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	width: 100%;
	justify-items: stretch;
	align-items: stretch;
	gap: 2rem;
}

.legion-woo-shell ul.products::before,
.legion-woo-shell ul.products::after,
.legion-woo-shell .related ul.products::before,
.legion-woo-shell .related ul.products::after {
	content: none !important;
	display: none !important;
}

.legion-woo-shell ul.products li.product,
.legion-woo-shell .related ul.products li.product {
	float: none !important;
	clear: none !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	justify-self: start;
	margin: 0 !important;
}

@media (min-width: 640px) {
	.legion-woo-shell ul.products {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}

.legion-woo-shell ul.products.columns-2,
.legion-woo-shell ul.products.columns-3,
.legion-woo-shell ul.products.columns-4 {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.legion-woo-shell ul.products li.product a {
	color: #0f172a;
	text-decoration: none;
}

.legion-woo-shell ul.products li.product .price,
.legion-woo-shell div.product p.price,
.legion-woo-shell div.product span.price {
	color: #65a30d;
	font-weight: 800;
}

.legion-woo-shell div.product .woocommerce-product-gallery,
.legion-woo-shell div.product .summary {
	margin-bottom: 2rem;
}

.legion-woo-shell div.product {
	color: #0f172a;
}

.legion-woo-shell div.product .product_title {
	color: #0f172a;
	font-size: 2.5rem;
	line-height: 1;
	text-transform: uppercase;
}

.legion-woo-shell form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	margin-top: 1.5rem;
}

.legion-woo-shell .quantity .qty,
.legion-woo-shell form .input-text,
.legion-woo-shell form select,
.legion-woo-shell form textarea {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 0.85rem;
	color: #0f172a;
	padding: 0.85rem 1rem;
}

.legion-woo-shell button.button,
.legion-woo-shell a.button,
.legion-woo-shell button.alt,
.legion-woo-shell a.checkout-button,
.legion-woo-shell #respond input#submit.alt,
.legion-woo-shell .single_add_to_cart_button {
	background: #a3e635 !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #0a192f !important;
	font-weight: 800 !important;
	padding: 0.9rem 1.4rem !important;
}

.legion-woo-shell table.shop_table {
	border-color: #e2e8f0;
}

.legion-woo-shell table.shop_table th,
.legion-woo-shell table.shop_table td {
	color: #0f172a;
	border-color: #e2e8f0;
}

.legion-woo-shell .woocommerce-message,
.legion-woo-shell .woocommerce-info,
.legion-woo-shell .woocommerce-error {
	background: #f8fafc;
	color: #0f172a;
	border-top-color: #a3e635;
}

.legion-woo-shell .woocommerce-message::before,
.legion-woo-shell .woocommerce-info::before,
.legion-woo-shell .woocommerce-error::before {
	color: #a3e635;
}

.legion-woo-shell .select2-container--default .select2-selection--single {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 0.85rem;
	height: auto;
	padding: 0.55rem 0.75rem;
}

.legion-woo-shell .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #0f172a;
}

.legion-woo-shell .select2-dropdown {
	background: #ffffff;
	border-color: #cbd5e1;
}

.legion-woo-shell .select2-search__field {
	background: #ffffff;
	color: #0f172a;
}

.shop-layout {
	display: grid;
	grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
	align-items: start;
}

.shop-sidebar {
	position: sticky;
	top: 7rem;
}

.shop-sidebar-panel {
	width: 100%;
}

.shop-sidebar-panel .shop-sidebar > div {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 1.75rem;
	color: #0f172a;
}

.shop-sidebar-panel a,
.shop-sidebar-panel label,
.shop-sidebar-panel span,
.shop-sidebar-panel strong {
	color: #0f172a;
}

.shop-sidebar-panel input,
.shop-sidebar-panel select,
.shop-sidebar-panel .input-text,
.shop-sidebar-panel .price-filter__field {
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	color: #0f172a !important;
	box-shadow: none !important;
}

.shop-sidebar-panel input::placeholder,
.shop-sidebar-panel select::placeholder {
	color: #94a3b8;
}

.shop-content-shell .woocommerce-ordering,
.shop-content-shell .woocommerce-result-count {
	margin-bottom: 1.25rem;
}

.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.shop-toolbar__meta {
	display: grid;
	gap: 0.35rem;
}

.shop-toolbar__sort {
	min-width: 280px;
}

.shop-content-shell .woocommerce-ordering select {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 0.85rem;
	color: #0f172a;
	padding: 0.75rem 1rem;
}

.shop-content-shell .woocommerce-products-header {
	margin-bottom: 1rem;
}

.shop-content-shell .woocommerce nav.woocommerce-pagination ul {
	border: 0;
	display: flex;
	gap: 0.5rem;
}

.shop-content-shell .woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.shop-content-shell .woocommerce nav.woocommerce-pagination ul li span,
.shop-content-shell .woocommerce nav.woocommerce-pagination ul li a {
	background: #f8fafc;
	border-radius: 999px;
	color: #0f172a;
	padding: 0.7rem 1rem;
}

.shop-content-shell .woocommerce nav.woocommerce-pagination ul li .current {
	background: #a3e635;
	color: #0a192f;
	font-weight: 800;
}

.product-card-clean {
	list-style: none;
	width: 100%;
}

.product-card-clean__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	max-width: 100%;
	border: 1px solid #d8e1ee;
	border-radius: 2rem;
	background: #ffffff;
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card-clean__inner:hover {
	transform: translateY(-2px);
	border-color: rgba(163, 230, 53, 0.55);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.product-card-clean__image {
	display: block;
	aspect-ratio: 1 / 0.94;
	background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
	overflow: hidden;
}

.product-card-clean__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 2rem;
	transition: transform 220ms ease;
}

.product-card-clean__inner:hover .product-card-clean__image img {
	transform: scale(1.05);
}

.product-card-clean__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem;
	background: #ffffff;
}

.product-card-clean__category {
	margin: 0 0 0.5rem;
	color: #a3e635;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.product-card-clean__title {
	margin: 0 0 1rem;
	min-height: 4.2rem;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.3;
	color: #0f172a;
	text-transform: uppercase;
}

.product-card-clean__title a,
.product-card-clean__title a:hover,
.product-card-clean__title a:focus {
	color: #0f172a !important;
}

.product-card-clean__price {
	margin-top: auto;
	margin-bottom: 1rem;
	font-size: 1.25rem;
	font-weight: 900;
	color: #0f172a;
}

.product-card-clean__price,
.product-card-clean__price .amount,
.product-card-clean__price bdi {
	color: #0f172a !important;
}

.product-card-clean__price ins {
	text-decoration: none;
}

.product-card-clean__price del,
.product-card-clean__price .amount + .amount {
	color: #94a3b8;
}

.product-card-clean__actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.product-card-clean__primary,
.product-card-clean__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100%;
	min-height: 50px;
	padding: 0 0.9rem;
	border-radius: 1rem;
	font-size: 0.88rem;
	font-weight: 800;
	text-align: center;
	flex: 1 1 160px;
}

.product-card-clean__primary {
	background: #a3e635;
	border: 1px solid #a3e635;
	color: #0a192f !important;
}

.product-card-clean__secondary {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #0f172a !important;
}

.product-card-clean__primary:hover,
.product-card-clean__secondary:hover {
	border-color: #a3e635;
	background: #f8fafc;
}

.product-card-clean__primary i,
.product-card-clean__secondary i {
	font-size: 1rem;
}

.product-detail-shell div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 2rem;
	align-items: start;
}

.product-detail-shell div.product .woocommerce-product-gallery {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 2rem;
	padding: 1.5rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.product-detail-shell div.product .woocommerce-product-gallery img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.product-detail-shell div.product .summary {
	background: #0b1020;
	border-radius: 2rem;
	padding: 2rem;
	color: #ffffff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.product-detail-shell div.product .summary > *:first-child {
	margin-top: 0;
}

.product-detail-shell div.product .product_title {
	color: #ffffff;
	font-size: 2.75rem;
	line-height: 0.95;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.product-detail-shell div.product p.price,
.product-detail-shell div.product span.price {
	color: #a3e635 !important;
	font-size: 2rem;
	margin-bottom: 1rem;
}

.product-detail-shell div.product .price bdi {
	color: #a3e635 !important;
}

.product-detail-shell .woocommerce-product-details__short-description,
.product-detail-shell .product_meta,
.product-detail-shell .woocommerce-tabs {
	color: rgba(255, 255, 255, 0.78);
}

.product-detail-shell div.product .summary p,
.product-detail-shell div.product .summary span,
.product-detail-shell div.product .summary a,
.product-detail-shell div.product .summary div {
	color: inherit;
}

.product-detail-shell .woocommerce-product-details__short-description {
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
	line-height: 1.7;
}

.product-detail-shell .quantity {
	margin-right: 0.75rem;
}

.product-detail-shell form.cart {
	margin-bottom: 1.5rem;
}

.product-detail-shell .quantity .qty {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.product-detail-shell .single_add_to_cart_button {
	min-height: 54px;
	padding-left: 1.75rem !important;
	padding-right: 1.75rem !important;
}

.product-detail-shell .product_meta a {
	color: #a3e635 !important;
}

.product-detail-shell .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.product-detail-shell .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
	gap: 0.75rem;
	margin-top: 1rem !important;
}

.product-detail-shell .flex-control-thumbs li {
	list-style: none;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	overflow: hidden;
}

.product-detail-shell .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: 2rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 2rem;
	padding: 2rem;
	color: #0f172a;
}

.product-detail-shell .woocommerce-tabs ul.tabs {
	margin-bottom: 1.5rem !important;
}

.product-detail-shell .woocommerce-tabs ul.tabs li {
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 999px !important;
}

.product-detail-shell .woocommerce-tabs ul.tabs li a {
	color: #0f172a !important;
}

.product-detail-shell section.related {
	grid-column: 1 / -1;
	margin-top: 2rem;
}

.product-detail-shell section.related > h2 {
	font-size: 2rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #0f172a;
	margin-bottom: 1.5rem;
}

@media (max-width: 1023px) {
	.shop-layout {
		grid-template-columns: 1fr;
	}

	.shop-sidebar {
		position: static;
	}

	.shop-sidebar-panel.hidden {
		display: none;
	}

	.shop-sidebar-panel {
		margin-bottom: 1.25rem;
	}

	.product-detail-shell div.product {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.legion-woo-shell ul.products,
	.related ul.products {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.legion-woo-shell div.product form.cart {
		flex-direction: column;
		align-items: stretch;
	}

	.product-card-clean__actions {
		flex-direction: column;
	}

	.legion-woo-shell div.product .product_title {
		font-size: 2rem;
	}

	.shop-toolbar__sort {
		min-width: 100%;
	}

	.product-detail-shell div.product .summary,
	.product-detail-shell div.product .woocommerce-product-gallery,
	.product-detail-shell .woocommerce-tabs {
		padding: 1.25rem;
		border-radius: 1.5rem;
	}
}
