/* ==========================================================================
   theme.css — Estilos del sitio (copiados de Cargo: Design > CSS)
   ========================================================================== */

html {
	--mobile-scale: 1.33;
	--mobile-padding-offset: 0.75;
}

body {
	--swatch-1: rgba(0, 0, 0, 0.85);
	--swatch-2: rgba(0, 0, 0, 0.75);
	--swatch-3: rgba(0, 0, 0, 0.6);
	--swatch-4: rgba(0, 0, 0, 0.4);
	--swatch-5: rgba(0, 0, 0, 0.25);
	background-color: #ffffff;
}

body.mobile {
}

a:active,
.linked:active,
.zoomable::part(media):active {
	opacity: 0.7;
}

.page a.active {

}

sub {
	position: relative;
	vertical-align: baseline;
	top: 0.3em;
}

sup {
	position: relative;
	vertical-align: baseline;
	top: -0.4em;
}

.small-caps {
	font-variant: small-caps;
    text-transform: lowercase;
}

ol {
	margin: 0;
	padding: 0 0 0 2.5em;
}

ul {
	margin: 0;
	padding: 0 0 0 2.0em;
}

ul.lineated {
	margin: 0;
	padding: 0;
	list-style-type: none;
	margin: 0 0 0 3em;
	text-indent: -3em;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: rgba(0, 0, 0, 0.75);
	border: 0;
	height: 1px;
	display: block;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.content {
	border-width: 0.0rem;
	border-color: rgba(0,0,0,.85);
	border-style: solid;
}

bodycopy {
	font-size: 1rem;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.8);
	font-family: "Diatype Variable";
	font-style: normal;
	line-height: 1.15;
	letter-spacing: 0em;
	display: block;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

bodycopy a {
	color: rgba(0, 0, 0, 0.8);
	text-decoration: none;
}

bodycopy a:hover {
}

h1 {
	font-family: "Gravity Variable";
	font-style: normal;
	margin: 0;
	font-size: 9.45rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.9);
	letter-spacing: -0.017em;
	font-variation-settings: 'wdth' 80, 'slnt' 0;
	font-feature-settings: "ss03", "ss05", "ss06", "ss07", "ss12";
}

h1 a {
	color: rgba(0, 0, 0, 0.9);
	text-decoration: none;
}

h1 a:hover {
}

h2 {
	font-family: "Diatype Variable";
	font-style: normal;
	font-weight: 400;
	margin: 0;
	color: rgba(0, 0, 0, 0.75);
	font-size: 2rem;
	line-height: 1.3;
	letter-spacing: 0em;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

h2 a {
	color: rgba(0, 0, 0, 0.75);
	text-decoration: none;
}

h2 a:hover {
}

.caption {
	font-size: 0.65rem;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.6);
	font-family: "Diatype Mono Variable";
	font-style: normal;
	line-height: 1.15;
	letter-spacing: 0;
	display: block;
	font-variation-settings: 'slnt' 0, 'MONO' 1;
}

.caption a {
	color: rgba(0, 0, 0, 0.6);
	text-decoration: none;
}

.caption a:hover {
}

media-item .caption {
	margin-top: 0.7em;
}

gallery-slideshow .caption {
	margin-top: 1em;
}

gallery-grid .caption,
gallery-columnized .caption,
gallery-justify .caption {
	margin-bottom: 3em;
}

[thumbnail-index] .caption {
	text-align: center;
}

[thumbnail-index] .caption .tags {
	margin-top: 0.25em;
}

.page {
	justify-content: center;
}

.page-content {
	padding: 1rem;
	text-align: left;
	background-color: #ffffff;
}

.mobile [id] .page-layout {
	max-width: 100%;
}

.page-layout {
	align-items: flex-start;
	max-width: 100%;
}

media-item::part(media) {
	border: 0;
}

.quick-view {
	height: 100%;
	width: 100%;
	padding: 1rem;
	margin-top: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
}

.quick-view-background {
	background-color: #ffffff;
}

.quick-view .caption {
	color: rgba(255, 255, 255, 1.0);
	padding: 20px 0;
	text-align: center;
	transition: 100ms opacity ease-in-out;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.quick-view .caption-background {
	padding: 0.5rem 1rem;
	display: inline-block;
	background: rgba(0, 0, 0, 0.5);
	border-radius: .5rem;
	text-align: left;
	max-width: 50rem;
}

.mobile .quick-view {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 10px;
}

.mobile .quick-view .caption {
	padding: 10px 0;
}

.button-1 {
	--text-style: "button 1";
	font-size: 0.65rem;
	font-weight: 600;
	font-family: "Diatype Mono Variable";
	font-style: normal;
	line-height: 1.15;
	letter-spacing: 0;
	font-variation-settings: 'slnt' 0, 'MONO' 1;
	color: rgb(255, 255, 255);
	background: #027aff;
	display: inline-block;
	border-color: rgba(0, 0, 0, 0.1);
	border-style: solid;
	border-width: 0.1rem;
	border-radius: 0.6rem;
	padding-top: 0.6rem;
	padding-right: 1.2rem;
	padding-bottom: 0.6rem;
	padding-left: 1.2rem;
	filter: drop-shadow(0rem 0.5rem 0.6rem rgba(0, 0, 0, 0.15));
	will-change: filter;
}

.button-1 a {
	color: #ffffff;
	text-decoration: none;
}

.button-1 a:hover {
	
}

.button-1 a.active {
	color: #ffffff;
	text-decoration: none;
}

.mobile .quick-view .caption-background {
	max-width: 100vw;
}

::part(slideshow-nav) {
	--button-size: 30px;
	--button-inset: 20px;
	--button-icon-color: rgba(255, 255, 255, 0.9);
	--button-icon-stroke-width: 1.5px;
	--button-icon-stroke-linecap: none;
	--button-background-color: rgba(87, 87, 87, 0.35);
	--button-background-radius: 50%;
	--button-active-opacity: 0.7;
}

gallery-slideshow::part(slideshow-nav) {
	--button-inset: 15px;
}

.quick-view::part(slideshow-nav) {
}

.wallpaper-slideshow::part(slideshow-nav) {
}

.mobile ::part(slideshow-nav) {
	--button-inset: 10px;
}

.mobile .quick-view::part(slideshow-nav) {
	--button-inset: 25px;
}

shop-product {
	font-size: 1.2rem;
	max-width: 22rem;
	font-family: "Diatype Variable";
	font-style: normal;
	font-weight: 400;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
	letter-spacing: 0em;
	margin-bottom: 1em;
}

shop-product::part(price) {
	color: rgba(0, 0, 0, 0.75);
	line-height: 1.1;
	margin-bottom: 0.5em;
}

shop-product::part(dropdown) {
	width: 100%;
	color: rgba(0, 0, 0, 0.85);
	border: 1px solid rgba(0, 0, 0, 0.2);
	background-color: rgba(255, 255, 255, 0.0);
	background-image: url(https://static.cargo.site/assets/images/select-line-arrows.svg);
	background-repeat: no-repeat;
	background-position: top 0em right .1em;
	line-height: 1.2;
	padding: 0.58em 2em 0.55em 0.9em;
	border-radius: 10em;
	margin-bottom: 0.5em;
}

shop-product::part(button) {
	background: rgba(0, 0, 0, 0.15);
	color: rgba(0, 0, 0, 0.75);
	text-align: left;
	line-height: normal;
	padding: 0.5em 1em;
	cursor: pointer;
	border-radius: 10em;
}

shop-product::part(button):active {
	opacity: .7;
}

audio-player {
	--text-color: rgba(0, 0, 0, 0.85);
	--text-padding: 0 1.2em 0 1.0em;
	--background-color: rgba(255, 255, 255, 0);
	--buffer-background-color: rgba(0, 0, 0, 0.03);
	--progress-background-color: rgba(0, 0, 0, 0.075);
	--border-lines: 1px solid rgba(0, 0, 0, 0.2);
	font-size: 1.2rem;
	width: 32rem;
	height: 2.75em;
	font-family: "Diatype Variable";
	font-style: normal;
	font-weight: 400;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
	line-height: normal;
	letter-spacing: 0em;
	margin-bottom: 0.5em;
	border-radius: 10em;
}

audio-player::part(button) {
	--icon-color: rgba(0, 0, 0, 0.85);
	--icon-size: 32%;
	--play-text: '';
	--pause-text: '';
	width: 3.15em;
	display: inline-flex;
	justify-content: center;
	cursor: pointer;
}

audio-player::part(play-icon) {
	padding-left: 0.6em;
}

audio-player::part(pause-icon) {
	padding-left: 0.4em;
}

audio-player::part(progress-indicator) {
	border-right: 1px solid rgba(0, 0, 0, 0);
	height: 100%;
	cursor: ew-resize;
}

audio-player::part(separator) {
	border-right: var(--border-lines);
}

body.mobile audio-player {
	max-width: 100%;
}

media-item {
	--scroll-animation-mode: transition;
	--scroll-animation: scrollTransitionBlurIn-1;
	--scroll-animation-timing: cubic-bezier(.4,0,.2,1);
	--scroll-animation-transition-duration: 1000ms;
}

@keyframes scrollTransitionBlurIn-1 { 
    0% { filter: blur(5px); transform: scale(0.992); }
    25% { filter: blur(0px); transform: scale(1); }
}

/* ==========================================================================
   CSS local de cada página
   ========================================================================== */

/* Página: oversized-title */
[id="S3918450243"] .page-content {
	padding: 0.5rem;
	padding-right: 2rem;
	align-items: flex-end;
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
	padding-left: 0.4rem;
}

[id="S3918450243"].page {
	min-height: var(--viewport-height);
}

[id="S3918450243"] .page-layout {
	align-items: flex-end;
}

/* Página: example-project-1-info */
[id="B4191837516"] .page-layout {
	max-width: 25%;
	padding: 1rem;
}

[id="B4191837516"].page {
	min-height: var(--viewport-height);
	justify-content: flex-end;
}

[id="B4191837516"] .page-content {
	align-items: flex-start;
	background-color: rgba(216, 255, 33, 0.99);
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

/* Página: example-project-2-info-1 */
[id="V1758524431"] .page-layout {
	max-width: 25%;
	padding: 1rem;
}

[id="V1758524431"].page {
	min-height: var(--viewport-height);
	justify-content: flex-end;
}

[id="V1758524431"] .page-content {
	align-items: flex-start;
	background-color: rgba(216, 255, 33, 0.99);
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

/* Página: example-project-3-info-1 */
[id="K0341938056"] .page-layout {
	max-width: 25%;
	padding: 1rem;
}

[id="K0341938056"].page {
	min-height: var(--viewport-height);
	justify-content: flex-end;
}

[id="K0341938056"] .page-content {
	align-items: flex-start;
	background-color: rgba(216, 255, 33, 0.99);
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

/* Página: example-project-4-info */
[id="Z1409557292"] .page-layout {
	max-width: 25%;
	padding: 1rem;
}

[id="Z1409557292"].page {
	min-height: var(--viewport-height);
	justify-content: flex-end;
}

[id="Z1409557292"] .page-content {
	align-items: flex-start;
	background-color: rgba(216, 255, 33, 0.99);
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

/* Página: example-project-5-info */
[id="L3783995956"] .page-layout {
	max-width: 25%;
	padding: 1rem;
}

[id="L3783995956"].page {
	min-height: var(--viewport-height);
	justify-content: flex-end;
}

[id="L3783995956"] .page-content {
	align-items: flex-start;
	background-color: rgba(216, 255, 33, 0.99);
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

/* Página: example-project-6-info */
[id="M3483855036"] .page-layout {
	max-width: 25%;
	padding: 1rem;
}

[id="M3483855036"].page {
	min-height: var(--viewport-height);
	justify-content: flex-end;
}

[id="M3483855036"] .page-content {
	align-items: flex-start;
	background-color: rgba(216, 255, 33, 0.99);
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

/* Página: example-project-7-info */
[id="Y0294309949"] .page-layout {
	max-width: 25%;
	padding: 1rem;
}

[id="Y0294309949"].page {
	min-height: var(--viewport-height);
	justify-content: flex-end;
}

[id="Y0294309949"] .page-content {
	align-items: flex-start;
	background-color: rgba(216, 255, 33, 0.99);
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

/* Página: example-project-8-info-1 */
[id="G3925146847"] .page-layout {
	max-width: 25%;
	padding: 1rem;
}

[id="G3925146847"].page {
	min-height: var(--viewport-height);
	justify-content: flex-end;
}

[id="G3925146847"] .page-content {
	align-items: flex-start;
	background-color: rgba(216, 255, 33, 0.99);
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

/* Página: example-project-9-info */
[id="S3305649286"] .page-layout {
	max-width: 25%;
	padding: 1rem;
}

[id="S3305649286"].page {
	min-height: var(--viewport-height);
	justify-content: flex-end;
}

[id="S3305649286"] .page-content {
	align-items: flex-start;
	background-color: rgba(216, 255, 33, 0.99);
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

/* Página: index */
[id="S3892563563"].page {
	min-height: var(--viewport-height);
}

[id="S3892563563"] .page-content {
	align-items: center;
	--page-content-backdrop-filter: blur(3rem);
	background-color: rgba(255, 255, 255, 0.75);
	height: auto;
	box-shadow: 0rem 0.3rem 0.87rem -0.5rem rgba(0, 0, 0, 0.25);
	border-width: 0rem;
	border-style: solid;
	border-radius: 0.7rem;
}

[id="S3892563563"] .page-layout {
	align-items: center;
	padding: 2.7rem;
	--page-layout-mix: normal;
}

/* Página: information */
[id="M3902753614"] .page-content {
	background-color: #999999;
	align-items: flex-start;
	padding-bottom: 20rem;
	--noise-scale: 0.75;
	--noise-bg-amount: 0.2;
}

[id="M3902753614"].page {
	min-height: var(--viewport-height);
}

/* Página: text-index */
[id="F0287204093"].page {
	min-height: var(--viewport-height);
}

[id="F0287204093"] .page-content {
	align-items: flex-start;
}

/* ==========================================================================
   Modo oscuro (html[data-theme="dark"])
   Lo activa el <script> del <head> según el sistema o la elección guardada,
   y el enlace Dark/Light de la cabecera (rel="theme-toggle").
   ========================================================================== */

a[rel="theme-toggle"]::after {
	content: "Dark";
}

html[data-theme="dark"] a[rel="theme-toggle"]::after {
	content: "Light";
}

html[data-theme="dark"] {
	color-scheme: dark;
}

html[data-theme="dark"] body {
	--swatch-1: rgba(255, 255, 255, 0.85);
	--swatch-2: rgba(255, 255, 255, 0.75);
	--swatch-3: rgba(255, 255, 255, 0.6);
	--swatch-4: rgba(255, 255, 255, 0.4);
	--swatch-5: rgba(255, 255, 255, 0.25);
	--placeholder-background: rgba(255, 255, 255, 0.08);
	background-color: #121212;
}

html[data-theme="dark"] hr {
	background: rgba(255, 255, 255, 0.75);
}

html[data-theme="dark"] .content {
	border-color: rgba(255, 255, 255, 0.85);
}

html[data-theme="dark"] bodycopy,
html[data-theme="dark"] bodycopy a {
	color: rgba(255, 255, 255, 0.85);
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h1 a {
	color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] h2,
html[data-theme="dark"] h2 a {
	color: rgba(255, 255, 255, 0.75);
}

html[data-theme="dark"] .caption,
html[data-theme="dark"] .caption a {
	color: rgba(255, 255, 255, 0.6);
}

html[data-theme="dark"] .page-content,
html[data-theme="dark"] .quick-view-background {
	background-color: #121212;
}

/* Fichas INFO y About: mantienen su fondo de color, con el texto oscuro de siempre */
html[data-theme="dark"] :is([id="B4191837516"], [id="V1758524431"], [id="K0341938056"], [id="Z1409557292"], [id="L3783995956"], [id="M3483855036"], [id="Y0294309949"], [id="G3925146847"], [id="S3305649286"]) .page-content {
	background-color: rgba(216, 255, 33, 0.99);
}

html[data-theme="dark"] :is([id="B4191837516"], [id="V1758524431"], [id="K0341938056"], [id="Z1409557292"], [id="L3783995956"], [id="M3483855036"], [id="Y0294309949"], [id="G3925146847"], [id="S3305649286"], [id="M3902753614"]) :is(bodycopy, bodycopy a) {
	color: rgba(0, 0, 0, 0.8);
}

html[data-theme="dark"] :is([id="B4191837516"], [id="V1758524431"], [id="K0341938056"], [id="Z1409557292"], [id="L3783995956"], [id="M3483855036"], [id="Y0294309949"], [id="G3925146847"], [id="S3305649286"], [id="M3902753614"]) hr {
	background: rgba(0, 0, 0, 0.75);
}

/* Index: panel translúcido oscuro */
html[data-theme="dark"] [id="S3892563563"] .page-content {
	background-color: rgba(18, 18, 18, 0.75);
	box-shadow: 0rem 0.3rem 0.87rem -0.5rem rgba(0, 0, 0, 0.6);
}

/* About: mantiene su gris (parte del texto lleva color blanco/negro puesto a mano para ese fondo) */
html[data-theme="dark"] [id="M3902753614"] .page-content {
	background-color: #999999;
}

/* Formulario de contacto */
html[data-theme="dark"] .contact-form-page .page-content {
	background-color: rgba(30, 30, 30, 0.92);
	box-shadow: 0 .3rem .87rem -.5rem rgba(0, 0, 0, .6);
}

html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea {
	border-color: rgba(255, 255, 255, .25);
	background: rgba(255, 255, 255, .06);
}

html[data-theme="dark"] .contact-form button {
	background: rgba(255, 255, 255, .85);
	color: #121212;
}
