﻿/* ==========================================================================
   PRODUCT FAQS - accordion used on product pages (#pdfaqs) and on /faqs
   Colours / fonts follow screen.css + faq.css (dinroundmedi, #1b2939, #f99b05)
   ========================================================================== */

.pfaqwrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

#pdfaqs {
	padding-bottom: 60px;
}

#pdfaqs .ryetecblacktitle {
	padding-bottom: 20px;
}

/* ---- list ---- */

.pfaqlist {
	border-top: 1px solid #1b2939;
}

.pfaqitem {
	border-bottom: 1px solid #1b2939;
}

.pfaqquestion {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
}

.pfaqbtn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	margin: 0;
	padding: 26px 2%;
	background: transparent;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	text-align: left;
	font-family: dinroundmedi;
	font-size: 24px;
	line-height: 30px;
	font-weight: 100;
	letter-spacing: 1px;
	color: #1b2939;
	transition: color .3s ease, background-color .3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.pfaqbtn:hover,
.pfaqitem.open .pfaqbtn {
	color: #f99b05;
}

.pfaqbtn:focus {
	outline: none;
}

.pfaqbtn:focus-visible {
	outline: 2px solid #f99b05;
	outline-offset: -2px;
}

.pfaqicon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid currentColor;
	font-size: 16px;
	transition: transform .4s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}

.pfaqitem.open .pfaqicon {
	transform: rotate(180deg);
	background: #f99b05;
	border-color: #f99b05;
	color: #fff;
}

/* ---- answer (height animated by productfaq.js) ---- */

.pfaqanswer {
	overflow: hidden;
}

.pfaqanswerinner {
	padding: 0 2% 30px 2%;
	font-family: dinroundmedi;
	font-size: 19px;
	line-height: 28px;
	font-weight: 100;
	letter-spacing: .5px;
	color: #1b2939;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .4s ease, transform .4s ease;
}

.pfaqitem.open .pfaqanswerinner {
	opacity: 1;
	transform: translateY(0);
}

.pfaqanswerinner p {
	margin: 0 0 12px 0;
}

.pfaqanswerinner p:last-child {
	margin-bottom: 0;
}

.pfaqanswerinner ul {
	list-style: disc;
	padding-left: 22px;
	margin: 0 0 12px 0;
}

.pfaqanswerinner a {
	color: #f99b05;
	text-decoration: underline;
}

.pfaqbtnbar {
	margin-top: 40px;
}

.pfaqbtnbar a {
	padding: 14px 28px;
	font-size: 17px;
	line-height: 17px;
}

/* ==========================================================================
   GLOBAL /faqs PAGE
   ========================================================================== */

#faqspage {
	padding-bottom: 80px;
}

#faqspage .ryetecblacktitle {
	padding-bottom: 120px;
}

#faqsintro {
	max-width: 760px;
	margin: 0 auto 40px auto;
	padding: 0 20px;
	text-align: center;
	font-size: 19px;
	line-height: 26px;
	color: #1b2939;
}

#faqsintro a {
	color: #f99b05;
	text-decoration: underline;
}

/* product index (jump links) */

#faqsindex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	max-width: 1100px;
	margin: 0 auto 30px auto;
	padding: 0 20px;
}

#faqsindex a {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid #1b2939;
	border-radius: 22px;
	font-size: 15px;
	line-height: 15px;
	color: #1b2939;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

#faqsindex a:hover {
	background: #f99b05;
	border-color: #f99b05;
	color: #fff;
}

/* sections: general / by category / by product */

.faqssection {
	padding-top: 70px;
}

.faqssection:first-child {
	padding-top: 30px;
}

.faqssectiontitle {
	margin: 0;
	font-family: dinroundmedi;
	font-size: 34px;
	line-height: 40px;
	font-weight: 100;
	letter-spacing: 1px;
	color: #1b2939;
	text-align: center;
}

.faqssection > .pfaqlist {
	margin-top: 30px;
}

.faqssection > .faqsproduct:first-of-type {
	padding-top: 20px;
}

/* one block per category / product */

.faqsproduct {
	padding-top: 50px;
}

.faqsproducthead {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.faqsproductthumb {
	flex: 0 0 auto;
	display: block;
	width: 110px;
	height: 80px;
	background-color: #e3e3e3;
	background-position: center;
	background-size: cover;
	border-radius: 6px;
}

.faqsproducttitle {
	flex: 1 1 auto;
	margin: 0;
	font-family: dinroundmedi;
	font-size: 30px;
	line-height: 34px;
	font-weight: 100;
	letter-spacing: 1px;
	color: #1b2939;
}

.faqsproducttitle a {
	color: inherit;
	transition: color .3s ease;
}

.faqsproducttitle a:hover {
	color: #f99b05;
}

.faqsproductlink {
	flex: 0 0 auto;
}

.faqsproductlink a {
	margin: 0;
	padding: 12px 24px;
	font-size: 15px;
	line-height: 15px;
}

#faqsempty {
	text-align: center;
	font-size: 19px;
	color: #1b2939;
	padding: 20px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media screen and (max-width:768px) {

	.pfaqbtn {
		font-size: 20px;
		line-height: 26px;
		padding: 20px 0;
		gap: 15px;
	}

	.faqssectiontitle {
		font-size: 28px;
		line-height: 32px;
	}

	.pfaqanswerinner {
		padding: 0 0 24px 0;
		font-size: 17px;
		line-height: 25px;
	}

	.pfaqicon {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.faqsproducthead {
		flex-wrap: wrap;
		gap: 15px;
	}

	.faqsproductthumb {
		width: 80px;
		height: 60px;
	}

	.faqsproducttitle {
		flex: 1 1 calc(100% - 95px);
		font-size: 24px;
		line-height: 28px;
	}

	.faqsproductlink {
		width: 100%;
	}

	.faqsproductlink a {
		margin: 0;
	}
}

@media (prefers-reduced-motion: reduce) {

	.pfaqbtn, .pfaqicon, .pfaqanswerinner {
		transition: none;
	}
}
