/*
Theme Name: WowPixelTheme
Theme URI: https://wowpixeltheme.com/
Author: WowPixelTheme
Author URI: https://wowpixeltheme.com/
Description: Premium marketplace theme to sell WordPress themes & HTML templates. Pairs with the "WowPixelTheme Core" plugin (CPTs, meta framework & Elementor widgets) and Freemius for payments. Pixel-perfect storefront, product detail pages, blog and contact.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wowpixeltheme
Tags: e-commerce, blog, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

/*
 * The full storefront design lives in assets/css/store.css (enqueued by
 * functions.php). This file only carries the required theme header plus a
 * couple of WordPress-specific helpers.
 */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.wpt-admin-bar-pad { margin-top: 0; }

/* Pagination */
.wpt-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
	flex-wrap: wrap;
}
.wpt-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--c-line);
	border-radius: 12px;
	background: #fff;
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	color: var(--c-ink-2);
	transition: all .18s;
}
.wpt-pagination .page-numbers:hover,
.wpt-pagination .page-numbers.current {
	background: var(--grad-1);
	color: #fff;
	border-color: transparent;
}

/* Custom logo sizing to match the design mark */
.logo .custom-logo { height: 35px; width: auto; display: block; }
.logo--light .custom-logo { filter: brightness(0) invert(1); }

/* ---- Single post ---- */
.single-post__hero { padding: 40px 0 10px; }
.single-post__cat {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .6px;
	margin: 10px 0 8px;
}
.single-post__title { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 16px; max-width: 900px; }
.single-post__meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--c-muted); font-size: 14px; }
.single-post__meta span { display: inline-flex; align-items: center; gap: 7px; }
.single-post__thumb { margin: 26px auto; }
.single-post__thumb img { width: 100%; border-radius: 18px; border: 1px solid var(--c-line); box-shadow: var(--shadow-md); }
.single-post__layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; padding-bottom: 40px; }
.single-post__content { font-size: 16.5px; line-height: 1.8; color: var(--c-ink-2); min-width: 0; }
.single-post__content h2 { font-size: 26px; margin: 28px 0 12px; }
.single-post__content h3 { font-size: 21px; margin: 24px 0 10px; }
.single-post__content p { margin-bottom: 18px; }
.single-post__content img { border-radius: 12px; margin: 14px 0; }
.single-post__content blockquote {
	border-left: 4px solid var(--c-primary);
	background: var(--c-bg-alt);
	padding: 16px 22px;
	border-radius: 0 12px 12px 0;
	margin: 20px 0;
	font-style: italic;
}
.single-post__tags { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.single-post__tags a {
	font-size: 13px; font-weight: 600; color: var(--c-ink-2);
	background: var(--c-bg-alt); padding: 6px 14px; border-radius: 50px;
}
.single-post__tags a:hover { background: var(--c-primary); color: #fff; }
.single-post__side { position: sticky; top: 96px; }
.single-post__comments { padding-bottom: 60px; }

/* ---- Sidebar / widgets ---- */
.wpt-widget { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 22px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.wpt-widget__title { font-size: 17px; margin-bottom: 14px; }
.wpt-widget__list { display: grid; gap: 10px; }
.wpt-widget__list a { color: var(--c-ink-2); font-size: 14.5px; transition: color .15s; }
.wpt-widget__list a:hover { color: var(--c-primary); }

/* ---- Search form ---- */
.wpt-search { display: flex; gap: 8px; }
.wpt-search__input { flex: 1; border: 1px solid var(--c-line); border-radius: 50px; padding: 11px 18px; font-size: 14px; outline: none; }
.wpt-search__input:focus { border-color: var(--c-primary); }
.wpt-search__btn { width: 46px; border: none; border-radius: 50px; background: var(--grad-1); color: #fff; cursor: pointer; font-size: 16px; }

/* ---- Generic page ---- */
.wpt-page { max-width: 860px; }
.wpt-page__content { font-size: 16.5px; line-height: 1.8; color: var(--c-ink-2); }
.wpt-page__content h2 { font-size: 26px; margin: 26px 0 12px; }
.wpt-page__content p { margin-bottom: 18px; }
.wpt-page__content ul, .wpt-page__content ol { margin: 0 0 18px 20px; }
.wpt-page__content li { margin-bottom: 8px; list-style: disc; }

/* ---- Details: features rich text ---- */
.detail__featwrap ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; }
.detail__featwrap li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--c-ink-2); list-style: none; }
.detail__featwrap li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #16c784; margin-top: 2px; }

/* ---- Contact ---- */
.contact__grid { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.contact__cards { display: grid; gap: 14px; margin-top: 22px; }
.contact__card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-sm); }
.contact__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.contact__card strong { display: block; font-family: 'Sora', sans-serif; font-size: 15px; }
.contact__card a, .contact__card span { color: var(--c-muted); font-size: 13.5px; }
.contact__formwrap { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-md); }
.contact__form label { display: block; margin-bottom: 16px; font-weight: 600; font-size: 13.5px; color: var(--c-ink-2); }
.contact__form label span { display: block; margin-bottom: 7px; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__form input, .contact__form textarea {
	width: 100%; border: 1px solid var(--c-line); border-radius: 10px;
	padding: 12px 14px; font-size: 14.5px; font-family: inherit; outline: none; transition: border-color .15s;
}
.contact__form input:focus, .contact__form textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 1px var(--c-primary); }
.contact__hp { position: absolute; left: -9999px; }
.contact__notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; font-size: 14.5px; }
.contact__notice--ok { background: rgba(22,199,132,.12); color: #0f9e6a; }
.contact__notice--err { background: rgba(214,54,56,.1); color: #d63638; }

/* ---- Comments ---- */
.wpt-comments { max-width: 760px; }
.wpt-comments__title { font-size: 22px; margin-bottom: 18px; }
.wpt-comments__list { list-style: none; margin: 0 0 30px; }
.wpt-comments__list .comment { border-bottom: 1px solid var(--c-line); padding: 18px 0; }
.wpt-comments__list .children { list-style: none; margin-left: 40px; }

@media (max-width: 992px) {
	.single-post__layout { grid-template-columns: 1fr; }
	.single-post__side { position: static; }
	.contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.contact__row { grid-template-columns: 1fr; }
	.detail__featwrap ul { grid-template-columns: 1fr; }
}


/* Logo height override */
img.logo__img { height: 35px; width: auto; display: block; }

/* Hero/testimonial avatar image */
img.avatars__a {
	width: 42px;
	height: 42px;
	display: grid;
	color: #fff;
	font-weight: 700;
	font-family: 'Sora', sans-serif;
	font-size: 15px;
	margin-left: -12px;
	box-shadow: var(--shadow-sm);
	border-radius: 50%;
	place-items: center;
	border: 3px solid #fff;
	object-fit: cover;
}

/* Theme card top row (sales badge) positioning */
.theme-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	right: 20px;
}

/* Testimonials avatar + card overrides */
.stat-avatars img {
	width: 46px;
	height: 46px;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 3px solid var(--c-dark) !important;
	margin-left: -12px !important;
}
.testi-card { margin: 0 0 24px !important; }
.testi-card__avatar { border-radius: 50% !important; }

/* Hero floating "lifetime" card padding */
.hero__lifetime { padding: 14px 18px; }

/* Hide the fallback icon inside blog card image area */
.blog-grid .blog-card__img i { display: none; }

/* Single post featured image: responsive, no fixed dimensions */
.single-post__thumb img { width: 100%; height: auto; }

/* ============ ACCESSIBILITY: contrast for small solid-color text ============ */
.testi-card__verified { color: #0a7d54; }
.buycard__off { color: #0a7d54; }
.contact__notice--ok { color: #0a7d54; }
.access__perks li { color: var(--c-ink-2); }
