/* =========================================
   RUPERT TAPPER — CARGO CSS
   ========================================= */


/* ----- GENERAL ----- */

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

a:active {
  opacity: 0.7;
}

.page a.active {
  color: #171717 !important;
}

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 1em;
}

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

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


/* ----- LINKS ----- */

/* No underline in normal state */

a,
a:link,
a:visited {
  color: #171717 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  position: relative;
  transition: color 0.25s ease;
}

/* Fine animated underline */

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: #777;
  transition: width 0.3s ease;
}

/* Hover */

a:hover,
a:focus-visible {
  color: #777 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

a:hover::after,
a:focus-visible::after {
  width: 100%;
}

/* Prevent decorative underlines on image links */

a.image-link::after,
a.icon-link::after,
.thumbnails .thumbnail > a::after {
  display: none;
}


/* ----- TEXT ----- */

.big-text {
  line-height: 1;
}

h4 {
  line-height: 1.2;
}

.content img {
  float: none;
  margin-bottom: 0.5em;
}

.gallery_image_caption {
  margin-top: 0.69rem;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Williams Caslon Text", Icons;
  font-style: normal;
  line-height: 1.3;
}


/* ----- BODY COPY ----- */

[data-predefined-style="true"] bodycopy {
  font-size: 1.6rem;
  font-weight: 400;
  color: #896868;
  font-family: "Neue Haas Grotesk", Icons;
  font-style: normal;
  line-height: 1.4;
}

[data-predefined-style="true"] bodycopy a {
  color: #171717;
  border-bottom: none !important;
  text-decoration: none !important;
}

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

/* ----- H2 ----- */

[data-predefined-style="true"] h2 {
  font-family: "Neue Haas Grotesk", Icons;
  font-style: normal;
  font-weight: 400;
  padding: 0;
  margin: 0;
  color: #171717;
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

[data-predefined-style="true"] h2 a {
  color: #171717;
}


/* ----- SMALL TEXT ----- */

[data-predefined-style="true"] small {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Williams Caslon Text", Icons;
  font-style: normal;
  line-height: 1.3;
}

[data-predefined-style="true"] small a {
  color: #171717;
  border-bottom: none !important;
}


/* ----- PAGE 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: 0 /*!content_left*/;
  margin-right: auto /*!content_left*/;
  margin-top: 0;
  text-align: left /*!text_left*/;
}

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

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

[data-css-preset] .content_padding {
  padding-top: 0.2rem/*!main_margin*/;
  padding-bottom: 0.2rem/*!main_margin*/;
  padding-left: 0.2rem/*!main_margin*/;
  padding-right: 0.2rem/*!main_margin*/;
}

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


/* ----- THUMBNAILS ----- */

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

.thumbnails .content_padding {
  padding: 0.5rem;
}

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

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

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

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

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

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

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

.thumbnails .title {
  margin-top: 1.2rem;
  margin-bottom: 0.1rem;
  font-size: 8rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Neue Haas Grotesk", Icons;
  font-style: normal;
  line-height: 1.1;
}

.thumbnails .tags {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Williams Caslon Text", Icons;
  font-style: normal;
  line-height: 1.3;
}

.thumbnails .tags a {
  border-bottom: 0;
  color: #171717;
  text-decoration: none;
}

.thumbnails .has_title .tags {
  margin-top: -2rem;
}

.thumbnails .thumbnail > a {
  position: relative;
}

.thumbnails .thumbnail .title {
  background-color: transparent;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: rgba(0, 0, 0, 0.85);
  align-content: flex-start;
  display: flex;
  z-index: 9;
  font-family: "Williams Caslon Text", Icons;
  font-style: normal;
  font-weight: 400;
  font-size: 1.8rem;
}


/* ----- SITE MENU BUTTON ----- */

[data-css-preset] #site_menu_button {
  color: rgba(0, 0, 0, 0.75);
  line-height: 1;
  font-size: 28px /*!site_menu_button*/;
  padding: 6px;
  background: transparent;
  position: fixed;
  top: 3rem /*!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: -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif, Icons;

  background: rgba(20, 20, 20, 0.95);
  font-size: 20px;
  font-style: normal;
  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) !important;
}

#site_menu .set-link > a {
  font-weight: bold;
}

#site_menu a:hover {
  color: #fff !important;
}

#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 BUTTON ----- */

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

#shop_button.text {
  font-size: 1.8rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Williams Caslon Text", Icons;
  padding: 0;
  line-height: 1.4;
  font-style: normal;
}

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

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


/* ----- SHOP PRODUCT ----- */

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

.shop_product .price {
  font-family: "Williams Caslon Text", Icons;
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.75);
  display: block;
  margin-bottom: 1rem;
  font-style: normal;
  font-weight: 400;
}

.shop_product .dropdown {
  font-family: "Williams Caslon Text", Icons;
  font-size: 1.8rem;
  display: inline-block;
  width: 100%;
  border: 1px solid rgba(0, 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.7rem 1rem;
  font-style: normal;
  font-weight: 400;
}


/* ----- MOBILE ----- */

@media (max-width: 600px) {
  .big-text {
    font-size: 10px;
    line-height: 1.1;
  }
}

@media (max-width: 768px) {
  [data-card-type="gallery"]:first-of-type {
    margin-top: 48px !important;
  }
}


/* ----- ACCESSIBILITY ----- */

@media (prefers-reduced-motion: reduce) {
  a,
  a::after {
    transition: none;
  }
}
/* H1 — Large editorial heading */

[data-predefined-style="true"] H1 {
  font-family: Avara, Icons;
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 1;
  color: #171717;
  margin: 0;
  padding: 0;
}

[data-css-preset] .quick-view-background {
	background: #fff /*!quick_view_bgcolor*/;
}
/* Enlarge homepage slideshow */
.image-gallery[gid="4"] {
  width: 100% !important;
  min-height: 75vh;
}

.image-gallery[gid="4"] img {
  max-height: 75vh !important;
  width: auto;
  object-fit: contain;
}
