﻿/*
Theme Name: OnePress Child
Template: onepress
Description: Child theme for ABP RentalForge demo
Author: ABP Team
Author URI: https://abp-team.com
Version: 1.0.0
Text Domain: onepress-child
*/
@import url('../onepress/style.css');

/* OnePress Child Custom Demo Styles */
/* ---------- Shortcode demo box (dark card + code + copy) ---------- */
.abp_demo_box{
	background:#0f172a;
	border:1px solid #1e293b;
	border-radius:12px;
	padding:16px 18px;
	margin:26px 0 18px;
	box-shadow:0 10px 30px rgba(15,23,42,.12);
}
.abp_demo_head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	margin-bottom:12px;
}
.abp_demo_head b{
	color:#e2e8f0;
	font-size:13px;
	font-weight:700;
	letter-spacing:.6px;
	text-transform:uppercase;
}
.abp_demo_copy{
	background:#2563eb;
	border:none;
	color:#fff;
	font-size:12.5px;
	font-weight:600;
	letter-spacing:.3px;
	padding:7px 16px;
	border-radius:8px;
	cursor:pointer;
	-webkit-transition:background .2s ease;
	transition:background .2s ease;
}
.abp_demo_copy:hover{background:#1d4ed8}
.abp_demo_desc{
	color:#94a3b8;
	font-size:13px;
	line-height:1.6;
	margin:0 0 12px;
}
.abp_demo_desc code{background:rgba(148,163,184,.12);color:#e2e8f0;padding:1px 5px;border-radius:4px}
.abp_demo_code{
	margin:0;
	padding:14px 16px;
	background:#0b1220;
	border:1px solid #1e293b;
	border-radius:8px;
	overflow-x:auto;
}
.abp_demo_code code{
	background:transparent;
	border:none;
	color:#67e8f9;
	font-family:'Consolas','Monaco',monospace;
	font-size:13px;
	padding:0;
	white-space:pre-wrap;
	word-break:break-word;
}
.abp_demo_preview{margin-top:18px}
/* Header logo: fixed 60px height, keep everything on one line */
.site-header .site-branding .custom-logo,
.site-header .site-branding .custom-logo-transparent,
.site-header .site-branding .site-image-logo img {
	height: 60px !important;
	max-height: 60px !important;
	width: auto !important;
	vertical-align: middle;
}
.site-header .site-branding .site-logo-div,
.site-header .site-branding .has-logo-img {
	line-height: 60px;
}
.site-header .site-branding .site-title,
.site-header .site-branding .site-description {
	display: none !important;
}

/* Highlight the Buy Pro menu item */
.onepress-menu li.btn-buy-pro > a {
	background: #ff6b35;
	color: #ffffff !important;
	border-radius: 4px;
	margin-top: 10px;
	margin-bottom: 10px;
	line-height: 34px !important;
	padding: 0 16px !important;
	display: inline-block;
}
.onepress-menu li.btn-buy-pro > a:hover {
	background: #ff5a1f;
	color: #ffffff !important;
}

/* Remove the OnePress page-header (title banner) everywhere */
.page-header {
	display: none !important;
}

/* ---------- RentalForge landing sections (injected by the child theme) ---------- */
.abp_hero {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	padding: 64px 28px;
	margin: 34px 0 40px;
	text-align: center;
	color: #f8fafc;
	background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
}
.abp_hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.08), transparent 42%),
		radial-gradient(circle at 82% 72%, rgba(37, 99, 235, 0.28), transparent 50%);
	pointer-events: none;
}
.abp_hero > * {
	position: relative;
	z-index: 1;
}
.abp_hero_badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #dbeafe;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.abp_hero h1 {
	font-size: 42px;
	line-height: 1.15;
	margin: 0 0 16px;
	color: #ffffff;
}
.abp_hero p {
	font-size: 18px;
	line-height: 1.7;
	color: #cbd5e1;
	max-width: 660px;
	margin: 0 auto 30px;
}
.abp_hero_btns {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	gap: 14px;
}
.abp_btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	-webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.abp_btn_primary {
	background: #f59e0b;
	color: #0f172a;
	box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}
.abp_btn_primary:hover {
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(245, 158, 11, 0.4);
	color: #0f172a;
}
.abp_btn_ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
	border: 1px solid rgba(255, 255, 255, 0.28);
}
.abp_btn_ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}
.abp_btn_outline {
	background: #ffffff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}
.abp_btn_outline:hover {
	background: #eff6ff;
	color: #1d4ed8;
}
.abp_section {
	padding: 34px 0;
}
.abp_section_center {
	text-align: center;
}
.abp_section h2 {
	font-size: 32px;
	color: #0f172a;
	margin: 0 0 12px;
}
.abp_section_sub {
	color: #475569;
	font-size: 16px;
	line-height: 1.7;
	max-width: 620px;
	margin: 0 auto;
}
.abp_cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 34px;
	text-align: left;
}
.abp_card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 22px 20px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.abp_card:hover {
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	transform: translateY(-4px);
}
.abp_card_code {
	display: inline-block;
	background: #0f172a;
	color: #67e8f9;
	font-family: 'Consolas', 'Monaco', monospace;
	font-size: 12.5px;
	padding: 6px 10px;
	border-radius: 8px;
	margin-bottom: 14px;
}
.abp_card h3 {
	font-size: 17px;
	color: #0f172a;
	margin: 0 0 8px;
}
.abp_card p {
	font-size: 14px;
	color: #475569;
	line-height: 1.65;
	margin: 0 0 14px;
}
.abp_card_link {
	font-size: 14px;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
}
.abp_card_link:hover {
	color: #1d4ed8;
	text-decoration: underline;
}
.abp_features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 34px;
	text-align: left;
}
.abp_feature {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 26px 22px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.abp_feature:hover {
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	transform: translateY(-4px);
}
.abp_feature_icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: #eff6ff;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
}
.abp_feature_icon svg {
	width: 26px;
	height: 26px;
}
.abp_feature h3 {
	font-size: 18px;
	color: #0f172a;
	margin: 0 0 8px;
}
.abp_feature p {
	font-size: 14.5px;
	color: #475569;
	line-height: 1.7;
	margin: 0;
}
/* ---------- Workflow steps ---------- */
.abp_flow {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 42px;
	text-align: left;
}
.abp_flow_step {
	position: relative;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 32px 24px 24px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.abp_flow_step:hover {
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	transform: translateY(-4px);
}
.abp_flow_num {
	position: absolute;
	top: -18px;
	left: 24px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #2563eb, #1e3a8a);
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.abp_flow_step h3 {
	font-size: 18px;
	color: #0f172a;
	margin: 0 0 8px;
}
.abp_flow_step p {
	font-size: 14.5px;
	color: #475569;
	line-height: 1.7;
	margin: 0;
}
.abp_flow_note {
	margin: 26px auto 0;
	max-width: 720px;
	font-size: 14px;
	font-weight: 600;
	color: #2563eb;
}
.abp_compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin-top: 36px;
	text-align: left;
}
.abp_plan {
	position: relative;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 30px 26px;
}
.abp_plan_pro {
	border-color: #2563eb;
	box-shadow: 0 18px 46px rgba(37, 99, 235, 0.14);
}
.abp_plan_tag {
	position: absolute;
	top: -13px;
	right: 22px;
	background: #2563eb;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 999px;
}
.abp_plan h3 {
	font-size: 22px;
	color: #0f172a;
	margin: 0 0 6px;
}
.abp_plan_sub {
	color: #64748b;
	font-size: 14px;
	margin: 0 0 18px;
}
.abp_plan .abp_plan_list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
}
.abp_plan .abp_plan_list li {
	position: relative;
	list-style: none;
	margin: 0 0 10px;
	padding: 0 0 0 30px;
	font-size: 14.5px;
	color: #334155;
	line-height: 1.55;
}
.abp_plan .abp_plan_list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	color: #16a34a;
	font-weight: 700;
	line-height: 1.55;
}
.abp_plan .abp_btn {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}
.abp_chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 30px;
}
.abp_chip {
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	color: #4338ca;
	font-size: 14px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 999px;
}
.abp_cta {
	margin: 44px 0 20px;
	padding: 46px 30px;
	border-radius: 16px;
	text-align: center;
	color: #f8fafc;
	background: linear-gradient(135deg, #0f172a, #1e3a8a);
}
.abp_cta h2 {
	color: #ffffff;
	font-size: 30px;
	margin: 0 0 12px;
}
.abp_cta p {
	color: #cbd5e1;
	font-size: 16px;
	line-height: 1.7;
	max-width: 640px;
	margin: 0 auto 24px;
}
/* ---------- Page intro ---------- */
.abp_page_intro {
	padding-bottom: 0;
}
/* ---------- Screenshots slider ---------- */
.abp_screenshots_section {
	margin-top: 10px;
}
.abp_shots_wrap {
	position: relative;
	margin-top: 30px;
}
.abp_shots_viewport {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 2px 16px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.abp_shots_viewport::-webkit-scrollbar {
	display: none;
}
.abp_shot {
	flex: 0 0 calc((100% - 36px) / 3);
	scroll-snap-align: start;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	margin: 0;
	text-align: left;
	display: block;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.abp_shot:hover {
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
	transform: translateY(-4px);
}
.abp_shot img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}
.abp_shot_title {
	display: block;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}
.abp_shots_nav {
	position: absolute;
	top: calc(50% - 38px);
	transform: translateY(-50%);
	z-index: 2;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #0f172a;
	font-size: 24px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
	transition: background 0.2s ease, color 0.2s ease;
}
.abp_shots_nav:hover {
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff;
}
.abp_shots_prev {
	left: -14px;
}
.abp_shots_next {
	right: -14px;
}
.abp_shots_dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 6px;
}
.abp_shots_dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: none;
	background: #cbd5e1;
	cursor: pointer;
	padding: 0;
	transition: width 0.2s ease, background 0.2s ease;
}
.abp_shots_dot.active {
	width: 22px;
	background: #2563eb;
}
/* ---------- Lightbox ---------- */
.abp_lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(2, 6, 23, 0.92);
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 30px;
}
.abp_lightbox.open {
	display: flex;
}
.abp_lightbox img {
	max-width: 92vw;
	max-height: 82vh;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.abp_lightbox_title {
	color: #e2e8f0;
	font-size: 16px;
	font-weight: 600;
	margin-top: 16px;
	text-align: center;
}
.abp_lightbox_close {
	position: absolute;
	top: 18px;
	right: 24px;
	background: none;
	border: none;
	color: #e2e8f0;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}
.abp_lightbox_close:hover {
	color: #ffffff;
}
@media (max-width: 991px) {
	.abp_cards {
		grid-template-columns: repeat(2, 1fr);
	}
	.abp_features {
		grid-template-columns: repeat(2, 1fr);
	}
	.abp_shot {
		flex: 0 0 calc((100% - 18px) / 2);
	}
	.abp_hero h1 {
		font-size: 34px;
	}
}
@media (max-width: 680px) {
	.abp_cards,
	.abp_features,
	.abp_flow,
	.abp_compare {
		grid-template-columns: 1fr;
	}
	.abp_shot {
		flex: 0 0 100%;
	}
	.abp_shots_prev {
		left: 4px;
	}
	.abp_shots_next {
		right: 4px;
	}
	.abp_hero {
		padding: 48px 20px;
	}
	.abp_hero h1 {
		font-size: 28px;
	}
	.abp_section h2,
	.abp_cta h2 {
		font-size: 24px;
	}
}
