/**
 * Custom Properties
 */

:root {
	--font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
		"Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	--font-grotesk: "Monument Grotesk Variable", Icons;
	--font-condensed: "Social Condensed Variable", Icons;

	/* Spacing scale */
	--spacing-xs: 1.5rem;
	--spacing-sm: 3rem;
	--spacing-md: 6rem;
	--spacing-lg: 9rem;
}


/**
 * Base / Reset
 */

body {
	background-color: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

.page a.active {
	opacity: 0.4;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bold;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}

s {
	text-decoration: line-through;
}

img {
	border: none;
	padding: 0;
	max-width: 100%;
	height: auto;
	display: block;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 1em;
}

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

hr {
	background: rgba(0, 0, 0, 0.2);
	border: 0;
	height: 1px;
	display: block;
}


/**
 * Logo
 */

.logo {
	text-align: center;
	width: 100%;
}

.logo img {
	display: block;
	margin: 0 auto;
}


/**
 * Content
 */

.content img {
	float: none;
	margin-bottom: 0.5em;
	box-shadow: 5px 5px 35px rgba(0, 0, 0, 0.11);
}

.no-shadow img {
	box-shadow: none !important;
}

.content img.image-zoom:active {
	opacity: 0.7;
}


/**
 * Gallery
 */

.gallery_image_caption {
	margin-top: 1.2rem;
	margin-bottom: 0.5rem;
	color: rgba(0, 0, 0, 0.35);
	font-family: var(--font-condensed);
	font-style: normal;
	font-weight: 400;
	font-size: 1.3rem;
	line-height: 1.3;
	letter-spacing: 0.1em;
	font-variation-settings: 'wdth' 75, 'slnt' 0;
}


/**
 * Loading Animation
 */

.loading[data-loading] {
	position: fixed;
	bottom: 8px;
	left: 8px;
}


/**
 * Editor / Predefined Styles
 */

[data-predefined-style="true"] bodycopy {
	font-family: var(--font-grotesk);
	font-style: normal;
	font-weight: 700;
	font-size: 2.6rem;
	line-height: 1.2;
	color: rgba(0, 0, 0, 1);
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(0, 0, 0, 0.9);
	padding-bottom: 0.1em;
	border-bottom: none;
	text-decoration: none;
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: var(--font-grotesk);
	font-style: normal;
	font-weight: 700;
	font-size: clamp(3rem, 11.5vmin, 9rem);
	line-height: 1.1;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.85);
	letter-spacing: 0.1em;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] h1 a {
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] h2 {
	font-family: var(--font-grotesk);
	font-style: normal;
	font-weight: 700;
	font-size: clamp(2.2rem, 5vw, 4rem);
	line-height: 1.1;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.85);
	letter-spacing: 0.1em;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] h2 a {
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-family: var(--font-condensed);
	font-style: normal;
	font-weight: 400;
	font-size: 1.3rem;
	line-height: 1.3;
	color: rgba(0, 0, 0, 1);
	letter-spacing: 0.1em;
	font-variation-settings: 'wdth' 75, 'slnt' 0;
}

[data-predefined-style="true"] small a {
	color: rgba(0, 0, 0, 1);
	border-bottom-width: 0;
}


/**
 * Breakpoints / Layout Presets
 */

[data-css-preset] .page {
	background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
	background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
	margin-left: auto /*!content_center*/;
	margin-right: auto /*!content_center*/;
	text-align: center /*!text_center*/;
}

[data-css-preset] body {
	background-color: transparent /*!body_bgcolor*/;
}

[data-css-preset] .container_width {
	width: 90% /*!content_center*/;
}

[data-css-preset] .content_padding {
	padding: var(--spacing-lg) /*!main_margin*/;
}

[data-css-preset] text-limit {
	display: inline-block /*!text_width*/;
	max-width: 66rem /*!text_width*/;
}


/**
 * Thumbnails
 */

div[thumbnails] {
	justify-content: flex-start;
}

[data-css-preset] .thumbnails {
	background-color: transparent /*!thumbnails_bgcolor*/;
}

[data-css-preset] .thumbnails_width {
	width: 92% /*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
	padding: 1.45rem /*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
	margin: -2.9rem /*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
	padding: 1.25rem /*!responsive_thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
	margin: -2.5rem /*!responsive_thumbnails_padding*/;
}

.thumbnails .thumb_image {
	outline: 0px solid rgba(0, 0, 0, 0.12);
	outline-offset: -1px;
}

.thumbnails .title {
	margin-top: 1.2rem;
	margin-bottom: 0.3rem;
	font-family: var(--font-condensed);
	font-style: normal;
	font-weight: 700;
	font-size: 1.3rem;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.85);
	letter-spacing: 0.1em;
	font-variation-settings: 'wdth' 75, 'slnt' 0;
}

.thumbnails .tags {
	margin-top: 1.2rem;
	margin-bottom: 0.5rem;
	font-family: var(--font-condensed);
	font-style: normal;
	font-weight: 400;
	font-size: 1.3rem;
	line-height: 1.2;
	color: rgba(0, 0, 0, 0.35);
	letter-spacing: 0.1em;
	font-variation-settings: 'wdth' 75, 'slnt' 0;
}

.thumbnails .tags a {
	border-bottom: 0;
	color: rgba(0, 0, 0, 0.35);
	text-decoration: none;
}

.thumbnails .has_title .tags {
	margin-top: 0;
}


/**
 * Site Menu Button
 */

[data-css-preset] #site_menu_button {
	color: rgba(0, 0, 0, 0.75);
	font-size: 28px /*!site_menu_button*/;
	line-height: 0;
	padding: 6px;
	background: rgba(33, 32, 46, 0);
	position: fixed;
	top: 2rem /*!site_menu_button*/;
	left: 3rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
	margin: -6px;
	font-size: 34px;
}

#site_menu_button.custom_icon {
	width: 40px;
	height: auto;
}

#site_menu_button.active {
	display: none;
}


/**
 * Site Menu
 */

#site_menu {
	font-family: var(--font-system);
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	background: rgba(20, 20, 20, 0.95);
	padding: 20px 30px 90px 30px;
	max-width: 400px;
	min-width: 300px;
	text-align: left;
	display: flex;
	justify-content: flex-start;
}

body.mobile #site_menu {
	width: 100%;
}

#site_menu .page-link a {
	color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
	color: rgba(255, 255, 255, 0.75);
	font-weight: bold;
}

#site_menu a:active {
	opacity: 0.7;
}

#site_menu a.active {
	opacity: 0.4;
}

#site_menu .close {
	display: none;
	color: rgba(255, 255, 255, 0.4);
	font-size: 45px;
	line-height: 0.85em;
}

body.mobile #site_menu .close {
	display: block;
	font-size: 50px;
	line-height: 1em;
}

#site_menu .break {
	height: 28px;
}

#site_menu .indent {
	margin-left: 28px;
}


/**
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: rgba(0, 0, 0, 0.85);
	background: transparent;
	font-size: 32px;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	position: fixed;
	padding: 6px;
	top: 2rem /*!shop_button*/;
	right: 2rem /*!shop_button*/;
}

#shop_button.text {
	font-family: var(--font-condensed);
	font-style: normal;
	font-weight: 700;
	font-size: 1.3rem;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.85);
	letter-spacing: 0.1em;
	padding: 0;
	font-variation-settings: 'wdth' 75, 'slnt' 0;
}

#shop_button.custom_icon {
	width: 40px;
	height: auto;
}

body.mobile #shop_button:not(.text) {
	margin: -6px;
	font-size: 36px;
}


/**
 * Shop Product Widget
 */

.shop_product {
	width: 100%;
	max-width: 22rem;
	position: relative;
	display: block;
}

.shop_product .price {
	font-family: var(--font-system);
	font-size: 2rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.85);
	display: block;
	margin-bottom: 1rem;
}

.shop_product .dropdown {
	font-family: var(--font-system);
	font-size: 1.4rem;
	display: inline-block;
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.2);
	background: white url(https://static.cargo.site/assets/images/select-arrows.svg) no-repeat right;
	margin-bottom: 1rem;
	line-height: 1.2;
	padding: 0.7rem 1rem;
}

.shop_product .button {
	font-family: var(--font-system);
	font-size: 1.4rem;
	background: rgba(0, 0, 0, 0.7);
	color: rgba(255, 255, 255, 1);
	flex: 0 0 50%;
	text-align: left;
	display: inline-block;
	line-height: 1;
	padding: 0.8rem 1rem 0.9rem;
	min-height: 44px; /* touch target */
	box-sizing: border-box;
}


/**
 * Quick View
 */

[data-css-preset] .quick-view {
	padding: 2.5rem /*!quick_view_padding*/;
	height: 100% /*!quick_view_height*/;
	width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
	width: 100%;
	height: 100%;
	margin: 0;
}

[data-css-preset] .quick-view-background {
	background: rgba(255, 255, 255, 0) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
	font-family: var(--font-system);
	transition: opacity 100ms ease-in-out;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 2rem 0;
	text-align: center;
	font-size: 1.8rem;
}

.quick-view-caption span {
	padding: 0.5rem 1rem;
	display: inline-block;
	background: rgba(0, 0, 0, 0.4);
	color: white;
}


/**
 * Navigation Arrows (Quick View, Image Gallery, Wallpaper)
 */

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow,
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow,
.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
	height: 36px;
	width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color,
.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color,
.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
	stroke: #fff;
	stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color,
.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color,
.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
	stroke: #000;
	stroke-width: 2.5px;
	opacity: 0.6;
}

.quick-view-navigation .left-arrow {
	left: 10px;
}

.quick-view-navigation .right-arrow {
	right: 10px;
}

.quick-view-navigation .close-button {
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
}

.quick-view-navigation .close-button .inner-color {
	stroke: #fff;
	stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
	stroke: #000;
	stroke-width: 2.5px;
	opacity: 0.6;
}


/**
 * Feed
 */

.feed .content_container .page {
	border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
	border-top: 0;
}


/**
 * Audio Player
 */

.audio-player {
	max-width: 100%;
	height: 3.3rem;
	outline: 1px solid rgba(0, 0, 0, 0.25);
	color: rgba(0, 0, 0, 0.6);
	background: transparent;
	font-family: var(--font-system);
	font-style: normal;
	font-weight: 400;
	font-size: 1.2rem;
	line-height: 1.3;
	text-align: left;
	margin: 1px 1px 1em 1px;
}

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

.audio-player .separator {
	width: 1px;
	background-color: rgba(0, 0, 0, 0.25);
}

.audio-player .button {
	background: transparent;
	cursor: pointer;
	fill: rgba(0, 0, 0, 0.85);
}

.audio-player .icon {
	fill: rgba(0, 0, 0, 0.85);
	padding: 30%;
	width: 100%;
	margin: auto;
}

.audio-player .buffer {
	background: rgba(0, 0, 0, 0.05);
}

.audio-player .progress {
	background: rgba(0, 0, 0, 0.1);
}

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

.audio-player .note-icon {
	height: 100%;
	width: 3.8rem;
	padding: 1rem;
	fill: rgba(0, 0, 0, 0.5);
}

.audio-player .current-time {
	padding-left: 1rem;
}

.audio-player .total-time {
	padding-right: 1rem;
}


/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/**
 * Tablet (max 1024px)
 */

@media (max-width: 1024px) {
	:root {
		--spacing-lg: 6rem;
		--spacing-md: 4rem;
	}

	[data-predefined-style="true"] bodycopy {
		font-size: 2.2rem;
	}

	[data-css-preset] .container_width {
		width: 94%;
	}

	.shop_product {
		max-width: 100%;
	}
}


/**
 * Mobile (max 768px)
 */

@media (max-width: 768px) {
	:root {
		--spacing-lg: 2.5rem;
		--spacing-md: 2rem;
		--spacing-sm: 1.5rem;
	}

	/* Base */
	body {
		-webkit-text-size-adjust: 100%; /* prevent iOS font inflation */
	}

	/* Images — always fluid, no overflow */
	img,
	.content img {
		max-width: 100%;
		width: 100%;
		height: auto;
	}

	/* Layout */
	[data-css-preset] .content_padding {
		padding: var(--spacing-lg);
	}

	[data-css-preset] .container_width {
		width: 100%;
	}

	[data-css-preset] text-limit {
		max-width: 100%;
	}

	/* Typography */
	[data-predefined-style="true"] bodycopy {
		font-size: 1.8rem;
	}

	/* Thumbnails — tighter gutters on small screens */
	[data-css-preset] [thumbnails-pad] {
		padding: 0.75rem;
	}

	[data-css-preset] [thumbnails-gutter] {
		margin: -1.5rem;
	}

	[data-css-preset] .thumbnails_width {
		width: 100%;
	}

	/* Menu button — ensure comfortable tap target */
	[data-css-preset] #site_menu_button {
		top: 1.25rem;
		left: 1.25rem;
		padding: 10px;
		min-width: 44px;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Shop button */
	[data-css-preset] #shop_button {
		top: 1.25rem;
		right: 1.25rem;
		padding: 10px;
		min-width: 44px;
		min-height: 44px;
	}

	/* Shop product — full width on mobile */
	.shop_product {
		max-width: 100%;
	}

	.shop_product .button {
		flex: 0 0 100%;
		width: 100%;
		text-align: center;
	}

	.shop_product .dropdown {
		font-size: 1.6rem; /* slightly larger for touch readability */
		padding: 0.9rem 1rem;
	}

	/* Quick view — tighter padding */
	[data-css-preset] .quick-view {
		padding: 1.25rem;
	}

	.quick-view-caption {
		font-size: 1.4rem;
		margin: 1rem 0;
	}

	/* Navigation arrows — larger tap targets on mobile */
	.quick-view-navigation .left-arrow,
	.quick-view-navigation .right-arrow,
	.image-gallery-navigation .left-arrow,
	.image-gallery-navigation .right-arrow,
	.wallpaper-navigation .left-arrow,
	.wallpaper-navigation .right-arrow {
		height: 44px;
		width: 44px;
	}

	.quick-view-navigation .close-button {
		width: 44px;
		height: 44px;
	}

	/* Audio player */
	.audio-player {
		width: 100%;
		box-sizing: border-box;
	}

	/* Site menu — full screen on mobile */
	#site_menu {
		max-width: 100%;
		min-width: 0;
		width: 100%;
		padding: 20px 20px 60px 20px;
		font-size: 18px;
	}

	/* Gallery captions */
	.gallery_image_caption {
		font-size: 1.1rem;
	}
}


/**
 * Small mobile (max 480px)
 */

@media (max-width: 480px) {
	:root {
		--spacing-lg: 1.5rem;
	}

	[data-css-preset] .content_padding {
		padding: var(--spacing-lg);
	}

	.thumbnails .title,
	.thumbnails .tags {
		font-size: 1.1rem;
	}

	/* Prevent horizontal scroll from any element */
	.content,
	.page,
	.container {
		overflow-x: hidden;
	}
}