body {
	background-color: white !important;
}

.cotizador-productos-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 30px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cotizador-categorias-sidebar {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 20px;
	height: fit-content;
	position: sticky;
	top: 20px;
}

.cotizador-categorias-sidebar h3 {
	margin: 0 0 20px 0;
	font-size: 18px;
	font-weight: 600;
	color: #333;
	border-bottom: 2px solid #FF8000;
	padding-bottom: 10px;
}

.cotizador-categoria-item {
	display: block;
	padding: 12px 15px;
	margin: 0 0 8px 0;
	text-decoration: none;
	color: #495057;
	transition: all 0.3s ease;
	font-weight: 500;
}

.cotizador-categoria-item:hover {
	background: #FF8000;
	color: #fff;
	border-color: #FF8000;
	transform: translateX(5px);
}

.cotizador-categoria-count {
	float: right;
	color: inherit;
	border-radius: 12px;
	font-size: 12px;
}

.cotizador-productos-content {
	min-height: 400px;
}

.cotizador-productos-header {
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e9ecef;
}

.cotizador-productos-header h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: #333;
}

.cotizador-productos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.cotizador-producto-card {
	border: 1px solid #e9ecef;
	padding: 16px;
	border-radius: 8px;
	background: #fff;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.cotizador-producto-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
	border-color: #FF8000;
}

.cotizador-producto-card h3 {
	margin: 12px 0 8px 0;
	font-size: 14px;
	color: #333;
	font-weight: 600;
	line-height: 1.3;
	min-height: 40px;
}

.cotizador-producto-card .ver-producto {
	display: inline-block;
	margin-top: 12px;
	color: white;
	text-decoration: none;
	font-weight: 600;
	padding: 5px 25px;
	border: 0px;
	border-radius: 6px;
	transition: all 0.3s ease;
	background-color: #daac6b;
	width: 100%;
	font-size: 0.9em;
}

.cotizador-producto-card .ver-producto:hover {
	background: #FF8000;
	color: #fff;
}

@media (max-width: 768px) {
	.cotizador-productos-container {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.cotizador-categorias-sidebar {
		position: static;
		order: 2;
	}
	
	.cotizador-productos-content {
		order: 1;
	}
}

/* updates */

.cotizador-categoria-item {
  font-family: 'Montserrat';
  font-weight: normal;
  font-size: 12px;
}

.cotizador-categorias-sidebar {
  background: transparent;
  border-radius: 0px;
  padding: 0px;
  height: auto;
  position: sticky;
  top: 20px;
}

.cotizador-categoria-item.active {
  color: #8d8685;
  border-bottom: 3px solid #8d8685;
  border-radius: 0px;
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 12px;
}

.breaking-news {
	width: 100%;
	display: block;
	text-align: center;
	font-size: 2em;
	color: #8d8685;
	font-family: "Montserrat", sans;
	font-weight: bold;
}

.box {
	width: 100px;
	height: 100px;
	background-color: #8d8685;
	border-radius: 200px;
	display: flow-root;
	vertical-align: middle;
	align-content: center;
	text-align: center;
	font-size: 4em;
	font-weight: 800;
	color: white;
	margin: auto;
	margin-bottom: 20px;
}

.cotizador-producto-card.rex {
	margin-bottom: 2em;
}

.paginacion-wrapper {
	margin: 40px 0;
	text-align: center;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.paginacion-info {
	margin-bottom: 15px;
	color: #666;
	font-size: 14px;
}

.paginacion-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.paginacion-btn,
.paginacion-numero {
	display: inline-block;
	padding: 8px 12px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
	min-width: 40px;
	text-align: center;
}

.paginacion-btn:hover,
.paginacion-numero:hover {
	background: #FF8000;
	color: white;
	border-color: #FF8000;
}

.paginacion-numero.active {
	background: #FF8000;
	color: white;
	border-color: #FF8000;
	font-weight: bold;
}

@media (max-width: 768px) {
	.paginacion-links {
		gap: 5px;
	}
	
	.paginacion-btn,
	.paginacion-numero {
		padding: 6px 10px;
		font-size: 14px;
	}
}




/* ============================
   CARRITO FLOTANTE
   ============================ */

/* Botón flotante del carrito */
.carrito-btn-flotante {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #f39c12, #e67e22);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(243, 156, 18, 0.4);
	z-index: 1000;
	transition: all 0.3s ease;
	border: none;
}

.carrito-btn-flotante:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 25px rgba(243, 156, 18, 0.6);
}

.carrito-btn-icono {
	font-size: 24px;
	line-height: 1;
}

.carrito-btn-contador {
	position: absolute;
	top: -8px;
	right: -8px;
	background: #e74c3c;
	color: white;
	font-size: 12px;
	font-weight: bold;
	min-width: 20px;
	height: 20px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid white;
	animation: pulse 1.5s infinite;
}

.carrito-btn-contador.oculto {
	display: none;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.1); }
	100% { transform: scale(1); }
}

/* Overlay del carrito */
.carrito-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.carrito-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Panel lateral del carrito */
.carrito-panel-lateral {
	position: fixed;
	top: 0;
	right: -400px;
	width: 400px;
	height: 100vh;
	background: #ffffff;
	box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
	z-index: 1002;
	transition: right 0.3s ease;
	display: flex;
	flex-direction: column;
}

.carrito-panel-lateral.active {
	right: 0;
}

/* Header del carrito */
.carrito-header {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
}

.carrito-cerrar {
	background: none;
	border: none;
	font-size: 24px;
	color: #666;
	cursor: pointer;
	padding: 5px;
	line-height: 1;
	transition: color 0.2s;
}

.carrito-cerrar:hover {
.carrito-cerrar:hover {
	color: #333;
}

/* Contenido del carrito */
.carrito-contenido {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden; /* Evitar overflow en el contenedor principal */
}

/* Lista de productos - ÁREA SCROLLEABLE */
.carrito-productos-scroll {
	flex: 1;
	overflow-y: auto;
	padding: 10px 0;
	max-height: calc(100vh - 180px); /* Espacio para header y footer */
}

/* Scroll personalizado para la lista */
.carrito-productos-scroll::-webkit-scrollbar {
	width: 4px;
}

.carrito-productos-scroll::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 2px;
}

.carrito-productos-scroll::-webkit-scrollbar-thumb {
	background: #ff8c00;
	border-radius: 2px;
}

.carrito-productos-scroll::-webkit-scrollbar-thumb:hover {
	background: #e67e00;
}

/* Item de producto en el carrito - NUEVO DISEÑO EN BLOQUE */
.carrito-producto-item {
	display: block; /* Cambio de flex a block para el nuevo layout */
	padding: 16px 20px;
	border-bottom: 1px solid #f0f0f0;
	background: #fff;
	transition: background-color 0.2s;
}

.carrito-producto-item:hover {
	background-color: #fafafa;
}

.carrito-producto-item:last-child {
	border-bottom: none;
}

.producto-cantidad-info,
.producto-sku-info {
	display: flex;
	align-items: center;
	font-size: 12px;
	line-height: 1.3;
}

.cantidad-label,
.sku-label {
	color: #888;
	font-weight: 500;
	margin-right: 4px;
}

.cantidad-valor,
.sku-valor {
	color: #333;
	font-weight: 600;
}

.cantidad-valor {
	background: #f0f8ff;
	color: #0066cc;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 11px;
}
	margin: 0 0 5px 0;
	line-height: 1.3;
}



/* Footer del carrito */
.carrito-footer {
	border-top: 1px solid #f0f0f0;
	padding: 20px;
	background: #fff;
	margin-top: auto;
}

.carrito-contador {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}

.carrito-contador span:first-child {
	color: #666;
	font-weight: 500;
}

.carrito-contador span:last-child {
	background: #f8f9fa;
	color: #333;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 14px;
}

.carrito-acciones {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.btn-resumen {
	background: transparent;
	border: 2px solid #ff8c00;
	color: #ff8c00;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
	text-transform: uppercase;
}

.btn-resumen:hover {
	background: #ff8c00;
	color: white;
}

.btn-cotizar {
	background: #ff8c00;
	border: 2px solid #ff8c00;
	color: white;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
	text-transform: uppercase;
}

.btn-cotizar:hover {
	background: #e67e00;
	border-color: #e67e00;
}

/* Trigger del carrito */
.carrito-trigger {
  position: fixed;
  bottom: 10px;
  right: 15px;
  color: white;
  transform: translateY(-50%);
  width: 230px;
  height: 60px;
  background: #ff8c00;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.15);
}

.carrito-trigger strong{
  color: white;
}

.carrito-trigger a{ 
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.carrito-trigger:hover {
	background: #e67e00;
	transform: translateY(-50%) translateX(-5px);
}

.carrito-contador-badge {
	background: white;
	color: #ff8c00;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 600;
}

/* Overlay */
.carrito-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.carrito-overlay.active {
	opacity: 1;
	visibility: visible;
}

.carrito-producto-item .producto-sku {
	font-size: 12px;
	color: #666;
	margin: 0 0 10px 0;
}

