/*
Theme Name: WordPress Boilerplate Child
Theme URI: https://github.com/carlo-aquino/WPThemeBoilerplate
Description: WordPress Boilerplate Child Theme
Author: Carlo Paulo D. Aquino
Author URI: https://github.com/carlo-aquino/
Template: WPThemeBoilerplate
Version: 5.0.0
*/ 

h1 {
	line-height: 1;
	margin-bottom: 0.35em;
}

p {
	line-height: 1.5;
}

form {
	align-items: start;
	gap: 0.85rem;
	
	input, textarea {
		background-color: rgb(var(--primary));
		border: 1px solid #fff;
		border-radius: 0;
		color: #fff;
		
		&:focus {
			border-color: rgb(var(--accent));
			outline: 0;
		}
		
		&:focus-visible {
			border-color: rgb(var(--accent));
			outline: 0;
		}
		
		&::placeholder {
			color: #fff;
			font-size: 0.62rem;
			line-height: 0.5;
			opacity: 1;
		}
	}
	
	input[type="submit"] {
		min-width: 250px;
	}
	
	textarea {
		max-height: 126px;
	}
	
	.wpcf7-not-valid-tip {
		font-size: 0.5rem !important;
	}
	
	.wpcf7-response-output {
		position: absolute;
		bottom: 8px;
		right: 0;
		text-align: right !important;
		font-size: 0.7rem;
		max-width: 333px;
	}
}

#header-01 {
	padding-top: 0.75em;
}

#header-01 .header-right nav ul li a {
	padding: 1.1em 0;
}

.global-footer__row-02 .footer-widget-03 {
	position: relative;
	
	p {
		max-width: 552px;
		margin: 0 auto;
		margin-top: 1.25em;
	}
}

.global-footer__row-02 .footer-widget-03::before {
	position: absolute;
	border: 1px solid rgb(var(--accent));
	content: '';
	width: 100%;
	top: -3rem;
	left: 0;
}

.global-footer__row-02 .footer-widget-04 {
	display: flex;
    flex-flow: column nowrap;
	gap: 1.25em;
    justify-content: space-between;
}

.copyright-widget a {
	text-decoration: underline;
}

.brands .icon-list p {
	display: flex;
	align-items: start;
	gap: 0.75em;
	
	img {
		margin-top: 0.4em;
	}
}

.brands .icon-list p:nth-child(2) {
	align-items: center;
	
	img {
		margin-top: 0;
	}
}

.brands.panaderia {
	
	.theme-container__wrapper {
		position: relative;
		
		&::after {
			content: '';
			height: 80%;
			border-right: 1px solid rgb(var(--accent));
			position: absolute;
			transform: translateY(-50%);
			top: 50%;
			right: 0;
		}
	}
}

@media (max-width: 1200px) {
	.overlap-item {
		width: 100% !important;
	}
	
	.text-overlap {
		right: auto !important;
		transform: translate(0, -50%) !important;
	}
	
	.our-story .img-overlap {
		order: 1 !important;
		padding: 0 2.19em !important;
		width: 100% !important;
		
		.image-module {
			max-height: 15rem;
		}
	}
	
	.our-story .text-overlap {
		order: 0 !important;
		position: static !important;
		transform: unset !important;
	}
	
	.contact-us .contact-form__heading .text-module__wrapper {
		transform: unset;
	}
}

@media (max-width: 1024px) {
	form {
		align-items: center !important;
		
		.wpcf7-response-output {
			position: unset;
			text-align: center !important;
		}
	}
	
	.contact-us .left-column .theme-container__wrapper {
		align-items: center !important;
		padding-top: 0 !important;
	}
	
	.contact-us .theme-section__wrapper {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 980px) {
	#footer-02 div.global-footer__row-02__wrapper {
		grid-template-columns: 1fr !important;
		gap: 2em !important;
	}
	
	.global-footer__row-02 .footer-widget-02 {
		order: 1;
		align-items: center;
		text-align: center;
		display: flex;
		flex-flow: column nowrap;
	}
	
	.global-footer__row-02 .footer-widget-03 {
		order: 0;
	}
	
	.global-footer__row-02 .footer-widget-04 {
		order: 2;
	}
	
	.home-banner .img-overlap {
		height: 40rem;
	}
}

@media (max-width: 768px) {
	.brands-by-papaj .theme-section__wrapper {
		gap: 3em !important;
	}
	
	.brands-by-papaj .theme-container__wrapper {
		padding: 0 !important;
	}
	
	.brands-by-papaj h2 {
		text-align: center !important;
	}
	
	.brands .icon-list p {
		align-items: center;
	}
	
	.brands.panaderia .theme-container__wrapper::after {
		border-right: 0;
	}
}