/* Four Amigos Treat Finder
 * Front-end presentation layer only.
 * Functional quiz/matching logic remains unchanged.
 */
.tftf-quiz {
	--tftf-green: #173016;
	--tftf-green-deep: #0f2c1a;
	--tftf-gold: #C18C21;
	--tftf-gold-light: #e4c77f;
	--tftf-cream: #f8f3e7;
	--tftf-paper: #fffdf8;
	--tftf-ink: #000000;
	--tftf-muted: #6f756b;
	--tftf-border: rgba(23, 58, 37, .14);
	--tftf-shadow: 0 14px 50px rgba(25, 46, 31, .13);

	position: relative;
	width: 100%;
	max-width: 1240px;
	margin: 0px auto;
	padding: 0 0px;
	color: var(--tftf-ink);
	font-family: inherit;
	box-sizing: border-box;
}

.tftf-quiz *,
.tftf-quiz *::before,
.tftf-quiz *::after {
	box-sizing: border-box;
}

.tftf-shell {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"header progress"
		"selections selections"
		"content content"
		"footer footer";
	border: 1px solid rgba(234,191,108, 1);
	border-radius: 30px;
	background: linear-gradient(120.281deg, #FEFCF6 40%, #F7F0DF 100%);
	box-shadow: 0 14px 50px rgba(25, 46, 31, .13);
}

.tftf-decor {
	position: absolute;
	z-index: 0;
	width: calc(100% + 2px);
	color: var(--tftf-gold);
	opacity: 1;
	pointer-events: none;
}

.tftf-decor svg {
	width: 100%;
	height: auto;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
}

.tftf-decor .tftf-decor-paw,
.tftf-decor .tftf-decor-bone {
	stroke: none;
	fill: currentColor;
}

.tftf-decor-top {
	right: -6px;
	bottom: -4px;
	transform: scaleX(-1);
}

.tftf-decor-bottom {
	left: -1px;
	bottom: -1px;
}

.tftf-header,
.tftf-progress-wrap,
.tftf-selections,
.tftf-content,
.tftf-trust-footer {
	position: relative;
	z-index: 1;
}

.tftf-header {
	grid-area: header;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 24px 20px 24px 40px;
}

.tftf-brand-mark {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(199, 154, 59, .55);
	border-radius: 50%;
	background: rgba(199, 154, 59, .08);
	color: var(--tftf-gold);
}

.tftf-paw {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
}

.tftf-paw svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.tftf-header-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tftf-eyebrow {
	color: var(--tftf-green);
	font-family: "PT Serif", Arial, Helvetica, sans-serif;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tftf-question-kicker,
.tftf-results-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--tftf-gold);
}

.tftf-header-subtitle {
	font-size: 13px;
	color: var(--tftf-muted);
	white-space: nowrap;
}

/* ---- Progress: numbered steps sit beside the header on desktop ---- */

.tftf-progress-wrap {
	grid-area: progress;
	align-self: center;
	max-width: 100%;
	margin: 0;
	padding: 18px 40px 18px 12px;
}

.tftf-progress-meta {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tftf-progress {
	position: relative;
	min-height: auto;
}

.tftf-progress-track {
	display: none;
}

.tftf-progress-steps {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	max-width: 620px;
	margin-left: auto;
}

.tftf-step-dot {
	position: relative;
	z-index: 1;
	width: 32px;
	height: 32px;
	min-height: auto !important;
	flex: 0 0 32px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1.5px solid rgba(23, 58, 37, .18);
	border-radius: 50%;
	background: var(--tftf-paper);
	color: var(--tftf-green);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	transition: .25s ease;
}

.tftf-step-dot.is-active {
	border-color: var(--tftf-gold);
	background: var(--tftf-gold);
	color: #fff;
	box-shadow: 0 0 0 4px rgba(193, 140, 33, .1);
}

.tftf-step-dot.is-done {
	border-color: rgba(23, 48, 22, .18);
	background: var(--tftf-green);
	color: #fff;
}

.tftf-step-dot-clickable {
	cursor: pointer;
}

.tftf-step-dot-clickable:hover {
	border-color: var(--tftf-gold);
	box-shadow: 0 0 0 4px rgba(199, 154, 59, .14);
}

.tftf-step-line {
	display: block;
	flex: 1 1 auto;
	min-width: 24px;
	height: 2px;
	background: rgba(23, 58, 37, .14);
}

.tftf-step-line.is-done {
	background: var(--tftf-gold);
}

.tftf-selections {
	grid-area: selections;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0 40px;
}

.tftf-selections:not(:empty) {
	padding-top: 15px;
	padding-bottom: 5px;
}

.tftf-selection-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px 7px 14px;
	border: 1px solid rgba(199, 154, 59, .30);
	border-radius: 100px;
	background: rgba(255, 255, 255, .65);
	color: var(--tftf-green);
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	cursor: pointer;
	transition: .2s ease;
}

.tftf-selection-pill:hover {
	border-color: var(--tftf-gold);
	background: #fff;
}

.tftf-selection-pill svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	opacity: .65;
}

.tftf-content {
	grid-area: content;
	max-width: 1080px;
	width: 100%;
	margin: 0 auto;
	padding: 38px 40px 80px;
}

.tftf-step {
	text-align: center;
}

.tftf-question-intro {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 0 auto 10px;
}

.tftf-question-rule {
	width: 40px;
	height: 1px;
	background: var(--tftf-gold);
	opacity: .65;
}

.tftf-question-label {
	max-width: 780px;
	margin: 0 auto;
	color: var(--tftf-green);
	font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
	font-size: var( --e-global-typography-primary-font-size );
	font-weight: 700;
	line-height: var( --e-global-typography-primary-line-height );
}

.tftf-question-help {
	margin: 12px auto 30px;
	color: var(--tftf-muted);
	font-size: 14px;
}

.tftf-answers {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	max-width: 1000px;
	margin: 0 auto;
	padding-top: 35px;
}

.tftf-answer-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 620px;
}

.tftf-answer-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
/* 	max-width: 820px; */
}

.tftf-answer {
	position: relative;
	min-height: 235px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
	padding: 22px 15px 20px;
	border: 1px solid #D2C5B0;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 30%) 40%, #FFFFFF 100%) !important;
	color: var(--tftf-ink);
	font: inherit;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 5px 18px rgba(23, 58, 37, .035);
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.tftf-answer:hover {
	transform: translateY(-4px);
	border-color: rgba(199, 154, 59, .55);
	box-shadow: 0 13px 30px rgba(23, 58, 37, .09);
}

.tftf-answer.is-selected {
	border: 2px solid var(--tftf-gold);
	background: var(--tftf-paper);
	box-shadow: 0 12px 30px rgba(199, 154, 59, .16);
}
.tftf-step-2 .tftf-answer{
	min-height: 260px;
}
.tftf-step-3 .tftf-answer{
	min-height: 220px;
	padding: 30px 15px 25px;
}

.tftf-answer-icon {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 0.92;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 14px;
	background: radial-gradient(120% 90% at 50% 100%, #efe4c8 0%, #f6efdc 62%, transparent 63%), var(--tftf-paper);
	color: var(--tftf-gold);
}

.tftf-answer-icon svg {
	position: relative;
	z-index: 1;
	width: 56%;
	height: 56%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: .8;
}

.tftf-answer-icon img {
	position: relative;
	z-index: 1;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.tftf-answer-icon.has-image {
	background: transparent !important;
	text-align: center;
	aspect-ratio: unset !important;
	border-radius: 0px !important;
	justify-content: center;
    align-items: flex-end;
}

.tftf-step-1 .tftf-answer-icon.has-image{
	min-height: 148px;
}
.tftf-step-2 .tftf-answer-icon.has-image{
	min-height: 158px;
}
.tftf-step-3 .tftf-answer-icon.has-image{
	min-height: 117px;
}

.tftf-answer-icon .dashicons {
	position: relative;
	z-index: 1;
	font-size: 46px;
	width: 46px;
	height: 46px;
	line-height: 46px;
	opacity: .8;
}

.tftf-custom-icon-text {
	position: relative;
	z-index: 1;
	font-size: 40px;
	line-height: 1;
}

.tftf-answer-copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 16px;
}

.tftf-answer-copy strong {
	color: var(--tftf-green);
	font-family: "PT Serif", Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 700;
}
.tftf-step-1 .tftf-answer-copy strong{
	font-size: 20px;
}

.tftf-answer-copy small {
	color: var(--tftf-muted);
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
}

.tftf-answer-check {
	position: absolute;
	top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
	display: grid;
	place-items: center;
	border: none;
	border-radius: 50%;
	background: var(--tftf-gold);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	opacity: 0;
	transform: scale(.7);
	box-shadow: 0 4px 10px rgba(199, 154, 59, .35);
	transition: .2s ease;
}

.tftf-answer.is-selected .tftf-answer-check {
	opacity: 1;
	transform: scale(1);
}

.tftf-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	max-width: 1000px;
	margin: 0 auto;
	padding-top: 40px;
}

button.sz-pbtn,button.sz-sbtn {
	padding: 15px 30px !important;
    background-color: #C18C21 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.22em;
    border-radius: 60px !important;
    /* border: 1px solid #C18C21; */
    border: none !important;
    text-transform: uppercase !important;
    transition: all 0.4s ease;
    min-height: auto;
    position: relative;
    overflow: hidden;
}
button.sz-pbtn:hover{
	background-color: #362513 !important;
    border-color: #362513 !important;
    color: #ffffff !important;
}
button.sz-sbtn{
	background-color: #362513 !important;
    border-color: #362513 !important;
    color: #ffffff !important;
}
button.sz-sbtn:hover{
	background-color: #C18C21 !important;
    border-color: #C18C21 !important;
    color: #ffffff !important;
}

button.sz-pbtn:before,button.sz-sbtn:before{
	content: "";
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 102%;
    z-index: 0;
    display: block !important;
    background-color: #C18C21 !important;
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    border-radius: 0px !important;
    opacity: 1;
    transition: transform 0.7s cubic-bezier(0.3, 1, 0.8, 1);
}
button.sz-sbtn:before{
	background-color: #362513 !important;
}
button.sz-pbtn span,button.sz-sbtn span{
	position: relative;
    z-index: 10;
    transition: color 0.4s;
}
button.sz-pbtn:hover:before,button.sz-sbtn:hover:before{
	transform: translate3d(100%, 0, 0);
}

.tftf-nav-spacer {
	min-width: 100px;
}

.tftf-back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--tftf-green);
}

.tftf-back:hover {
	border-color: var(--tftf-gold);
	background: rgba(199, 154, 59, .06);
}

.tftf-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #fff;
/* 	box-shadow: 0 9px 22px rgba(23, 58, 37, .16); */
}

/* .tftf-next:hover:not(:disabled) {
	transform: translateY(-2px);
	background: var(--tftf-green-deep);
	box-shadow: 0 13px 28px rgba(23, 58, 37, .20);
} */

.tftf-next:disabled {
	opacity: .38 !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
}
.tftf-next:disabled span{
	cursor: not-allowed !important;
}

.tftf-arrow {
	font-size: 16px;
/* 	line-height: 7px;
	padding-bottom: 2px; */
	line-height: 0px;
}
.tftf-nav .tftf-arrow:before {
    content: "\f120";
    font-family: "woodmart-font";
    font-weight: 400;
}

.tftf-nav .tftf-back .tftf-arrow:before{
	content: "\f121";
}

.tftf-loading,
.tftf-error {
	min-height: 260px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--tftf-muted);
}

.tftf-spinner {
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	border: 2px solid rgba(199, 154, 59, .22);
	border-top-color: var(--tftf-gold);
	border-radius: 50%;
	animation: tftf-spin .8s linear infinite;
}

@keyframes tftf-spin {
	to { transform: rotate(360deg); }
}

.tftf-results {
	text-align: center;
}

.tftf-results-head {
	max-width: 820px;
	margin: 0 auto 30px;
}

.tftf-results-heading {
	margin: 8px auto 0;
	color: var(--tftf-green);
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    line-height: var(--e-global-typography-primary-line-height);
}

.tftf-results-intro {
	color: var(--tftf-muted);
}

.tftf-results-intro a {
	color: var(--tftf-gold);
	font-weight: 700;
}

.tftf-results-products {
	text-align: left;
}

.tftf-quiz .wd-products.wd-grid-g {
	--wd-gap-sm: 30px !important;
}

.tftf-quiz .wd-products {
	background: transparent !important;
}

.tftf-retake {
	margin-top: 40px;
	text-align: center;
}

.tftf-retake-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--tftf-green);
	border-radius: 999px;
	background: transparent;
	color: var(--tftf-green);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: .2s ease;
	gap: 10px;
}
.tftf-error .tftf-retake-btn.sz-sbtn{
	padding: 12px 22px !important;
	font-size: 12px !important;
}

.tftf-retake-btn:hover {
	background: var(--tftf-green);
	color: #fff;
}

.tftf-retake-btn svg{
	fill: #fff;
	width: 18px;
    height: auto;
}
.tftf-retake-btn .tftf-icon{
	display: inline-flex;
	margin-top: -2px;
}

/* ---- Trust footer ---- */

.tftf-trust-footer {
	grid-area: footer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 22px;
	padding: 22px 30px;
	border-top: 1px solid rgba(23, 58, 37, .08);
}

.tftf-trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tftf-trust-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 50%;
	border: 1px solid rgba(199, 154, 59, .45);
	color: var(--tftf-gold);
}

.tftf-trust-icon svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.tftf-trust-icon-plain {
	border: none;
	width: auto;
	height: auto;
	flex-basis: auto;
}

.tftf-trust-icon-plain svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tftf-trust-text {
	color: var(--tftf-green);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
}

.tftf-trust-divider {
	width: 1px;
	height: 30px;
	background: rgba(23, 58, 37, .14);
}

@media (max-width: 1024px) {
	.tftf-shell {
		grid-template-columns: 1fr;
		grid-template-areas:
			"header"
			"progress"
			"selections"
			"content"
			"footer";
	}
	button.sz-pbtn, button.sz-sbtn{
		font-size: 15px !important;
        padding: 12px 22px !important;
		gap: 5px;
	}
	
	.tftf-content{
		padding: 30px 25px 60px;
	}
	.tftf-header,
	.tftf-selections,
	.tftf-content,
	.tftf-trust-footer {
		padding-left: 25px;
		padding-right: 25px;
	}

	.tftf-progress-wrap {
		padding: 15px 28px 18px;
	}

	.tftf-progress-steps {
		justify-content: space-between;
		max-width: 100%;
		margin-left: 0;
	}
	.tftf-arrow {
	font-size: 14px;
	}
	
	.tftf-answers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-top: 25px;
	}
	.tftf-answer-grid-3{
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.tftf-trust-footer {
		gap: 16px 22px;
	}
	.tftf-quiz .wd-products.wd-grid-g {
    	--wd-gap-sm: 20px !important;
		align-items: stretch !important;
	}
	.tftf-quiz .wd-products .wd-product-wrapper{
		height: 100%;
	}
	.tftf-quiz .wd-products .wd-product-wrapper .sz-content-inner{
		flex-grow: 1;
        display: flex;
        flex-direction: column;
	}
	.tftf-quiz .wd-products .wd-add-btn-wrapp{
		margin-top: auto;
	}
	.tftf-quiz .wd-products .wd-loop-prod-price .price{
		font-size: 24px !important;
	}

}

@media (max-width: 767px) {
	.tftf-quiz {
		margin: 0px auto;
		padding: 0 8px;
	}

	.tftf-shell {
		border-radius: 20px;
	}

	.tftf-header {
		padding: 20px 18px 12px;
		align-items: baseline;
	}

	.tftf-brand-mark {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
		transform: translateY(4px);
	}

	.tftf-paw {
		width: 19px;
		height: 19px;
	}

	.tftf-eyebrow {
		font-size: 18px;
	}

	.tftf-header-subtitle {
		font-size: 13px;
		white-space: normal;
	}

	.tftf-progress-wrap {
		padding: 15px 18px 18px;
	}

	.tftf-step-dot {
		width: 26px;
		height: 26px;
		flex-basis: 26px;
		font-size: 10px;
	}

	.tftf-selections,
	.tftf-content,
	.tftf-trust-footer {
		padding-left: 18px;
		padding-right: 18px;
	}

	.tftf-content {
		padding-top: 30px;
		padding-bottom: 50px;
	}

	.tftf-question-label {
		font-size: 24px;
	}

	.tftf-question-help {
		margin-bottom: 22px;
		font-size: 13px;
	}

	.tftf-answers,
	.tftf-answer-grid-2,
	.tftf-answer-grid-3 {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.tftf-answer {
		min-height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
		text-align: center;
		padding: 15px 15px 20px;
	}
	.tftf-step-2 .tftf-answer,.tftf-step-3 .tftf-answer{
		min-height: auto;
	}

	.tftf-answer-icon:not(.has-image) {
		width: 72px;
		height: 72px;
		aspect-ratio: auto;
		flex: 0 0 72px;
		border-radius: 12px;
	}
	.tftf-answer-icon.has-image{
		min-height: 0px !important;
	}

	.tftf-answer-icon svg {
		width: 60%;
		height: 60%;
	}

	.tftf-answer-copy strong {
		font-size: 17px;
	}
	.tftf-step-1 .tftf-answer-copy strong {
		font-size: 18px;
	}
	
	.tftf-quiz .wd-products.wd-grid-g{
		--wd-gap-sm: 10px !important;
	}
	
	.tftf-nav{
		padding-top: 35px;
	}
	.tftf-step-3 .tftf-nav{
		flex-direction: column;
	}

	.tftf-nav-spacer {
		min-width: 75px;
	}
	
	.tftf-step-3 button.sz-pbtn.tftf-next{
		font-size: 13px !important;
	}


	.tftf-trust-footer {
		justify-content: center;
		gap: 14px 16px;
		padding: 18px;
	}

	.tftf-trust-divider {
		display: none;
	}

	.tftf-trust-item {
		width: 42%;
	}
}
