/*
 Theme Name: Woodmart Child
 Template: woodmart
*/

/* =============================================
   FAQ Layout — Sidebar izquierda + contenido
   ============================================= */

/* Grid: sidebar left, content right */
.gt-faq-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	align-items: start;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0 0;
}
.gt-faq-layout .gt-faq-sidebar-toggle { display: none !important; }
.gt-faq-layout .gt-faq-sidebar { grid-column: 1; align-self: start; }
.gt-faq-layout .gt-faq-content  { grid-column: 2; }

/* Sidebar container */
.gt-faq-sidebar {
	position: static;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.05);
	align-self: start;
}

/* Sidebar header */
.gt-faq-sidebar-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	background: #242424;
	color: #fff;
}
.gt-faq-sidebar-header span {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: #fff;
}

/* Back link */
.gt-faq-sidebar-back {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: #888;
	text-decoration: none;
	margin: 10px 12px 2px;
	padding: 6px 8px;
	border-radius: 6px;
	transition: background .15s, color .15s;
}
.gt-faq-sidebar-back:hover {
	background: #f5f5f5;
	color: #333;
}

/* Search */
.gt-faq-sidebar-search {
	position: relative;
	margin: 12px 14px 4px;
}
.gt-faq-search-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #686868;
	display: flex;
}
.gt-faq-search-input {
	width: 100%;
	padding: 10px 38px 10px 14px;
	border: 2px solid #d5d5d5;
	border-radius: 35px;
	font-size: 13px;
	color: #333;
	background: #f7f7f7;
	transition: border-color .18s, background .18s;
	box-sizing: border-box;
}
.gt-faq-search-input:focus {
	outline: 0;
	border-color: #686868;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(104,104,104,.1);
}
.gt-faq-search-input::placeholder { color: #a5a5a5; }

/* Search results dropdown */
.gt-faq-search-results {
	position: absolute;
	top: calc(100% + 4px);
	left: 0; right: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,.1);
	z-index: 9999;
	max-height: 360px;
	overflow-y: auto;
}
.gt-faq-search-result {
	display: block;
	padding: 12px 14px;
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid #f0f0f0;
	transition: background .12s;
}
.gt-faq-search-result:last-child { border-bottom: none; }
.gt-faq-search-result:hover { background: #f5f5f5; }
.gt-faq-search-result-cat {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #686868;
	margin-bottom: 2px;
}
.gt-faq-search-result-title {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: #242424;
	margin-bottom: 3px;
	line-height: 1.3;
}
.gt-faq-search-result-excerpt {
	display: block;
	font-size: 12px;
	color: #888;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@keyframes gt-faq-spin { to { transform: rotate(360deg); } }
.gt-faq-search-loading,
.gt-faq-search-empty {
	padding: 14px;
	font-size: 13px;
	color: #a5a5a5;
	text-align: center;
}
.gt-faq-search-loading::before {
	content: "";
	display: inline-block;
	width: 14px; height: 14px;
	border: 2px solid #ddd;
	border-top-color: #686868;
	border-radius: 50%;
	animation: gt-faq-spin .6s linear infinite;
	margin-right: 8px;
	vertical-align: middle;
}

/* Category navigation */
.gt-faq-sidebar-nav { padding: 4px 0 8px; }
.gt-faq-sidebar-cat { border-bottom: 1px solid #f0f0f0; }
.gt-faq-sidebar-cat:last-child { border-bottom: none; }

.gt-faq-sidebar-cat summary {
	display: flex;
	align-items: center;
	padding: 9px 18px;
	cursor: pointer;
	list-style: none;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	transition: background .12s, color .12s;
}
.gt-faq-sidebar-cat summary::-webkit-details-marker { display: none; }
.gt-faq-sidebar-cat summary::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	border-right: 2px solid #a5a5a5;
	border-bottom: 2px solid #a5a5a5;
	transform: rotate(-45deg);
	margin-left: auto;
	flex-shrink: 0;
	transition: transform .2s;
}
.gt-faq-sidebar-cat[open] summary::after { transform: rotate(45deg); }
.gt-faq-sidebar-cat summary:hover { color: #242424; background: #f5f5f5; }

.gt-faq-cat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px; height: 26px;
	margin-right: 8px;
	flex-shrink: 0;
	color: #686868;
	opacity: .5;
	transition: opacity .12s;
}
.gt-faq-sidebar-cat summary:hover .gt-faq-cat-icon,
.gt-faq-sidebar-cat[open] .gt-faq-cat-icon { opacity: .9; }

.gt-faq-cat-label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.gt-faq-cat-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px; height: 18px;
	padding: 0 6px;
	background: #f0f0f0;
	border-radius: 10px;
	font-size: 10.5px;
	font-weight: 700;
	color: #686868;
	margin-right: 8px;
	flex-shrink: 0;
}

/* Category links */
.gt-faq-sidebar-links {
	list-style: none;
	margin: 0 0 4px;
	padding: 0 0 0 34px;
}
.gt-faq-sidebar-links li { margin-bottom: 1px; }
.gt-faq-sidebar-links a {
	display: block;
	padding: 6px 14px 6px 8px;
	font-size: 12.5px;
	text-decoration: none;
	color: #555;
	border-right: 3px solid transparent;
	line-height: 1.35;
	transition: background .12s, color .12s;
}
.gt-faq-sidebar-links a:hover {
	color: #242424;
	background: #f5f5f5;
}
.gt-faq-sidebar-links li.active a {
	color: #242424;
	font-weight: 600;
	background: #f0f0f0;
	border-right-color: #686868;
}

/* Sidebar widgets */
.gt-faq-widget {
	margin: 0;
	padding: 14px 18px 16px;
	border-top: 1px solid #e8e8e8;
	background: #fafafa;
}
.gt-faq-widget-email {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #333;
	text-decoration: none;
	margin-bottom: 4px;
}
.gt-faq-widget-email:hover { color: #242424; }
.gt-faq-widget-hours {
	font-size: 11.5px;
	color: #a5a5a5;
	line-height: 1.5;
	margin: 0;
}
.gt-faq-widget-budget {
	background: #f0f0f0;
	text-align: center;
	border-top: none;
}
.gt-faq-widget-budget p {
	margin: 0 0 10px;
	font-size: 13px;
	color: #333;
	line-height: 1.4;
}
.gt-faq-widget-btn {
	display: inline-block;
	padding: 8px 20px;
	background: #242424;
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	border-radius: 35px;
	text-decoration: none;
	transition: background .2s;
}
.gt-faq-widget-btn:hover { background: #686868; }
.gt-faq-widget-brands-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #a5a5a5;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 10px;
}
.gt-faq-widget-brands-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
}
.gt-faq-brand-tag {
	display: inline-block;
	padding: 3px 9px;
	background: #e8e8e8;
	border-radius: 20px;
	font-size: 11px;
	color: #333;
	font-weight: 500;
	line-height: 1.4;
}
a.gt-faq-brand-more {
	display: block;
	text-align: center;
	margin-top: 8px;
	font-size: 11.5px;
	color: #333;
	text-decoration: none;
	font-weight: 600;
}
a.gt-faq-brand-more:hover { text-decoration: underline; }

/* =============================================
   FAQ Content area
   ============================================= */
.gt-faq-content {
	min-width: 0;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 28px 32px 32px;
	box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

/* Subpage header bar */
.gt-faq-subpage-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px 0 18px;
	margin-bottom: 4px;
	border-bottom: 2px solid #e8e8e8;
}
.gt-faq-subpage-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	background: #f0f0f0;
	color: #686868;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	border-radius: 35px;
}
.gt-faq-subpage-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}
.gt-faq-subpage-count {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: #a5a5a5;
}
.gt-faq-subpage-count svg { flex-shrink: 0; }

/* =============================================
   FAQ Portada (landing /ayuda/)
   ============================================= */
.gt-faq-portada {
	position: relative;
	background: linear-gradient(135deg, #333 0%, #242424 50%, #1a1a1a 100%);
	padding: 60px 40px;
	text-align: center;
	border-radius: 14px;
	margin-bottom: 28px;
	overflow: hidden;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.gt-faq-portada-inner {
	position: relative;
	z-index: 2;
}
.gt-faq-portada-eyebrow {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: #ffffff;
	opacity: .6;
	margin: 0 0 12px;
}
.gt-faq-portada-title {
	color: #ffffff;
	font-size: 2.4em;
	font-weight: 800;
	margin: 0 0 16px;
	letter-spacing: -.5px;
	text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.gt-faq-portada-lead {
	color: #ffffff;
	opacity: .85;
	font-size: 1.1em;
	margin: 0 auto 30px;
	max-width: 520px;
	line-height: 1.7;
}
.gt-faq-portada-stats {
	display: flex;
	gap: 48px;
	justify-content: center;
}
.gt-faq-portada-stat { text-align: center; }
.gt-faq-stat-num {
	display: block;
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.gt-faq-stat-label {
	display: block;
	font-size: 11px;
	color: #fff;
	opacity: .5;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 2px;
}

/* Floating t-shirt animations */
.gt-faq-tshirts {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}
.gt-faq-tshirt {
	position: absolute;
	color: rgba(255,255,255,.07);
	display: block;
}
.gt-faq-tshirt svg {
	width: 100%;
	height: 100%;
}

/* 8 camisetas con posiciones, tamaños y animaciones variadas */
.gt-faq-tshirt-1 { width: 48px; top: 10%; left: 5%;  animation: gtFaqFloat1 8s ease-in-out infinite; transform: rotate(-15deg); }
.gt-faq-tshirt-2 { width: 36px; top: 55%; left: 12%; animation: gtFaqFloat2 10s ease-in-out infinite 1s; transform: rotate(20deg); }
.gt-faq-tshirt-3 { width: 56px; top: 15%; right: 8%; animation: gtFaqFloat3 9s ease-in-out infinite .5s; transform: rotate(10deg); color: rgba(255,255,255,.06); }
.gt-faq-tshirt-4 { width: 32px; top: 65%; right: 15%; animation: gtFaqFloat1 11s ease-in-out infinite 2s; transform: rotate(-25deg); }
.gt-faq-tshirt-5 { width: 42px; top: 30%; left: 20%; animation: gtFaqFloat2 7s ease-in-out infinite 3s; transform: rotate(5deg); color: rgba(255,255,255,.05); }
.gt-faq-tshirt-6 { width: 28px; top: 70%; right: 5%; animation: gtFaqFloat3 12s ease-in-out infinite 1.5s; transform: rotate(30deg); }
.gt-faq-tshirt-7 { width: 52px; top: 5%;  right: 25%; animation: gtFaqFloat1 10s ease-in-out infinite 4s; transform: rotate(-8deg); color: rgba(255,255,255,.05); }
.gt-faq-tshirt-8 { width: 38px; top: 50%; left: 2%;  animation: gtFaqFloat2 9s ease-in-out infinite 2.5s; transform: rotate(18deg); color: rgba(255,255,255,.05); }

@keyframes gtFaqFloat1 {
	0%, 100% { transform: translateY(0) rotate(-15deg); }
	25%      { transform: translateY(-12px) rotate(-10deg); }
	50%      { transform: translateY(-6px) rotate(-20deg); }
	75%      { transform: translateY(-16px) rotate(-12deg); }
}
@keyframes gtFaqFloat2 {
	0%, 100% { transform: translateY(0) rotate(20deg); }
	30%      { transform: translateY(-18px) rotate(12deg); }
	60%      { transform: translateY(-8px) rotate(25deg); }
}
@keyframes gtFaqFloat3 {
	0%, 100% { transform: translateY(0) translateX(0) rotate(10deg); }
	33%      { transform: translateY(-14px) translateX(8px) rotate(5deg); }
	66%      { transform: translateY(-6px) translateX(-6px) rotate(15deg); }
}

/* Category cards on landing */
.gt-faq-portada-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 32px;
}
.gt-faq-portada-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 24px 22px;
	transition: box-shadow .25s, transform .25s;
}
.gt-faq-portada-card:hover {
	box-shadow: 0 6px 20px rgba(0,0,0,.07);
	transform: translateY(-2px);
}
.gt-faq-portada-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}
.gt-faq-portada-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	background: #f0f0f0;
	border-radius: 8px;
	color: #686868;
	flex-shrink: 0;
}
.gt-faq-portada-card-header h3 {
	font-size: 15px;
	font-weight: 700;
	color: #242424;
	margin: 0;
	flex: 1;
}
.gt-faq-portada-card-badge {
	font-size: 10px;
	font-weight: 600;
	color: #a5a5a5;
	white-space: nowrap;
}
.gt-faq-portada-card-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.gt-faq-portada-card-links li {
	padding: 5px 0;
	border-bottom: 1px solid #f5f5f5;
}
.gt-faq-portada-card-links li:last-child { border-bottom: none; }
.gt-faq-portada-card-links a {
	color: #555;
	text-decoration: none;
	font-size: 13.5px;
	line-height: 1.5;
	transition: color .15s;
}
.gt-faq-portada-card-links a:hover { color: #242424; }

/* Contact CTA on landing */
.gt-faq-portada-contact {
	background: #f5f5f5;
	border-radius: 12px;
	padding: 36px;
	text-align: center;
}
.gt-faq-portada-contact h3 {
	color: #242424;
	font-size: 1.2em;
	margin: 0 0 8px;
}
.gt-faq-portada-contact p {
	color: #888;
	margin: 0 0 18px;
	font-size: 14px;
}
.gt-faq-portada-btn {
	display: inline-block;
	background: #242424;
	color: #fff !important;
	padding: 11px 28px;
	border-radius: 35px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background .2s;
}
.gt-faq-portada-btn:hover { background: #686868; }

/* =============================================
   FAQ subpage content styling
   ============================================= */
.gt-faq-content h2 {
	font-size: 1.5em;
	color: #242424;
	margin: 24px 0 12px;
}
.gt-faq-content h3 {
	font-size: 1.15em;
	color: #333;
	margin: 20px 0 10px;
}
.gt-faq-content p {
	color: #555;
	line-height: 1.7;
	margin: 0 0 14px;
}
.gt-faq-content ul,
.gt-faq-content ol {
	color: #555;
	line-height: 1.7;
	padding-left: 24px;
	margin: 0 0 16px;
}
.gt-faq-content li { margin-bottom: 6px; }
.gt-faq-content strong { color: #242424; }

/* Catalog cards grid */
.gt-faq-catalogos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 22px;
	margin: 24px 0 32px;
}
.gt-faq-catalogo-card {
	background: #fafafa;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow .25s, transform .25s;
}
.gt-faq-catalogo-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
	transform: translateY(-3px);
}
.gt-faq-catalogo-card img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 3/4;
	object-fit: cover;
	border-bottom: 1px solid #e0e0e0;
}
.gt-faq-catalogo-info {
	padding: 18px 16px 20px;
}
.gt-faq-catalogo-info h3 {
	font-size: 16px;
	font-weight: 700;
	color: #242424;
	margin: 0 0 8px;
}
.gt-faq-catalogo-info p {
	font-size: 13px;
	color: #888;
	line-height: 1.5;
	margin: 0 0 14px;
}
.gt-faq-catalogo-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	background: #242424;
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	border-radius: 35px;
	text-decoration: none;
	transition: background .2s;
}
.gt-faq-catalogo-btn:hover { background: #686868; }
.gt-faq-catalogo-btn svg { flex-shrink: 0; }

/* =============================================
   Mobile responsive (< 992px)
   ============================================= */
@media (max-width: 991px) {
	.gt-faq-layout {
		display: block;
		padding: 10px 0 30px;
	}
	.gt-faq-sidebar-toggle {
		display: flex !important;
		align-items: center;
		gap: 8px;
		background: #242424;
		color: #fff;
		border: 0;
		padding: 10px 18px;
		border-radius: 35px;
		font-size: 13.5px;
		font-weight: 600;
		cursor: pointer;
		margin-bottom: 18px;
		width: fit-content;
		transition: background .15s;
	}
	.gt-faq-sidebar-toggle:hover { background: #686868; }
	.gt-faq-sidebar {
		display: none;
		margin-bottom: 20px;
		border-radius: 8px;
	}
	.gt-faq-content {
		padding: 20px 18px 24px;
	}
	.gt-faq-sidebar.is-open { display: block; }

	.gt-faq-portada-cards {
		grid-template-columns: 1fr;
	}
	.gt-faq-portada {
		padding: 36px 20px;
	}
	.gt-faq-portada-title {
		font-size: 1.5em;
	}
	.gt-faq-tshirt-5,
	.gt-faq-tshirt-7 { display: none; }
	.gt-faq-catalogos-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}
