.shop-hero {
  height: 600px;
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

@media(max-width: 575px){
  .shop-hero {
    background-position-x: -680px;
  }
}

.shop-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .60) 0%, rgba(0, 0, 0, .45) 30%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
}

.shop-hero .container {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding-left: 50px;
  color: #fff;
  margin-top: 60px;
  max-width: 420px;
}

.shop-hero .container h1 {
  font-family: simula;
}

.shop-hero .container p {
  font-weight: 100;
}

.shop-hero .container .cta-box {
  background-color: #ffffff26;
  display: block;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #949496;
  color: #fff;
  margin-top: 60px;
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 575px) {
	.shop-hero .container .cta-box {
	  background-color: #00000029;
	}
	.shop-hero::before{
	  background: linear-gradient(0deg, rgba(0, 0, 0, .60) 0%, rgba(0, 0, 0, .45) 30%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
	}
}

.shop-hero .container .cta-box img {
  width: 60px;
  height: 100%;
}

.shop-hero .container .cta-box .cta-content {
  font-weight: 100;
}

.shop-hero .container .cta-box .cta-content strong {
  display: block;
}

.shop-hero .container .cta-box .cta-content p {
  font-size: 14px;
}

.shop-products .container h2 {
  font-weight: 200;
}

.gender-toggle {
  background-color: #535353;
  width: 200px;
  height: 40px;
  margin: 0 auto;
  margin-bottom: 80px;
  display: flex;
  gap: 10px;
  justify-content: center;
  border-radius: 20px;
  padding: 4px;
  font-size: 14px;
  font-weight: 200;
}

.gender-toggle button {
  color: #ffffff;
  background-color: transparent;
  height: 100%;
  width: 100%;
  border-radius: 20px;
  box-shadow: none;
  border: none;
}

.gender-toggle button.active {
  color: #363636;
  background-color: #ffffff;
}

.three-cards-with-title-and-link-section h2 {
  text-align: center;
  margin-bottom: 10px;
  font-weight: 200;
}

.three-cards-with-title-and-link-section h3 {
  text-align: center;
  color: #fff;
  font-weight: 300;
  margin-bottom: 60px;
}

.all-products-joi-section {
  margin-top: 90px;
}

.three-cards-with-title-and-link-section .card-title {
  margin-bottom: initial;
  text-align: initial;
}

.three-cards-with-title-and-link-section .card {
  border-radius: 12px;
}

.three-cards-with-title-and-link-section .card-image-center:last-of-type .card-image {
  margin-left: 0;
}

.product-grid {
  display: none !important;
}

.product-grid.active {
  display: grid !important;
}

.product-grid {
  grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 40px 24px;
}

.product-card-inner {
  position: relative;
}

.product-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  flex-direction: row !important;
  align-items: flex-start;
  position: relative;
}

/* price container */
.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0;
  position: absolute;
  bottom: 0;
}

@media (max-width: 768px) {
  .product-price {
    margin-bottom: 50px !important;
  }
}

.product-price .old-price {
  text-decoration: line-through;
  opacity: .45;
  margin-right: .5rem;
}

.product-price .new-price {
  margin-right: .5rem;
}

.product-price .percent {
  color: #8fa3ff;
  font-weight: 500;
}

.btn-add {
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 9999px;
  background: transparent;
  transition: all .25s ease;
  width: 120px;
  font-size: 12px;
  padding: 10px;
}

body.dark-theme  .btn-add {
  color:#fff;
}

body.light-theme .btn-add {
  color:#111;
}

body.dark-theme  .btn-add:hover {
  background:#fff;
  color: #111;
}
body.light-theme .btn-add:hover {
  background:#111;
  color: #fff;
}

body.dark-theme .three-cards-with-title-and-link-section h3 {
  color: #fff;
}

body.light-theme .three-cards-with-title-and-link-section h3 {
  color: #363636;
}

body.dark-theme #main-content {
  background: #363636;
}


@media (max-width: 575px) {

  .shop-hero .container {
    bottom: 0 !important;
    transform: none !important;
    margin-top: 25px !important;
    padding: 25px !important;
  }

  .shop-hero .container h1 {
    font-size: 24px !important;
  }

  .shop-hero .container p {
    font-size: 14px !important;
  }

  .shop-hero .container .cta-box {
    margin-top: 30px !important;
  }

  .dark-theme .all-products-joi-section .product-card-inner {
    background-color: #2b2b2b;
  }

  #main-content > section.all-products-joi-section:not(:first-of-type),
  #main-content > section.all-products-joi-section:not(:first-of-type):not(:last-of-type) {
    margin-top: 0 !important;
  }

  .all-products-joi-section .section-title {
    font-weight: 300 !important;
  }

  .all-products-joi-section .product-card-inner {
    padding: 40px !important;
  }

  .shop-hero .container .cta-box .cta-content strong {
    font-size: 12px !important;
    font-weight: 500 !important;
  }

  .shop-hero .container .cta-box .cta-content p {
    font-size: 12px !important;
  }

  .all-products-joi-section .section-title {
    font-weight: 300 !important;
  }

  .all-products-joi-section .product-badges {
    padding: 6px 12px !important;
  }

  .all-products-joi-section .product-name {
    font-size: 14px !important;
  }

  .all-products-joi-section .product-category {
    font-weight: 100 !important;
    font-size: 12px !important;
  }

  .all-products-joi-section .product-price {
    font-size: 11px !important;
    font-weight: 100 !important;
  }

  body.dark-theme .btn-add {
    font-size: 12px !important;
    font-weight: 400 !important;
  }

}

header:not(.filled) .mobile-and-search-menu a img,
header:not(.filled) .mobile-and-search-menu button img {
  filter: none;
}

header:not(.filled) .nav.mega-menu a {
  color: #fff;
}

header:not(.filled) .logo img {
  filter: invert(1);
}

.logo img {
  width: 30px;
  height: 30px;
}

.all-products-joi-section__products{
  display: flex !important;
  justify-content: center !important;
}

.product-grid{
  /* Grid auto-fills with tiles up to 428px, keeps them centred */
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 40px 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  justify-content: center !important;
}

/* 2) Card & image hard caps */
.product-card{
  max-width: 428px !important;
}

.product-card .product-image{
  width: 100% !important;
  max-width: 428px !important;
  aspect-ratio: 1/1 !important;
  background-position: center !important;
}

@media(max-width:575px){
  .product-grid{
    justify-content: center !important;
    gap: 10px !important;
  }
}

@media(max-width:575px){
  .product-details {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-add {
    width: 100%;
  }
}

@media(max-width: 991px) {
  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

@media (min-width: 1500px){
  .product-grid{
    grid-template-columns: repeat(auto-fill,minmax(0,428px)) !important;
  }

  .product-card,
  .product-card .product-image{
    max-width:428px;
  }
}
