/**
 * La Mascotería — interactive & brand component styles.
 * Progressive enhancement: without JS, sliders stack and carousels
 * scroll natively (same as the Site Editor view).
 */

/* ---------- Layout: no ghost gap between header and content ---------- */
.wp-site-blocks > main {
	margin-block-start: 0 !important;
}
.wp-site-blocks > footer {
	margin-block-start: 0 !important;
}

/* ---------- Hero slider (full-bleed via native align:full) ----------
   Uses WordPress's native alignfull breakout (width of the container,
   scrollbar-safe) — no 100vw, no global overflow hacks. */
.mascoteria-slider {
	position: relative;
}
.mascoteria-slider.alignfull {
	margin-top: 0 !important;
}
.mascoteria-slider .wp-block-cover {
	border-radius: 0;
	overflow: hidden;
}
.mascoteria-slider.is-initialized .wp-block-cover {
	display: none;
}
.mascoteria-slider.is-initialized .wp-block-cover.is-active-slide {
	display: flex;
}
.mascoteria-slider .mascoteria-slider-dots {
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 5;
}
.mascoteria-slider .mascoteria-slider-dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid #000;
	background: #fff;
	padding: 0;
	cursor: pointer;
}
.mascoteria-slider .mascoteria-slider-dots button.is-active {
	background: #FFC5F4;
}

/* ---------- Carousels (scroll-snap) ---------- */
.mascoteria-carousel {
	position: relative;
}
.mascoteria-carousel > .wp-block-group__inner-container,
.mascoteria-carousel .mascoteria-carousel-track {
	display: flex;
	gap: var(--wp--preset--spacing--30, 14px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.mascoteria-carousel .mascoteria-carousel-track::-webkit-scrollbar {
	display: none;
}
.mascoteria-carousel .mascoteria-carousel-track > * {
	scroll-snap-align: start;
	flex: 0 0 auto;
}
.mascoteria-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #000;
	background: #fff;
	color: #000;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mascoteria-arrow:hover {
	background: #FFC5F4;
}
.mascoteria-arrow.is-prev { left: -14px; }
.mascoteria-arrow.is-next { right: -14px; }

/* WooCommerce product collections used as carousels */
.mascoteria-carousel .wc-block-product-template,
.mascoteria-carousel ul.wp-block-post-template {
	display: flex !important;
	gap: var(--wp--preset--spacing--30, 14px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	grid-template-columns: none !important;
}
.mascoteria-carousel .wc-block-product-template::-webkit-scrollbar,
.mascoteria-carousel ul.wp-block-post-template::-webkit-scrollbar {
	display: none;
}
.mascoteria-carousel .wc-block-product-template > li,
.mascoteria-carousel ul.wp-block-post-template > li {
	scroll-snap-align: start;
	flex: 0 0 240px;
}

/* Brand logos: each logo sits in a rounded card matching the rest of the site
   (10px radius, light border, white background). */
.mascoteria-brands .mascoteria-carousel-track > figure.wp-block-image {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 0;
	padding: 18px 22px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: var(--wp--custom--radius--card, 10px);
}
.mascoteria-brands .mascoteria-carousel-track > figure.wp-block-image a {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Tabs ---------- */
.mascoteria-tabs .mascoteria-tab-panel[hidden] {
	display: none;
}
.mascoteria-tabs .mascoteria-tab-button {
	cursor: pointer;
}
.mascoteria-tabs .mascoteria-tab-button .wp-block-button__link {
	background: transparent;
	color: #000;
	border: 1px solid #000;
}
.mascoteria-tabs .mascoteria-tab-button.is-active .wp-block-button__link {
	background: #000;
	color: #fff;
}

/* ---------- Header / logotype ---------- */
/* First letter of the logotype flush with the content's left edge */
.mascoteria-logotype,
.mascoteria-logotype a {
	margin: 0;
	line-height: 1;
	letter-spacing: -0.01em;
	text-decoration: none;
}
/* Logobar: logo | search (flex, slim like the wireframe) | access */
.mascoteria-logobar > .wp-block-group {
	flex-wrap: nowrap;
	gap: 18px;
}
.mascoteria-search {
	flex: 1;
	min-width: 220px;
}
.mascoteria-search .wp-block-search__inside-wrapper {
	background: #fff;
	border: 1px solid #E5E5E5;
	border-radius: 999px;
	padding: 2px 4px 2px 16px;
}
.mascoteria-search input.wp-block-search__input {
	font-size: 13px;
	padding: 7px 0;
	border: none;
	background: transparent;
}
.mascoteria-search button.wp-block-search__button {
	padding: 6px 12px;
	min-height: 0;
}
.mascoteria-access {
	flex: 0 0 auto;
}
.mascoteria-access a,
.mascoteria-access .wc-block-customer-account a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	text-decoration: none;
	color: #000;
	white-space: nowrap;
}
.mascoteria-access a:hover {
	color: #666;
}
.mascoteria-pets-link svg,
.mascoteria-cart-link svg {
	flex: 0 0 auto;
}

.mascoteria-menu-trigger {
	margin: 0;
	font-family: var(--wp--preset--font-family--please-vf);
	font-size: 15px;
	font-weight: 500;
}
.mascoteria-menu-trigger a {
	text-decoration: none;
	padding: 6px 0;
	display: inline-block;
}
.mascoteria-menu-trigger a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.mascoteria-menubar-desktop.mascoteria-menubar-desktop {
	align-items: center;
}
/* Every trigger (bare paragraph or megamenu group) shares the same box,
   so labels sit on one line like the wireframe. */
.mascoteria-menubar-desktop > .wp-block-group.has-megamenu,
.mascoteria-menubar-desktop > p.mascoteria-menu-trigger {
	display: flex;
	align-items: center;
	height: 40px;
	margin: 0;
}
.mascoteria-menubar-desktop .mascoteria-menu-trigger a {
	padding: 0;
	line-height: 40px;
}
.mascoteria-menubar-mobile.mascoteria-menubar-mobile {
	display: none;
}
@media (max-width: 781px) {
	.mascoteria-menubar-desktop.mascoteria-menubar-desktop {
		display: none;
	}
	.mascoteria-menubar-mobile.mascoteria-menubar-mobile {
		display: flex;
	}
}

/* ---------- Megamenu ---------- */
.mascoteria-menubar .has-megamenu {
	position: static;
}
.mascoteria-menubar .has-megamenu > .mascoteria-menu-trigger {
	cursor: pointer;
}
.mascoteria-megamenu-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mascoteria-menubar .mascoteria-megamenu-panel {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 50;
	background: #fff;
	border: 1px solid #E5E5E5;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
	padding: 24px 32px;
}
.mascoteria-menubar .has-megamenu:hover .mascoteria-megamenu-panel,
.mascoteria-menubar .has-megamenu:focus-within .mascoteria-megamenu-panel {
	display: block;
}
.mascoteria-menubar {
	position: relative;
}
.mascoteria-megamenu-panel a {
	text-decoration: none;
	font-size: 14px;
}
.mascoteria-megamenu-panel a:hover {
	color: #666;
}
.mascoteria-megamenu-trigger > a,
.mascoteria-megamenu-trigger > p {
	margin: 0;
}

/* Native submenu fallback styling */
.mascoteria-menubar .wp-block-navigation__submenu-container {
	border-radius: 0 0 10px 10px !important;
	border-color: #E5E5E5 !important;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
	min-width: 220px !important;
	padding: 8px 0;
}

/* ---------- Footer column titles ----------
   theme.json forces headings to black; the footer is black, so the column
   titles (Tienda / Mi Cuenta / Ayuda / Contacto) need to be white. */
.mascoteria-footer h4.wp-block-heading {
	color: var(--wp--preset--color--base);
	/* Uniform title spacing across every column so the first row of each
	   column (Perros / Mis pedidos / Despacho y envíos / Contacto) lines up. */
	margin: 0 0 18px;
}
/* Every column starts its content at the same vertical position: drop the
   stray top margin the heading or first block may inherit. */
.mascoteria-footer .wp-block-column > *:first-child {
	margin-top: 0;
}
/* First content block under each title sits flush to the title gap so the
   navigation column (Tienda) and the list columns (Mi Cuenta / Ayuda) and the
   paragraph column (Contacto) all begin on the same line. */
.mascoteria-footer .wp-block-column > h4.wp-block-heading + * {
	margin-top: 0;
}
/* Footer link columns: align list items flush to their column title (like the
   "Tienda" navigation block), no bullets, no indent, no underline. */
.mascoteria-footer .wp-block-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mascoteria-footer .wp-block-list li {
	margin: 0 0 11px;
	padding: 0;
}
.mascoteria-footer .wp-block-list li:last-child {
	margin-bottom: 0;
}
.mascoteria-footer a {
	text-decoration: none;
}
.mascoteria-footer a:hover,
.mascoteria-footer a:focus {
	text-decoration: none;
	color: var(--wp--preset--color--accent-1);
}

/* Payment method chips (replace the flat "Visa · Master · …" image) */
.mascoteria-footer .mascoteria-pay {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.mascoteria-footer .mascoteria-pay-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 10px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.2px;
	color: #1a1a1a;
}
.mascoteria-footer .mascoteria-pay-chip svg {
	display: block;
}
.mascoteria-footer .mascoteria-pay-mp {
	color: #009ee3;
}

/* ---------- Benefit strip (wireframe: envío / pagos / garantía) ---------- */
.mascoteria-benefit-strip {
	border-top: 1px solid #E5E5E5;
	border-bottom: 1px solid #E5E5E5;
	padding-top: 13px;
	padding-bottom: 13px;
}
.mascoteria-benefit-row {
	gap: 0;
}
.mascoteria-benefit {
	flex: 1;
	min-width: 220px;
	padding: 0 22px;
	border-right: 1px solid #F0F0F0;
}
/* First item flush-left so it lines up with the footer logo "L" below;
   last item flush-right for symmetry. */
.mascoteria-benefit:first-child {
	padding-left: 0;
}
.mascoteria-benefit:last-child {
	padding-right: 0;
	border-right: none;
}
.mascoteria-benefit-ic {
	width: 30px;
	height: 30px;
	min-width: 30px;
	border-radius: 50%;
	background: #FFE3FA;
	border: 1px solid #E5E5E5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
	flex-shrink: 0;
}
.mascoteria-benefit-ic svg {
	width: 16px;
	height: 16px;
}
.mascoteria-benefit-a {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #2a2a2a;
}
.mascoteria-benefit-b {
	margin: 0;
	font-size: 12px;
	color: #8a8a8a;
	line-height: 1.4;
}
@media (max-width: 781px) {
	.mascoteria-benefit {
		flex-direction: column;
		text-align: center;
		border-right: none;
		padding: 8px 6px;
	}
	.mascoteria-benefit-b {
		display: none;
	}
}

/* ---------- Testimonials (wireframe: avatar + stars + quote) ---------- */
.mascoteria-testi {
	border: 1px solid #E5E5E5;
	height: 100%;
}
.mascoteria-testi-top {
	align-items: center;
}
.mascoteria-testi-avatar {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 50%;
	background: #F5F5F5;
	border: 1px solid #E5E5E5;
	flex-shrink: 0;
}
.mascoteria-testi-name {
	margin: 0;
	color: #2a2a2a;
}
.mascoteria-testi-pet {
	margin: 0;
}
.mascoteria-testi-stars {
	margin: 0;
	color: #000;
	font-size: 14px;
	letter-spacing: 3px;
}
.mascoteria-testi-quote {
	margin: 0;
	color: #8a8a8a;
	font-style: italic;
	line-height: 1.6;
}
/* Testimonials as a carousel: fixed-width cards in the scroll track. */
.mascoteria-testi-carousel .mascoteria-carousel-track {
	gap: var(--wp--preset--spacing--30, 14px);
	padding-bottom: 4px;
}
.mascoteria-testi-carousel .mascoteria-testi {
	flex: 0 0 340px;
	width: 340px;
	scroll-snap-align: start;
}
@media (max-width: 600px) {
	.mascoteria-testi-carousel .mascoteria-testi {
		flex-basis: 82vw;
		width: 82vw;
	}
}

/* ---------- Prices in Please VF (title font), like the user asked ---------- */
.wp-block-woocommerce-product-price,
.wc-block-components-product-price,
.wc-block-components-product-price__value,
.woocommerce-Price-amount,
.single-product p.price,
.single-product p.price .woocommerce-Price-amount {
	font-family: var(--wp--preset--font-family--please-vf);
}

/* ---------- Sale badge to the LEFT (so it doesn't cover the heart) ---------- */
.mascoteria-product-card .wc-block-components-product-sale-badge,
.mascoteria-product-card .wp-block-woocommerce-product-sale-badge {
	right: auto !important;
	left: 10px !important;
}

/* ---------- Single product: gallery fills its column ---------- */
.single-product .mascoteria-gallery-col .woocommerce-product-gallery,
.single-product .mascoteria-gallery-col .wp-block-woocommerce-product-image-gallery {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
.single-product .mascoteria-gallery-col .woocommerce-product-gallery img,
.single-product .mascoteria-gallery-col .wp-block-woocommerce-product-image-gallery img {
	width: 100%;
	height: auto;
}
.single-product .mascoteria-gallery-col .woocommerce-product-gallery__wrapper,
.single-product .mascoteria-gallery-col .woocommerce-product-gallery__image {
	border-radius: 10px;
}

/* Header inner content aligned to the site content width (logo ↔ content) */
@media (min-width: 782px) {
	.mascoteria-logobar.is-layout-constrained > *,
	.mascoteria-topbar.is-layout-constrained > *,
	.mascoteria-menubar.is-layout-constrained > * {
		max-width: var(--wp--style--global--wide-size) !important;
	}
}

/* ---------- Product reviews (wireframe: list + write CTA) ---------- */
.mascoteria-reviews-head {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.mascoteria-reviews-head h2 {
	margin: 0;
	font-size: 24px;
}
.mascoteria-reviews-avg {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.mascoteria-stars {
	display: inline-flex;
	letter-spacing: 2px;
	font-size: 18px;
	line-height: 1;
}
.mascoteria-star {
	color: #E0E0E0;
}
.mascoteria-star.is-on {
	color: #000;
}
.mascoteria-reviews-score {
	font-weight: 700;
	font-family: var(--wp--preset--font-family--please-vf);
}
.mascoteria-reviews-count {
	font-size: 13px;
	color: #8a8a8a;
}
.mascoteria-reviews-grid {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 32px;
	margin-top: 22px;
}
.mascoteria-review {
	padding: 16px 0;
	border-bottom: 1px solid #F0F0F0;
}
.mascoteria-review:first-child {
	padding-top: 0;
}
.mascoteria-review-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}
.mascoteria-review-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
}
.mascoteria-review-name {
	font-weight: 700;
	font-size: 14px;
	color: #2a2a2a;
}
.mascoteria-review-date {
	font-size: 12px;
	color: #9a9a9a;
}
.mascoteria-review-text {
	margin: 0;
	color: #6a6a6a;
	line-height: 1.6;
}
.mascoteria-reviews-empty {
	color: #8a8a8a;
}
.mascoteria-reviews-all {
	display: inline-block;
	margin-top: 14px;
}
.mascoteria-reviews-cta {
	background: #F5F5F5;
	border-radius: 10px;
	padding: 18px;
	align-self: start;
}
.mascoteria-reviews-cta-text {
	font-size: 13px;
	color: #6a6a6a;
	margin: 0 0 14px;
}
.mascoteria-write-review {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: none !important;
	border-radius: 8px !important;
	background: #000 !important;
	color: #fff !important;
	font-family: var(--wp--preset--font-family--please-vf);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	text-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.mascoteria-write-review:hover,
.mascoteria-write-review:focus {
	background: var(--wp--preset--color--accent-1, #FFC5F4) !important;
	color: #000 !important;
}
.mascoteria-review-form {
	margin-top: 24px;
	border-top: 1px solid #E5E5E5;
	padding-top: 20px;
}
.mascoteria-review-form .comment-form-rating select {
	margin-top: 6px;
	border: 1px solid #E5E5E5;
	border-radius: 8px;
	padding: 8px 12px;
}
.mascoteria-review-form textarea {
	width: 100%;
	border: 1px solid #E5E5E5;
	border-radius: 8px;
	padding: 10px;
}
@media (max-width: 781px) {
	.mascoteria-reviews-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Blog article: site-width frame, readable text column ---------- */
.mascoteria-article > .wp-block-post-title,
.mascoteria-article > .wp-block-group,
.mascoteria-article > .wp-block-post-content,
.mascoteria-article > .wp-block-cover {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.mascoteria-article > .wp-block-post-featured-image {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Catalog filters — wireframe "filter-box" look ---------- */
/* Desktop: filters show inline; hide the mobile overlay toggle/header. */
@media (min-width: 782px) {
	.wc-block-product-filters__open-overlay,
	.wc-block-product-filters__overlay-header {
		display: none !important;
	}
}
.wp-block-woocommerce-product-filters {
	border: 1px solid #E5E5E5;
	border-radius: 10px;
	padding: 16px;
	background: #fff;
}
.wp-block-woocommerce-product-filters h3.wp-block-heading {
	font-size: 14px !important;
	font-weight: 700;
	color: #2a2a2a;
	margin: 0 0 10px;
}
.wp-block-woocommerce-product-filter-taxonomy,
.wp-block-woocommerce-product-filter-attribute {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #F0F0F0;
}
.wp-block-woocommerce-product-filters > *:last-child,
.wp-block-woocommerce-product-filter-taxonomy:last-child,
.wp-block-woocommerce-product-filter-attribute:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
/* checkbox rows */
.wp-block-woocommerce-product-filters .wc-block-components-checkbox__label,
.wp-block-woocommerce-product-filters label {
	font-size: 14px;
	color: #555;
}
.wp-block-woocommerce-product-filters input[type="checkbox"] {
	accent-color: #FFC5F4;
	width: 16px;
	height: 16px;
}
/* active filter chips */
.wp-block-woocommerce-product-filter-active {
	margin-bottom: 12px;
}

/* ---------- Sort dropdown — wireframe pill ("Ordenar por: X ▾") ---------- */
.wp-block-woocommerce-catalog-sorting select,
.wc-block-catalog-sorting select,
.woocommerce-ordering select.orderby,
select.orderby {
	font-family: var(--wp--preset--font-family--nunito-sans);
	font-size: 14px;
	color: #2a2a2a;
	border: 1px solid #E5E5E5;
	border-radius: 8px;
	padding: 9px 38px 9px 14px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	line-height: 1.2;
}
.wp-block-woocommerce-catalog-sorting select:hover,
select.orderby:hover {
	border-color: #000;
}

/* ---------- Pills & stickers ---------- */
.mascoteria-pill,
.wp-block-group.is-style-pill {
	display: inline-block;
	background: #FFE3FA;
	color: #000;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.6;
}
.mascoteria-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 4px 0;
}
.wp-block-group.is-style-sticker {
	border-radius: 50%;
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: #FFC5F4;
	border: 2px solid #000;
	transform: rotate(-8deg);
}

/* ---------- Product cards ---------- */
.mascoteria-product-card li.wc-block-product .wc-block-components-product-image,
.mascoteria-product-card li.wc-block-product img {
	border-radius: var(--wp--custom--radius--card, 10px);
}
.mascoteria-product-card li.wc-block-product {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid #F0F0F0;
	border-radius: var(--wp--custom--radius--card, 10px);
	padding: 12px;
	background: #fff;
	position: relative;
}
.mascoteria-product-card li.wc-block-product:hover {
	border-color: #E5E5E5;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
.mascoteria-product-card li.wc-block-product > .wc-block-components-product-image,
.mascoteria-product-card li.wc-block-product > .wp-block-woocommerce-product-image {
	margin-bottom: 12px;
}
.mascoteria-product-card li.wc-block-product .mascoteria-brand-label {
	margin-bottom: 2px;
}
.mascoteria-product-card li.wc-block-product .wp-block-post-title {
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.35;
}
.mascoteria-product-card li.wc-block-product .wp-block-post-title a {
	text-decoration: none;
}
.mascoteria-product-card li.wc-block-product .mascoteria-pills {
	margin: 0 0 8px;
}
.mascoteria-product-card li.wc-block-product .wc-block-components-product-price,
.mascoteria-product-card li.wc-block-product .wp-block-woocommerce-product-price {
	margin: 0;
	font-size: 17px;
}
.mascoteria-product-card li.wc-block-product .mascoteria-points {
	margin-bottom: 10px;
}
.mascoteria-product-card li.wc-block-product .wp-block-button.wc-block-components-product-button {
	margin-top: auto;
}
.mascoteria-product-card li.wc-block-product .wp-block-button__link,
.mascoteria-product-card li.wc-block-product .wc-block-components-product-button__button {
	width: 100%;
	font-size: 13px;
	padding: 10px 14px;
}
/* breathing room between grid rows */
.wc-block-product-template.wc-block-product-template {
	gap: 20px 14px;
}
.mascoteria-points {
	font-size: 12px;
	color: #666;
}
.mascoteria-brand-label {
	font-size: 12px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.mascoteria-brand-label a {
	color: inherit;
	text-decoration: none;
}

/* ---------- Single product layout ---------- */
.single-product .mascoteria-brand-label {
	margin-bottom: 4px;
}
.single-product h1.wp-block-post-title {
	margin: 0 0 12px;
}
.single-product main .mascoteria-pills {
	margin: 0 0 16px;
}
.single-product .wp-block-woocommerce-product-price {
	margin-bottom: 4px;
}
.single-product main .mascoteria-points {
	display: block;
	margin-bottom: 16px;
	font-size: 13px;
}
.single-product .wp-block-post-excerpt {
	margin: 0 0 20px;
	color: #4a4a4a;
}
/* Buy-box (wireframe): no separator; rows align to the title's left edge */
.single-product .wp-block-woocommerce-add-to-cart-form {
	margin: 0 0 10px;
}
/* Uniform row height (54px) across qty, add-to-cart, favorite, buy-now */
.single-product .quantity.wc-block-components-quantity-selector {
	height: 54px !important;
	min-height: 54px !important;
}
.single-product .wc-block-components-quantity-selector__input,
.single-product .wc-block-components-quantity-selector__button {
	height: 54px !important;
	min-height: 0 !important;
}
.single-product form.cart .single_add_to_cart_button {
	height: 54px !important;
	min-height: 54px !important;
}
/* Add-to-cart row spans the full info-column width (right edge aligns) */
.single-product form.cart {
	width: 100% !important;
	margin: 0 !important;
}
/* WC clearfix pseudo-elements become phantom flex items that each eat a
   10px gap, insetting the row. Remove them so qty/cart align edge-to-edge. */
.single-product form.cart::before,
.single-product form.cart::after {
	display: none !important;
}
.single-product form.cart .single_add_to_cart_button {
	margin: 0 !important;
}
.single-product .wp-block-woocommerce-product-details {
	margin-top: var(--wp--preset--spacing--60, 64px);
}
/* gallery thumbnails */
.wc-block-product-gallery-thumbnails img,
.woocommerce-product-gallery ol.flex-control-thumbs img {
	border-radius: 8px;
	border: 1px solid #E5E5E5;
}
/* Row 1: qty stepper (− 1 +) + add to cart fills the rest */
.single-product form.cart {
	display: flex;
	gap: 10px;
	align-items: stretch;
	flex-wrap: nowrap;
	margin: 0;
}
.single-product form.cart .quantity {
	margin: 0;
	flex: 0 0 124px;
}
/* WC block quantity selector → clean horizontal [−] [1] [+] */
.single-product .quantity.wc-block-components-quantity-selector {
	display: flex !important;
	align-items: center;
	height: 54px;
	width: 124px;
	border: 1px solid #E5E5E5;
	border-radius: 8px;
	background: #F5F5F5;
	overflow: hidden;
}
.single-product .wc-block-components-quantity-selector__input {
	order: 1;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	box-sizing: border-box;
	height: 54px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 54px !important;
	border: none;
	background: transparent;
	text-align: center;
	font-size: 15px;
	font-family: var(--wp--preset--font-family--please-vf);
	font-weight: 600;
	color: #2a2a2a;
}
.single-product .wc-block-components-quantity-selector__button {
	flex: 0 0 38px;
	height: 100%;
	border: none;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	color: #555;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.single-product .wc-block-components-quantity-selector__button:nth-of-type(1) {
	order: 0;
}
.single-product .wc-block-components-quantity-selector__button:nth-of-type(2) {
	order: 2;
}
.single-product .wc-block-components-quantity-selector__button:hover {
	background: #ECECEC;
}
/* Legacy (non-block) qty fallback */
.single-product form.cart .quantity input.qty {
	height: 54px;
	border-radius: 8px;
	border: 1px solid #E5E5E5;
	background: #F5F5F5;
	text-align: center;
	width: 124px;
}
.single-product form.cart .single_add_to_cart_button {
	flex: 1;
	min-height: 54px;
	border-radius: 8px;
}
/* Row 2: favorite + buy-now, EQUAL width (flex:1), same total as row 1 */
.mascoteria-secondary-actions {
	margin: 0 0 16px;
	display: flex !important;
	gap: 10px;
	flex-wrap: nowrap;
}
/* Two equal halves (50% minus half the gap) — guaranteed equal width */
.mascoteria-secondary-actions > .mascoteria-fav--labeled,
.mascoteria-secondary-actions > .mascoteria-buy-now {
	flex: 0 0 calc(50% - 5px) !important;
	width: calc(50% - 5px) !important;
	max-width: calc(50% - 5px) !important;
}
/* Full reset of the card-heart base styles for the labeled buttons */
.mascoteria-secondary-actions .mascoteria-fav--labeled,
.mascoteria-secondary-actions .mascoteria-buy-now {
	box-sizing: border-box;
	position: static;
	height: auto;
	min-height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid #000 !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #000;
	padding: 12px 16px;
	font-size: 14px;
	font-family: var(--wp--preset--font-family--please-vf);
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none !important;
	transform: none;
}
.mascoteria-secondary-actions .mascoteria-fav--labeled svg {
	width: 18px;
	height: 18px;
}
.mascoteria-secondary-actions .mascoteria-fav--labeled.is-active {
	background: #FFE3FA;
}
.mascoteria-secondary-actions .mascoteria-buy-now:hover,
.mascoteria-secondary-actions .mascoteria-fav--labeled:hover {
	background: #FFC5F4;
	transform: none;
}

/* Product gallery on white so images never blend into the pink body */
.single-product .wp-block-woocommerce-product-image-gallery {
	background: #fff;
	border-radius: 10px;
	padding: 10px;
}
.single-product .wp-block-woocommerce-product-image-gallery img {
	border-radius: 8px;
}

/* Stock info box */
.mascoteria-stock-box p {
	margin: 0;
}
.mascoteria-stock-box .wc-block-components-product-stock-indicator {
	font-weight: 600;
	margin: 0 0 2px;
}

/* White card sections on the product page (description / reviews) */
.mascoteria-product-card-section > h2:first-child {
	margin-top: 0;
}
.single-product .mascoteria-fav--labeled svg {
	flex: 0 0 auto;
}

/* reviews */
/* The card already titles the section "Reseñas" — hide the block's own
   "(n) valoraciones en ..." heading to avoid the duplicate. */
.mascoteria-reviews-card .woocommerce-Reviews-title {
	display: none;
}
#reviews .commentlist {
	list-style: none;
	margin: 0;
	padding: 0;
}
#reviews .commentlist > li {
	border-bottom: 1px solid #F0F0F0;
	padding: 16px 0;
	margin: 0;
	background: transparent;
}
#reviews .commentlist > li:last-child {
	border-bottom: none;
}
#reviews .comment_container img.avatar {
	border-radius: 50%;
}
#reviews .comment-reply-title {
	font-weight: 700;
	display: block;
	margin-bottom: 8px;
}
#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form textarea {
	border: 1px solid #E5E5E5;
	border-radius: 8px;
	padding: 10px 12px;
	width: 100%;
}

/* White surfaces that must pop on the pink body */
.mascoteria-blog-categories a {
	background: #fff;
}
.wp-block-query .wp-block-post-featured-image img {
	background: #fff;
}

/* Hide ALL star ratings (client feedback: "sin estrellas ni valoración
   promedio"). Written reviews stay visible. */
.wc-block-grid .star-rating,
.wc-block-components-product-rating,
.wp-block-woocommerce-product-rating,
.wc-block-product-template .star-rating,
.products .star-rating,
.woocommerce-product-rating,
#reviews .star-rating,
#reviews .comment-form-rating,
#reviews .stars {
	display: none !important;
}

/* ---------- Checkout steps indicator ---------- */
.mascoteria-steps {
	display: flex;
	justify-content: center;
	gap: 32px;
	counter-reset: step;
}
.mascoteria-steps .mascoteria-step {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #666;
}
.mascoteria-steps .mascoteria-step::before {
	counter-increment: step;
	content: counter(step);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #666;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}
.mascoteria-steps .mascoteria-step.is-active {
	color: #000;
	font-weight: 700;
}
.mascoteria-steps .mascoteria-step.is-active::before {
	background: #FFC5F4;
	border-color: #000;
	color: #000;
}

/* ---------- Favorites ---------- */
.mascoteria-product-card {
	position: relative;
}
.mascoteria-fav {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 5;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid #E5E5E5;
	background: #fff;
	color: #000;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	transition: transform 0.12s ease, background 0.12s ease;
}
.mascoteria-fav svg {
	display: block;
}
.mascoteria-fav .mascoteria-fav-path {
	transition: fill 0.12s ease;
}
.mascoteria-fav:hover {
	border-color: #000;
	transform: scale(1.08);
}
.mascoteria-fav.is-active {
	background: #FFC5F4;
	border-color: #000;
}
.mascoteria-fav.is-active .mascoteria-fav-path {
	fill: #000;
	stroke: #000;
}
.single-product .mascoteria-fav {
	position: static;
	width: auto;
	height: auto;
	border: none;
	background: transparent;
}
.mascoteria-favorites-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}
.mascoteria-favorite-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: 1px solid #E5E5E5;
	border-radius: 10px;
	padding: 14px;
	background: #fff;
}
.mascoteria-favorite-card img {
	border-radius: 8px;
	width: 100%;
	height: auto;
}
.mascoteria-favorite-card .fav-name {
	font-weight: 600;
	text-decoration: none;
	color: #000;
}
.mascoteria-favorite-card .fav-price {
	font-weight: 700;
}
.mascoteria-favorite-card .fav-actions {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}
.mascoteria-favorite-card .fav-actions .button {
	font-size: 12px;
	padding: 8px 12px;
}

/* ---------- Blog category strip ---------- */
.mascoteria-blog-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 16px 0 24px;
}
.mascoteria-blog-categories li {
	margin: 0;
}
.mascoteria-blog-categories a {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid #000;
	border-radius: 999px;
	text-decoration: none;
	font-size: 14px;
	color: #000;
}
.mascoteria-blog-categories a:hover,
.mascoteria-blog-categories .current-cat a {
	background: #FFC5F4;
}

/* ---------- Brand directory ---------- */
.mascoteria-brand-index {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 24px 0;
}
.mascoteria-brand-index a,
.mascoteria-brand-index span {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}
.mascoteria-brand-index a {
	background: #FFE3FA;
	color: #000;
}
.mascoteria-brand-index a:hover {
	background: #FFC5F4;
}
.mascoteria-brand-index span {
	color: #bdbdbd;
}
.mascoteria-brand-letter {
	font-size: 24px;
	border-bottom: 1px solid #E5E5E5;
	padding-bottom: 6px;
	margin-top: 32px;
}
.mascoteria-brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
	margin-top: 14px;
}
.mascoteria-brand-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	border: 1px solid #E5E5E5;
	border-radius: 10px;
	padding: 12px;
	background: #fff;
	text-decoration: none;
}
.mascoteria-brand-card:hover {
	border-color: #000;
}
.mascoteria-brand-card img {
	max-height: 64px;
	width: auto;
}
.mascoteria-brand-header {
	display: flex;
	align-items: center;
	gap: 20px;
	background: #FFE3FA;
	border-radius: 10px;
	padding: 20px 24px;
	margin: 20px 0;
}
.mascoteria-brand-header img {
	max-height: 72px;
	width: auto;
	background: #fff;
	border-radius: 8px;
	padding: 6px;
}

/* ---------- My Account ---------- */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 10px 16px;
	border-radius: 10px;
	text-decoration: none;
	color: #000;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
	background: #FFE3FA;
}

/* ---------- Misc ---------- */
@media (max-width: 781px) {
	.mascoteria-arrow { display: none; }
	.mascoteria-megamenu-panel { display: none !important; }
}
