/* Auto - stiluri pentru shortcode-urile [auto_search], [auto_grid], [auto_specs_table], [auto_recente] */

	.auto-box, .auto-search-form, .auto-grid-wrap, .auto-single { font-family:'Inter', sans-serif; }

	.auto-search-form {
		display:flex; flex-wrap:wrap; align-items:center; gap:12px;
		background:#fff; padding:16px; border-radius:14px;
		box-shadow:0 4px 20px rgba(0,0,0,0.06); border:1px solid #eee;
	}
	.auto-search-form input[type=text], .auto-search-form select {
		flex:1 1 0; min-width:150px; padding:12px 14px; border:1px solid #e2e2e2 !important;
		border-radius:10px !important; font-family:'Inter',sans-serif; font-size:14px; color:#333 !important;
		background-color:#fafafa !important; transition:border-color .2s ease, box-shadow .2s ease;
	}
	.auto-search-form select {
		-webkit-appearance:none !important;
		-moz-appearance:none !important;
		appearance:none !important;
		background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
		background-repeat:no-repeat !important;
		background-position:right 14px center !important;
		background-size:11px 7px !important;
		padding-right:36px !important;
		line-height:normal !important;
	}
	.auto-search-form select::-ms-expand { display:none; }
	.auto-search-form input[type=text]:focus, .auto-search-form select:focus {
		outline:none; border-color:#999; box-shadow:0 0 0 3px rgba(0,0,0,0.05); background-color:#fff;
	}
	.auto-search-form button {
		flex:0 0 auto; padding:12px 26px; background:#1a1a1a; color:#fff; border:none;
		border-radius:10px; font-family:'Inter',sans-serif; font-weight:600; font-size:14px;
		cursor:pointer; transition:background .2s ease, transform .1s ease;
	}
	.auto-search-form button:hover { background:#333; }
	.auto-search-form button:active { transform:scale(0.97); }
	@media (max-width:700px) {
		.auto-search-form { flex-direction:column; align-items:stretch; }
		.auto-search-form button { width:100%; }
	}

	/* ---- GRID DE ANUNTURI ---- */
	.auto-grid { display:grid; grid-template-columns:repeat(6, 1fr); gap:22px; }
	@media (max-width:1300px) { .auto-grid { grid-template-columns:repeat(4, 1fr); gap:16px; } }
	@media (max-width:680px)  { .auto-grid { grid-template-columns:repeat(2, 1fr); gap:12px; } }

	.auto-card {
		display:flex; flex-direction:column; background:#fff; border-radius:25px !important; overflow:hidden !important;
		box-shadow:0 2px 12px rgba(0,0,0,0.06); border:1px solid #eee;
		text-decoration:none; color:inherit; transition:transform .2s ease, box-shadow .2s ease;
	}
	.auto-card:hover { transform:translateY(-4px); box-shadow:0 12px 28px rgba(0,0,0,0.12); text-decoration:none; color:inherit; }
	.auto-card-img { position:relative !important; width:100% !important; padding-top:75% !important; background:#fff !important; overflow:hidden !important; height:0 !important; border-radius:25px 25px 0 0 !important; }
	.auto-card-img img { position:absolute !important; top:0 !important; left:0 !important; width:100% !important; height:100% !important; max-width:100% !important; object-fit:cover !important; display:block !important; margin:0 !important; }
	.auto-card-oferta-badge {
		position:absolute; top:10px; left:10px; background:#ff6c1c; color:#fff;
		font-size:11px; font-weight:700; padding:4px 9px; border-radius:6px; letter-spacing:.03em;
	}
	.auto-card-body { display:flex; flex-direction:column; flex:1; padding:14px 16px 10px; }
	.auto-card-titlu { font-size:20px !important; font-weight:700 !important; color:#111; margin:0 0 6px; line-height:1.3 !important; }
	.auto-card-pret { display:flex; align-items:baseline; gap:8px; margin-bottom:10px; flex-wrap:wrap; }
	.auto-card-pret-nou { font-size:17px !important; font-weight:700 !important; color:#ff6c1c !important; white-space:nowrap; }
	.auto-card-pret-vechi { font-size:13px !important; color:#999 !important; text-decoration:line-through !important; font-weight:400 !important; white-space:nowrap; }
	.auto-card-specs { display:flex; flex-wrap:wrap; gap:6px 10px; font-size:12.5px; color:#666; border-top:1px solid #f0f0f0; padding-top:10px; margin-top:auto; }
	.auto-card-specs span { white-space:nowrap; }
	.auto-card-specs span:not(:last-child)::after { content:'•'; margin-left:10px; color:#ccc; }

	@media (max-width:680px) {
		.auto-card {
			border-radius:16px !important;
		}
		.auto-card-img {
			overflow:hidden !important;
			border-radius:16px 16px 0 0 !important;
		}
		.auto-card-body {
			padding:12px 14px 5px;
		}
		.auto-card-titlu {
			font-size:15px !important;
		}
		.auto-card-pret {
			flex-direction:column;
			align-items:flex-start;
			gap:0;
		}
		.auto-card-pret-nou, .auto-card-pret-vechi {
			line-height:1.15 !important;
		}
		.auto-card-specs {
			font-size:11px !important;
			gap:4px 7px;
			padding-top:8px;
		}
		.auto-card-specs span:not(:last-child)::after {
			margin-left:7px;
		}
	}

	.auto-grid-wrap { margin-top:10px; }
	.auto-pagination { display:flex; justify-content:center; gap:6px; margin:34px 0 10px; flex-wrap:wrap; }
	.auto-pagination a, .auto-pagination span {
		display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px;
		padding:0 10px; border-radius:8px; font-size:14px; font-weight:600; text-decoration:none;
		border:1px solid #e2e2e2; color:#333; background:#fff; transition:background .2s ease, color .2s ease;
	}
	.auto-pagination a:hover { background:#f1f3f5; }
	.auto-pagination .curent { background:#1a1a1a; border-color:#1a1a1a; color:#fff; }
	.auto-grid-empty { text-align:center; padding:60px 20px; color:#888; font-size:15px; }

	/* ---- ULTIMELE MASINI ADAUGATE ---- */
	.auto-recente-wrap { max-width:1280px; margin:0 auto; }
	.auto-recente-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
	@media (max-width:680px) { .auto-recente-grid { grid-template-columns:repeat(2, 1fr); gap:12px; } }
	.auto-recente-buton-wrap { text-align:center; margin-top:30px; }
	.auto-recente-buton {
		display:inline-block; padding:14px 34px; background:#1a1a1a; color:#fff !important;
		font-weight:700; font-size:15px; border-radius:30px; text-decoration:none;
		transition:background .2s ease, transform .1s ease;
	}
	.auto-recente-buton:hover { background:#333; color:#fff !important; }
	.auto-recente-buton:active { transform:scale(0.97); }

	/* ---- PAGINA SINGLE MASINA ---- */
	.auto-single { max-width:1280px; margin:0 auto; color:#222; }
	.auto-single-top { display:grid; grid-template-columns:7fr 3fr; gap:26px; margin-bottom:30px; align-items:start; }
	@media (max-width:900px) { .auto-single-top { grid-template-columns:1fr; } }

	.auto-gallery { background:#fff; border-radius:24px; box-shadow:0 4px 20px rgba(0,0,0,0.06); border:1px solid #eee; padding:14px; }
	.auto-gallery-main-wrap { position:relative !important; width:100% !important; padding-top:75% !important; border-radius:16px !important; overflow:hidden !important; background:#fff !important; height:0 !important; }
	.auto-gallery-main-wrap img { position:absolute !important; top:0 !important; left:0 !important; width:100% !important; height:100% !important; max-width:100% !important; object-fit:cover !important; display:block !important; margin:0 !important; }
	.auto-gallery-arrow {
		position:absolute; top:50%; transform:translateY(-50%); z-index:5;
		width:42px; height:42px; border-radius:50%; border:none; cursor:pointer;
		background:rgba(0,0,0,0.45); color:#fff; font-size:16px; display:flex;
		align-items:center; justify-content:center; transition:background .2s ease;
	}
	.auto-gallery-arrow:hover { background:rgba(0,0,0,0.7); }
	.auto-gallery-arrow-prev { left:14px; }
	.auto-gallery-arrow-next { right:14px; }

	/* ---- LIGHTBOX PROPRIU (poza marita), independent de Elementor ---- */
	.auto-lightbox-overlay {
		display:none; position:fixed; inset:0; background:rgba(0,0,0,0.92);
		z-index:99999; align-items:center; justify-content:center;
	}
	.auto-lightbox-overlay.activ { display:flex; }
	.auto-lightbox-img { max-width:90%; max-height:85vh; border-radius:8px; object-fit:contain; }
	.auto-lightbox-close {
		position:absolute !important; top:20px !important; right:26px !important;
		background:none !important; border:none !important; box-shadow:none !important;
		width:auto !important; height:auto !important; min-width:0 !important; min-height:0 !important;
		padding:0 !important; margin:0 !important; border-radius:0 !important;
		color:#fff !important; font-size:38px !important; line-height:1 !important; cursor:pointer; z-index:2;
	}
	.auto-lightbox-arrow {
		position:absolute !important; top:50% !important; transform:translateY(-50%) !important; z-index:2;
		width:52px !important; height:52px !important; min-width:0 !important; min-height:0 !important;
		padding:0 !important; margin:0 !important; border-radius:50% !important; border:none !important;
		cursor:pointer; background:rgba(255,255,255,0.12) !important; box-shadow:none !important;
		color:#fff !important; font-size:20px !important; line-height:1 !important; display:flex !important;
		align-items:center; justify-content:center; transition:background .2s ease;
	}
	.auto-lightbox-arrow:hover { background:rgba(255,255,255,0.28) !important; }
	.auto-lightbox-prev { left:20px !important; }
	.auto-lightbox-next { right:20px !important; }
	@media (max-width:600px) {
		.auto-lightbox-arrow { width:42px !important; height:42px !important; font-size:16px !important; }
		.auto-lightbox-prev { left:8px !important; }
		.auto-lightbox-next { right:8px !important; }
		.auto-lightbox-close { font-size:32px !important; top:14px !important; right:18px !important; }
	}

	.auto-gallery-thumbs { display:flex; gap:8px; margin-top:12px; overflow-x:auto; padding-bottom:2px; }
	.auto-gallery-thumbs img.auto-thumb-item {
		flex:0 0 auto; display:block; border-radius:10px; overflow:hidden; width:82px; height:60px;
		object-fit:cover; opacity:.65; border:2px solid transparent; transition:opacity .15s ease, border-color .15s ease;
	}
	.auto-gallery-thumbs img.auto-thumb-item.activ { opacity:1; border-color:#ff6c1c; }


	.auto-side-card {
		background:#fff; border-radius:24px; box-shadow:0 4px 20px rgba(0,0,0,0.06); border:1px solid #eee;
		padding:26px; position:sticky; top:20px;
	}
	.auto-side-oferta-badge {
		display:inline-block; background:#ff6c1c; color:#fff; font-size:12px; font-weight:700;
		padding:5px 12px; border-radius:30px; margin-bottom:12px; letter-spacing:.03em;
	}
	.auto-side-titlu { font-size:22px !important; font-weight:700 !important; margin:0 0 6px; line-height:1.25 !important; color:#111; }
	.auto-side-pret-wrap { display:flex; align-items:baseline; gap:12px; margin:16px 0 22px; flex-wrap:wrap; }
	.auto-side-pret-nou { font-size:32px; font-weight:700; color:#ff6c1c; }
	.auto-side-pret-vechi { font-size:16px; color:#999; text-decoration:line-through; }

	.auto-quick-specs { display:grid; grid-template-columns:1fr 1fr; gap:16px 20px; border-top:1px solid #f0f0f0; padding-top:20px; }
	.auto-quick-specs .eticheta { display:block; color:#999; font-size:12px; margin-bottom:3px; }
	.auto-quick-specs .valoare { font-weight:700; color:#111; font-size:15px; }

	.auto-side-contact { margin-top:24px; display:flex; gap:14px; }
	.auto-btn-round {
		width:56px; height:56px; border-radius:50%; flex:0 0 auto;
		display:flex; align-items:center; justify-content:center;
		text-decoration:none; box-shadow:0 2px 7px rgba(0,0,0,0.075);
		transition:transform .15s ease, box-shadow .15s ease;
	}
	.auto-btn-round:hover { transform:translateY(-3px); box-shadow:0 4px 9px rgba(0,0,0,0.1); }
	.auto-btn-round svg { width:36px; height:36px; fill:#fff; }
	.auto-btn-tel { background:#ff6c1c; }
	.auto-btn-whatsapp { background:#25D366; }

	.auto-section { background:#fff; border-radius:24px; box-shadow:0 4px 20px rgba(0,0,0,0.06); border:1px solid #eee; padding:28px; margin-bottom:26px; }
	.auto-section-titlu { font-size:19px; font-weight:800; margin:0 0 18px; color:#111; }

	.auto-descriere-text { line-height:1.75; font-size:15px; color:#333; margin-bottom:22px; }
	.auto-descriere-text p { margin:0 0 14px; }

	.auto-specs-columns { display:grid; grid-template-columns:1fr 1fr; border:1px solid #eee; border-radius:18px; overflow:hidden; }
	@media (max-width:640px) { .auto-specs-columns { grid-template-columns:1fr; } }
	.auto-specs-col:first-child { border-right:1px solid #f0f0f0; }
	@media (max-width:640px) { .auto-specs-col:first-child { border-right:none; } }
	.auto-spec-item {
		display:flex; align-items:center; justify-content:space-between; gap:10px;
		padding:14px 22px; font-size:14.5px; border-bottom:1px solid #f0f0f0;
	}
	.auto-specs-col .auto-spec-item:nth-child(odd) { background:#f8f9fa; }
	.auto-specs-col .auto-spec-item:last-child { border-bottom:none; }
	.auto-spec-item .eticheta { color:#666; font-weight:600; }
	.auto-spec-item .valoare { color:#111; font-weight:700; text-align:right; }

	.auto-video-frame { position:relative; width:100%; padding-top:56.25%; border-radius:16px; overflow:hidden; margin-top:24px; }
	.auto-video-frame iframe { position:absolute; top:0; left:0; width:100%; height:100%; border:0; }
