:root {
	--langostino-primary: var(--wp--preset--color--langostino-primary);
	--langostino-secondary: var(--wp--preset--color--langostino-secondary);
	--langostino-accent: var(--wp--preset--color--langostino-accent);
	--langostino-background: var(--wp--preset--color--langostino-background);
	--langostino-surface: var(--wp--preset--color--langostino-surface);
	--langostino-text: var(--wp--preset--color--langostino-text);
}

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

.wp-site-blocks > main {
	margin-block-start: 0 !important;
}

.langostino-header {
	position: relative;
	z-index: 2;
	background: var(--langostino-primary);
	color: #fff;
	padding-inline: 50px;
}

.wp-block-group.langostino-header__inner {
	display: grid;
	width: 100%;
	max-width: none;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	margin-inline: 0;
	min-height: 78px;
	gap: 0;
	padding-block: 0.75rem;
}

.langostino-header__brand {
	margin: 0;
	width: clamp(180px, 26vw, 260px);
}

.langostino-header__brand img {
	display: block;
	width: 100%;
	height: auto;
}

.langostino-header .wp-block-navigation a,
.langostino-header__navigation a,
.langostino-header__actions a {
	color: #fff;
	text-decoration: none;
}

.langostino-header .wp-block-navigation a,
.langostino-header__navigation a,
.langostino-header__actions a {
	padding: 0.65rem 0.8rem;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 500;
}

.langostino-header__actions .langostino-header__item--account > a,
.langostino-header__actions .langostino-header__item--cart > a {
	font-size: 19px;
}

.langostino-header .wp-block-navigation a:hover,
.langostino-header .wp-block-navigation a:focus-visible,
.langostino-header__navigation a:hover,
.langostino-header__navigation a:focus-visible {
	color: var(--langostino-accent);
}

.langostino-header__actions a:hover,
.langostino-header__actions a:focus-visible {
	color: var(--langostino-accent);
}

.langostino-header__actions .langostino-header__item--cart > a:hover,
.langostino-header__actions .langostino-header__item--cart > a:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

.langostino-header__actions .langostino-header__item--account > a:hover,
.langostino-header__actions .langostino-header__item--account > a:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

.langostino-header__brand {
	grid-column: 1;
}

.langostino-header__navigation {
	display: flex;
	grid-column: 2;
	justify-content: center;
	justify-self: center;
	width: max-content;
	max-width: 100%;
}

.langostino-header__menu-toggle {
	display: none;
}

.langostino-header__navigation .langostino-menu__list,
.langostino-header__actions .langostino-menu__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.langostino-header__navigation .langostino-menu__list .langostino-header__item--account,
.langostino-header__navigation .langostino-menu__list .langostino-header__item--cart,
.langostino-header__actions .langostino-menu__list li:not(.langostino-header__item--account):not(.langostino-header__item--cart) {
	display: none;
}

.langostino-header__actions {
	display: flex;
	position: relative;
	grid-column: 3;
	justify-self: end;
	justify-content: flex-end;
}

.langostino-header__actions .langostino-menu__list {
	justify-content: flex-end;
}

.langostino-header__navigation .langostino-menu__list a,
.langostino-header__actions .langostino-menu__list a {
	display: inline-flex;
	align-items: center;
}

.langostino-header__actions .langostino-header__item--account {
	position: relative;
}

.langostino-header__greeting {
	max-width: min(24vw, 220px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.langostino-account-bubble {
	position: absolute;
	z-index: 20;
	top: calc(100% + 0.25rem);
	right: 0;
	display: none;
	min-width: 140px;
	padding: 0.4rem;
	border: 1px solid rgb(6 79 91 / 14%);
	border-radius: 0.65rem;
	background: #fff;
	box-shadow: 0 8px 20px rgb(0 0 0 / 18%);
}

.langostino-account-bubble::before {
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 0.25rem;
	content: "";
}

.langostino-header__item--account:hover > .langostino-account-bubble,
.langostino-header__item--account:focus-within > .langostino-account-bubble {
	display: block;
}

.langostino-header__actions .langostino-account-bubble a {
	display: block;
	padding: 0.65rem 0.75rem;
	border-radius: 0.4rem;
	color: var(--langostino-primary);
	font-size: 0.9rem;
	white-space: nowrap;
}

.langostino-header__actions .langostino-account-bubble a:hover,
.langostino-header__actions .langostino-account-bubble a:focus-visible {
	background: var(--langostino-background);
	color: var(--langostino-primary);
}

.langostino-menu-icon {
	display: inline-flex;
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
	vertical-align: middle;
}

.langostino-menu-icon__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	clip-path: inset(50%);
}

.langostino-header__actions .langostino-header__item--cart > a {
	position: relative;
}

.langostino-cart-count[hidden] {
	display: none;
}

.langostino-cart-count {
	position: absolute;
	top: -0.4rem;
	right: -0.4rem;
	display: grid;
	min-width: 1.4rem;
	height: 1.4rem;
	box-sizing: border-box;
	place-items: center;
	padding-inline: 0.25rem;
	border: 2px solid var(--langostino-primary);
	border-radius: 999px;
	background: var(--langostino-accent);
	color: #fff;
	box-shadow: 0 2px 6px rgb(6 79 91 / 22%);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
}

.langostino-menu-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.langostino-header-cart[hidden],
.langostino-header-cart__empty[hidden],
.langostino-header-cart__error[hidden] {
	display: none;
}

.langostino-header-cart {
	position: absolute;
	z-index: 20;
	top: calc(100% + 0.75rem);
	right: 0;
	box-sizing: border-box;
	width: min(400px, calc(100vw - 2rem));
	max-height: min(70vh, 620px);
	overflow: auto;
	padding: 1.25rem;
	border: 1px solid rgb(6 79 91 / 14%);
	border-radius: 0.9rem;
	background: #fff;
	box-shadow: 0 12px 32px rgb(0 0 0 / 20%);
	color: var(--langostino-text);
}

.langostino-header-cart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgb(6 79 91 / 12%);
}

.langostino-header-cart__header h2 {
	margin: 0;
	color: var(--langostino-primary);
	font-size: 1.15rem;
}

.langostino-header-cart__close {
	display: inline-grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.5rem;
	cursor: pointer;
}

.langostino-header-cart__close:hover,
.langostino-header-cart__close:focus-visible {
	background: var(--langostino-background);
}

.langostino-header-cart__status,
.langostino-header-cart__empty,
.langostino-header-cart__error {
	margin: 0.75rem 0;
	font-size: 0.9rem;
}

.langostino-header-cart__error {
	color: #b42318;
}

.langostino-header-cart__items {
	display: grid;
	gap: 0.75rem;
	max-height: 340px;
	overflow: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}

.langostino-header-cart__item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto 2rem;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgb(6 79 91 / 10%);
	font-size: 0.85rem;
}

.langostino-header-cart__item img {
	width: 56px;
	height: 56px;
	border-radius: 0.45rem;
	object-fit: cover;
}

.langostino-header-cart__item-details {
	display: grid;
	gap: 0.25rem;
	min-width: 0;
}

.langostino-header-cart__item-name {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.langostino-header-cart__item-quantity {
	color: #647779;
	font-size: 0.8rem;
}

.langostino-header-cart__item-price {
	white-space: nowrap;
}

.langostino-header-cart__remove {
	display: grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	padding: 0;
	border: 1px solid rgb(6 79 91 / 16%);
	border-radius: 0.55rem;
	background: #fff;
	color: #647779;
	cursor: pointer;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.langostino-header-cart__remove svg {
	display: block;
	width: 1rem;
	height: 1rem;
}

.langostino-header-cart__remove:hover,
.langostino-header-cart__remove:focus-visible {
	border-color: #b42318;
	background: #fff3f1;
	color: #b42318;
}

.langostino-header-cart__remove:disabled {
	opacity: 0.55;
	cursor: wait;
}

.langostino-header-cart__footer {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1rem;
}

.langostino-header-cart__footer > span {
	font-weight: 600;
}

.langostino-header-cart__checkout {
	grid-column: 1 / -1;
	display: block;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: var(--langostino-accent);
	color: #fff !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	text-align: center;
	text-decoration: none;
}

.langostino-header-cart__checkout:hover,
.langostino-header-cart__checkout:focus-visible {
	background: var(--langostino-primary);
	color: #fff !important;
}

.langostino-home {
	overflow: hidden;
}

.wp-site-blocks > .langostino-home {
	margin-block-start: 0;
}

.langostino-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: clamp(390px, 43vw, 620px);
	align-items: center;
	background-color: var(--langostino-background);
	background-image:
		linear-gradient(90deg, rgb(244 244 238 / 94%) 0%, rgb(244 244 238 / 82%) 28%, rgb(244 244 238 / 24%) 54%, transparent 70%),
		url("../../img/Gambas-al-ajillo-frente-al-mar-2048x740.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.langostino-hero::after {
	position: absolute;
	z-index: -1;
	inset: auto 0 0;
	height: 12px;
	background: linear-gradient(
		90deg,
		var(--langostino-secondary) 0 12%,
		#75b9d1 12% 24%,
		var(--langostino-background) 24% 36%,
		var(--langostino-accent) 36% 48%,
		var(--langostino-primary) 48% 60%,
		#75b9d1 60% 72%,
		var(--langostino-background) 72% 84%,
		var(--langostino-accent) 84% 100%
	);
	content: "";
}

.langostino-hero__content {
	width: 100%;
	margin-right: auto !important;
	margin-left: 0 !important;
	padding-block: clamp(3rem, 8vw, 7rem);
	text-align: left;
}

.langostino-hero__content.is-layout-constrained > * {
	max-width: 590px;
	margin-right: auto !important;
	margin-left: 0 !important;
}

.langostino-hero__content .wp-block-buttons {
	justify-content: flex-start;
}

.langostino-eyebrow {
	margin: 0 0 0.8rem;
	color: var(--langostino-secondary);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.19em;
	line-height: 1.4;
	text-transform: uppercase;
}

.langostino-hero__title,
.langostino-section-title,
.langostino-story__title,
.langostino-recipes__title {
	color: var(--langostino-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 1.05;
}

.langostino-hero__title {
	margin-block: 0;
	font-size: clamp(2.8rem, 7vw, 5.7rem);
	letter-spacing: -0.035em;
}

.langostino-hero__description {
	max-width: 450px;
	margin-block: 1.2rem 1.7rem;
	color: #4f6668;
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	line-height: 1.65;
}

.langostino-button .wp-element-button {
	border: 0;
	border-radius: 999px;
	background: var(--langostino-accent);
	color: #fff;
	font-weight: 700;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	transition: background-color 160ms ease, transform 160ms ease;
}

.langostino-button .wp-element-button:hover {
	background: var(--langostino-primary);
	transform: translateY(-2px);
}

.langostino-home-category__unavailable {
	cursor: pointer;
	font: inherit;
}

.langostino-home-category__status {
	margin: 0.5rem auto 0;
	color: var(--langostino-primary);
	font-size: 0.875rem;
}

.langostino-home-category__status[hidden] {
	display: none;
}

.langostino-section-heading {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	text-align: center;
}

.langostino-section-heading .langostino-eyebrow {
	color: var(--langostino-accent);
}

.langostino-section-title {
	margin-block: 0.4rem;
	font-size: clamp(2.5rem, 5vw, 4.1rem);
}

.langostino-section-description {
	margin-block: 0.7rem 0;
	color: var(--langostino-secondary);
	font-size: 1.1rem;
}

.langostino-categories {
	position: relative;
	isolation: isolate;
	padding-block: clamp(4rem, 8vw, 7rem);
	background: var(--langostino-background);
}

.langostino-categories::after {
	position: absolute;
	z-index: 1;
	inset: auto 0 0;
	height: 12px;
	background: linear-gradient(
		90deg,
		var(--langostino-secondary) 0 12%,
		#75b9d1 12% 24%,
		var(--langostino-background) 24% 36%,
		var(--langostino-accent) 36% 48%,
		var(--langostino-primary) 48% 60%,
		#75b9d1 60% 72%,
		var(--langostino-background) 72% 84%,
		var(--langostino-accent) 84% 100%
	);
	content: "";
	pointer-events: none;
}

.langostino-home-categories__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
	text-align: center;
}

.langostino-home-category {
	width: 100%;
	text-align: center;
}

.langostino-home-category__icon {
	width: clamp(6.5rem, 12vw, 9rem);
	height: 6.75rem;
	margin: 0 auto 0.75rem;
}

.langostino-home-category__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.langostino-home-category h3 {
	margin-block: 0 0.25rem;
	color: var(--langostino-secondary);
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 800;
}

.langostino-home-category p {
	max-width: 16rem;
	margin: 0 auto 0.75rem;
	color: #657476;
	font-size: 0.95rem;
	line-height: 1.4;
}

.langostino-home-category .wp-block-button__link {
	padding: 0.45rem 1.1rem;
	font-size: 0.875rem;
}

.langostino-category-list .wc-block-product-categories-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.langostino-category-list .wc-block-product-categories-list-item {
	display: flex;
	min-height: 135px;
	align-items: center;
	justify-content: center;
	margin: 0;
	border: 1px solid rgb(6 79 91 / 12%);
	border-radius: 1.25rem;
	background: #fff;
	box-shadow: 0 8px 22px rgb(6 79 91 / 8%);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 700;
	text-align: center;
	transition: border-color 160ms ease, transform 160ms ease;
}

.langostino-category-list .wc-block-product-categories-list-item:hover {
	transform: translateY(-3px);
	border-color: var(--langostino-secondary);
}

.langostino-category-list .wc-block-product-categories-list-item a {
	padding: 1.5rem;
	color: var(--langostino-primary);
	text-decoration: none;
}
