<?php // phpcs:ignore
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Template for theme info page.
 *
 */

?>
<div id="welcome-panels" class="welcome-panel carpet-store-hero ">
	<div class="welcome-panel-content carpet-store-hero">
		<div class="welcome-panel-header carpet-store-hero">
			<h2>
				<?php esc_html_e( 'Welcome to Carpet Store', 'carpet-store' ); ?>
			</h2>
			<p>
				<?php
				esc_html_e( 'Carpet Store is designed to give your website a bold, elegant, and professional look—ready to launch in just a few clicks.', 'carpet-store' );
				?>
			</p>




		<div class="not-link">
			<a href="https://www.thealphablocks.com/themes/carpet-store-wordpress-theme/" target="_blank" rel="noopener noreferrer nofollow" class="carpet-store-btn carpet-store-btn-default button button-secodary button-hero ddd" >
				<?php esc_html_e( 'Buy Now', 'carpet-store' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/themes/wordpress-theme-bundle/" target="_blank" rel="noopener noreferrer nofollow" class="carpet-store-btn carpet-store-btn-default button button-secodary button-hero bbb" target="_blank">
				<?php esc_html_e( 'Get All Themes', 'carpet-store' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/demos/carpet-store-pro/" target="_blank" rel="noopener noreferrer nofollow" class="carpet-store-btn carpet-store-btn-default button button-secodary button-hero ccc" target="_blank">
				<?php esc_html_e( 'Live Demo', 'carpet-store' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/docs/carpet-store-free/" target="_blank" rel="noopener noreferrer nofollow" class="carpet-store-gsn-btn  carpet-store-btn-outline button button-primary button-hero ghf carpet-store-install-plugins"  target="_blank">
				<?php esc_html_e( 'Documentation', 'carpet-store' ); ?>
			</a>
		</div>
		</div>

		<div class="bundle-img-wrap">
            <img src="<?php echo esc_url( get_template_directory_uri() . '/images/main-banner.png' ); ?>">
        </div>
		
	</div>
</div>

<div class="carpet-store-main">
	<div class="row margin carpet-store-main-wrp">
		<div class="col-lg-3">
			<div class="carpet-store-main-sidebar">
				<div class="theme-screenshot-box">
					<div class="carpet-store-card-header abc">
						<h4 class="carpet-store-card-header-ttl">
							<?php esc_html_e( 'Premium Theme', 'carpet-store' ); ?>
						</h4>
					</div>	
					<div class="screenshot-container" id="screenshotContainer">
						<img id="scrollImage" src="<?php echo esc_url( get_template_directory_uri() . '/images/screenshort-image.jpg' ); ?>">
					</div>
				</div>
			</div>
		</div>

		<div class="col-lg-6 alpha-right">
			<div class="carpet-store-main-cont">
				<div class="row features">
					<div class="col-md-6 col-xl-3">
						<div class="carpet-store-card">
							<div class="carpet-store-card-header">
								<span class="dashicons dashicons-media-document"></span>
								<h4 class="carpet-store-card-header-mmm">
									<?php esc_html_e( 'Responsive Design', 'carpet-store' ); ?>
								</h4>
							</div>
							<div class="carpet-store-card-body">
								<p class="margin">
									<?php esc_html_e( 'Your website adapts to all screen sizes for seamless viewing experience.', 'carpet-store' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="carpet-store-card">
							<div class="carpet-store-card-header">
								<span class="dashicons dashicons-groups"></span>
									<h4 class="carpet-store-card-header-mmm">
									<?php esc_html_e( 'Demo Import', 'carpet-store' ); ?>
								</h4>
							</div>
							<div class="carpet-store-card-body">
								<p class="margin">
									<?php esc_html_e( 'Our themes has one-click demo import making it easier to launch website.', 'carpet-store' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="carpet-store-card">
							<div class="carpet-store-card-header">
								<span class="dashicons dashicons-backup"></span>
									<h4 class="carpet-store-card-header-mmm">
									<?php esc_html_e( 'Cross Browser Compatible
									', 'carpet-store' ); ?>
								</h4>
							</div>
							<div class="carpet-store-card-body">
								<p class="margin">
									<?php esc_html_e( 'Runs smoothly across all major browsers for consistent site experience.', 'carpet-store' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="carpet-store-card">
							<div class="carpet-store-card-header">
								<span class="dashicons dashicons-video-alt3"></span>
									<h4 class="carpet-store-card-header-mmm">
									<?php esc_html_e( 'Easy Customization', 'carpet-store' ); ?>
								</h4>
							</div>
							<div class="carpet-store-card-body">
								<p class="margin">
									<?php esc_html_e( 'Quickly personalize fonts, colors, and layouts using simple customization panel.', 'carpet-store' ); ?>
								</p>
								
							</div>
						</div>
					</div>
				</div>
				
					<div class="<?php echo esc_attr( $quick_links_col ); ?>">
						<div class="carpet-store-card">
							<div class="carpet-store-card-header justify-content ">
								<span class="dashicons dashicons-admin-links"></span>
								<h4 class="carpet-store-card-header-ttl">
									<?php esc_html_e( 'Quick Links', 'carpet-store' ); ?>
								</h4>
							</div>
							<div class="carpet-store-card-body">
								<div class="carpet-store-card-btn-grp rrr">
									<a class="carpet-store-btn carpet-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?categoryId=header&postType=wp_template_part' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Header', 'carpet-store' ); ?>
									</a>
									<a class="carpet-store-btn carpet-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part&postId=' . CARPET_STORE_THEME_NAME . '%2F%2Ffooter&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Footer', 'carpet-store' ); ?>
									</a>
									<a class="carpet-store-btn carpet-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part&postId=' . CARPET_STORE_THEME_NAME . '%2F%2Fsidebar&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Sidebar', 'carpet-store' ); ?>
									</a>
									<a class="carpet-store-btn carpet-store-btn-primary-outline button button-hero btn-col" 
										href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . CARPET_STORE_THEME_NAME . '%2F%2Findex&canvas=edit' ) ); ?>" 
										target="_blank">
										<?php esc_html_e( 'Edit Blog Home', 'carpet-store' ); ?>
									</a>

									<a class="carpet-store-btn carpet-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part' ) ); ?>" target="_blank">
										<?php esc_html_e( 'All Template Parts', 'carpet-store' ); ?>
									</a>
									<a class="carpet-store-btn carpet-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . CARPET_STORE_THEME_NAME . '%2F%2Ffront-page&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Frontpage', 'carpet-store' ); ?>
									</a>
									<a class="carpet-store-btn carpet-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . CARPET_STORE_THEME_NAME . '%2F%2Farchive&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Archive Page', 'carpet-store' ); ?>
									</a>
									<a class="carpet-store-btn carpet-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template' ) ); ?>" target="_blank">
										<?php esc_html_e( 'All Templates', 'carpet-store' ); ?>
									</a>

									<a class="carpet-store-btn carpet-store-btn-primary-outline button button-hero btn-col visit-site" href="<?php echo esc_url( home_url( '/' ) ); ?>" target="_blank">
										<?php esc_html_e( 'VISIT SITE', 'carpet-store' ); ?>
									</a>
								</div>
							</div>
						</div>
					</div>
				</div>
				<?php
				$faqs = function_exists( 'carpet_store_get_theme_faq' ) ? carpet_store_get_theme_faq() : null;
				if ( $faqs ) {
					?>
						<div class="row">
							<div class="col-12">
								<div class="carpet-store-card">
									<div class="carpet-store-card-header">
										<span class="dashicons dashicons-format-chat"></span>
										<h4 class="carpet-store-card-header-ttl">
											<?php esc_html_e( 'Frequently Asked Questions', 'carpet-store' ); ?>
										</h4>
									</div>
									<div class="carpet-store-card-body">
										<div class="carpet-store-accordion">
									<div class="carpet-store-accordion ">
									<?php foreach ( $faqs as $key => $faq ) : ?>
										<details class="carpet-store-accordion-section ">
											<summary class="carpet-store-accordion-section-title">
												<h4 class="carpet-store-accordion-heading">
													<span class="dashicons dashicons-arrow-right"></span>
													<?php echo esc_html( $faq['q'] ); ?>
												</h4>
											</summary>
											<div id="carpet-store-info-faq-<?php echo esc_attr( $key ); ?>" class="carpet-store-accordion-section-content">
												<?php echo wp_kses_post( $faq['a'] ); ?>
											</div>
										</details>
									<?php endforeach; ?>
								</div>
								</div>

									</div>
								</div>
							</div>
						</div>
					<?php
				}
				?>
			</div>

		<div class="col-lg-3">
			<div class="carpet-store-main-sidebar">
				
				<div class="carpet-store-card">
					<div class="carpet-store-card-header abc">
						<h4 class="carpet-store-card-header-ttl">
							<?php esc_html_e( 'Buy Premium Theme', 'carpet-store' ); ?>
						</h4>
					</div>

					<div class="bun-para">
						<p><?php esc_html_e( 'Our Premium WordPress Themes are crafted to deliver powerful design, seamless performance, and full customization options—perfect for building stunning, professional websites with ease.', 'carpet-store' ); ?></p>
					</div>
					
					<a href="https://www.thealphablocks.com/themes/carpet-store-wordpress-theme/" target="_blank" rel="noopener noreferrer nofollow" class="carpet-store-btn carpet-store-btn-default button button-secodary button-hero cba cbaa" target="_blank">
						<?php esc_html_e( 'Buy Now $40', 'carpet-store' ); ?>
					</a>
			
				</div>

				<div class="carpet-store-card">
					<div class="bundle-image-wrap">
			            <img src="<?php echo esc_url( get_template_directory_uri() . '/images/bundle-image.png' ); ?>">
			        </div>
					<div class="carpet-store-card-header abc">
						<h4 class="carpet-store-card-header-ttl">
							<?php esc_html_e( 'Get All Themes', 'carpet-store' ); ?>
						</h4>
					</div>

					<div class="bun-para">
						<p><?php esc_html_e( 'Whether you need a website for a blog, business, portfolio, or online store, this WP Theme Bundle provides everything you need for a visually appealing and fully functional site.', 'carpet-store' ); ?></p>
					</div>
					
					<a href="https://www.thealphablocks.com/themes/wordpress-theme-bundle/" target="_blank" rel="noopener noreferrer nofollow" class="carpet-store-btn carpet-store-btn-default button button-secodary button-hero cba" target="_blank">
						<?php esc_html_e( 'Get All Block Themes $59', 'carpet-store' ); ?>
					</a>
			
				</div>

			</div>
			</div>

		</div>
	</div>
</div>

