/*
 * Theme Name:  Authentic Child
 * Theme URI:   https://codesupply.co/themes/authentic/
 * Description: Authentic Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    authentic
 * Version:     1.0.0
 */

:root {
	--pm-black: #111111;
	--pm-dark: #222222;
	--pm-mid: #666666;
	--pm-light: #8e8e8e;
	--pm-soft: #f7f7f7;
	--pm-soft-2: #fafafa;
	--pm-white: #ffffff;
	--pm-border: rgba(0,0,0,.08);
}

.pm-product-page {
	max-width: 1380px;
	margin: 42px auto 72px;
	padding: 0 28px;
	color: var(--pm-dark);
}

.pm-product-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
	gap: 56px;
	align-items: start;
}

.pm-product-media,
.pm-product-info {
	min-width: 0;
}

/* IMAGE AREA */

.pm-product-main-image {
	margin-bottom: 12px;
	overflow: hidden;
	background: transparent;
}

.pm-product-main-image a,
.pm-product-main-image img,
.pm-gallery-thumb a,
.pm-gallery-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.pm-product-main-image img {
	transition: transform .45s ease, opacity .25s ease, filter .25s ease;
	cursor: zoom-in;
}

.pm-product-main-image a:hover img {
	transform: scale(1.014);
	opacity: .99;
	filter: brightness(1.01);
}

.pm-product-gallery-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.pm-gallery-thumb {
	overflow: hidden;
	background: transparent;
}

.pm-gallery-thumb img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	transition: transform .3s ease, opacity .25s ease, filter .25s ease;
	cursor: zoom-in;
}

.pm-gallery-thumb a:hover img {
	transform: scale(1.03);
	opacity: .97;
	filter: brightness(1.01);
}

/* RIGHT COLUMN */

.pm-product-info > * {
	margin-bottom: 18px;
}

.pm-product-title {
	font-size: 48px;
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-weight: 700;
	margin: 0 0 24px;
	color: var(--pm-black);
}

.pm-product-description {
	font-size: 16px;
	line-height: 1.85;
	color: #444444;
	margin: 0 0 18px;
}

.pm-product-description p:last-child {
	margin-bottom: 0;
}

.pm-product-description p:first-child {
	color: #333333;
}

/* BRAND */

.pm-product-brand-row {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
}

.pm-product-brand-label {
	color: var(--pm-black);
	font-weight: 500;
	margin-right: 4px;
}

.pm-inline-brand-link {
	color: #777777;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}

.pm-inline-brand-link:hover {
	color: var(--pm-black);
	border-color: var(--pm-black);
}

/* STICKY WRAP */

.pm-product-sticky-wrap {
	position: sticky;
	top: 24px;
}

/* CTA */

.pm-product-cta-wrap {
	margin: 0 0 24px;
}

.pm-product-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 60px;
	padding: 0 20px;
	background: #111111 !important;
	color: #ffffff !important;
	text-decoration: none !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: none;
	border-radius: 0;
	transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 0 0 rgba(0,0,0,0);
}

.pm-product-cta:hover,
.pm-product-cta:focus {
	background: #111111 !important;
	color: #ffffff !important;
	text-decoration: none !important;
	opacity: .95;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.pm-product-note {
	font-size: 12px;
	line-height: 1.5;
	color: var(--pm-light);
	margin-top: 10px;
}

/* TRUST BADGES */

.pm-product-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 28px;
	margin-top: 14px;
	padding-top: 2px;
	font-size: 13px;
	color: #555555;
}

.pm-product-trust span {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

/* SPECS */

.pm-product-specs-card {
	background: var(--pm-soft);
	padding: 24px 22px 14px;
	margin-top: 0;
}

.pm-section-title {
	font-size: 18px;
	line-height: 1.2;
	font-weight: 600;
	margin: 0 0 16px;
	color: var(--pm-black);
}

.pm-spec-grid {
	display: block;
}

.pm-spec-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 18px;
	padding: 11px 0;
	border-bottom: 1px solid var(--pm-border);
	font-size: 14px;
}

.pm-spec-label {
	color: var(--pm-mid);
}

.pm-spec-value {
	color: var(--pm-black);
	font-weight: 500;
	text-align: right;
}

/* DESKTOP POLISH */

@media (min-width: 1101px) {
	.pm-product-info {
		padding-top: 4px;
	}
}

/* MOBILE */

@media (max-width: 1100px) {
	.pm-product-hero {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.pm-product-title {
		font-size: 36px;
	}

	.pm-product-sticky-wrap {
		position: static;
		top: auto;
	}
}

@media (max-width: 680px) {
	.pm-product-page {
		padding: 0 16px;
		margin: 28px auto 42px;
	}

	.pm-product-title {
		font-size: 28px;
	}

	.pm-product-gallery-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.pm-product-trust {
		flex-direction: column;
		gap: 8px;
	}
}