/*
	Theme Name:   Sunshine Shop
	Theme URI:    https://www.sunshineshop.la
	Description:  Sunshine Shop's own theme. Standalone (no parent theme); built from Savoy 2.6.4 plus the Sunshineshop customisations.
	Author:       Sunshine Shop
	Author URI:   https://www.sunshineshop.la
	Version:      2.0.6
	Requires PHP: 7.4
	Text Domain:  nm-framework
*/

/* Variables
--------------------------------------------------------------- */

:root {
  --heading-font-family: "DrukWide-Bold";
  font-family: "Archivo";
  --waves-top: radial-gradient(49.5px at 50% 70px, #000 99%, #0000 101%)
      calc(50% - 70px) 0/140px 100%,
    radial-gradient(49.5px at 50% -35px, #0000 99%, #000 101%) 50% 35px/140px
      100% repeat-x;
  --waves-bottom: radial-gradient(
        49.5px at 50% calc(100% - 70px),
        #000 99%,
        #0000 101%
      )
      calc(50% - 70px) 0/140px 100%,
    radial-gradient(49.5px at 50% calc(100% + 35px), #0000 99%, #000 101%) 50%
      calc(100% - 35px) / 140px 100% repeat-x;
  --c-secondary-hover: #ad8c69;
  --c-primary-text: #000;
  --c-secondary-text: #1a1a1a;
  --c-button-background: #ad8c69;
  --c-alt-background: #f8f5f1;
}

/* Utils
--------------------------------------------------------------- */

.block-spacing {
  padding: 30px 20px;
}

.page-spacing {
  padding: 20px 0;
}

h3.block-title {
  font-family: var(--heading-font-family);
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 40px;
}

@media all and (max-width: 481px) {
  h3.block-title {
    font-size: 21px;
    margin-bottom: 20px;
  }
}

/* Image With Overlay
--------------------------------------------------------------- */

.image-with-overlay {
  position: relative;
}

.image-with-overlay > img {
  position: relative;
  z-index: 1;
  padding: 1px;
}

.image-with-overlay > svg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.image-with-overlay > svg path {
  fill: var(--overlay-bg, #fff);
}

/* Top Bar
--------------------------------------------------------------- */

.nm-top-bar {
  padding: 10px 0 !important;
}

.nm-top-bar-text p {
  font-family: var(--heading-font-family) !important;
  font-size: 13px !important;
  text-align: center;
}

/* Header 
--------------------------------------------------------------- */

.nm-header {
  line-height: 120px !important;
}

.nm-header-placeholder {
  height: 128px !important;
}

/* Category box spacing */
.nm-shop-header {
  padding: 15px 0;
}

@media all and (max-width: 991px) {
  .nm-header {
    line-height: 60px !important;
  }

  .nm-header-placeholder {
    height: 60px !important;
  }
}

/* Menus
--------------------------------------------------------------- */

.nm-menu > li > a {
  font-size: 22px !important;
}

.nm-menu > li > a:hover {
  text-decoration: underline;
}

.nm-menu .megamenu > .sub-menu {
  padding: 20px 0 !important;
}

.nm-menu .megamenu > .sub-menu > ul > li {
  margin-bottom: 0 !important;
}

/* @NOTE Theme link hover does not work in theme settings */
.nm-menu .megamenu > .sub-menu > ul > li a:hover {
  color: var(--c-secondary-hover) !important;
  text-decoration: underline;
}

.nm-right-menu li > a {
  font-size: 28px !important;
}

.nm-right-menu li > a {
  text-decoration: none !important;
}

.nm-right-menu .nm-menu-cart > a {
  display: flex;
  vertical-align: middle;
  align-items: center;
}

.nm-right-menu .nm-menu-cart > a .nm-menu-cart-count {
  margin-left: 6px;
  color: var(--c-primary-text);
  font-size: 17px;
}

.nm-menu-cart .count {
  top: 0 !important;
}

@media all and (max-width: 991px) {
  .nm-menu li.nm-menu-offscreen .nm-menu-cart-count {
    position: relative !important;
    top: unset !important;
    right: unset !important;
    margin-right: unset !important;
  }

  .nm-menu li.nm-menu-offscreen {
    display: flex !important;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
  }

  .nm-menu-cart-count {
    color: var(--c-primary-text) !important;
    font-size: 16px !important;
  }
}

/* Shop Categories
--------------------------------------------------------------- */

.nm-shop-categories a {
  color: var(--c-secondary-text) !important;
}

.nm-shop-categories li.current-cat a {
  font-weight: 700;
}

.nm-shop-categories a:hover {
  color: var(--c-secondary-hover) !important;
  text-decoration: underline;
}

/* Footer
--------------------------------------------------------------- */

.nm-footer-bar-inner {
  -webkit-mask: var(--waves-top);
  mask: var(--waves-top);
  padding-top: 120px !important;
}

.nm-footer-bar-inner > .nm-row:first-of-type {
  border-bottom: solid 1px #d7d7d7;
  padding-bottom: 40px;
  margin-bottom: 20px;
}

.nmc-footer-form {
  margin-bottom: 50px;
}

.nmc-footer-form h3 {
  font-family: var(--heading-font-family);
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 20px;
}

.nmc-footer-form p {
  font-size: 18px;
  margin-bottom: 25px;
  max-width: 528px;
}

.nmc-footer-form-input {
  background-color: #fff;
  border: solid 1px #ebebeb;
  display: flex;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  max-width: 383px;
}

.nmc-footer-form-input input {
  border: 0;
  flex-grow: 1;
  font-size: 18px;
  color: var(--c-secondary-text);
}

.nmc-footer-form-input input::placeholder {
  color: var(--c-secondary-text);
}

.nmc-footer-form-input button {
  font-size: 18px;
  background-color: var(--c-button-background);
  border: 0;
  font-weight: bold;
  border-radius: 50px;
  padding: 0 20px;
}

.nm-footer-bar-social:not(:only-child) {
  margin-left: unset !important;
}

.nm-footer-bar-social {
  float: unset !important;
  padding-top: unset !important;
}

.nmc-footer-menu li a {
  font-size: 18px !important;
  margin-bottom: 5px !important;
  display: block;
}

.nmc-footer-menu li a:hover {
  color: var(--c-secondary-hover) !important;
  text-decoration: underline;
}

.nmc-footer-copyright {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: var(--c-secondary-text);
}

@media all and (max-width: 991px) {
  .nm-footer-bar-inner {
    padding-bottom: 20px !important;
  }

  .nm-footer-bar-inner .nm-row:first-of-type {
    padding-bottom: unset;
  }

  .nm-footer-bar-inner .nmc-footer-column {
    margin-bottom: 50px;
  }

  .nm-footer-bar-inner .nmc-footer-column:last-of-type {
    display: none;
  }
}

/* Content Headline
--------------------------------------------------------------- */

.content-headline {
  font-family: var(--heading-font-family);
  font-size: 25px;
  margin-bottom: 20px;
}

@media all and (max-width: 481px) {
  .content-headline {
    font-size: 21px;
    margin-bottom: 20px;
  }
}

/* Creator Featured Image
--------------------------------------------------------------- */

.creator-image-tag {
  width: 100%;
}

/* Creators Page List
--------------------------------------------------------------- */

.creators-page-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.creators-page-list .creator-card {
  flex-basis: 23%;
  margin-bottom: 30px;
}

@media all and (max-width: 800px) {
  .creators-page-list .creator-card {
    flex-basis: 33%;
  }
}

@media all and (max-width: 481px) {
  .creators-page-list {
    display: block;
  }

  .creators-page-list .creator-card {
    max-width: 100% !important;
  }
}

/* Creator Card
--------------------------------------------------------------- */

.creator-card {
  max-width: 290px;
  display: block;
}

.creator-card-image {
  position: relative;
  z-index: 1;
}

.creator-card-headline {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -20px;
}

.creator-card-headline h3 {
  font-family: "Archivo";
  background: var(--c-button-background);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  margin-bottom: 20px;
}

.creator-card-headline h3 > span {
  vertical-align: middle;
  display: inline-block;
  margin-left: 5px;
}

.creator-card-headline > span {
  font-size: 13px;
  color: var(--c-secondary-text);
}

@media all and (max-width: 481px) {
  .creator-card {
    max-width: 290px;
    display: block;
  }

  .creator-card-headline h3 {
    font-size: 14px;
  }
}

/* Creator Single
--------------------------------------------------------------- */

.creator-header {
  background-color: var(--c-alt-background);
  -webkit-mask: var(--waves-bottom);
  mask: var(--waves-bottom);
  margin-bottom: 30px;
}

.creator-header .nm-row {
  margin-top: -50px;
  display: flex;
  align-items: center;
}

.creator-info {
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
}

.creator-title {
  font-family: var(--heading-font-family);
  font-size: 30px;
  margin-bottom: 15px;
}

.creator-short-description {
  font-size: 16px;
  margin-bottom: 25px;
}

.creator-socials li {
  display: inline-block;
}

.creator-socials li:not(:first-child) {
  margin-left: 19px;
}

.creator-socials i {
  font-size: 30px;
  color: var(--c-secondary-text);
  line-height: 30px;
  vertical-align: middle;
}

.creator-socials svg {
  width: 100%;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
}

.creator-socials svg path {
  color: var(--c-secondary-text);
}

.creator-content-tagged {
  margin-bottom: 30px;
  text-align: center;
}

.creator-content-tagged a {
  color: #9a9a9a;
  font-size: 16px;
}

.creator-content-tagged a:hover {
  color: var(--c-secondary-hover);
}

.creator-content-tagged span {
  display: inline-block;
  margin-right: 5px;
}

.creator-footer {
  padding-top: 40px;
  border-top: solid 1px #ebebeb;
}

@media all and (max-width: 991px) {
  .creator-header {
    padding-bottom: 50px;
  }

  .creator-image {
    padding-left: 0 !important;
    padding-right: 0 !important;
	width: 50%; 

  }

  .creator-image-tag {
    width: 100%;
  }

  .creator-header .nm-row {
    margin-top: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .creator-info {
    padding: 30px;
    padding-bottom: 40px;
  }
}

/* Creators List
--------------------------------------------------------------- */

.creators-list {
  background: var(--c-alt-background);
}

.creators-list a {
  color: var(--c-primary-text);
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.creators-list a:hover {
  text-decoration: underline;
  color: var(--c-secondary-hover);
}

@media all and (max-width: 991px) {
  .creators-list a {
    font-size: 14px;
  }
}

/* Post Slider
--------------------------------------------------------------- */

.post-slider .post-slide:not(:last-of-type) {
  margin-right: 40px;
}

.post-slider-headline {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.post-slider-headline h3.content-headline {
  flex-grow: 1;
  margin-bottom: 0 !important;
}

.post-slider-nav {
  display: flex;
}

.post-slider-nav > div {
  padding: 12px;
  background: var(--c-alt-background);
  border-radius: 100%;
  cursor: pointer;
  display: flex;
}

.post-slider-nav > div.slick-disabled {
  opacity: 0.5;
}

.post-slider-nav > div > span {
  font-size: 17px;
}

.post-slider-nav > div:first-of-type {
  margin-right: 10px;
}

@media all and (max-width: 481px) {
  .post-slider-nav {
    display: none;
  }

  .post-slider .post-slide:not(:last-of-type) {
    margin-right: 20px;
  }
}

/* Product Card
--------------------------------------------------------------- */

.product-card {
  max-width: 290px;
  display: flex;
  flex-direction: column;
}

.product-card-image {
  margin-bottom: 20px;
}

.product-card-headline {
  text-align: center;
}

.product-card-headline h3 {
  font-family: "Archivo";
  font-size: 16px;
}

.product-card-headline span {
  color: #94714b;
  font-size: 16px;
  font-weight: 700;
}

/* Woocommerce Pagination
--------------------------------------------------------------- */

.woocommerce-pagination > .page-numbers {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.woocommerce-pagination .next .nm-font,
.woocommerce-pagination .prev .nm-font {
  vertical-align: middle;
}

.woocommerce-pagination a:hover.page-numbers {
  color: var(--c-secondary-hover);
}

.woocommerce-pagination .current {
  color: var(--c-secondary-hover) !important;
}

/* General Overrides
--------------------------------------------------------------- */

#nm-mobile-menu-shop-search-input::placeholder {
  color: #1a1a1a !important;
  opacity: 1 !important;
}

.nm-shop-products {
  margin-top: 50px !important;
}

.wp-block-quote:before {
  color: #a88d6e !important;
}

.products .price {
  opacity: 1 !important;
}

.products .price bdi {
  color: #94714b !important;
  font-size: 16px;
  font-weight: 700;
}

.sod_list_wrapper {
  z-index: 1000 !important;
}

.nm-quantity-wrap {
  border-bottom: 1px solid #dadada;
}


/* Artist bios: titles of books, podcasts and releases in semi-bold
--------------------------------------------------------------- */
html body .creator-short-description strong,
html body .creator-short-description b,
html body .creator-card-headline strong,
html body .creator-info strong { font-weight: 600 !important; font-family: Archivo, sans-serif !important; }
