/* ==========================================================================
   OZ Cotizador — Cotizador masivo [oz_quoter]
   ========================================================================== */

.ozc-quoter {
	--ozc-q-border: #ececec;
	--ozc-q-muted: #8a8a8a;
	--ozc-q-text: #333;
	--ozc-q-orange: #ff7a00;
	--ozc-q-orange-dark: #e96f00;
	--ozc-q-green: #25d366;
	--ozc-q-blue: #1f6fe0;
	--ozc-q-radius: 8px;
	margin: 20px 0;
	color: var(--ozc-q-text);
	font-size: 15px;
	line-height: 1.4;
	box-sizing: border-box;
}

.ozc-quoter *,
.ozc-quoter *::before,
.ozc-quoter *::after {
	box-sizing: border-box;
}

.ozc-quoter__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: flex-start;
}

.ozc-quoter__left {
	flex: 1 1 560px;
	min-width: 320px;
}

.ozc-quoter__right {
	flex: 0 1 380px;
	min-width: 300px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* ----------------------------- Filtros ----------------------------------- */

.ozc-quoter__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.ozc-quoter__filter--search {
	flex: 1 1 320px;
}

.ozc-quoter__input,
.ozc-quoter__select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d8d8d8;
	border-radius: var(--ozc-q-radius);
	font-size: 15px;
	background: #fff;
	color: var(--ozc-q-text);
}

.ozc-quoter__select {
	min-width: 180px;
	cursor: pointer;
}

.ozc-quoter__input:focus,
.ozc-quoter__select:focus {
	outline: none;
	border-color: var(--ozc-q-orange);
	box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.12);
}

.ozc-quoter__reset {
	color: var(--ozc-q-muted);
	text-decoration: none;
	font-size: 14px;
	white-space: nowrap;
}

.ozc-quoter__reset:hover {
	color: var(--ozc-q-orange);
	text-decoration: underline;
}

/* --------------------------- Tabla productos ----------------------------- */

.ozc-quoter__table-wrap {
	width: 100%;
	overflow-x: auto;
}

.ozc-quoter__table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.ozc-quoter__table thead th {
	text-align: left;
	font-weight: 700;
	font-size: 15px;
	color: #2b2b2b;
	padding: 14px 12px;
	background: #f6f6f6;
	border-bottom: 1px solid var(--ozc-q-border);
	white-space: nowrap;
}

.ozc-quoter__table tbody td {
	padding: 12px;
	border-bottom: 1px solid var(--ozc-q-border);
	vertical-align: middle;
}

.ozc-quoter__col-img {
	width: 96px;
	white-space: nowrap;
}

.ozc-quoter__col-img img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	display: block;
}

.ozc-quoter__col-name a {
	color: var(--ozc-q-text);
	text-decoration: none;
	font-weight: 500;
}

.ozc-quoter__col-name a:hover {
	color: var(--ozc-q-orange);
}

.ozc-quoter__col-action {
	width: 130px;
	text-align: right;
}

.ozc-quoter__state {
	text-align: center;
	color: var(--ozc-q-muted);
	padding: 30px 12px !important;
	font-style: italic;
}

.ozc-quoter__add {
	background: var(--ozc-q-orange);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 9px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
	white-space: nowrap;
}

.ozc-quoter__add:hover {
	background: var(--ozc-q-orange-dark);
}

.ozc-quoter__add.is-added,
.ozc-quoter__add:disabled {
	background: #28a745;
	cursor: default;
	opacity: 1;
}

/* ----------------------------- Paginación -------------------------------- */

.ozc-quoter__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 20px;
}

.ozc-quoter__page-btn {
	min-width: 38px;
	padding: 8px 12px;
	border: 1px solid #ddd;
	background: #fff;
	color: var(--ozc-q-text);
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ozc-quoter__page-btn:hover:not(:disabled):not(.is-current) {
	background: #f3f3f3;
}

.ozc-quoter__page-btn.is-current {
	background: var(--ozc-q-orange);
	border-color: var(--ozc-q-orange);
	color: #fff;
	font-weight: 700;
	cursor: default;
}

.ozc-quoter__page-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.ozc-quoter__page-dots {
	color: var(--ozc-q-muted);
	padding: 0 2px;
}

/* ------------------------------- Panel ----------------------------------- */

.ozc-quoter__panel {
	background: #fff;
	border: 1px solid #eee;
	border-radius: var(--ozc-q-radius);
	padding: 22px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.ozc-quoter__panel-title {
	margin: 0 0 16px;
	font-size: 19px;
	font-weight: 700;
	color: #2b2b2b;
}

.ozc-quoter__cart {
	width: 100%;
	border-collapse: collapse;
}

.ozc-quoter__cart thead th {
	text-align: left;
	font-size: 14px;
	font-weight: 700;
	color: #2b2b2b;
	padding: 10px 8px;
	background: #f6f6f6;
	border-bottom: 1px solid var(--ozc-q-border);
}

.ozc-quoter__cart-qty-col,
.ozc-quoter__cart-remove-col {
	text-align: center;
	width: 80px;
}

.ozc-quoter__cart tbody td {
	padding: 12px 8px;
	border-bottom: 1px solid var(--ozc-q-border);
	font-size: 14px;
	vertical-align: middle;
}

.ozc-quoter__cart-name a {
	color: var(--ozc-q-text);
	text-decoration: none;
}

.ozc-quoter__cart-name a:hover {
	color: var(--ozc-q-orange);
}

.ozc-quoter__cart-qty {
	text-align: center;
}

.ozc-quoter__cart-qty input {
	width: 58px;
	padding: 6px 8px;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	text-align: center;
	font-size: 14px;
}

.ozc-quoter__cart-remove {
	text-align: center;
}

.ozc-quoter__remove {
	background: none;
	border: none;
	color: #d33;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0 6px;
}

.ozc-quoter__remove:hover {
	color: #a00;
}

.ozc-quoter__cart-empty {
	text-align: center;
	color: var(--ozc-q-muted);
	font-style: italic;
	padding: 22px 10px !important;
}

/* ------------------------------ Formulario ------------------------------- */

.ozc-quoter__form-panel {
	display: flex;
	flex-direction: column;
}

.ozc-quoter__feedback {
	border-radius: 6px;
	padding: 12px 14px;
	margin-bottom: 14px;
	font-size: 14px;
}

.ozc-quoter__feedback.is-success {
	background: #eafaf0;
	color: #1d7a3e;
	border: 1px solid #b7e8c8;
}

.ozc-quoter__feedback.is-error {
	background: #fdeaea;
	color: #b32020;
	border: 1px solid #f3c2c2;
}

.ozc-quoter__field {
	display: flex;
	flex-direction: column;
	margin-bottom: 15px;
}

.ozc-quoter__field label {
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 6px;
	color: #2b2b2b;
}

.ozc-quoter__form input {
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	padding: 11px 13px;
	font-size: 15px;
	background: #fff;
	color: var(--ozc-q-text);
	width: 100%;
}

.ozc-quoter__form input:focus {
	outline: none;
	border-color: var(--ozc-q-orange);
	box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.12);
}

/* ------------------------------- Botones --------------------------------- */

.ozc-quoter__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: none;
	border-radius: 6px;
	padding: 13px 18px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	transition: opacity 0.2s ease, background 0.2s ease;
	text-align: center;
}

.ozc-quoter__btn:hover {
	opacity: 0.9;
}

.ozc-quoter__btn--update {
	background: #e6e6e6;
	color: #555;
	margin-bottom: 18px;
}

.ozc-quoter__btn--update:not(:disabled) {
	background: #f7c948;
	color: #3d3d3d;
}

.ozc-quoter__btn--update:disabled {
	cursor: not-allowed;
	opacity: 1;
}

.ozc-quoter__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 14px;
}

.ozc-quoter__actions .ozc-quoter__btn {
	flex: 1 1 150px;
	width: auto;
}

.ozc-quoter__btn--whatsapp {
	background: var(--ozc-q-green);
}

.ozc-quoter__btn--checkout {
	background: var(--ozc-q-blue);
}

.ozc-quoter__btn--more {
	background: var(--ozc-q-orange);
}

.ozc-quoter__btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ------------------------------ Responsive ------------------------------- */

@media (max-width: 900px) {
	.ozc-quoter__grid {
		flex-direction: column;
	}

	.ozc-quoter__left,
	.ozc-quoter__right {
		flex: 1 1 100%;
		width: 100%;
	}
}
