/**
 * Across Acampamento — main stylesheet.
 * Design direction 1a (Festa).
 */

/* -------------------------------------------------------------------------- */
/* Reset & base                                                               */
/* -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #fff8ee;
	font-family: Nunito, sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.5;
	color: #241a3a;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

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

/* -------------------------------------------------------------------------- */
/* Tokens                                                                     */
/* -------------------------------------------------------------------------- */

:root {
	--season: #ff7a1a;
	--cream: #fff8ee;
	--ink: #241a3a;
	--pink: #ff7eb6;
	--sky: #59d0e6;
	--yellow: #ffc93c;
	--card-border: #f0e7d6;
	--muted: #5a4f6b;
	--footer-muted: #a99fc4;
	--radius-card: 24px;
	--radius-btn: 14px;
	--radius-pill: 999px;
	--shadow-hard: 0 6px 0 rgba(0, 0, 0, 0.14);
	--shadow-card: 0 18px 40px -22px rgba(0, 0, 0, 0.3);
	--container: 1180px;
	--gutter: 28px;
}

/* -------------------------------------------------------------------------- */
/* Layout                                                                     */
/* -------------------------------------------------------------------------- */

.across-container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.across-main {
	overflow-x: clip;
}

/* -------------------------------------------------------------------------- */
/* Typography                                                                 */
/* -------------------------------------------------------------------------- */

.across-h2 {
	font-family: Fredoka, sans-serif;
	font-weight: 700;
	font-size: clamp(1.75rem, 3vw, 1.875rem);
	line-height: 1.1;
	margin: 0;
}

.across-h2--light {
	color: #fff;
}

.across-text-season {
	color: var(--season);
}

.across-kick {
	display: block;
	font-weight: 800;
	font-size: 0.875rem;
	color: var(--season);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------------- */
/* Buttons & links                                                            */
/* -------------------------------------------------------------------------- */

.across-btn {
	display: inline-block;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.2;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.across-btn:hover {
	transform: translateY(-1px);
}

.across-btn:active {
	transform: translateY(2px);
}

.across-btn--primary {
	background: var(--season);
	color: #fff;
	padding: 1rem 1.875rem;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-hard);
}

.across-btn--pill {
	border-radius: var(--radius-pill);
}

.across-btn--inverse {
	background: #fff;
	color: var(--season);
	padding: 0.9375rem 2rem;
	box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18);
}

.across-link {
	font-weight: 800;
	font-size: 1rem;
}

.across-link--season {
	text-decoration: underline;
	text-decoration-color: var(--season);
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}

.across-link--bold {
	font-weight: 800;
}

/* -------------------------------------------------------------------------- */
/* Header / Nav                                                               */
/* -------------------------------------------------------------------------- */

.across-header {
	padding: 1.25rem 0;
}

.across-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.across-logo {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-family: Fredoka, sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0.5px;
}

.across-logo__mark {
	width: 2.375rem;
	height: 2.375rem;
	border-radius: 12px;
	background: var(--season);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 1.25rem;
	transform: rotate(-8deg);
	flex-shrink: 0;
}

.across-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--card-border);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
}

.across-nav-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	margin-inline: auto;
	background: var(--ink);
	border-radius: 2px;
}

.across-nav {
	display: flex;
	align-items: center;
	gap: 1.625rem;
}

.across-nav__list {
	display: flex;
	align-items: center;
	gap: 1.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 700;
	font-size: 0.9375rem;
}

.across-nav__list a:hover {
	color: var(--season);
}

.across-nav__list a.is-active {
	color: var(--season);
}

.across-cart-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	background: var(--pink);
	color: #fff;
	font-weight: 800;
	font-size: 0.9375rem;
	padding: 0.5625rem 1.125rem;
	border-radius: var(--radius-pill);
	flex-shrink: 0;
}

.across-cart-badge:hover {
	transform: translateY(-1px);
}

.across-nav__cta {
	padding: 0.6875rem 1.375rem;
	font-size: 0.9375rem;
	box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}

/* -------------------------------------------------------------------------- */
/* Badges & tags                                                              */
/* -------------------------------------------------------------------------- */

.across-badge {
	display: inline-block;
	font-weight: 800;
	font-size: 0.8125rem;
	padding: 0.4375rem 0.9375rem;
	border-radius: var(--radius-pill);
}

.across-badge--pink {
	background: var(--pink);
	color: #fff;
	transform: rotate(-2deg);
}

.across-tag {
	display: inline-block;
	font-weight: 800;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.across-tag--pink {
	color: var(--pink);
}

.across-tag--sky {
	color: var(--sky);
}

.across-tag--yellow {
	color: #d99a1f;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

@keyframes acFloat {
	0%,
	100% {
		transform: translateY(0) rotate(var(--r, 0deg));
	}
	50% {
		transform: translateY(-14px) rotate(var(--r, 0deg));
	}
}

.across-float {
	position: absolute;
	pointer-events: none;
	user-select: none;
	animation: acFloat 5s ease-in-out infinite;
}

.across-float--star {
	top: 10px;
	left: 44%;
	font-size: 1.875rem;
	--r: 12deg;
	animation-duration: 4s;
}

.across-float--sparkle {
	bottom: 24px;
	left: 36%;
	font-size: 1.625rem;
	--r: -10deg;
	animation-duration: 5s;
}

.across-hero {
	position: relative;
	padding: 2.125rem 0 1.25rem;
}

.across-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 1.5rem;
	align-items: center;
}

.across-hero__title {
	font-family: Fredoka, sans-serif;
	font-weight: 700;
	font-size: clamp(2.5rem, 6vw, 3.75rem);
	line-height: 0.98;
	letter-spacing: -0.5px;
	margin: 1rem 0 0.875rem;
}

.across-hero__lead {
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--muted);
	max-width: 27.5rem;
	margin: 0 0 1.625rem;
}

.across-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	align-items: center;
}

.across-hero__media {
	position: relative;
}

.across-hero__blob {
	position: absolute;
	top: -14px;
	right: -8px;
	width: 120px;
	height: 120px;
	background: var(--yellow);
	border-radius: 50%;
	z-index: 0;
	animation: acFloat 6s ease-in-out infinite;
}

.across-hero__photo {
	position: relative;
	z-index: 1;
	aspect-ratio: 4 / 4.4;
	border-radius: 34px;
	background: linear-gradient(135deg, #59d0e6, #3aa7d6);
	border: 6px solid #fff;
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.3);
	display: grid;
	place-items: center;
	color: #fff;
	font-weight: 800;
	font-size: 0.9375rem;
	text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Weeks section                                                              */
/* -------------------------------------------------------------------------- */

.across-weeks {
	padding: 1.625rem 0 0.625rem;
}

.across-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.across-weeks__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.across-card {
	background: #fff;
	border-radius: 22px;
	padding: 1.25rem;
	border: 2px solid var(--card-border);
}

.across-week-card__image {
	height: 120px;
	border-radius: 16px;
	margin-bottom: 0.875rem;
}

.across-gradient--kids {
	background: linear-gradient(135deg, var(--season), var(--pink));
}

.across-gradient--teens {
	background: linear-gradient(135deg, var(--sky), #7c4de0);
}

.across-gradient--family {
	background: linear-gradient(135deg, var(--yellow), var(--season));
}

.across-week-card__title {
	font-family: Fredoka, sans-serif;
	font-weight: 600;
	font-size: 1.3125rem;
	margin: 0.25rem 0 0.375rem;
}

.across-week-card__desc {
	font-size: 0.875rem;
	line-height: 1.45;
	color: #6a5f7b;
	margin: 0 0 0.75rem;
}

/* -------------------------------------------------------------------------- */
/* Shop band                                                                  */
/* -------------------------------------------------------------------------- */

.across-shop-band {
	margin: 1.625rem 0;
	padding: 1.625rem 0;
}

.across-shop-band__grid {
	background: var(--ink);
	border-radius: 26px;
	padding: 1.625rem 1.75rem;
	color: #fff;
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 1.375rem;
	align-items: center;
}

.across-shop-band__desc {
	font-size: 0.875rem;
	color: #c8bfe0;
	margin: 0 0 1rem;
}

.across-shop-band__products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.across-mini-product {
	background: #fff;
	border-radius: 16px;
	padding: 0.75rem;
	color: var(--ink);
}

.across-mini-product__image {
	height: 80px;
	border-radius: 10px;
	background: var(--card-border);
	margin-bottom: 0.5rem;
}

.across-mini-product__name {
	font-weight: 800;
	font-size: 0.8125rem;
}

.across-mini-product__price {
	font-weight: 800;
	color: var(--season);
	font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------- */
/* CTA band                                                                   */
/* -------------------------------------------------------------------------- */

.across-cta-band {
	background: var(--season);
	padding: 2.125rem 0;
	text-align: center;
	color: #fff;
}

.across-cta-band__title {
	font-family: Fredoka, sans-serif;
	font-weight: 700;
	font-size: clamp(1.75rem, 4vw, 2.125rem);
	margin: 0 0 0.5rem;
}

.across-cta-band__lead {
	font-weight: 700;
	margin: 0 0 1.125rem;
	opacity: 0.95;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.across-footer {
	background: var(--ink);
	color: var(--footer-muted);
	padding: 1.25rem 0;
}

.across-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-weight: 700;
	font-size: 0.8125rem;
}

/* -------------------------------------------------------------------------- */
/* Generic page                                                               */
/* -------------------------------------------------------------------------- */

.across-page {
	padding: 3rem 0;
}

.across-prose > *:first-child {
	margin-top: 0;
}

.across-prose > *:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 960px) {
	.across-hero__grid {
		grid-template-columns: 1fr;
	}

	.across-hero__media {
		max-width: 420px;
		margin-inline: auto;
	}

	.across-float--star {
		left: auto;
		right: 8%;
	}

	.across-weeks__grid {
		grid-template-columns: 1fr;
	}

	.across-shop-band__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.across-nav-toggle {
		display: flex;
	}

	.across-nav {
		position: fixed;
		inset: 0 0 auto 0;
		top: 0;
		z-index: 100;
		flex-direction: column;
		align-items: stretch;
		gap: 1.25rem;
		padding: 5rem var(--gutter) 1.5rem;
		background: var(--cream);
		border-bottom: 2px solid var(--card-border);
		transform: translateY(-110%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.across-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.across-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.across-nav__cta {
		align-self: flex-start;
	}

	.across-shop-band__products {
		grid-template-columns: 1fr;
	}

	.across-footer__inner {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.across-hero__actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.across-section-head {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* -------------------------------------------------------------------------- */
/* Shop archive                                                               */
/* -------------------------------------------------------------------------- */

.across-shop {
	padding-bottom: 3.75rem;
}

.across-shop-hero {
	position: relative;
	padding: 1.625rem 0 0.5rem;
	overflow: hidden;
}

.across-float--camp {
	top: 10px;
	right: 6%;
	font-size: 2rem;
	--r: 12deg;
	animation-duration: 5s;
}

.across-float--sun {
	top: 60px;
	right: 15%;
	font-size: 1.625rem;
	--r: -10deg;
	animation-duration: 4.4s;
}

.across-shop-hero__title {
	font-family: Fredoka, sans-serif;
	font-weight: 700;
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	line-height: 1;
	margin: 0.875rem 0 0.5rem;
}

.across-shop-hero__lead {
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--muted);
	margin: 0;
	max-width: 35rem;
}

.across-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 1.625rem 0 1.375rem;
	flex-wrap: wrap;
}

.across-shop-toolbar__count {
	margin: 0;
	font-weight: 800;
	font-size: 0.875rem;
	color: #7a6f8c;
}

.across-shop-order {
	margin: 0;
}

.across-shop-order .orderby,
.across-shop-order select {
	padding: 0.625rem 0.875rem;
	border: 2px solid #efe4d1;
	border-radius: 12px;
	font-family: Nunito, sans-serif;
	font-weight: 700;
	font-size: 0.875rem;
	background: #fff;
	color: var(--ink);
	outline: none;
	cursor: pointer;
}

.across-shop-order .orderby:focus,
.across-shop-order select:focus {
	border-color: var(--season);
}

.across-shop-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.across-shop-grid::before,
.across-shop-grid::after {
	display: none;
}

.across-product-card {
	background: #fff;
	border: 2px solid var(--card-border);
	border-radius: var(--radius-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	margin: 0;
	width: auto;
	float: none;
}

.across-product-card__banner {
	position: relative;
	height: 150px;
}

.across-gradient--lunch {
	background: linear-gradient(135deg, var(--yellow), var(--sky));
}

.across-product-card__category {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	font-weight: 800;
	font-size: 0.75rem;
	padding: 0.375rem 0.75rem;
	border-radius: var(--radius-pill);
}

.across-status-tag {
	position: absolute;
	top: 12px;
	right: 12px;
	font-weight: 800;
	font-size: 0.6875rem;
	padding: 0.375rem 0.6875rem;
	border-radius: var(--radius-pill);
	color: #fff;
}

.across-status-tag--open {
	background: #2f9e5e;
}

.across-status-tag--warning {
	background: #d9720f;
}

.across-status-tag--soldout {
	background: #8a7f9e;
}

.across-product-card__body {
	padding: 1.125rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.across-product-card__dates {
	font-weight: 800;
	font-size: 0.75rem;
	color: #8a7f9e;
}

.across-product-card__title {
	font-family: Fredoka, sans-serif;
	font-weight: 600;
	font-size: 1.375rem;
	line-height: 1.05;
	margin: 0.25rem 0 0.5rem;
}

.across-product-card__title a:hover {
	color: var(--season);
}

.across-product-card__desc {
	font-size: 0.875rem;
	font-weight: 600;
	color: #6a5f7b;
	margin: 0 0 0.875rem;
	flex: 1;
}

.across-product-card__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.across-product-card__price-label {
	display: block;
	font-weight: 700;
	font-size: 0.8125rem;
	color: #8a7f9e;
}

.across-product-card__price,
.across-product-card__price .woocommerce-Price-amount {
	font-family: Fredoka, sans-serif;
	font-weight: 700;
	font-size: 1.625rem;
	color: var(--season);
	line-height: 1;
}

.across-product-card__price del {
	font-size: 0.875rem;
	color: #8a7f9e;
}

.across-spots {
	font-weight: 800;
	font-size: 0.75rem;
	text-align: right;
}

.across-spots--open {
	color: #2f9e5e;
}

.across-spots--warning {
	color: #d9720f;
}

.across-spots--soldout {
	color: #c23a3a;
}

.across-product-card__btn {
	display: block;
	text-align: center;
	font-weight: 900;
	font-size: 0.9375rem;
	padding: 0.8125rem;
	border-radius: var(--radius-btn);
	background: var(--season);
	color: #fff;
	border: 2px solid var(--season);
	box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
	transition: transform 0.15s ease;
}

.across-product-card__btn:hover {
	transform: translateY(-1px);
	color: #fff;
}

.across-product-card__btn.is-soldout {
	background: #f0e7d6;
	color: #8a7f9e;
	border-color: #efe4d1;
	box-shadow: none;
}

.across-shop-empty {
	background: #fff;
	border: 2px solid var(--card-border);
	border-radius: var(--radius-card);
	padding: 2rem;
	text-align: center;
}

.across-reassurance {
	margin-top: 2.125rem;
	background: var(--ink);
	border-radius: 26px;
	padding: 1.5rem 1.75rem;
	color: #fff;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.across-reassurance__icon {
	font-size: 1.5rem;
	line-height: 1;
}

.across-reassurance__title {
	font-family: Fredoka, sans-serif;
	font-weight: 600;
	font-size: 1.0625rem;
	margin: 0.25rem 0 0;
}

.across-reassurance__text {
	font-weight: 600;
	font-size: 0.8125rem;
	color: #c8bfe0;
	margin: 0.25rem 0 0;
}

.across-footer--card {
	background: transparent;
	color: var(--footer-muted);
	padding: 1.875rem 0 0;
}

.across-footer--card .across-footer__inner {
	background: var(--ink);
	color: var(--footer-muted);
	border-radius: 20px;
	padding: 1.25rem 1.75rem;
}

.across-shop .woocommerce-pagination {
	margin-top: 1.5rem;
	text-align: center;
}

.across-shop .woocommerce-pagination ul {
	display: inline-flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.across-shop .woocommerce-pagination ul li a,
.across-shop .woocommerce-pagination ul li span {
	display: inline-block;
	min-width: 2.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 12px;
	border: 2px solid var(--card-border);
	background: #fff;
	font-weight: 800;
}

.across-shop .woocommerce-pagination ul li span.current {
	background: var(--season);
	border-color: var(--season);
	color: #fff;
}

@media (max-width: 960px) {
	.across-shop-grid {
		grid-template-columns: 1fr;
	}

	.across-reassurance {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.across-reassurance {
		grid-template-columns: 1fr;
	}

	.across-shop-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}
}
