
/* ========================================
   GLOBAL STYLES
======================================== */

#toolset {
  display: none;
}

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

a:active {
  opacity: 0.7;
}

.page a.active {}

i, em {
  font-style: italic;
}

b, strong {
  font-weight: bolder;
}

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

sub { top: 0.3em; }
sup { top: -0.4em; }

s {
  text-decoration: line-through;
}

img {
  border: 0;
  padding: 0;
}

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

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

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

.content img {
  float: none;
  margin-bottom: 0;
  vertical-align: bottom;
}

[image-gallery="slideshow"] {
  margin-bottom: 2rem;
}

.gallery_image_caption {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4);
  font-family: Diatype, Icons;
  font-style: normal;
  line-height: 1.2;
}

/* ========================================
   LOADING
======================================== */

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

/* ========================================
   TYPOGRAPHY
======================================== */

[data-predefined-style="true"] bodycopy {
  font-size: 2.3rem;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Arizona Serif Variable", Icons;
  font-style: normal;
  line-height: 0.9;
  font-weight: 400;
  font-variation-settings: 'slnt' 0, 'SRFF' 1;
}

[data-predefined-style="true"] bodycopy a {
  color: rgba(0, 0, 0, 0.75);
  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: "Optician Sans", Icons;
  font-style: normal;
  font-weight: 400;
  padding: 0;
  margin: 0;
  font-size: 6.2rem;
  line-height: 1;
  color: rgb(66, 66, 66);
  letter-spacing: -0.1rem;
}

[data-predefined-style="true"] h1 a {
  color: rgb(66, 66, 66);
}

[data-predefined-style="true"] h1 a:hover {
  color: #000;
}

[data-predefined-style="true"] h2 {
  font-family: "Favorit Variable", Icons;
  padding: 0;
  margin: 0;
  color: rgba(61, 173, 248, 0.75);
  font-size: 2.9rem;
  line-height: 0.9;
  letter-spacing: 0.05rem;
  font-style: normal;
  font-weight: 300;
  font-variation-settings: 'slnt' 0;
}

[data-predefined-style="true"] small {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1.2;
  font-family: "Arizona Serif Variable", Icons;
  font-style: normal;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.4);
  font-variation-settings: 'slnt' 0, 'SRFF' 1;
}

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

/* ========================================
   CARGO LAYOUT
======================================== */

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

.mobile .page,
[data-css-preset].mobile .page {
  position: relative;
  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: rgba(255, 255, 255, 1) /*!body_bgcolor*/;
}

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

[data-css-preset] .content_padding {
  padding: 0rem /*!main_margin*/;
}

/* ========================================
   THUMBNAILS
======================================== */

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

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

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

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

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

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

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

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

.thumbnails .title {
  margin-top: 1rem;
  margin-bottom: 0.2rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  font-family: Diatype, Icons;
  line-height: 1.3;
}

.thumbnails .tags {
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.4);
  font-family: "Monument Grotesk Mono", Icons;
  line-height: 1.2;
}

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

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

/* ========================================
   SITE MENU
======================================== */

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

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

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

#site_menu_button.active {
  display: none;
}

#site_menu {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: rgba(20, 20, 20, 0.95);
  font-size: 20px;
  font-weight: 400;
  padding: 20px 30px 90px;
  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,
#site_menu .set-link > a {
  color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
  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);
  line-height: 0.85em;
  font-size: 45px;
}

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
======================================== */

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

#shop_button.text {
  font-size: 1.6rem;
  color: rgba(0, 0, 0, 0.75);
  font-family: Diatype, Icons;
  padding: 0;
  line-height: 1.3;
}

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

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

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

.shop_product .price {
  font-family: Diatype, Icons;
  font-size: 1.2rem;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.75);
  display: block;
  margin-bottom: 1rem;
}

.shop_product .dropdown {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  display: inline-block;
  width: 100%;
  border: 1px solid rgba(0,0,0,.2);
  background: white url(https://static.cargo.site/assets/images/select-line-arrows.svg) no-repeat right;
  margin-bottom: 1rem;
  line-height: 1.2;
  padding: 0.7rem 2.5rem 0.8rem 1rem;
  color: rgba(0, 0, 0, 0.75);
}

.shop_product .button {
  font-family: Diatype, Icons;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  flex: 0 0 50%;
  text-align: left;
  display: inline-block;
  line-height: 1.2;
  padding: 0.8rem 1rem;
  font-weight: 700;
}

/* ========================================
   IMAGE ZOOM
======================================== */

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

/* ========================================
   QUICK VIEW
======================================== */

[data-css-preset] .quick-view {
  padding: 2rem;
  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: #fff /*!quick_view_bgcolor*/;
}

.quick-view-caption {
  font-family: Diatype, Icons;
  transition: 100ms opacity ease-in-out;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 3.5rem 0;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.2;
}

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

/* ========================================
   NAVIGATION ARROWS
======================================== */

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

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

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

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
  stroke: #fff;
  stroke-width: 0;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
  stroke: rgba(0, 0, 0, 0.85);
  stroke-width: 2px;
}

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

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

.quick-view-navigation .close-button .outer-color {
  stroke: rgba(0, 0, 0, 0.85);
  stroke-width: 2px;
}

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

.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;
}

.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: rgba(0, 0, 0, 0.6);
  stroke-width: 2.5px;
}

/* ========================================
   FEED
======================================== */

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

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

/* ========================================
   AUDIO PLAYER
======================================== */

.audio-player {
  max-width: 36rem;
  height: 3.3rem;
  outline: 1px solid rgba(0,0,0,0.15);
  color: rgba(0, 0, 0, 0.6);
  background: #fff;
  font-size: 1.2rem;
  line-height: 1.2;
  font-family: Diatype, Icons;
  text-align: left;
  margin: 1px 1px 1em;
}

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

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

.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.03);
}

.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;
}


/* ========================================
   PHOTO GALLERY
======================================== */

.photo-gallery {
  width: 70%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  overflow-x: auto;
  overflow-y: hidden;

  cursor: grab;

  scrollbar-width: none;
  -ms-overflow-style: none;

  scroll-behavior: auto !important;
  overscroll-behavior-x: contain;

  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.photo-gallery::-webkit-scrollbar {
  display: none;
}

.photo-gallery:active {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  width: max-content;
  padding: 5px 0;
}

.gallery-item {
  flex: 0 0 auto;
  height: 30vh;
  max-height: 650px;
  overflow: hidden;
}

.gallery-item img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  transition: transform 0.5s ease;
  cursor: zoom-in;
}

.gallery-item:hover img {
  transform: scale(1);
}


/* ========================================
   FULLSCREEN LIGHTBOX
======================================== */

.image-lightbox {
  display: none;
  position: fixed;
  z-index: 999999;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  cursor: zoom-out;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

  .photo-gallery {
    width: 90%;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .gallery-item {
    height: 45vh;
  }

  .gallery-track {
    gap: 10px;
  }

  .image-lightbox {
    padding: 15px;
  }

}

/* ========================================
   FULLSCREEN LIGHTBOX TOUCH CONTROL
======================================== */

.image-lightbox {
  touch-action: pan-x pan-y pinch-zoom;
  overscroll-behavior: contain;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.image-lightbox img {
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.15s ease;
}