/*
 * Demo 2 · Hielo
 * Light and friendly: icy backgrounds, a floating rounded header, soft cards,
 * pill buttons. The search box is the hero.
 */

:root {
	--rr-font: "DM Sans", system-ui, sans-serif;
	--rr-font-head: "Outfit", "DM Sans", system-ui, sans-serif;
	--rr-head-weight: 600;
	--rr-head-spacing: -.02em;
	--rr-radius: 12px;
	--rr-radius-lg: 22px;
	--rr-btn-radius: 999px;
	--rr-bg: #f2f7fe;
	--rr-surface-2: #e8f1fd;
	--rr-border: #dbe6f7;
	--rr-primary: #1241e0;
	--rr-primary-hover: #0a28c0;
	--rr-heading: #0a1a5c;
	--rr-card-border: transparent;
	--rr-card-media: #f5f9ff;
	--rr-shadow: 0 2px 4px rgba(18, 65, 224, .04), 0 16px 40px rgba(18, 65, 224, .10);
}

body {
	background:
		radial-gradient(1100px 560px at 88% -8%, #cfe3ff 0%, rgba(207, 227, 255, 0) 62%),
		radial-gradient(900px 520px at -8% 6%, #e1ecff 0%, rgba(225, 236, 255, 0) 58%),
		var(--rr-bg);
	background-repeat: no-repeat;
}

h1 {
	font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.rr-eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--rr-primary);
	letter-spacing: .1em;
}

.rr-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font-size: .85rem;
	font-weight: 500;
}

.rr-pill--sale {
	background: var(--rr-sale);
}

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

.rr-header {
	position: sticky;
	top: 12px;
	z-index: 100;
	padding-top: 12px;
}

.admin-bar .rr-header {
	top: 44px;
}

.rr-header__bar {
	display: flex;
	align-items: center;
	gap: clamp(10px, 2vw, 24px);
	min-height: 72px;
	padding: 8px 12px 8px 22px;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 999px;
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 10px 34px rgba(18, 65, 224, .12);
	backdrop-filter: blur(14px) saturate(1.4);
}

.rr-logo img {
	height: 48px;
}

.rr-header__nav {
	margin-inline: auto;
}

.rr-nav__list a {
	padding: 9px 14px;
	border-radius: 999px;
	color: var(--rr-heading);
	font-weight: 500;
}

.rr-nav__list a:hover,
.rr-nav__list .current-menu-item a {
	background: var(--rr-surface-2);
	color: var(--rr-primary);
	text-decoration: none;
}

.rr-header .rr-search {
	flex: 0 1 250px;
}

.rr-header .rr-search input[type="search"] {
	height: 44px;
	padding-right: 14px;
	border-color: transparent;
	border-radius: 999px;
	background: var(--rr-surface-2);
}

.rr-header .rr-search button {
	display: none;
}

.rr-action {
	border-radius: 999px;
}

.rr-action--cart {
	padding: 10px 16px;
	background: var(--rr-primary);
	color: #fff;
}

.rr-action--cart:hover {
	background: var(--rr-primary-hover);
	color: #fff;
}

.rr-action--cart .rr-cart-count,
.rr-action--cart .rr-cart-count[data-count="0"] {
	background: #fff;
	color: var(--rr-primary);
}

.rr-action--account .rr-action__label {
	display: none;
}

/* --- Home --------------------------------------------------------------------- */

.rr-hero {
	padding-top: 22px;
}

.rr-hero__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	gap: clamp(24px, 4vw, 60px);
	align-items: center;
	overflow: hidden;
	padding: clamp(28px, 5vw, 64px);
	border-radius: 40px;
	background: linear-gradient(135deg, #0a1a5c 0%, #1241e0 52%, #4c98f5 100%);
	color: #fff;
}

.rr-hero__copy,
.rr-hero__services {
	position: relative;
}

/* A big, faint snowflake behind everything. */
.rr-hero__flake {
	position: absolute;
	right: -110px;
	bottom: -150px;
	color: rgba(255, 255, 255, .1);
	pointer-events: none;
}

.rr-hero__flake .rr-icon {
	stroke-width: .7;
}

.rr-hero h1 {
	margin-bottom: 24px;
	color: #fff;
	font-size: clamp(3rem, 6.4vw, 5.4rem);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: .96;
}

.rr-hero__ask {
	margin: 0 0 12px;
	color: #fff;
	font-family: var(--rr-font-head);
	font-size: clamp(1.35rem, 2.1vw, 1.75rem);
	font-weight: 600;
	letter-spacing: -.01em;
}

.rr-hero .rr-search {
	max-width: 560px;
}

.rr-hero .rr-search input[type="search"] {
	height: 64px;
	padding-left: 52px;
	padding-right: 124px;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 14px 40px rgba(5, 11, 46, .28);
	font-size: 1.1rem;
}

.rr-hero .rr-search .rr-icon {
	left: 20px;
}

.rr-hero .rr-search button {
	right: 7px;
	height: 50px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 1.05rem;
}

.rr-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.rr-hero__chips a {
	display: block;
	padding: 8px 15px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	color: #fff;
	font-size: .95rem;
}

.rr-hero__chips a:hover {
	background: #fff;
	color: var(--rr-heading);
	text-decoration: none;
}

/* Dark Reader turns the light outline dark, which vanishes on the blue: a dark pill instead. */
html[data-darkreader-scheme="dark"] .rr-hero__chips a:not(:hover) {
	background: rgba(5, 11, 46, .32);
}

/* Two buttons that take the place of the services card on a phone. */
.rr-hero__links {
	display: none;
}

.rr-hero__services {
	padding: 26px 26px 18px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(5, 11, 46, .32);
	color: var(--rr-text);
}

.rr-hero__services h2 {
	margin-bottom: 10px;
	font-size: 1.5rem;
}

.rr-hero__services li + li {
	border-top: 1px solid var(--rr-border);
}

.rr-hero__services a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
	color: var(--rr-heading);
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1.25;
}

.rr-hero__services a:hover {
	color: var(--rr-primary);
	text-decoration: none;
}

.rr-hero__services span {
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--rr-surface-2);
	color: var(--rr-primary);
}

.rr-perkrow ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.rr-perkrow li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 22px;
	background: rgba(255, 255, 255, .8);
	color: var(--rr-muted);
	font-size: .86rem;
	line-height: 1.3;
}

.rr-perkrow__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--rr-surface-2);
	color: var(--rr-primary);
}

.rr-perkrow b {
	display: block;
	color: var(--rr-heading);
	font-family: var(--rr-font-head);
	font-size: 1rem;
	font-weight: 600;
}

.rr-section {
	padding-block: clamp(32px, 5vw, 60px);
}

.rr-tiles {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 26px 14px;
}

.rr-tile {
	display: grid;
	justify-items: center;
	gap: 2px;
	color: var(--rr-heading);
	text-align: center;
}

.rr-tile:hover {
	text-decoration: none;
}

.rr-tile__media {
	width: min(100%, 118px);
	aspect-ratio: 1;
	margin-bottom: 8px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--rr-shadow);
	transition: transform .2s, border-color .2s;
}

.rr-tile__media img {
	inset: 18%;
	width: 64%;
	height: 64%;
}

.rr-tile:hover .rr-tile__media {
	border-color: var(--rr-accent);
	transform: translateY(-4px);
}

.rr-tile__num {
	display: none;
}

.rr-tile__name {
	font-size: .9rem;
	font-weight: 500;
	line-height: 1.25;
}

.rr-tile__count {
	color: var(--rr-muted);
	font-size: .76rem;
}

.rr-card {
	border: 0;
	box-shadow: 0 1px 2px rgba(18, 65, 224, .04), 0 8px 24px rgba(18, 65, 224, .07);
}

.rr-card:hover {
	box-shadow: var(--rr-shadow);
	transform: translateY(-4px);
}

.rr-card__media {
	margin: 10px 10px 0;
	border-radius: 16px;
}

/* Product photos have white backgrounds: let them take the tint of the box. */
.rr-card__media img {
	mix-blend-mode: multiply;
}

/* Except under Dark Reader, which darkens the box but not the photo: multiplied,
   the photo went nearly black, so it keeps its white instead. */
html[data-darkreader-scheme="dark"] .rr-card__media img {
	mix-blend-mode: normal;
}

.rr-card__price {
	color: var(--rr-primary);
	font-family: var(--rr-font-head);
	font-size: 1.25rem;
	font-weight: 600;
}

.rr-badge,
.onsale {
	top: 12px;
	left: 12px;
}

.rr-offers {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 2.4fr);
	gap: clamp(18px, 3vw, 36px);
	align-items: center;
	padding: clamp(22px, 3.5vw, 40px);
	border-radius: 32px;
	background: linear-gradient(135deg, #dfeaff, #f4f8ff);
}

/* The empty catalogue's panel looks like the offers one. */
.rr-soon {
	border: 0;
	border-radius: 32px;
	background: linear-gradient(135deg, #dfeaff, #f4f8ff);
}

.rr-soon__icon {
	background: #fff;
	box-shadow: var(--rr-shadow);
}

.rr-offers__copy p:last-child {
	margin: 0;
	color: var(--rr-muted);
}

.rr-offers ul.products {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rr-service {
	border: 0;
	box-shadow: 0 1px 2px rgba(18, 65, 224, .04), 0 8px 24px rgba(18, 65, 224, .06);
}

.rr-service__icon {
	border-radius: 50%;
}

.rr-story {
	display: grid;
	grid-template-columns: auto minmax(0, 1.2fr) minmax(0, .9fr);
	gap: clamp(20px, 4vw, 52px);
	align-items: center;
}

.rr-story__number {
	display: grid;
	place-items: center;
	align-content: center;
	width: clamp(150px, 16vw, 210px);
	aspect-ratio: 1;
	padding: 18px;
	border-radius: 50%;
	background: linear-gradient(150deg, #1241e0, #4c98f5);
	color: #fff;
	text-align: center;
}

.rr-story__number b {
	font-family: var(--rr-font-head);
	font-size: clamp(2.6rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1;
}

.rr-story__number span {
	font-size: .86rem;
	line-height: 1.2;
}

.rr-story__media img {
	width: 100%;
	border-radius: 28px;
	box-shadow: var(--rr-shadow);
}

.rr-visit {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: clamp(20px, 4vw, 44px);
	align-items: center;
	padding: clamp(20px, 3vw, 32px);
	border-radius: 32px;
	background: #fff;
	box-shadow: var(--rr-shadow);
}

.rr-visit__copy {
	padding: clamp(0px, 2vw, 20px);
}

/* --- Shop: categories as chips, no sidebar -------------------------------------- */

.rr-shop {
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.rr-shop__nav-title,
.rr-cats__count {
	display: none;
}

.rr-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rr-cats__item.is-open {
	display: contents;
}

.rr-cats a {
	padding: 9px 16px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(18, 65, 224, .08);
	white-space: nowrap;
}

.rr-cats a:hover {
	background: var(--rr-surface-2);
}

/* Under Dark Reader the white pill turns as dark as the page: an outline keeps it a pill. */
html[data-darkreader-scheme="dark"] .rr-cats a {
	padding: 8px 15px;
	border: 1px solid var(--rr-border);
}

.rr-cats__item.is-open > a {
	background: var(--rr-heading);
	color: #fff;
}

.rr-cats__item.is-open > .rr-cats__sub {
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	gap: 8px;
	order: 99;
	margin: 4px 0 0;
	padding: 12px 0 0;
	border-top: 1px dashed var(--rr-border);
	border-left: 0;
}

.rr-shop__main ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rr-shop__bar {
	border-bottom: 0;
}

.woocommerce-product-gallery,
.rr-contact__form,
.rr-quotebox,
.rr-stats li {
	border: 0;
	box-shadow: var(--rr-shadow);
}

.rr-quotebox {
	background: #fff;
}

.rr-page .rr-prose,
.rr-page--carrito .wp-block-woocommerce-cart,
.rr-page--finalizar-compra .wp-block-woocommerce-checkout {
	border-radius: var(--rr-radius-lg);
}

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

.rr-footer {
	margin-top: 20px;
	border-radius: 40px 40px 0 0;
	background: linear-gradient(165deg, #0a1a5c, #050b2e);
	color: #c6d3f2;
	font-size: .94rem;
}

.rr-footer__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 44px;
	padding: clamp(22px, 3vw, 36px);
	border-radius: 28px;
	background: linear-gradient(120deg, #1241e0, #4c98f5);
	color: #fff;
	transform: translateY(-28px);
}

.rr-footer__cta h2 {
	margin: 0 0 4px;
	color: #fff;
}

.rr-footer__cta p {
	margin: 0;
}

.rr-footer__cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	font-weight: 600;
}

.rr-footer__cta a:not(.rr-btn) {
	color: #fff;
}

.rr-footer__in {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: clamp(24px, 4vw, 48px);
	padding-bottom: 36px;
}

.rr-footer .rr-logo img {
	height: 56px;
	margin-bottom: 14px;
}

.rr-footer h3 {
	margin-bottom: 14px;
	color: #fff;
	font-size: 1rem;
}

.rr-footer a:not(.rr-btn) {
	color: inherit;
}

.rr-footer a:not(.rr-btn):hover {
	color: #fff;
}

.rr-footer li {
	margin-bottom: 8px;
}

.rr-footer__legal {
	margin: 0;
	padding-block: 18px 80px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	color: #8493bd;
	font-size: .84rem;
}

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

@media (max-width: 1100px) {
	.rr-tiles {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.rr-header .rr-search {
		flex-basis: 180px;
	}

	.rr-nav__list a {
		padding: 9px 10px;
	}

	.rr-shop__main ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rr-offers {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 860px) {
	.rr-hero__panel,
	.rr-story,
	.rr-visit {
		grid-template-columns: minmax(0, 1fr);
	}

	.rr-cats__item.is-open > .rr-cats__sub {
		display: none;
	}
}

@media (max-width: 640px) {
	.rr-footer .rr-logo img {
		height: 52px;
	}
}

/* Pieces only the two prototypes show (skin-hielo-plus.css). */
.rr-header__call,
.rr-band-wrap {
	display: none;
}

/* The quote's button, with its count, as in the prototypes: comparing the
   designs should not hide a feature. The rules below are Hielo's own; the
   prototypes size their header in skin-hielo-plus.css. */
.rr-header__cta {
	display: none;
}

@media (min-width: 861px) {
	body:not(.rr-hielo-plus) .rr-header__cta {
		display: inline-flex;
		padding: .7em 1.2em;
	}

	body:not(.rr-hielo-plus) .rr-header__bar {
		gap: clamp(8px, 1.1vw, 16px);
	}

	/* Never less than what "Buscar…" needs. */
	body:not(.rr-hielo-plus) .rr-header .rr-search {
		min-width: 140px;
	}
}

@media (min-width: 861px) and (max-width: 1365px) {
	body:not(.rr-hielo-plus) .rr-action--cart .rr-action__label {
		display: none;
	}
}

@media (min-width: 861px) and (max-width: 1220px) {
	body:not(.rr-hielo-plus) .rr-header__cta {
		display: none;
	}

	body:not(.rr-hielo-plus) .rr-nav__list a {
		padding-inline: 7px;
	}

	body:not(.rr-hielo-plus) .rr-header .rr-search {
		min-width: 124px;
	}

	body:not(.rr-hielo-plus) .rr-header .rr-logo img {
		height: 42px;
	}
}

@media (min-width: 861px) and (max-width: 940px) {
	body:not(.rr-hielo-plus) .rr-nav__list li:first-child {
		display: none;
	}
}

.rr-section h2 em {
	font-style: normal;
}
