/* Catálogo — tarjetas, filtros y precio */

/* ----- Precio: mayorista protagonista ----- */
.shampoo-dual-price { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.shampoo-dual-price .price-wholesale { order: 1; }
.shampoo-dual-price .price-retail { order: 2; }
.shampoo-dual-price .price-wholesale .amount { font-size: 1.18em; font-weight: 700; color: #c8102e; }
.shampoo-dual-price .price-retail .amount { font-size: 0.92em; font-weight: 500; color: #7b8b94; }
.shampoo-dual-price .price-suffix {
	display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 4px;
	font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
}
.shampoo-dual-price .price-wholesale .price-suffix { background: #c8102e; color: #fff; }
.shampoo-dual-price .price-retail .price-suffix { background: #edf2f7; color: #4a5b64; }

/* ----- Tarjeta: cantidad + Agregar ----- */
.shampoo-card__compra { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.shampoo-card__stock { font-size: 11.5px; font-weight: 600; color: #1f7a4d; letter-spacing: .02em; }
.shampoo-card__stock--pocas { color: #b26a00; }
.shampoo-card__fila { display: flex; gap: 8px; align-items: stretch; }
.shampoo-qty {
	display: inline-flex; align-items: stretch; flex: 0 0 auto;
	border: 1.5px solid #cfdde5; border-radius: 6px; background: #fff; overflow: hidden; height: 40px;
}
.shampoo-qty__btn {
	width: 32px; border: 0; background: #f4f8fa; color: #0e6681; font-size: 18px; font-weight: 600; cursor: pointer;
	line-height: 1; padding: 0;
}
.shampoo-qty__btn:hover { background: #e3f4fb; }
.shampoo-qty__input {
	width: 44px; border: 0; text-align: center; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; color: #17242b;
	padding: 0; -moz-appearance: textfield; appearance: textfield; background: #fff;
}
.shampoo-qty__input::-webkit-outer-spin-button, .shampoo-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shampoo-qty__input:focus { outline: none; }
a.button.shampoo-card__agregar,
a.button.shampoo-card__agregar:visited {
	flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center;
	height: 40px; padding: 0 14px; border-radius: 6px; background: #0e6681; color: #fff;
	font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: none;
	transition: background .15s ease; white-space: nowrap;
}
a.button.shampoo-card__agregar:hover { background: #004d63; color: #fff; }
a.button.shampoo-card__agregar.loading { opacity: .7; }
a.button.shampoo-card__agregar.added::after { display: none; }
/* Los botones viejos de "Comprar" y "Ver carrito" no van más en la tarjeta */
.td_woo_products_loop .shampoo-buy-now,
.td_woo_products_loop a.added_to_cart { display: none !important; }

/* ----- Barra de filtros ----- */
.shampoo-filtros { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 22px; }
.shampoo-filtros__fila { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shampoo-filtros__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.shampoo-chip {
	display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px;
	border: 1.5px solid #cfdde5; background: #fff; color: #17242b;
	font-family: Montserrat, sans-serif; font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
	transition: border-color .15s ease, background .15s ease;
}
.shampoo-chip:hover { border-color: #0e6681; color: #0e6681; }
.shampoo-chip.es-activo { background: #0e6681; border-color: #0e6681; color: #fff; }
.shampoo-filtros__fila--controles { justify-content: flex-start; }
.shampoo-filtros__total { margin-right: auto; }
.shampoo-filtros__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.shampoo-filtros__chips::-webkit-scrollbar { display: none; }
.shampoo-filtros__total { font-family: Montserrat, sans-serif; font-size: 13px; color: #4a5b64; }
.shampoo-filtros__total strong { color: #17242b; }
.shampoo-filtros__select { display: inline-flex; align-items: center; gap: 8px; font-family: Montserrat, sans-serif; font-size: 12.5px; color: #4a5b64; }
.shampoo-filtros__select select {
	height: 36px; padding: 0 30px 0 12px; border: 1.5px solid #cfdde5; border-radius: 6px; background: #fff; color: #17242b;
	font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 600; max-width: 240px;
}
/* El orden y el "No Marca del producto" nativos se ocultan: la barra los reemplaza */
.woocommerce-ordering, .woocommerce-result-count, .td_woo_products_loop .woocommerce-ordering { display: none !important; }
.tdb_woo_archive_filters, .td-shop-filter { display: none !important; }

/* ----- Celular: dos por fila, chips deslizables ----- */
@media (max-width: 767px) {
	.shampoo-filtros__chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; margin: 0 -12px; padding-left: 12px; padding-right: 12px; scrollbar-width: none; }
	.shampoo-filtros__chips::-webkit-scrollbar { display: none; }
	.shampoo-filtros__fila--controles { gap: 8px; }
	.shampoo-filtros__select select { max-width: 150px; font-size: 12px; }
	.td_woo_products_loop .td_module_wrap,
	.td_woo_products_loop .tdb-block-inner > .td_module_wrap { width: 50% !important; float: left; padding-left: 6px; padding-right: 6px; }
	.shampoo-qty { height: 36px; }
	.shampoo-qty__btn { width: 26px; }
	.shampoo-qty__input { width: 34px; font-size: 13px; }
	a.button.shampoo-card__agregar { height: 36px; padding: 0 10px; font-size: 12px; }
}

/* Título del catálogo */
.shampoo-titulo-catalogo { text-align: center; margin: 8px 0 22px; }
.shampoo-titulo-catalogo h1 { font-family: "Space Grotesk", Montserrat, sans-serif; font-size: clamp(30px, 4.5vw, 52px); font-weight: 500; line-height: 1.1; margin: 0 0 10px; color: #17242b; }
.shampoo-titulo-catalogo p { max-width: 640px; margin: 0 auto; font-size: 15px; color: #4a5b64; line-height: 1.5; }

/* ----- Ficha de producto ----- */
.single-product .td-woo-title h1, .single-product .tdb-woo-title h1 { text-transform: none !important; letter-spacing: 0; }
.shampoo-ficha { margin: 6px 0 18px; font-family: Montserrat, sans-serif; }
.shampoo-ficha__stock { display: inline-block; padding: 4px 10px; border-radius: 12px; background: #e7f6ee; color: #1f7a4d; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.shampoo-ficha__stock--pocas { background: #fff3e0; color: #b26a00; }
.shampoo-ficha__stock--sin { background: #f1f4f7; color: #7b8b94; }
.shampoo-ficha__lineas { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: #4a5b64; line-height: 1.45; }
.shampoo-ficha__lineas li { padding-left: 16px; position: relative; }
.shampoo-ficha__lineas li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #0e6681; }
.single-product form.cart .quantity input.qty { height: 44px; width: 70px; border: 1.5px solid #cfdde5; border-radius: 6px; font-family: Montserrat, sans-serif; font-weight: 700; text-align: center; }
.single-product form.cart .single_add_to_cart_button { height: 44px; border-radius: 6px !important; background: #0e6681 !important; font-family: Montserrat, sans-serif; font-weight: 700; text-transform: none !important; letter-spacing: 0; padding: 0 22px; }
.single-product form.cart .single_add_to_cart_button:hover { background: #004d63 !important; }
.single-product .td_woo_product_price, .single-product .td_woo_product_price * { text-align: left !important; justify-content: flex-start !important; }
.single-product .td_woo_product_price .shampoo-dual-price { align-items: flex-start; }
.single-product .td_woo_product_price .price-wholesale .amount { font-size: 30px; }
.single-product .td_woo_product_price .price-retail .amount { font-size: 17px; }

/* ----- Inicio: tipos y marcas ----- */
.shampoo-eyebrow { display: block; font-family: Montserrat, sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0e6681; margin-bottom: 6px; }
.shampoo-tipos, .shampoo-marcas { margin: 8px 0 12px; }
.shampoo-tipos__cab h2 { font-family: "Space Grotesk", Montserrat, sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 500; margin: 0 0 18px; color: #17242b; line-height: 1.15; }
.shampoo-tipos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shampoo-tipo {
	display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 12px;
	background: #fff; border: 1.5px solid #dbe6ec; text-decoration: none; color: #17242b;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.shampoo-tipo:hover { border-color: #0e6681; transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(0,77,99,.45); }
.shampoo-tipo__nombre { font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.2; }
.shampoo-tipo__desc { font-size: 12.5px; color: #4a5b64; line-height: 1.4; }
.shampoo-tipo__n { margin-top: auto; padding-top: 6px; font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; color: #0e6681; }
.shampoo-marcas__tira { display: flex; flex-wrap: wrap; gap: 10px; }
.shampoo-marca {
	display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 8px;
	background: #f4f8fa; border: 1px solid #dbe6ec; color: #17242b; text-decoration: none;
	font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	transition: background .15s ease, border-color .15s ease;
}
.shampoo-marca:hover { background: #e3f4fb; border-color: #0e6681; color: #0e6681; }
@media (max-width: 1018px) { .shampoo-tipos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
	.shampoo-tipos__grid { gap: 10px; }
	.shampoo-tipo { padding: 14px; }
	.shampoo-tipo__nombre { font-size: 14.5px; }
	.shampoo-tipo__desc { display: none; }
	.shampoo-marcas__tira { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: none; }
	.shampoo-marcas__tira::-webkit-scrollbar { display: none; }
	.shampoo-marca { height: 36px; font-size: 12px; white-space: nowrap; }
}
.shampoo-boton { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 8px; background: #0e6681; color: #fff !important; font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; }
.shampoo-boton:hover { background: #004d63; }
.shampoo-titulo-catalogo__accion { margin-top: 14px; }
/* La barra de filtros no repite el mensaje de búsqueda que ya da el título */
.search .shampoo-filtros__total { display: none; }
/* 404: botón con el color de la marca */
.error404 .tdm-btn { background: #0e6681 !important; border-radius: 8px !important; }
.error404 .tdm-btn:hover { background: #004d63 !important; }

/* Bloque "más vendidos" del inicio: mismo botón que el catálogo */
.td_woo_products_block a.button.shampoo-card__agregar,
.td_woo_products_block a.button.shampoo-card__agregar:visited { background: #0e6681 !important; color: #fff !important; text-transform: none !important; border-radius: 6px !important; letter-spacing: 0 !important; font-size: 13px !important; }
.td_woo_products_block a.button.shampoo-card__agregar:hover { background: #004d63 !important; }
.td_woo_products_block .shampoo-buy-now, .td_woo_products_block a.added_to_cart { display: none !important; }
/* El precio doble nunca se corta: el rótulo baja de línea si no entra */
.shampoo-dual-price .value { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.shampoo-dual-price .price-suffix { margin-left: 0; }
@media (max-width: 767px) {
	.td_woo_products_block .td_module_wrap, .td_woo_products_block .tdb-block-inner > .td_module_wrap { width: 50% !important; float: left; padding-left: 6px; padding-right: 6px; }
	.shampoo-dual-price .price-suffix { font-size: 9px; padding: 1px 5px; }
	.shampoo-dual-price .price-wholesale .amount { font-size: 1.05em; }
	.shampoo-card__fila { gap: 6px; }
	.shampoo-qty { height: 34px; }
	.shampoo-qty__btn { width: 24px; font-size: 16px; }
	.shampoo-qty__input { width: 30px; font-size: 12.5px; }
	a.button.shampoo-card__agregar, .td_woo_products_block a.button.shampoo-card__agregar { height: 34px; padding: 0 8px; font-size: 12px !important; min-width: 0; }
	.td-module-title, .td_woo_products_block .td-module-title, .td_woo_products_loop .td-module-title { font-size: 13px !important; line-height: 1.3 !important; }
}
@media (max-width: 767px) {
	.shampoo-card__compra, .shampoo-card__fila { width: 100%; max-width: 100%; box-sizing: border-box; }
	.shampoo-qty { flex: 0 0 auto; height: 34px; }
	.shampoo-qty__btn { width: 22px; }
	.shampoo-qty__input { width: 26px; }
	a.button.shampoo-card__agregar, .td_woo_products_block a.button.shampoo-card__agregar { flex: 1 1 0; min-width: 0; padding: 0 6px; overflow: hidden; }
}
