
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Georgia Bold';
  src: url('fonts/Georgia Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Georgia Italic';
  src: url('fonts/Georgia Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

:root {
  --mainColor: #64692d;
  --warningColor: #b84850;
  --charcoal: #333333;
  --softPeach: #f9ede2;
  --lightSage: #ebede2;
  --mediumOlive: #838756;
  --lightOlive: #9ca56d;
  --orange: #d58548;
  --oliveStroke: #717745;
  --grey1: rgb(51, 51, 51);
  --grey2: rgb(109, 109, 109);
  --grey3: rgba(0, 0, 0, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--mainColor);
}

ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

button::before {
	content: "\f128";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

button {
	cursor: pointer;
	background: none;
	border: none;
	outline: none;
	border-radius: 5px;
}


/* ===== HEADER ===== */

#atf-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 40px;
	background: white;
	position: sticky;
	top: 0;
	z-index: 100;
	max-width: 1440px;
	margin: 0 auto;
}

#atf-header .logo-area {
	display: flex;
	align-items: center;
	gap: 12px;
}

#atf-header .logo-area img {
	height: 190px;
}

#atf-header .logo-area .tagline {
	font-family: 'Georgia Italic', Georgia, serif;
	font-style: italic;
	font-size: 13px;
	color: var(--mainColor);
	line-height: 1.4;
}

#atf-menu {
	display: flex;
	align-items: center;
	gap: 8px;
}
#atf-menu * {
	float: none;
}
#atf-menu img {
	display: none;
}
#atf-menu button {
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: normal;
    color: var(--mainColor);
    background: none;
    border: none;
	outline: none;
	padding: 8px 14px;
	transition: color 0.2s;
	margin: 0;
}
#atf-menu button::before {
	display:none;
}

#atf-menu button:hover, #atf-menu button.active {
	color: var(--mainColor);
	text-decoration: underline;
	text-underline-offset: 4px;
}

#atf-menu button.nav-hidden {
	display: none;
}

#atf-header .header-icons {
	display: flex;
	align-items: center;
	gap: 18px;
}

#atf-header .header-icons .lang-toggle {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: var(--mainColor);
	cursor: default;
}

#atf-header .header-icons button {
	font-size: 18px;
	color: var(--mainColor);
	padding: 4px;
}

#atf-header .header-icons button:hover {
	color: var(--mainColor);
}

#atf-header .header-icons button::before {
	display: none;
}

#atf-header .header-icons .icon-logout {
	display: none;
}

.logged-in #atf-header .header-icons .icon-logout {
	display: inline-block;
}


/* ===== MAIN BODY ===== */

#atf-body {
    clear: both;
    padding: 0;
	max-width: 100%;
}


/* ===== SHOP LAYOUT (grid: products left, basket right) ===== */

#shop-layout {
	display: grid;
	grid-template-columns: auto 340px;
	gap: 30px;
	padding: 20px 40px;
	min-height: calc(100vh - 80px);
	max-width: 1440px;
	margin: 0 auto;
}

#shop-main {
	min-width: 0;
}


/* ===== FILTERS ===== */

#filters {
	margin-bottom: 20px;
}

#filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

#filters li {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
	cursor: pointer;
	padding: 6px 8px;
	border: none;
	border-radius: 0;
	background: none;
	color: var(--mainColor);
	transition: color 0.2s;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 6px;
	text-shadow: 0 0 0 transparent;
}

#filters li:hover,
#filters li:has(input:checked) {
	text-shadow: 0.3px 0 0 currentColor, -0.3px 0 0 currentColor;
}

#filters li:hover {
	background: none;
	color: var(--mainColor);
}

#filters li:has(input:checked) {
	background: none;
	color: var(--mainColor);
}

#filters li input {
	display: inline-block;
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 1px solid var(--mainColor);
	border-radius: 2px;
	background: white;
	cursor: pointer;
	margin: 0;
	vertical-align: middle;
}

#filters li input:checked {
	background-color: var(--mainColor);
}

#filters li span {
	cursor: pointer;
}

#filters li[_category="15"] {
    display: none;
}


/* ===== PRODUCTS ===== */

#products {
    position: relative;
	width: 100%;
}

#products.detail #list {
	display: none;
}

#products #list ul {
	display: grid;
	grid-template-columns: repeat(5, 195px);
	justify-content: center;
	gap: 20px;
    position: relative;
}

#products ul li {
    position: relative;
    background: none;
    border-radius: 0;
    padding: 12px;
    text-align: left;
	transition: none;
}

#products ul li:hover {
	box-shadow: none;
}

#products ul li * {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

#products ul li img {
    height: 160px;
    width: 171px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

#products ul li .name {
    font-size: 17px;
    font-weight: 400;
    color: var(--mainColor);
    display: block;
}

#products ul li .price, #products ul li .price-lbl {
    font-weight: 300;
    color: var(--mainColor);
    font-size: 14px;
}
#products ul li .price {
	left: auto;
}
#products ul li .price-lbl {
	left: auto;
}

.price::before {
    content: "\20AC";
}

#products ul li .productName {
	min-height: 40px;
	max-height: fit-content;
}

#products ul li .productPriceTag {
	margin-bottom: 8px;
	margin-left: 0;
}

/* Quantity stepper in product cards */
#products ul li .quantity-stepper {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
}

#products ul li .stepper-group {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	background: white;
	border: 0.98px solid var(--oliveStroke);
	border-radius: 9px;
	width: 60px;
	height: 38px;
	padding: 0;
}

#products ul li .quantity-stepper button.qty-minus,
#products ul li .quantity-stepper button.qty-plus {
	width: 24px;
	height: 36px;
	border: none;
	border-radius: 0;
	background: transparent;
	color: var(--mainColor);
	font-size: 12px;
	font-weight: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	padding: 0;
}

#products ul li .quantity-stepper button.qty-minus::before,
#products ul li .quantity-stepper button.qty-plus::before {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
}

#products ul li .quantity-stepper button.qty-minus::before {
	content: "-";
}

#products ul li .quantity-stepper button.qty-plus::before {
	content: "+";
}

#products ul li .quantity-stepper button.qty-minus:hover,
#products ul li .quantity-stepper button.qty-plus:hover {
	background: transparent;
}

#products ul li input.atf-product-amount {
    width: 30px;
    height: 28px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 2px 0;
    border-radius: 0;
    border: none;
    background: white;
    margin: 0;
    color: var(--mainColor);
    -moz-appearance: textfield;
}

#products ul li input.atf-product-amount::-webkit-outer-spin-button,
#products ul li input.atf-product-amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#products ul li button.add_to_cart {
	width: 60px;
	height: 38px;
	border: 0.89px solid var(--oliveStroke);
	border-radius: 9px;
	background: var(--lightSage);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	transition: all 0.2s;
}

#products ul li button.add_to_cart::before {
	content: "";
	display: block;
	width: 24px;
	height: 22px;
	background: url('SVG/icon_add_to_basket.svg') no-repeat center / contain;
}

#products ul li button.add_to_cart:hover {
	background: var(--lightSage);
}

.highlighted {
	background-color: #f7ff33;
}


/* ===== BASKET SIDEBAR ===== */

#basket {
	display: none;
	background: white;
	border-radius: 11.63px;
	border: 0.92px solid var(--orange);
	padding: 20px;
	position: sticky;
	top: 240px;
	align-self: start;
}

#basket.loaded {
	display: block;
}

#basket .basket-title {
	font-family: 'Georgia Bold', Georgia, serif;
	font-style: normal;
	color: var(--mainColor);
	font-weight: bold;
	font-size: 21px;
	padding-bottom: 12px;
	margin-bottom: 10px;
}

#basket #shoppingListContainer {
	overflow-y: visible;
}

#basket ul {
	padding: 0;
	overflow-y: auto;
	max-height: 40vh;
	margin-top: 5px;
}

#basket li {
    position: relative;
    padding: 10px 0;
    border-bottom: solid 1px var(--grey3);
    min-height: 60px;
}

#basket li img {
    height: 50px;
    width: 50px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

#basket li span.name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: var(--mainColor);
    position: static;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

button.remove_from_cart {
    position: static;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 0.25px solid var(--warningColor);
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.remove_from_cart::before {
	content: "\00d7";
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 24px;
	color: var(--warningColor);
}

/* Basket item layout: X | img | name(top) + price+stepper(bottom) */
#basket li {
    display: grid;
    grid-template-columns: auto 50px 1fr;
    grid-template-rows: auto auto;
    gap: 0 8px;
    align-items: center;
}

#basket li button.remove_from_cart {
    grid-column: 1;
    grid-row: 1 / 3;
}

#basket li .details {
    display: contents;
}

#basket li .details img {
    grid-column: 2;
    grid-row: 1 / 3;
}

#basket li .details .productName {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    min-height: auto;
    max-height: none;
    min-width: 0;
    overflow: hidden;
    margin: 0;
}

#basket li .details .productPriceTag {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: auto;
    max-height: none;
    margin: 0;
}

#basket li .quantity-stepper {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    justify-self: end;
}

#basket span.price {
    position: static;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: var(--mainColor);
    border: 0.9px solid var(--mainColor);
    border-radius: 6px;
    padding: 3px 10px;
    display: inline-block;
}

#basket span.price-lbl {
	display: none;
}

#basket span.price::before {
	content: "\20AC";
}

#basket input.atf-product-amount {
    position: static;
    width: 28px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 3px;
    border-radius: 4px;
    border: solid 1px var(--grey3);
    -moz-appearance: textfield;
}

#basket input.atf-product-amount::-webkit-outer-spin-button,
#basket input.atf-product-amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.atf-product-amount:focus {
	background-color: var(--grey3);
}

#basket button.add_to_cart {
    display: none;
}

/* Basket stepper */
#basket li .quantity-stepper {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Basket stepper buttons */
#basket li .quantity-stepper button.qty-minus::before {
	font-family: 'Inter', sans-serif;
	content: "−";
	font-weight: 300;
	font-size: 10px;
}

#basket li .quantity-stepper button.qty-plus::before {
	font-family: 'Inter', sans-serif;
	content: "+";
	font-weight: 300;
	font-size: 10px;
}

/* Basket item name/price resets */
#basket li .productName,
#basket li .productPriceTag {
    margin: 0;
    min-height: auto;
}


/* Basket totals */
.total span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--mainColor);
}

.total span.name {
    font-weight: 300;
}

.total span.value, .total span.voucher {
    font-weight: 300;
}

.total {
    height: 22px;
    padding: 4px;
    border-bottom: solid 1px var(--grey3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Basket credentials */
#basket .credential {
	width: 100%;
	padding: 8px;
	margin-top: 5px;
	border-radius: 5px;
	font-family: 'Inter', sans-serif;
	border: 1px solid var(--grey3);
}
#basket .credential {
	display: none;
}
#basket.login .credential, .logged-in #basket .actions button.checkout {
	display: initial;
}


/* Basket action buttons */
#basket .actions {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

#basket .actions button {
    font-weight: 700;
    flex: 1;
    font-family: 'Inter', sans-serif;
    height: 40px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.2s;
    margin-top: 0;
}

/* Reset = outline style */
#basket .actions button.reset {
	background-color: white;
	border: 1.5px solid var(--mainColor);
	color: var(--mainColor);
}
#basket .actions button.reset:hover {
	background-color: var(--lightSage);
}

/* Login / Authenticate / Checkout = filled olive green */
#basket .actions button.login,
#basket .actions button.authenticate,
#basket .actions button.checkout {
	background-color: var(--mainColor);
    color: #fff;
    border: 1.5px solid var(--mainColor);
}
#basket .actions button.login:hover,
#basket .actions button.authenticate:hover,
#basket .actions button.checkout:hover {
	opacity: 0.9;
}

#basket.login .actions button.login {
	display: block;
}

#basket .actions button.checkout {
	display: none;
}
#basket .actions button.checkout:before {
	content: "\f00c  ";
}

.logged-in #basket .actions button.login {
	display: none;
}

#basket.login .actions button.reset {
	display: none;
}

#basket .actions button.authenticate {
	display: none;
}
#basket.login .actions button.authenticate {
	display: block;
}

button.loading:before {
	content: "\f110 " !important;
}

#basket .actions button.reset:before {
	content: "\f01e  ";
}

#basket .actions button.authenticate:before {
	content: "\f2f6  ";
}

#basket .actions button.authenticate.wrong:before {
	font-weight: 900;
	color: var(--warningColor);
	content: "\f057  ";
}

#basket .actions button.login:before {
	content: "\f30b  ";
}
#basket.login .actions button.login {
	display: none;
}


/* ===== DETAIL VIEW ===== */

#detail-back, #detail {
	display: none;
}

.detail #detail-back, .detail #detail {
	display: block;
}

#detail-back {
	margin-bottom: 15px;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	font-weight: bold;
}

#detail div.atf-post {
    max-width: 75%;
    padding-top: 15px;
}

#products.detail {
	width: 100%;
}


/* ===== ATF POSTS ===== */

div.atf-post {
    margin-left: 10%;
    max-width: 900px;
    padding-top: 65px;
    font-family: 'Inter', sans-serif;
    line-height: 25px;
}


/* ===== SOBRE NÓS ===== */

.sobre-nos {
	max-width: 1440px;
	margin: 0 auto;
	padding: 40px 0 80px;
}

.sobre-nos-intro {
	position: relative;
	padding: 20px 52px 0;
	margin-bottom: 0;
	min-height: 380px;
}

.sobre-nos-intro-text {
	position: absolute;
	left: 52px;
	top: 60px;
}

.sobre-nos-title {
	font-family: 'Georgia Bold', Georgia, serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	margin: 0 0 16px;
}

.sobre-nos-desc {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 16px;
	color: #333;
	line-height: 1.6;
	max-width: 250px;
}

.sobre-nos-intro-img {
	position: absolute;
	left: 45.3%;
	top: 20px;
	transform: translateX(-50%);
}

.sobre-nos-photo {
	width: 342px;
	height: 336px;
	background: #eee;
	border-radius: 6px;
	box-shadow: -6px 8px 20px rgba(0,0,0,0.15);
	transform: rotate(-3deg);
	z-index: 2;
	position: relative;
	overflow: hidden;
}

.sobre-nos-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sobre-nos-deco-abobora {
	position: absolute;
	top: -37px;
	left: -157px;
	width: 300px;
	opacity: 1;
	z-index: 1;
}

.sobre-nos-deco-beterraba {
	position: absolute;
	bottom: -89px;
	right: -161px;
	width: 300px;
	opacity: 1;
	z-index: 1;
}


/* Timeline */

.timeline {
	position: relative;
	padding: 20px 0;
}

.timeline-line {
	position: absolute;
	left: 45.3%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, var(--oliveStroke) 0%, var(--oliveStroke) calc(var(--line-progress, 0) * 100%), rgba(113, 119, 69, 0.15) calc(var(--line-progress, 0) * 100%), rgba(113, 119, 69, 0.15) 100%);
	transform: translateX(-50%);
}

/* Extend line up into the intro/photo area */
.sobre-nos-intro::after {
	content: '';
	position: absolute;
	left: 45.3%;
	bottom: 0;
	top: 356px;
	width: 2px;
	background-color: var(--oliveStroke);
	transform: translateX(-50%);
}

.timeline-item {
	position: relative;
	display: flex;
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.visible {
	opacity: 1;
	transform: translateY(0);
}

.timeline-right.visible {
	transition-delay: 0.05s;
}

.timeline-left.visible {
	transition-delay: 0.05s;
}

.timeline-dot {
	position: absolute;
	left: 45.3%;
	top: 18px;
	width: 24px;
	height: 24px;
	background: white;
	border: 2px solid var(--warningColor);
	border-radius: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.timeline-right .timeline-content {
	margin-left: calc(45.3% + 48px);
	text-align: left;
}

.timeline-left .timeline-content {
	margin-right: calc(54.7% + 48px);
	text-align: right;
	max-width: calc(45.3% - 48px);
	margin-left: auto;
}

.timeline-num {
	font-family: 'Georgia Italic', Georgia, serif;
	font-style: italic;
	font-size: 49px;
	color: var(--warningColor);
	line-height: 1;
	display: block;
	margin-bottom: 8px;
}

.timeline-date {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: var(--mainColor);
	display: block;
	margin-bottom: 4px;
}

.timeline-title {
	font-family: 'Georgia Bold', Georgia, serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	margin: 0 0 12px;
	line-height: 1.2;
}

.timeline-subtitle {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: var(--mainColor);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 8px;
}

.timeline-text {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 14px;
	color: #333;
	line-height: 1.6;
	margin: 0;
	max-width: 300px;
}

.timeline-left .timeline-text {
	margin-left: auto;
}

@media only screen and (max-width: 850px) {
	.sobre-nos-intro {
		flex-direction: column;
		padding: 20px;
		gap: 30px;
	}
	.sobre-nos-photo {
		width: 250px;
		height: 250px;
	}
	.timeline-line {
		left: 20px;
	}
	.timeline-dot {
		left: 20px;
	}
	.timeline-left .timeline-content,
	.timeline-right .timeline-content {
		margin-left: 60px;
		margin-right: 0;
		text-align: left;
	}
	.timeline-left .timeline-text {
		margin-left: 0;
	}
}


/* ===== COMO FUNCIONA ===== */

.como-funciona {
	max-width: 1440px;
	margin: 0 auto;
	padding: 40px 100px 60px;
}

.como-funciona-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	margin: 0 0 30px;
}

.como-funciona-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-bottom: 40px;
}

.como-funciona-card {
	border: 0.75px solid var(--orange);
	border-radius: 12px;
	padding: 20px 28px;
}

.como-funciona-card img {
	height: 100px;
	margin-bottom: 12px;
	display: block;
}

.card-step {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 25px;
	color: var(--warningColor);
	display: block;
	margin-bottom: 4px;
}

.card-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: var(--mainColor);
	margin: 0 0 12px;
}

.card-text {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 14px;
	color: #333;
	line-height: 1.6;
	margin: 0;
	max-width: 300px;
}

.como-funciona-actions {
	display: flex;
	align-items: center;
	gap: 30px;
}

.como-funciona-cta {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: white;
	background-color: var(--warningColor);
	padding: 14px 30px;
	border-radius: 8px;
	text-decoration: none;
	transition: opacity 0.2s;
}

.como-funciona-cta:hover {
	opacity: 0.9;
}

.como-funciona-faq {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 16px;
	color: #333;
	text-decoration: none;
	border: 0.84px solid var(--warningColor);
	border-radius: 8px;
	padding: 14px 30px;
}

.como-funciona-faq strong {
	color: var(--warningColor);
}

@media only screen and (max-width: 850px) {
	.como-funciona {
		padding: 30px 20px;
	}
	.como-funciona-grid {
		grid-template-columns: 1fr;
	}
	.como-funciona-actions {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
}


/* ===== CONTACTO ===== */

.contacto-page {
	max-width: 1440px;
	margin: 0 auto;
	padding: 40px 100px 60px;
}

.contacto-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	margin: 0 0 8px;
}

.contacto-subtitle {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 16px;
	color: #333;
	margin: 0 0 30px;
}

.contacto-cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 720px;
	margin-bottom: 30px;
}

.contacto-card {
	border: 0.75px solid var(--orange);
	border-radius: 12px;
	padding: 24px 30px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.contacto-card img {
	height: 90px;
	width: 90px;
	object-fit: contain;
}

.contacto-label {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: var(--mainColor);
	display: block;
	margin-bottom: 4px;
}

.contacto-numbers {
	display: flex;
	gap: 20px;
}

.contacto-number {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: var(--warningColor);
}

.contacto-number strong {
	font-weight: 700;
}

.contacto-email {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: var(--warningColor);
	text-decoration: none;
}

.contacto-horario {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 16px;
	color: #333;
	margin: 0 0 40px;
}

.contacto-deco {
	max-width: 720px;
	margin-top: -40px;
	display: flex;
	justify-content: flex-end;
	pointer-events: none;
}

.contacto-deco img {
	width: 220px;
	opacity: 0.7;
	margin-right: -40px;
}

@media only screen and (max-width: 850px) {
	.contacto-page {
		padding: 30px 20px;
	}
	.contacto-numbers {
		flex-direction: column;
		gap: 4px;
	}
}


/* ===== ACCOUNT LOGIN ===== */

.account-login {
	max-width: 400px;
	margin: 80px auto;
	padding: 0 20px;
}

.account-login-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	margin: 0 0 8px;
}

.account-login-subtitle {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 16px;
	color: #333;
	margin: 0 0 24px;
}

.account-login-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	border: 0.75px solid var(--orange);
	border-radius: 12px;
	padding: 30px;
}

.account-credential {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	padding: 12px 14px;
	border: 1px solid var(--grey3);
	border-radius: 8px;
	outline: none;
	width: 100%;
	box-sizing: border-box;
}

.account-credential:focus {
	border-color: var(--mainColor);
}

.account-login-btn {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: white;
	background-color: var(--mainColor);
	border: none;
	border-radius: 8px;
	padding: 14px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: opacity 0.2s;
}

.account-login-btn::before {
	content: "\f2f6  ";
}

.account-login-btn:hover {
	opacity: 0.9;
}

.account-login-btn.loading::before {
	content: "\f110  " !important;
}

.account-login-btn.wrong {
	border: 2px solid var(--warningColor);
}


/* ===== ACCOUNT PAGE ===== */

.account-page {
	max-width: 1440px;
	margin: 0 auto;
	padding: 40px 100px 60px;
}

.account-title {
	font-family: 'Georgia Bold', Georgia, serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	margin: 0 0 8px;
	line-height: 1.3;
}

.account-subtitle {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 16px;
	color: #333;
	margin: 0 0 24px;
}

.account-content {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.account-left {
	flex: 0 0 500px;
}

.account-table-wrap {
	border: 0.75px solid var(--orange);
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 20px;
	max-height: 60vh;
	overflow-y: auto;
}

.account-deco {
	flex: 0 0 500px;
	position: relative;
	min-height: 500px;
}

.account-deco .deco-cenoura {
	position: absolute;
	top: 0;
	left: 0;
	width: 220px;
}

.account-deco .deco-alface {
	position: absolute;
	top: 50px;
	left: 180px;
	width: 320px;
}

.account-deco .deco-abobora {
	position: absolute;
	top: 260px;
	left: 20px;
	width: 260px;
}

.account-table {
	width: 100%;
	border-collapse: collapse;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
}

.account-table thead th {
	font-weight: 700;
	color: var(--mainColor);
	text-align: left;
	padding: 6px 8px;
}

.account-table .order-row {
	cursor: pointer;
}

.account-table .order-row td {
	font-weight: 300;
	color: var(--mainColor);
	padding: 6px 8px;
	border-bottom: 0.31px solid var(--mainColor);
}

.account-table .order-row .order-total {
	font-weight: 700;
}

.account-table .order-row.selected td {
	font-weight: 700;
}

.account-table .order-detail-container {
	display: none;
}

.account-table .order-detail-container.visible {
	display: table-row;
}

.account-table .order-detail-container td {
	padding: 8px;
	border-bottom: 0.31px solid var(--mainColor);
}

.order-detail-content {
	padding: 4px 0;
}

.order-loading {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 12px;
	color: #999;
}

.order-items-table {
	width: 100%;
	border-collapse: collapse;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
}

.order-items-table th {
	font-weight: 700;
	color: var(--warningColor);
	text-align: left;
	padding: 4px 0;
}

.order-items-table td {
	font-weight: 300;
	color: var(--warningColor);
	padding: 3px 0;
}

.account-back-btn {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: white;
	background-color: var(--mainColor);
	border: none;
	border-radius: 8px;
	padding: 12px 30px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: opacity 0.2s;
	width: 100%;
}

.account-back-btn::before {
	display: none;
}

.account-back-btn:hover {
	opacity: 0.9;
}

@media only screen and (max-width: 850px) {
	.account-page {
		padding: 30px 20px;
	}
	.account-content {
		flex-direction: column;
	}
	.account-left {
		max-width: 100%;
	}
	.account-deco {
		display: none;
	}
}


/* ===== FAQS ===== */

.faqs-page {
	max-width: 1440px;
	margin: 0 auto;
	padding: 40px 100px 60px;
}

.faqs-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	margin: 0;
}

.faqs-subtitle {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: var(--mainColor);
	margin: 0 0 40px;
}

.faqs-section {
	margin-bottom: 50px;
}

.faqs-section-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: var(--mainColor);
	margin: 0 0 24px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--orange);
}

.faqs-items {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.faq-item {
	border: 0.75px solid var(--orange);
	border-radius: 12px;
	padding: 20px 24px;
}

.faq-q {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: var(--warningColor);
	margin: 0 0 10px;
}

.faq-a {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 14px;
	color: #333;
	line-height: 1.6;
}

.faq-a ul {
	margin: 8px 0;
	padding-left: 20px;
}

.faq-a li {
	margin-bottom: 4px;
}

.faq-a strong {
	font-weight: 700;
	color: var(--mainColor);
}

.faq-a em {
	font-style: italic;
	color: var(--warningColor);
}

@media only screen and (max-width: 850px) {
	.faqs-page {
		padding: 30px 20px;
	}
}


/* ===== INVALID ORDER ===== */

#basket.invalid-order .actions {
	display: none;
}

#basket.invalid-order .invalid-order-msg {
	max-width: 280px;
}

#basket.invalid-order {
	border-color: var(--warningColor);
}

#basket.invalid-order .invalid-order-msg {
	font-family: 'Inter', sans-serif;
	color: var(--warningColor);
	font-size: 13px;
	margin-top: 10px;
}

#basket.invalid-order .invalid-order-msg div {
    margin-left: 10px;
    margin-top: 10px;
}


/* ===== CHECKOUT ===== */

.checkout-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	margin: 0;
	padding: 20px 100px 20px;
	max-width: 1440px;
}

.checkout-section-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	margin: 0 0 16px;
}

body.checkout #atf-body {
	padding-top: 0;
	max-width: 1440px;
	margin: 0 auto;
}

body.checkout #shop-layout {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 30px;
	padding: 0 100px 40px;
	max-width: 1440px;
	align-items: start;
}

body.checkout #atf-body #filters,
body.checkout #atf-body #products,
body.checkout #shop-main {
    display: none;
}

body.checkout #atf-body #basket {
	position: initial;
	top: auto;
	border: 0.75px solid var(--orange);
	border-radius: 12px;
	padding: 20px;
	grid-column: 1;
	grid-row: 1;
	box-sizing: border-box;
}

body.checkout #basket ul {
	max-height: 300px;
}

body.checkout #billing {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

body.checkout #payment {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

body.checkout .payment-actions {
	margin-top: auto;
}

body.checkout #atf-body #basket .basket-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--mainColor);
	padding-bottom: 16px;
	margin: 0;
}

body.checkout #atf-body #basket .remove_from_cart,
body.checkout #atf-menu button,
body.checkout #atf-body #basket .actions {
	display: none;
}

/* Billing */

div#billing {
	grid-column: 2;
	grid-row: 1;
	border: 0.75px solid var(--orange);
	border-radius: 12px;
	padding: 20px;
}

.billing-fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.billing-row {
	display: flex;
	gap: 12px;
}

.billing-row .billing-field {
	flex: 1;
}

.billing-field label {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 12px;
	color: var(--mainColor);
	display: block;
	margin-bottom: 4px;
}

div#billing input, div#billing textarea {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	background-color: white;
	border: 0.36px solid var(--mainColor);
	border-radius: 6px;
	height: 39px;
	padding: 10px;
	width: 100%;
	box-sizing: border-box;
}

div#billing textarea {
	height: 80px;
	resize: vertical;
}

/* Payment */

div#payment {
	grid-column: 3;
	grid-row: 1;
	border: 0.75px solid var(--orange);
	border-radius: 12px;
	padding: 20px;
}

.payment-options {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.payment-option {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: var(--mainColor);
	background-color: var(--softPeach);
	padding: 14px 16px;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
}

.payment-option input[type="radio"] {
	accent-color: var(--warningColor);
	width: 18px;
	height: 18px;
}

.payment-details {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 14px;
	color: #333;
	margin-bottom: 16px;
}

#payment .transfer, #payment .cash, #payment .mbway {
	display: none;
}

#payment.cash .cash {
	display: block;
}
#payment.transfer .transfer {
	display: block;
}
#payment.mbway .mbway {
	display: block;
}

.payment-privacy {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 12px;
	color: #333;
	line-height: 1.5;
	margin: 0 0 20px;
}

.payment-privacy a {
	color: var(--warningColor);
	text-decoration: underline;
}

.payment-actions {
	display: flex;
	gap: 12px;
}

.payment-actions button {
	flex: 1;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	padding: 14px;
	border-radius: 8px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: opacity 0.2s;
}

.payment-actions button::before {
	display: none;
}

.payment-actions button.back {
	background: white;
	border: 1.5px solid var(--mainColor);
	color: var(--mainColor);
}

.payment-actions button.back:hover {
	background: var(--lightSage);
}

.payment-actions button.confirm {
	background: var(--warningColor);
	border: 1.5px solid var(--warningColor);
	color: white;
}

.payment-actions button.confirm:hover {
	opacity: 0.9;
}

#payment button.confirm.pay {
	display: none;
}
#payment.mbway button.confirm.pay {
	display: block;
}
#payment.mbway button.confirm.commit {
	display: none;
}

button.loading:before {
	content: "\f110 " !important;
	display: inline !important;
}

@media only screen and (max-width: 1100px) {
	body.checkout #shop-layout {
		grid-template-columns: 1fr 1fr;
		padding: 0 40px 40px;
	}
	div#payment {
		grid-column: 1 / -1;
	}
	.checkout-title {
		padding: 20px 40px;
	}
}

@media only screen and (max-width: 850px) {
	body.checkout #shop-layout {
		grid-template-columns: 1fr;
		padding: 0 20px 40px;
	}
	.checkout-title {
		padding: 20px;
	}
}


/* ===== ORDER SUCCESS ===== */

#atf-body.success #basket,
#atf-body.success #filters,
#atf-body.success #payment,
#atf-body.success #billing,
#atf-body.success #products,
#atf-body.success #shop-layout
 {
    display: none;
}

#atf-body.success .order-success {
	margin-left: 20%;
	padding-top: 50px;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
}


#atf-body.success .order-success ul {
    background-color: #f8f8f8;
    padding-left: 0px;
    border-radius: 15px;
}

#atf-body.success .order-success ul li {
	padding: 20px;
	padding-bottom: 12px;
	border-bottom: 1px dotted #e3e3e3;
	padding: 1em 1.618em;
    font-size: .8em;
    text-transform: uppercase;
}

#atf-body.success .order-success ul li strong {
    display: block;
    font-size: 1.41575em;
    text-transform: none;
    margin-top: 3px;
}

#atf-body.success .order-success ul li:nth-child(3) strong:before {
	content: "\20AC";
	margin-right: 5px;
}


/* ===== ACCOUNT / ORDERS ===== */

#orders {
    float: left;
	max-height: 70%;
    overflow-y: scroll;
	width: 400px;
	padding-left: 45px;
}

#orders table {
	width: 100%;
    border-collapse: collapse;
}

table thead tr {
	font-family: 'Inter', sans-serif;
}

table#order-items {
    padding-left: 50px;
    width: 450px;
}

#order-items tbody tr {
    display: none;
}

#order-items tbody tr.visible {
    display: table-row;
}

#orders tbody tr {
    cursor: pointer;
}

tbody tr {
    height: 30px;
}

.acc-title {
	font-family: 'Inter', sans-serif;
    padding-top: 20px;
	padding-bottom: 20px;
    padding-left: 45px;
}

#orders tr.selected td {
    border-top: solid 2px var(--mainColor);
    border-bottom: solid 2px var(--mainColor);
}

#orders tr.selected td:first-child {
    border-left: solid 2px var(--mainColor);
}

.details {
	cursor: pointer;
}


/* ===== FOOTER ===== */

#atf-footer {
	background-color: var(--lightSage);
	padding: 40px;
	margin-top: 60px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	color: var(--mainColor);
	border-top: 1px solid var(--grey3);
}

#atf-footer .footer-links h4 {
	font-size: 16px;
	font-weight: 600;
	text-transform: none;
	margin-bottom: 12px;
	color: var(--mainColor);
}

#atf-footer .footer-links a {
	display: block;
	color: var(--mainColor);
	text-decoration: none;
	margin-bottom: 6px;
	font-size: 16px;
	font-weight: 300;
}

#atf-footer .footer-links a:hover {
	color: var(--mainColor);
}

#atf-footer .footer-social {
	text-align: right;
}

#atf-footer .footer-social h4 {
	font-size: 16px;
	font-weight: 600;
	text-transform: none;
	margin-bottom: 12px;
	color: var(--mainColor);
}

#atf-footer .footer-social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--mainColor);
	text-decoration: none;
	font-size: 16px;
	font-weight: 300;
}

#atf-footer .footer-social a:hover {
	color: var(--mainColor);
}

#atf-footer .footer-social img {
	height: 20px;
}

#atf-footer .footer-copyright {
	grid-column: 1 / -1;
	text-align: center;
	font-size: 10px;
	color: var(--mainColor);
	padding-top: 20px;
	border-top: 1px solid var(--grey3);
}


/* ===== MEDIA QUERIES ===== */

@media only screen and (max-width: 1400px) {
  #shop-layout {
    grid-template-columns: 1fr 300px;
    gap: 20px;
    padding: 20px;
  }
  #products #list ul {
    grid-template-columns: repeat(4, 195px);
  }
}

@media only screen and (max-width: 1100px) {
  #shop-layout {
    grid-template-columns: 1fr 280px;
    gap: 15px;
  }
  #products #list ul {
    grid-template-columns: repeat(3, 195px);
  }
  #atf-menu button {
    font-size: 16px;
    padding: 6px 10px;
  }
}

@media only screen and (max-width: 850px) {
  #shop-layout {
    grid-template-columns: 1fr;
  }
  #basket {
    position: static;
  }
  #products #list ul {
    grid-template-columns: repeat(3, 195px);
  }
  #atf-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  #atf-footer {
    grid-template-columns: 1fr;
  }
  #atf-footer .footer-social {
    text-align: left;
  }
}

@media only screen and (max-width: 600px) {
  #products #list ul {
    grid-template-columns: repeat(2, 195px);
  }
  #shop-layout {
    padding: 10px;
  }
}

@media only screen and (max-height: 620px) {
  #basket ul {
    max-height: 145px;
  }
}


/* Popup box BEGIN */
.hover_bkgr_fricc{
    background:rgba(0,0,0,.4);
    cursor:pointer;
    display:none;
    position:fixed;
    text-align:center;
    /* All 4 sides pinned — without left:0/right:0 a fixed element with just
     * width:100% still starts from its static position, so the overlay
     * misses the left edge of the viewport. */
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:10000;
}
.hover_bkgr_fricc .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.hover_bkgr_fricc > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 560px;
    min-height: 100px;
    vertical-align: middle;
    width: 90%;
    position: relative;
    border-radius: 8px;
    padding: 20px;
}
.hover_bkgr_fricc iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}
.popupCloseButton {
    background-color: #fff;
    border: 3px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.popupCloseButton:hover {
    background-color: #ccc;
}
/* Popup box END */
