/*
Theme Name: GoGetThemes
Theme URI: https://gogetthemes.com/
Author: GoGetThemes
Author URI: https://gogetthemes.com/
Description: Minimal catalog theme for GoGetThemes.
Version: 0.4.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gogetthemes
Tags: custom-logo, custom-menu, featured-images, blog
*/

:root {
	--ggt-bg: #ffffff;
	--ggt-text: #222222;
	--ggt-muted: #717171;
	--ggt-border: #dddddd;
	--ggt-brand: #222222;
	--ggt-radius: 8px;
}

* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--ggt-text);
	background: var(--ggt-bg);
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(34, 34, 34, 0.35);
	text-underline-offset: 2px;
}

a:hover {
	text-decoration-color: var(--ggt-text);
}

.ggt-container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px 48px;
}

.ggt-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: 20px 0;
	border-bottom: 1px solid var(--ggt-border);
	margin-bottom: 8px;
}

.ggt-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 18px;
	letter-spacing: -0.02em;
	color: var(--ggt-brand);
}

.ggt-brand:hover {
	text-decoration: none;
}

.ggt-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

.ggt-nav a {
	text-decoration: none;
	padding: 8px 12px;
	border-radius: var(--ggt-radius);
	font-size: 14px;
	color: var(--ggt-muted);
}

.ggt-nav a:hover {
	color: var(--ggt-text);
	background: #f7f7f7;
}

.ggt-auth {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ggt-auth a {
	text-decoration: none;
	padding: 8px 14px;
	border-radius: var(--ggt-radius);
	font-size: 14px;
	color: var(--ggt-text);
	border: 1px solid var(--ggt-border);
	background: #fff;
}

.ggt-auth a:hover {
	background: #f7f7f7;
}

.ggt-auth__register {
	background: var(--ggt-brand) !important;
	border-color: var(--ggt-brand) !important;
	color: #fff !important;
}

.ggt-auth__register:hover {
	opacity: 0.9;
	background: var(--ggt-brand) !important;
}

.ggt-auth__hint {
	font-size: 13px;
	color: var(--ggt-muted);
}

.ggt-hero {
	padding: 32px 0 24px;
}

.ggt-hero h1 {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ggt-hero p {
	margin: 0;
	color: var(--ggt-muted);
	max-width: 56ch;
	font-size: 16px;
}

.ggt-alert {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: var(--ggt-radius);
	background: #fffbf0;
	border: 1px solid #f0e6c8;
	color: #6b5a2e;
	font-size: 14px;
}

.ggt-section-head {
	grid-column: 1 / -1;
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 32px 0 4px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--ggt-border);
}

.ggt-section-head h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.ggt-count {
	font-size: 13px;
	color: var(--ggt-muted);
}

.ggt-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 20px;
	margin: 16px 0 0;
}

.ggt-card {
	grid-column: span 6;
	padding: 20px 0;
	border-bottom: 1px solid var(--ggt-border);
}

.ggt-card h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
}

.ggt-card p {
	margin: 0;
	color: var(--ggt-muted);
	font-size: 14px;
	line-height: 1.5;
}

.ggt-card .ggt-meta {
	margin-top: 10px;
	font-size: 13px;
	color: var(--ggt-muted);
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ggt-card--empty {
	grid-column: 1 / -1;
	padding: 24px 0;
	color: var(--ggt-muted);
	font-size: 14px;
}

.ggt-badge {
	display: inline-block;
	font-size: 12px;
	color: var(--ggt-muted);
}

.ggt-card__link {
	margin-top: 10px;
	font-size: 14px;
}

.ggt-card__link a {
	text-decoration: none;
	font-weight: 500;
	color: var(--ggt-text);
	border-bottom: 1px solid var(--ggt-text);
}

.ggt-card__link a:hover {
	opacity: 0.7;
}

.ggt-page {
	padding: 24px 0 40px;
}

.ggt-page__title {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 600;
}

.ggt-page__content {
	max-width: 720px;
}

.ggt-product-desc {
	margin: 20px 0;
	color: var(--ggt-text);
	line-height: 1.6;
	font-size: 15px;
}

.ggt-product-links {
	margin-top: 24px;
	font-size: 14px;
}

.ggt-product-links p {
	margin: 0 0 8px;
}

.ggt-product-links a {
	text-decoration: none;
	color: var(--ggt-text);
	border-bottom: 1px solid var(--ggt-border);
}

.ggt-product-logo img {
	max-width: 96px;
	height: auto;
	display: block;
}

.ggt-section-head__link {
	margin-left: auto;
	font-size: 14px;
	text-decoration: none;
	color: var(--ggt-text);
	border-bottom: 1px solid var(--ggt-border);
}

.ggt-card__thumb {
	display: block;
	margin-bottom: 12px;
	border-radius: var(--ggt-radius);
	overflow: hidden;
	border: 1px solid var(--ggt-border);
	text-decoration: none;
}

.ggt-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ggt-card h3 a {
	text-decoration: none;
	color: var(--ggt-text);
}

.ggt-card h3 a:hover {
	text-decoration: underline;
}

/* Product single */
.ggt-product {
	padding: 24px 0 48px;
	max-width: 960px;
}

.ggt-product__back a {
	text-decoration: none;
	font-size: 14px;
	color: var(--ggt-muted);
}

.ggt-product__header h1 {
	margin: 12px 0 8px;
	font-size: 32px;
	font-weight: 600;
}

.ggt-product__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 16px;
}

.ggt-product__screens {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 20px;
	margin: 28px 0;
}

.ggt-product__screen {
	margin: 0;
}

.ggt-product__screen img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--ggt-border);
	border-radius: var(--ggt-radius);
}

.ggt-product__screen figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--ggt-muted);
}

.ggt-product__screen--mobile img {
	max-width: 280px;
}

.ggt-product__desc h2 {
	font-size: 18px;
	margin: 0 0 12px;
}

.ggt-product__support {
	margin-top: 32px;
	font-size: 14px;
}

/* Portal (plugin shortcodes — styled by theme) */
.ggt-portal {
	max-width: 560px;
}

.ggt-portal h3 {
	margin: 24px 0 12px;
	font-size: 16px;
	font-weight: 600;
}

.ggt-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
}

.ggt-form input[type="text"],
.ggt-form input[type="email"],
.ggt-form input[type="password"],
.ggt-form input[type="file"],
.ggt-form select,
.ggt-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ggt-border);
	border-radius: var(--ggt-radius);
	background: #fff;
	color: var(--ggt-text);
	font: inherit;
}

.ggt-form input:focus,
.ggt-form select:focus,
.ggt-form textarea:focus {
	outline: none;
	border-color: var(--ggt-text);
}

.ggt-form p {
	margin: 0 0 16px;
}

.ggt-btn {
	display: inline-block;
	padding: 12px 20px;
	border: none;
	border-radius: var(--ggt-radius);
	background: var(--ggt-brand);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
}

.ggt-btn--secondary {
	background: #fff;
	color: var(--ggt-text);
	border: 1px solid var(--ggt-border);
}

.ggt-btn:hover {
	opacity: 0.92;
	color: inherit;
}

.ggt-btn--secondary:hover {
	background: #f7f7f7;
	color: var(--ggt-text);
}

.ggt-notice {
	padding: 12px 14px;
	border-radius: var(--ggt-radius);
	margin-bottom: 16px;
	font-size: 14px;
}

.ggt-notice--error {
	background: #fff5f5;
	border: 1px solid #f5c2c2;
	color: #8b2e2e;
}

.ggt-notice--success {
	background: #f4fbf6;
	border: 1px solid #b8dfc4;
	color: #1e5631;
}

.ggt-portal__meta {
	margin-top: 12px;
	font-size: 14px;
	color: var(--ggt-muted);
}

.ggt-portal__meta a {
	text-decoration: none;
	color: var(--ggt-text);
	border-bottom: 1px solid var(--ggt-border);
}

.ggt-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px;
	font-size: 14px;
}

.ggt-table th,
.ggt-table td {
	padding: 12px 8px;
	border-bottom: 1px solid var(--ggt-border);
	text-align: left;
}

.ggt-table th {
	font-weight: 600;
	color: var(--ggt-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ggt-table code {
	font-size: 12px;
	background: #f7f7f7;
	padding: 2px 6px;
	border-radius: 4px;
}

.ggt-portal__message {
	margin: 12px 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--ggt-border);
}

.ggt-portal__message-meta {
	font-size: 12px;
	color: var(--ggt-muted);
	margin-bottom: 6px;
}

.ggt-markdown pre {
	overflow: auto;
	padding: 12px;
	border-radius: var(--ggt-radius);
	background: #f7f7f7;
	border: 1px solid var(--ggt-border);
	font-size: 13px;
}

.ggt-markdown code {
	font-size: 13px;
	background: #f7f7f7;
	padding: 2px 5px;
	border-radius: 4px;
}

.ggt-footer {
	margin-top: 48px;
	padding: 24px 0;
	border-top: 1px solid var(--ggt-border);
	color: var(--ggt-muted);
	font-size: 13px;
}

@media (max-width: 720px) {
	.ggt-card {
		grid-column: span 12;
	}

	.ggt-hero h1 {
		font-size: 26px;
	}

	.ggt-product__screens {
		grid-template-columns: 1fr;
	}

	.ggt-nav {
		display: none;
	}

	.ggt-auth {
		width: 100%;
		justify-content: flex-start;
	}
}
