@use ('theme.css.liquid');

/* Announcement Bar */
.announcement__text p {
  margin-bottom: 0px;
}

/* Speed up header slide down anim speed */
.site-header--opening {
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.site-nav__link {
  font-size: 14px;
}

/* Remove Overflow scroll bars */
/* Firefox */
#SocialReviews-social .overflow-scroller,
[data-section-type="featured-collection"] .overflow-scroller {
  scrollbar-width: none;
}
/* Chromium + Safari */
#SocialReviews-social .overflow-scroller::-webkit-scrollbar,
[data-section-type="featured-collection"] .overflow-scroller::-webkit-scrollbar {
  width: 0px;
}
/* End of scrollbar removal */

/* Remove gap between ig feed and footer */
.index-section.social-section {
  margin-bottom: 0px;
}
footer.site-footer {
  margin-top: 0px;
}
#SocialReviews-social .overflow-scroller {
  padding-bottom: 0px;
  margin-bottom: -16px;
}
/* End of gap removal */


/* Change colour of newsletter footer link */
.site-footer__section--newsletter p a {
  color: black !important;
  text-decoration: underline !important;
}

/* Product Variant Selectors to have consistent circles around them */
.variant-input-wrap div[data-value="XS"] label,
.variant-wrapper div[data-value="XL"] label {
  padding: 15px 14px;
}

.variant-input-wrap div[data-value="M"] label {
  padding: 15px 16px;
}

/* Hide instagram title */
#rap__med__insta_title h2 a {
  display: none;
}

/* Remove margin on homepage featured collections section */
#shopify-section-1596125628285 .index-section {
  margin: calc(3vh + 3vw) 0 0 0;
}
/* Remove overlay on featured images pre-hover */
.skrim__overlay:before {
  opacity: 0;
}

#shopify-section-1556162802939>div {
  padding-bottom: 0px;
}

/* End of margin removal */

/* Collection tag filter ui fix from shifting down on certain vw */
.collection-filters,
.collection-dropdowns {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

/* Arrow & button styling */
[data-button_style=shadow] .index-section--alt .btn--tertiary {
  /*box-shadow:0px 0px 0 0 #000000;*/
  -webkit-box-shadow: 0px 0px 0 0 var(--colorAltText);
  box-shadow: 0px 0px 0 0 var(--colorAltText);
  -webkit-transition: -webkit-transform 0.05s, -webkit-box-shadow 0.05s;
  transition: -webkit-transform 0.05s, -webkit-box-shadow 0.05s;
  -o-transition: transform 0.05s, box-shadow 0.05s;
  transition: transform 0.05s, box-shadow 0.05s;
  transition: transform 0.05s, box-shadow 0.05s, -webkit-transform 0.05s, -webkit-box-shadow 0.05s;
}

[data-button_style=shadow] .index-section--alt .btn--tertiary:active {
  -webkit-transform: translate(4px, 4px);
  -ms-transform: translate(4px, 4px);
  transform: translate(4px, 4px);
}

/* Other buttons like A2C */
[data-button_style=shadow] .btn--tertiary,
[data-button_style=shadow] .rte .btn--tertiary {
  /*box-shadow:0px 0px 0 0 #333029;*/
  -webkit-box-shadow: 0px 0px 0 0 var(--colorTextBody);
  box-shadow: 0px 0px 0 0 var(--colorTextBody);
}

/* End of Arrow & button Styling */


/* PDP Size Table */
#product-size-table {
  font-family: "Avenir Next", sans-serif;
  font-weight: 0;
  border-collapse: collapse;
  width: 100%;
}

#product-size-table td,
#product-size-table th {
  border-bottom: 0px solid #dcdcdcdc;
  padding: 8px;
}

#product-size-table tr:nth-child(even) {
  background-color: #fff;
  font-weight: 0;
}

#product-size-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #F0F0F0;
  color: black;
  font-weight: normal;
}

/* End of PDP Size Table */

/* Product Grid Prices */
.grid-product__price {
  font-size: medium;
  font-weight: 600;
}

/* Collection section on homepage */
.skrim__flex-column {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.skrim__item {
  margin-bottom: 0.5rem;
}
.skrim__title-new {
  position: relative;
  text-decoration: none;
  color: var(--colorTextBody);
  font-family: var(--typeBasePrimary), var(--typeBaseFallback);
  font-weight: bold;
  letter-spacing: var(--typeBaseSpacing);
  font-size: 16px;
}
.skrim__title-new:hover {
  color: var(--colorTextBody);
}
.skrim__title-new::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--colorTextBody);
  visibility: hidden;
  transition: all 0.3s ease 0s;
}
.skrim__title-new:hover::before {
  visibility: visible;
  width: 100%;
}
/* End of Collection section on homepage */


.marquee__text{
  animation-delay: 0.1s; /* Bug fix for Safari */
}

#CurrencyList {
  right: 0;
  top: 3rem;
  bottom: unset;
  z-index: 30;
}
  
/*-=-=-=-=- special case mobile menu restyle -=-=-=-=-*/
  .icon:not(.icon-chevron-down, .icon-chevron-right, .icon-chevron-left) {
	width: 28px !important;
	height: 28px !important;
  }
  .site-nav__thumb-menu,
  #StickyCart {
    display: none;
  }
  .mobile__nav_icon {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  a[href="/account"],
  .js-drawer-open-cart,
  .js-modal-open-search-modal {
    padding-right: 0;
  }
  .disclosure__toggle {
	transform: translateX(12px);
  }
  #mobile-localization-container .disclosure__toggle {
    transform: translateX(5px);
  }
  .slide-nav__overflow--thumb.js-menu--is-open {
	display: none;
  }
/*-=-=-=-=- end special case mobile menu restyle -=-=-=-=-*/


/* Mobile */
@media all and (max-width:768px) {

  /*-=-=-=-=- special case mobile menu restyle -=-=-=-=-*/
  .site-nav__link--icon {
	padding: 0;
  }
  .site-nav__link--icon + .site-nav__link--icon {
	margin-left: 5px;
  }
  .site-nav__link--icon .icon {
	width: 20px;
	height: 20px;
  }
  .cart-link__bubble.cart-link__bubble--visible {
	display: block;
	position: absolute;
	top: 1px;
	right: -4px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: 2px solid #FFF;
  }
  #shopify-section-header .slide-nav__overflow--thumb {
	left: auto;
	right: 0;
	top: 0;
	bottom: 0;
	max-height: initial;
	z-index: 24;
	padding: 100px 4rem 0 2rem;
    transition: none;
  }
  #shopify-section-header .slide-nav__overflow--thumb.js-menu--is-open {
	display: block;
  }
  .slide-nav__link, 
  .slide-nav__sublist-link {
	text-align: left;
  }
  .multi-selectors {
	justify-content: left;
  }
  .slide-nav__link, .slide-nav__sublist-link {
	padding: 10px 16px;
  }
  .slide-nav__link[href="/"] {
    display: none;
  }
  .slide-nav__wrapper {
    height: 100%;
  }
  .slide-nav__wrapper #SlideNav {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .slide-nav__wrapper #SlideNav #mobile-localization-container {
    order: -1;
  }
  #CurrencyList {
    right: unset;
    left: 0;
  }
  /*-=-=-=-=- end special case mobile menu restyle -=-=-=-=-*/

  /* For touch devices */
  @media (hover: none){
    #SocialReviews-social .overflow-scroller {
      margin-bottom: 0px;
    }
  }
  /* End of touch devices */
  
  .announcement {
    position: fixed;
    width: 100%;
  }

  .site-header {
    padding: 0;
    position: fixed;
    z-index: 25;
    width: 100%;
  }

  .modal {
    z-index: 27;
  }

  #shopify-section-collection-header .page-content {
    padding-top: 0px;
  }

  .header-layout--mobile-logo-only {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .skrim__item {
    /* change made by CP moving collection list images to fill mobile */
    max-width: 100%;
    width: 350px;
    height: 600px;
    padding: 30px;
  }

  /* Collection Page Filters */
  .collection-filters {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }

  .collection-filter__wrapper {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }

  .collection-filter__scrollable {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }

  .collection-filter__group .collection-filter__inner {
    padding: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .collection-filter__group {
    max-width: 100%;
    margin: 0 5vw;
  }

  .collection-filter__title {
    margin-bottom: 0px;
  }

  .collection-filter__group .collection-filter__inner ul.tag-list--checkboxes {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .collection-filter__group .collection-filter__inner ul.tag-list--checkboxes li {
    margin-left: 2vw;
    margin-bottom: 0px;
  }

  .collection-filter__wrapper+.collection-dropdowns {
    margin-top: 0px;
  }

  .collection-dropdowns {
    /* align-items: baseline; */
  }

  .collection-dropdowns__item {
    margin: 0 2vw;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
  }

  /* End of Collection Page Filters */

}


/* Desktop */


@media all and (min-width:769px) {
  .announcement {
    
    width: 100%;
    -webkit-transition-delay: 0.05s;
    -o-transition-delay: 0.05s;
    transition-delay: 0.05s;
    
    /* init with this to fix bug */
  }

  .site-header {
    padding: 0px;
    z-index: 24;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .site-header--sticky .site-header__logo a {}

  ul.site-navigation:last-child {
    margin-bottom: 0.25rem;
  }

  .site-nav__link--icon .icon {
    height: 24px;
    width: 24px;
  }

  .header-layout--left-center .header-item--icons {
    min-width: auto;
    /* to avoid localization+search+user icons from overflowing onto main menu */
  }

  .skrim__item {
    width: calc(30vw - 40px);
    height: calc(45vw - 40px);
  }

  /* Collection Page Filters */
  .collection-filters {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .collection-dropdowns,
  .collection-filter__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    margin: 0;
  }

  .collection-filter__wrapper+.collection-dropdowns {
    margin: 0;
  }

  .collection-filter__wrapper {
    padding-top: 8px;
  }

  .collection-filter__wrapper ul li.tag--remove {
    margin-bottom: 0.5vh;
  }

  .collection-filter__scrollable {
    overflow: visible;
    text-align: left;
  }

  .collection-filter__inner,
  .collection-filter__inner ul.tag-list--checkboxes {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .collection-dropdowns,
  .collection-filter__group {
    margin: 0;
  }

  .collection-dropdowns__item {
    -ms-flex-preferred-size: 45%;
    flex-basis: 45%;
  }

  .collection-filter__scrollable ul.tag-list--checkboxes {
    margin-left: 1vw;
  }

  .collection-filter__scrollable ul.tag-list--checkboxes li {
    margin-left: 1vw;
  }

  /* End of Collection Page Filters */

  /* PDP Zoom Button */
  .product__photo-zoom {
    opacity: 1;
    width: 64px;
    top: calc(100vh - 70px);
    left: 145px;
    height: 64px;
    margin: 0;
    position: fixed;
    border-radius: 50%;
  }
  .product__photo-zoom span,
  .product__photo-zoom svg {
    display: inline;
  }
  .sticky-zoom-button {
    position: absolute;
    top: unset;
    bottom: 10px;
    left: 5px !important; // override the JS function zoomIconStickToProdImg()
  }
  /* End ofPDP Zoom Button */
}

/* Find appropriate place for this */
@media all and (min-width: 2000px) {
  .skrim__item {
    width: 575px;
    height: 885px;
  }
}


/* Marquee Scrolling Text */
@media all and (max-width: 1000px) {
  .marquee-text-first-overflow {
    display: none;
  }
}

@media all and (max-width: 2000px) {
  .marquee-text-second-overflow {
    display: none;
  }
}

@media all and (max-width: 3000px) {
  .marquee-text-third-overflow {
    display: none;
  }
}

/* End of Marquee Scrolling Text */


/*------ Returns Page ------*/
.app-returnmagic {
  background-image: url(//ghospell.com/cdn/shop/files/Return_Magic-desktop.jpg?v=11236790337548890261) !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-returnmagic iframe {
  width: 70vw !important;
  min-height: 80vh !important;
  height: auto;
}

@media all and (max-width: 450px) {
  .app-returnmagic {
    background-image: url(//ghospell.com/cdn/shop/files/Return_Magic-mobile.jpg?v=13037954851310803971) !important;
  }

  .app-returnmagic iframe {
    width: 80vw !important;
  }
}

/*------ End of Returns Page ------*/