/* ============================================================
   Custom Shop — STANDALONE dark marketing page (Phase 4 of Divi removal).
   Loaded only on page-custom-shop.php. Dark (var(--wwg-ivory)) sections: video-bg hero,
   4 technique cards, "Signature Product Lines" video cards, portfolio, a grey
   "Signature Experience" carousel, and a "Begin the Journey" CTA with two
   wood-texture cards.
   ============================================================ */

.wwg-cshop { background: var(--wwg-ivory); color: var(--wwg-bone-xlight); overflow-x: hidden; }
.wwg-cshop *, .wwg-cshop *::before, .wwg-cshop *::after { box-sizing: border-box; }

.wwg-cshop-section { padding: 76px 24px; }
.wwg-cshop-inner { max-width: 1240px; margin: 0 auto; }
.wwg-cshop-h2 {
	font-family: var(--wwg-font-display);
	font-size: 54px;
	font-weight: 400;
	color: var(--wwg-bone-xlight);
	margin: 0 0 20px;
	line-height: 1.05;
}
.wwg-cshop-intro {
	font-family: var(--wwg-font-body);
	font-size: var(--wwg-text-md-size);
	font-weight: 400;
	line-height: var(--wwg-text-md-line);
	color: var(--wwg-bone-xlight);
	max-width: 640px;
	margin: 0 0 36px;
}
.wwg-cshop-center { text-align: center; margin-top: 48px; }

/* Buttons — solid cream (default) + outline cream. */
.wwg-cshop-btn {
	display: inline-block;
	font-family: var(--wwg-font-body);
	font-size: var(--wwg-btn-lg-size);
	font-weight: var(--wwg-btn-weight);
	line-height: var(--wwg-btn-lg-line);
	padding: 14px 56px;
	border-radius: 2px;
	text-decoration: none;
	background: var(--wwg-bone-xlight);
	color: var(--wwg-ivory);
	border: 2px solid var(--wwg-bone-xlight);
	transition: opacity .2s, background .2s, color .2s;
	cursor: pointer;
	letter-spacing: var(--wwg-btn-tracking);
}
.wwg-cshop-btn:hover { opacity: .85; color: var(--wwg-ivory); }
.wwg-cshop-btn--outline { background: transparent; color: var(--wwg-bone-xlight); }
.wwg-cshop-btn--outline:hover { background: var(--wwg-bone-xlight); color: var(--wwg-ivory); opacity: 1; }

/* ── Hero (looping video background) ── */
.wwg-cshop-hero {
	position: relative;
	min-height: 660px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
}
.wwg-cshop-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.wwg-cshop-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--wwg-ivory) 42%, transparent);
	z-index: 1;
}
.wwg-cshop-hero-inner { position: relative; z-index: 2; padding: 24px; }
.wwg-cshop-hero-title {
	font-family: var(--wwg-font-display);
	font-size: 75px;
	font-weight: 400;
	color: var(--wwg-bone-xlight);
	margin: 0 0 14px;
	line-height: 1;
}
.wwg-cshop-hero-sub {
	font-family: var(--wwg-font-display);
	font-size: var(--wwg-h5-size);
	font-weight: 400;
	color: var(--wwg-bone);
	margin: 0 0 32px;
	line-height: var(--wwg-h5-line);
	letter-spacing: var(--wwg-h5-tracking);
}

/* ── Techniques (4 image cards) ── */
.wwg-cshop-tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wwg-cshop-tech-card img { width: 100%; height: 190px; object-fit: cover; display: block; border-radius: 2px; }
.wwg-cshop-tech-card strong {
	display: block;
	font-family: var(--wwg-font-body);
	font-size: var(--wwg-text-lg-size);
	font-weight: 700;
	color: var(--wwg-bone-xlight);
	margin: 18px 0 8px;
	line-height: var(--wwg-text-lg-line);
}
.wwg-cshop-tech-card p {
	font-family: var(--wwg-font-body);
	font-size: var(--wwg-text-md-size);
	line-height: var(--wwg-text-md-line);
	color: var(--wwg-bone-xlight);
	margin: 0;
}

/* ── Signature Product Lines (video thumbnails → YouTube) ── */
.wwg-cshop-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wwg-cshop-video-label {
	font-family: var(--wwg-font-body);
	font-size: var(--wwg-text-sm-size);
	color: var(--wwg-pewter);
	margin: 0 0 8px;
	line-height: var(--wwg-text-sm-line);
}
.wwg-cshop-video-thumb {
	position: relative;
	display: block;
	border-radius: 3px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}
.wwg-cshop-video-thumb { cursor: pointer; }
.wwg-cshop-video-thumb:focus-visible { outline: 3px solid var(--wwg-bone); outline-offset: 3px; }
.wwg-cshop-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wwg-cshop-video-thumb::after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--wwg-ivory) 12%, transparent); }
/* once playing, the poster + play button are replaced by the iframe */
.wwg-cshop-video-thumb[data-playing]::after { display: none; }
.wwg-cshop-video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wwg-cshop-play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 62px;
	height: 62px;
	border-radius: 50%;
	border: 3px solid var(--wwg-bone-xlight);
	background: color-mix(in srgb, var(--wwg-ivory) 25%, transparent);
}
.wwg-cshop-play::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-left: 18px solid var(--wwg-bone-xlight);
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
}

/* ── Portfolio ── */
.wwg-cshop-portfolio-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wwg-cshop-portfolio-imgs img { width: 100%; height: auto; display: block; border-radius: 3px; }

/* ── The Signature Experience (grey, full-bleed, horizontal carousel) ── */
.wwg-cshop-experience { background: var(--wwg-iron); }
.wwg-cshop-carousel {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 6px;
	margin-top: 32px;
	scrollbar-width: none;
}
.wwg-cshop-carousel::-webkit-scrollbar { display: none; }
.wwg-cshop-carousel img {
	flex: 0 0 auto;
	width: min(780px, 86%);
	height: auto;
	aspect-ratio: 2650 / 1267; /* reserve space so lazy-load doesn't shift the snap */
	scroll-snap-align: start;
	border-radius: 4px;
}

/* Carousel dots */
.wwg-cshop-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.wwg-cshop-dot {
	width: 11px;
	height: 11px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wwg-bone-xlight) 35%, transparent);
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.wwg-cshop-dot:hover { background: color-mix(in srgb, var(--wwg-bone-xlight) 60%, transparent); }
.wwg-cshop-dot.is-active { background: var(--wwg-bone-xlight); transform: scale(1.15); }

/* ── Begin the Journey (CTA) ── */
.wwg-cshop-cta { text-align: center; }
.wwg-cshop-cta .wwg-cshop-intro { margin-left: auto; margin-right: auto; }
.wwg-cshop-cta-sub {
	font-family: var(--wwg-font-display);
	font-size: var(--wwg-h6-size);
	font-weight: 400;
	color: var(--wwg-bone);
	margin: 0 0 18px;
	line-height: var(--wwg-h6-line);
	letter-spacing: var(--wwg-h6-tracking);
}
.wwg-cshop-cta-sub em { font-style: italic; }
.wwg-cshop-cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.wwg-cshop-cta-card {
	background-size: cover;
	background-position: center;
	border-radius: 4px;
	padding: 60px 32px;
}
.wwg-cshop-cta-card h3 {
	font-family: var(--wwg-font-display);
	font-size: 40px;
	font-weight: 400;
	color: var(--wwg-bone-xlight);
	margin: 0 0 12px;
	line-height: 1.05;
}
.wwg-cshop-cta-card p {
	font-family: var(--wwg-font-body);
	font-size: var(--wwg-text-md-size);
	color: var(--wwg-bone-xlight);
	margin: 0 0 26px;
	line-height: var(--wwg-text-md-line);
}

@media (max-width: 980px) {
	.wwg-cshop-tech-grid { grid-template-columns: 1fr 1fr; }
	.wwg-cshop-video-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
	.wwg-cshop-portfolio-imgs { grid-template-columns: 1fr; }
	.wwg-cshop-cta-cards { grid-template-columns: 1fr; }
	.wwg-cshop-h2 { font-size: 38px; }
	.wwg-cshop-hero-title { font-size: 46px; }
	.wwg-cshop-btn { padding: 12px 40px; }
}
@media (max-width: 560px) {
	.wwg-cshop-tech-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ---- Mobile type (Figma "Typogrophy" Mobile mode) ---- */
@media (max-width: 767px) {
	.wwg-cshop-hero-sub { font-size: var(--wwg-h5-size-mobile); line-height: var(--wwg-h5-line-mobile); }
	.wwg-cshop-cta-sub { font-size: var(--wwg-h6-size-mobile); line-height: var(--wwg-h6-line-mobile); }
	.wwg-cshop-btn { font-size: var(--wwg-btn-lg-size-mobile); line-height: var(--wwg-btn-lg-line-mobile); }
	.wwg-cshop-tech-card strong { font-size: var(--wwg-text-lg-size-mobile); line-height: var(--wwg-text-lg-line-mobile); }
	.wwg-cshop-intro,
	.wwg-cshop-tech-card p,
	.wwg-cshop-cta-card p { font-size: var(--wwg-text-md-size-mobile); line-height: var(--wwg-text-md-line-mobile); }
	.wwg-cshop-video-label { font-size: var(--wwg-text-sm-size-mobile); line-height: var(--wwg-text-sm-line-mobile); }
}
