/* ===========================================================================
   DETAIL BUTTONS — Poster, mobile contact/share, reveal phone
   Petz.gr

   !important: kept on .btn-reveal-phone (overrides Modesy .btn styles),
   .petz-poster-btn/btn-top (overrides Modesy button defaults),
   .mobile-contact-btn/.mobile-share-btn (overrides Bootstrap .btn)
   =========================================================================== */

/* ── Primary CTA ─────────────────────────────────────────── */
/* !important needed — overrides Modesy .btn-contact-seller (L343) */

.petz-primary-btn i,
.btn-contact-seller i {
	color: #fff !important;
}

.btn-contact-seller {
	background-color: var(--petz-primary) !important;
	border-color: var(--petz-primary) !important;
	color: #fff !important;
	border-radius: var(--petz-radius) !important;
	font-weight: 700 !important;
	font-size: 1.1rem !important;
	padding: 14px 24px !important;
	box-shadow: 0 4px 16px rgba(92, 184, 92, 0.3) !important;
	transition: all 0.3s ease !important;
	width: 100% !important;
	margin-bottom: 24px !important;
}

.btn-contact-seller:hover {
	background-color: var(--petz-primary-hover) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(92, 184, 92, 0.4) !important;
}

.btn-contact-seller i {
	margin-right: 8px;
}

.petz-primary-btn:hover,
.btn-contact-seller:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(92, 184, 92, 0.35);
}

/* ── Reveal phone button ─────────────────────────────────── */
/* !important needed — overrides Modesy .btn base styles */

.reveal-phone-container {
	width: 100%;
}

.btn-reveal-phone {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	padding: 14px 20px !important;
	background: transparent !important;
	border: 2px dashed var(--mds-color-main) !important;
	color: var(--mds-color-main) !important;
	border-radius: 25px !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn-reveal-phone svg {
	flex-shrink: 0;
}

.btn-reveal-phone:hover {
	background: rgba(var(--mds-color-main-rgb, 92, 184, 92), 0.1) !important;
	border-style: solid !important;
}

.btn-reveal-phone.revealed {
	background: var(--mds-color-main) !important;
	border-style: solid !important;
	color: #fff !important;
}

.btn-reveal-phone.revealed svg {
	fill: #fff;
}

.btn-reveal-phone.revealed:hover {
	filter: brightness(0.9);
}

/* ── Report button ───────────────────────────────────────── */

.btn-fp-report:hover:not(:disabled) {
	transform: translateY(-1px);
	background-color: #fff5f5;
}

/* ── Poster buttons ──────────────────────────────────────── */
/* !important needed — overrides Modesy default button colors */

.petz-poster-btn {
	background-color: #555555 !important;
	border: 1px solid #444;
	color: #ffffff !important;
	font-weight: 700;
	transition: all 0.2s ease;
}

.petz-poster-btn:hover {
	background-color: #333333 !important;
	border-color: #222;
	color: #ffffff !important;
}

.petz-poster-btn i {
	color: #ffffff !important;
}

.petz-poster-btn:disabled {
	background-color: #999 !important;
	border-color: #ccc;
	color: #eee !important;
	cursor: not-allowed;
	opacity: 0.8;
}

.petz-poster-btn-top {
	background-color: #555555 !important;
	border: 1px solid #444;
	color: #ffffff !important;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 10px 20px;
	border-radius: 8px;
	transition: all 0.2s ease;
	display: block;
	width: 100%;
	text-align: center;
}

.petz-poster-btn-top:hover {
	background-color: #333333 !important;
	border-color: #222;
	color: #ffffff !important;
	text-decoration: none;
}

.petz-poster-btn-top i {
	color: #ffffff !important;
}

.petz-poster-btn-top:disabled {
	background-color: #999 !important;
	border-color: #ccc;
	color: #eee !important;
	cursor: not-allowed;
	opacity: 0.7;
}

.breadcrumb-poster-row .petz-poster-btn-top {
	padding: 10px 20px;
	font-size: 0.9rem;
	width: calc(100% - 20px);
}

/* ── Mobile buttons ──────────────────────────────────────── */
/* !important needed — overrides Bootstrap .btn defaults */

.mobile-contact-btn {
	flex: 1;
	border-radius: 12px !important;
}

.mobile-share-btn {
	width: 52px;
	min-width: 52px;
	height: 52px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #1877f2 !important;
	border: none !important;
	border-radius: 12px !important;
	color: white !important;
	transition: all 0.2s ease;
}

.mobile-share-btn:hover {
	background: #166fe5 !important;
	transform: scale(1.05);
}

.mobile-share-btn svg {
	fill: white;
}

.mobile-poster-btn {
	display: none;
}

/* ── Scrollup ────────────────────────────────────────────── */
/* !important — overrides Modesy default scrollup position */

.scrollup,
button.scrollup {
	bottom: 70px !important;
	right: 20px !important;
}
