/* ============================================
   ESTILOS ESPECÍFICOS DE PRODUCT DETAILS
   ============================================ */

/* Product Info Block - Commercial B2B Design */
.product-info-block {
	padding: 2rem 0;
}

/* Main Product Title */
.product-title-main {
	font-size: 2.5rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

@media (max-width: 768px) {
	.product-title-main {
		font-size: 2rem;
	}
}

/* Product Badges */
.product-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.product-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1.05rem;
	background-color: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	font-size: 1.05rem;
	font-weight: 600;
	color: #4a4a4a;
}

.product-badge i {
	font-size: 1rem;
	color: #666;
}

.product-badge-brand {
	background-color: #e8f4f8;
	border-color: #b8d4e0;
	color: #2c5f7c;
}

.product-badge-category {
	background-color: #f0f0f0;
	border-color: #d0d0d0;
	color: #4a4a4a;
}

/* Product Benefits */
.product-benefits {
	margin-bottom: 2.5rem;
	padding: 1.5rem 0;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
}

.benefit-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.benefit-item:last-child {
	margin-bottom: 0;
}

.benefit-icon {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f8f9fa;
	border-radius: 6px;
	color: #25d366;
	font-size: 1.1rem;
}

.benefit-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.benefit-text strong {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.35;
}

.benefit-text span {
	font-size: 1.1rem;
	color: #555;
	line-height: 1.5;
}

/* Main CTA: WhatsApp Button */
.product-cta-main {
	margin-bottom: 1.5rem;
}

.btn-whatsapp-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
	padding: 1.125rem 2rem;
	background-color: #25d366;
	color: #ffffff;
	font-size: 1.825rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	border: none;
	transition: background-color 0.2s ease, transform 0.1s ease;
	box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-primary:hover {
	background-color: #20ba5a;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-primary:active {
	transform: translateY(0);
}

.btn-whatsapp-primary i {
	font-size: 1.5rem;
}

.btn-whatsapp-primary span {
	font-weight: 600;
}

/* ── Buy box (variants + price + cart CTAs) ── */
.product-buybox {
	margin: 0 0 1.75rem;
	padding: 1.35rem 0 0;
	border-top: 1px solid #e8e8e8;
}

.product-buybox__options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.35rem;
}

.product-buybox__field label {
	display: block;
	font-size: 1.15rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 0.5rem;
	letter-spacing: 0.01em;
}

.product-buybox__field select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	border: 1.5px solid #d0d0d0;
	border-radius: 10px;
	padding: 0.95rem 2.6rem 0.95rem 1.1rem;
	font-size: 1.15rem;
	font-weight: 500;
	color: #1a1a1a;
	line-height: 1.3;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-buybox__field select:focus {
	outline: none;
	border-color: #cd0b0b;
	box-shadow: 0 0 0 3px rgba(205, 11, 11, 0.12);
}

.product-buybox__commerce {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-bottom: 0.85rem;
}

.product-buybox__price {
	font-size: 2.35rem;
	font-weight: 800;
	color: #cd0b0b;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.product-buybox__meta {
	margin-top: 0.4rem;
	font-size: 1.1rem;
	color: #555;
	font-weight: 600;
}

.product-buybox__qty label {
	display: block;
	font-size: 1.15rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 0.45rem;
}

.product-qty {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid #d0d0d0;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.product-qty__btn {
	width: 48px;
	height: 52px;
	border: none;
	background: #f5f5f5;
	font-size: 1.4rem;
	font-weight: 600;
	color: #222;
	cursor: pointer;
}

.product-qty__btn:hover {
	background: #ebebeb;
}

.product-qty__input {
	width: 64px;
	height: 52px;
	border: none;
	border-left: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	text-align: center;
	font-size: 1.2rem;
	font-weight: 700;
	-moz-appearance: textfield;
}

.product-qty__input::-webkit-outer-spin-button,
.product-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-buybox__stock {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.product-buybox__stock.is-in {
	background: #e8f8ef;
	color: #146c43;
}

.product-buybox__stock.is-out {
	background: #fdebec;
	color: #9e0808;
}

.product-cta-buy__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.btn-cart-add,
.btn-buy-now {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	padding: 1.15rem 1.35rem;
	border-radius: 10px;
	font-size: 1.2rem;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-cart-add i,
.btn-buy-now i {
	font-size: 1.15rem;
}

.btn-cart-add {
	background: #fff;
	color: #1a1a1a;
	border: 2px solid #1a1a1a;
}

.btn-cart-add:hover {
	background: #1a1a1a;
	color: #fff;
}

.btn-buy-now {
	background: #cd0b0b;
	color: #fff;
	box-shadow: 0 2px 10px rgba(205, 11, 11, 0.28);
}

.btn-buy-now:hover {
	background: #9e0808;
	transform: translateY(-1px);
}

.link-quote-secondary {
	display: block;
	text-align: center;
	font-size: 1.1rem;
	color: #555;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 500;
}

.link-quote-secondary:hover {
	color: #25d366;
}

.product-cta-note {
	margin: 0.85rem 0 0;
	font-size: 1.05rem;
	color: #555;
	line-height: 1.5;
	font-weight: 500;
}

@media (max-width: 575px) {
	.product-buybox__options,
	.product-cta-buy__form {
		grid-template-columns: 1fr;
	}
	.product-buybox__price {
		font-size: 2rem;
	}
	.btn-cart-add,
	.btn-buy-now {
		font-size: 1.1rem;
	}
	.btn-whatsapp-primary {
		font-size: 1.2rem;
		padding: 1rem 1.25rem;
	}
}

/* Technical Sheet Link */
.product-tech-sheet-link {
	margin-bottom: 2rem;
	text-align: center;
}

.link-tech-sheet {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #666;
	width: 100%;
	text-align: center;
	justify-content: center;
	font-size: 1.5rem;
	text-decoration: none;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.link-tech-sheet:hover {
	color: #dc3545;
	background-color: #ececec;
	text-decoration: none;
}

.link-tech-sheet i {
	font-size: 1rem;
	color: #dc3545;
}

/* Trust Elements */
.product-trust {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e8e8e8;
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.1rem;
	font-weight: 500;
	color: #333;
}

.trust-item i {
	color: #25d366;
	font-size: 1.15rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.product-info-block {
		padding: 1.5rem 0;
	}
	
	.product-title-main {
		font-size: 1.75rem;
		margin-bottom: 1.25rem;
	}
	
	.product-badges {
		margin-bottom: 1.5rem;
	}
	
	.product-benefits {
		margin-bottom: 2rem;
		padding: 1.25rem 0;
	}
	
	.benefit-item {
		margin-bottom: 1rem;
	}
	
	.benefit-icon {
		width: 2.25rem;
		height: 2.25rem;
		font-size: 1rem;
	}
	
	.btn-whatsapp-primary {
		padding: 1rem 1.5rem;
		font-size: 1rem;
	}
	
	.product-trust {
		padding-top: 1.25rem;
	}
}

/* Animaciones simples al pasar el mouse */
.shop-datails-pic img {
	transition: transform 0.3s ease;
}

.shop-datails-pic:hover img {
	transform: scale(1.05);
}

.sh-pic {
	transition: all 0.3s ease;
	cursor: pointer;
}

.sh-pic:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
	border-color: #dc3545 !important;
}

.sh-pic img {
	transition: all 0.3s ease;
}

.sh-pic:hover img {
	border-color: #dc3545 !important;
}

/* Botones con animación y color rojo */
.sh-de-btn-1 {
	transition: all 0.3s ease;
}

.sh-de-btn-1:hover {
	background-color: #dc3545 !important;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.sh-de-btn-2 {
	transition: all 0.3s ease;
	border-color: #dc3545 !important;
	color: #dc3545 !important;
}

.sh-de-btn-2:hover {
	background-color: #dc3545 !important;
	color: #ffffff !important;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Pestañas con animación */
.nav-pills .nav-link {
	transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
	background-color: rgba(220, 53, 69, 0.1);
	color: #dc3545;
}

.nav-pills .nav-link.active {
	background-color: #dc3545 !important;
	color: #ffffff !important;
}

/* Tabla con hover */
.table tbody tr {
	transition: all 0.3s ease;
}

.table tbody tr:hover {
	background-color: rgba(220, 53, 69, 0.05);
	transform: translateX(5px);
}

/* Product detail panels (description / presentations / tech sheet) */
.product-detail-panel {
	background: #ffffff;
	border: 1px solid #e6e6e6;
	border-top: 3px solid var(--clr-def, #cd0b0b);
	border-radius: 10px;
	padding: clamp(1.35rem, 2.2vw, 2.25rem);
	box-shadow: 0 8px 28px rgba(26, 26, 26, 0.08);
}

.product-detail-panel__header {
	display: flex;
	align-items: flex-start;
	gap: clamp(0.85rem, 1.5vw, 1.25rem);
	margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
	padding-bottom: clamp(1rem, 1.6vw, 1.35rem);
	border-bottom: 1px solid #eee;
}

.product-detail-panel__icon {
	flex-shrink: 0;
	width: clamp(2.75rem, 4vw, 3.5rem);
	height: clamp(2.75rem, 4vw, 3.5rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(205, 11, 11, 0.08);
	color: var(--clr-def, #cd0b0b);
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}

.product-detail-panel__title {
	margin: 0 0 0.25rem;
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.3;
}

.product-detail-panel__subtitle {
	margin: 0;
	font-size: clamp(1rem, 1.35vw, 1.2rem);
	color: #6b6b6b;
	line-height: 1.45;
}

.product-desc-content {
	color: #2f2f2f;
	font-size: clamp(1.15rem, 1.55vw, 1.4rem);
	line-height: 1.8;
}

.product-desc-content > *:first-child {
	margin-top: 0;
}

.product-desc-content > *:last-child {
	margin-bottom: 0;
}

.product-desc-content p {
	margin: 0 0 1.15rem;
}

.product-desc-content strong {
	color: #1a1a1a;
	font-weight: 700;
}

.product-desc-content ul,
.product-desc-content ol {
	margin: 0 0 1.15rem;
	padding-left: 1.4rem;
}

.product-desc-content li {
	margin-bottom: 0.55rem;
	padding-left: 0.25rem;
}

.product-desc-content li::marker {
	color: var(--clr-def, #cd0b0b);
}

.product-presentations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(0.9rem, 1.5vw, 1.25rem);
}

.presentation-card {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	padding: clamp(1.2rem, 1.8vw, 1.5rem) clamp(1.25rem, 2vw, 1.6rem);
	background: #fafafa;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.presentation-card:hover {
	background: #ffffff;
	border-color: rgba(205, 11, 11, 0.35);
	box-shadow: 0 6px 18px rgba(205, 11, 11, 0.12);
	transform: translateY(-2px);
}

.presentation-card__icon {
	flex-shrink: 0;
	width: clamp(2.75rem, 3.5vw, 3.25rem);
	height: clamp(2.75rem, 3.5vw, 3.25rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #ececec;
	color: var(--clr-def, #cd0b0b);
	font-size: clamp(1.15rem, 1.6vw, 1.35rem);
}

.presentation-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
}

.presentation-card__label {
	font-size: clamp(0.85rem, 1.1vw, 0.95rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #888;
}

.presentation-card__name {
	font-size: clamp(1.2rem, 1.7vw, 1.45rem);
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.35;
	word-break: break-word;
}

@media (max-width: 768px) {
	.product-detail-panel {
		padding: 1.35rem;
	}

	.product-detail-panel__title {
		font-size: 1.4rem;
	}

	.product-detail-panel__subtitle {
		font-size: 1.05rem;
	}

	.product-desc-content {
		font-size: 1.15rem;
	}

	.presentation-card__name {
		font-size: 1.2rem;
	}

	.product-presentations-grid {
		grid-template-columns: 1fr;
	}
}

/* Productos relacionados con hover */
.products-box {
	transition: all 0.3s ease;
}

.products-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(220, 53, 69, 0.2);
}

.products-box:hover .products-pic img {
	transform: scale(1.1);
}

.products-pic img {
	transition: transform 0.3s ease;
}

.cart-btn {
	transition: all 0.3s ease;
}

.cart-btn:hover {
	background-color: #dc3545 !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Precio destacado */
.sh-de-price span {
	color: #dc3545;
	font-weight: 700;
}

/* Botón de descarga de ficha técnica mejorado */
.technical-sheet-download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: 18px 40px;
	background: linear-gradient(135deg, var(--clr-def, #cd0b0b) 0%, #a00909 100%);
	color: #ffffff;
	border: none;
	border-radius: 12px;
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 15px rgba(205, 11, 11, 0.3);
	position: relative;
	overflow: hidden;
	min-width: 320px;
	text-align: center;
}

.technical-sheet-download-btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.6s ease, height 0.6s ease;
	z-index: 0;
}

.technical-sheet-download-btn:hover::before {
	width: 400px;
	height: 400px;
}

.technical-sheet-download-btn i,
.technical-sheet-download-btn span {
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}

.technical-sheet-download-btn:hover {
	background: linear-gradient(135deg, #a00909 0%, var(--clr-def, #cd0b0b) 100%);
	color: #ffffff;
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(205, 11, 11, 0.5);
	text-decoration: none;
}

.technical-sheet-download-btn:hover i {
	transform: scale(1.2) rotate(-5deg);
}

.technical-sheet-download-btn i {
	font-size: 1.8rem;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Botón pequeño en la parte superior también mejorado */
.sh-de-btn-2 {
	padding: 12px 24px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.sh-de-btn-2:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(205, 11, 11, 0.4);
}

/* Tabs verticales */
.nav-tabs-vertical {
	flex-direction: column;
}

.nav-tab-item {
	margin-bottom: 10px;
	padding: 5px;
	border: 2px solid transparent;
}

.nav-tab-item.active {
	border-color: #0d6efd;
}

.nav-tab-thumb {
	width: 80px;
	height: 80px;
	object-fit: cover;
}

/* Botón de ficha técnica */
.btn-technical-sheet {
	background-color: var(--clr-def, #cd0b0b);
	color: #ffffff;
	border-color: var(--clr-def, #cd0b0b);
}

/* Icono PDF grande */
.icon-pdf-large {
	font-size: 4rem;
	color: var(--clr-def, #cd0b0b);
	margin-bottom: 20px;
}

/* Nota: estilos del bloque .impeercol-photo-reveal están en assets/style.css (hoja global) */

