/*
 * RetroManiacs — WooCommerce shop / product archive.
 *
 * Port of the static shop design, scoped to the archive template so it can be
 * loaded only where it is needed (see retromaniacs_scripts()).
 */

.shop-hero {
  background: linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .72));
  background-position: right 58%;
  background-size: cover;
  padding: 62px 0;
  border-bottom: 1px solid var(--line)
}
.shop-hero__eyebrow {
  margin: 0;
  color: var(--blue);
  text-transform: uppercase;
  font: 16px "Bebas Neue";
  letter-spacing: 2px
}
.shop-hero h1 {
  font: 700 54px/1 "Playfair Display";
  margin: 8px 0 14px;
  color: #111
}
.shop-hero__text,
.shop-hero span {
  display: block;
  max-width: 600px;
  font: 17px/1.5 Georgia, serif;
  color: #476077
}
.shop-hero__text p {
  margin: 0
}
.collection-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  overflow: auto
}
.collection-tabs button {
  white-space: nowrap;
  border: 1px solid #bfd2d5;
  background: #fff;
  color: #365873;
  padding: 10px 17px;
  border-radius: 30px;
  text-transform: uppercase;
  font: 15px "Bebas Neue";
  letter-spacing: .8px;
  cursor: pointer;
  transition: .25s
}
.collection-tabs button:hover,
.collection-tabs button.active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  transform: translateY(-2px)
}
.shop-layout {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 38px;
  padding-top: 42px;
  padding-bottom: 80px
}
.filters {
  border-right: 1px solid var(--line);
  padding-right: 28px
}
.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center
}
.filter-heading h3 {
  font: 600 22px "Playfair Display";
  margin: 0
}
.filter-close {
  display: none
}
.filter-group {
  padding: 23px 0;
  border-bottom: 1px solid var(--line)
}
.filter-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border: 0;
  background: none;
  padding: 0 0 14px;
  text-transform: uppercase;
  font: 16px "Bebas Neue";
  letter-spacing: 1px;
  color: #24496e;
  cursor: pointer
}
.filter-options {
  display: grid;
  gap: 11px
}
.filter-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4d667c;
  font-size: 14px;
  cursor: pointer
}
.filter-options input {
  accent-color: var(--coral);
  width: 16px;
  height: 16px
}
.filter-options small {
  margin-left: auto;
  color: #8b9ba8
}
.clear-filters {
  margin-top: 22px;
  border: 0;
  background: none;
  color: var(--coral);
  text-transform: uppercase;
  font: 15px "Bebas Neue";
  letter-spacing: 1px;
  text-decoration: underline;
  cursor: pointer
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 21px
}
.catalog-toolbar > div {
  display: flex;
  align-items: center;
  gap: 12px
}
.catalog-toolbar span {
  color: #637b8f;
  font-size: 14px
}
.catalog-toolbar label {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  font: 14px "Bebas Neue";
  letter-spacing: 1px;
  color: #45647d
}
.catalog-toolbar select {
  border: 1px solid #c9d8da;
  background: #fff;
  border-radius: 5px;
  padding: 9px 34px 9px 11px;
  color: #274965
}
.mobile-filter {
  display: none
}
.shop-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}
.shop-card {
  position: relative;
  border: 1px solid #e0e8e9;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: .3s
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 17px 32px rgba(24, 54, 69, .11);
  border-color: #c8dadd
}
.product-image {
  display: block;
  height: 205px;
  background: linear-gradient(145deg, #f7f7f3, #fff);
  position: relative;
  overflow: hidden
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: .4s
}
.shop-card:hover .product-image img {
  transform: scale(1.05)
}
.product-image span {
  position: absolute;
  z-index: 2;
  left: 13px;
  bottom: 12px;
  background: #f6da9d;
  color: #49340d;
  border-radius: 20px;
  padding: 6px 10px;
  text-transform: uppercase;
  font: 12px "Bebas Neue";
  letter-spacing: .6px
}
.card-wish {
  position: absolute;
  z-index: 3;
  right: 12px;
  top: 10px;
  border: 0;
  background: rgba(255, 255, 255, .88);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 25px;
  color: #16508c;
  cursor: pointer;
  transition: .2s
}
.card-wish.active {
  color: var(--coral)
}
.shop-card > p {
  margin: 18px 17px 5px;
  color: #0b6590;
  text-transform: uppercase;
  font: 13px "Bebas Neue";
  letter-spacing: 1px
}
.shop-card h3 {
  font: 600 17px/1.35 "Playfair Display";
  min-height: 70px;
  margin: 0;
  padding: 0 17px;
  color: #183c62
}
.shop-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #edf0f1;
  margin-top: 10px;
  padding: 14px 17px
}
.shop-card strong {
  font-size: 20px;
  color: #111
}
.view-product {
  color: var(--coral);
  text-transform: uppercase;
  font: 14px "Bebas Neue";
  letter-spacing: .8px;
  border-bottom: 1px solid
}
.shop-card.hidden {
  display: none
}
.no-results {
  display: none;
  text-align: center;
  padding: 70px 20px;
  border: 1px solid var(--line);
  border-radius: 8px
}
.no-results.visible {
  display: block
}
.no-results > span {
  font-size: 45px;
  color: var(--gold)
}
.no-results h3 {
  font: 600 25px "Playfair Display"
}
.no-results p {
  color: #73879a
}
.no-results button {
  border: 0;
  background: var(--coral);
  color: #fff;
  border-radius: 5px;
  padding: 11px 18px;
  text-transform: uppercase;
  font: 16px "Bebas Neue";
  cursor: pointer
}
.catalog-note {
  background: #e4f8f8;
  border-top: 1px solid #cbe9eb
}
.catalog-note > .wrap {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 25px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 42px
}
.catalog-note span {
  font-size: 54px;
  color: var(--gold)
}
.catalog-note p {
  margin: 0;
  color: #07558d;
  text-transform: uppercase;
  font: 14px "Bebas Neue";
  letter-spacing: 1.5px
}
.catalog-note h2 {
  font: 600 29px "Playfair Display";
  margin: 6px 0
}
.catalog-note a {
  background: var(--coral);
  color: #fff;
  padding: 13px 18px;
  border-radius: 5px;
  text-transform: uppercase;
  font: 16px "Bebas Neue";
  letter-spacing: 1px;
  transition: .25s
}
.catalog-note a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(240, 75, 66, .22)
}
.shop-hero :focus-visible,
.collection-tabs button:focus-visible,
.filters :focus-visible,
.shop-card :focus-visible,
.catalog-note a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px
}
@media (max-width: 1050px) {
  .shop-products {
    grid-template-columns: repeat(2, 1fr)
  }
}
@media (max-width: 760px) {
  .shop-hero {
    padding: 45px 0;
    background-position: 65% center
  }
  .shop-hero h1 {
    font-size: 43px
  }
  .collection-tabs {
    justify-content: flex-start
  }
  .shop-layout {
    grid-template-columns: 1fr
  }
  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(340px, 88vw);
    background: #fff;
    z-index: 150;
    padding: 28px;
    overflow: auto;
    transform: translateX(-105%);
    transition: .3s;
    box-shadow: 20px 0 45px rgba(12, 34, 47, .18)
  }
  .filters.open {
    transform: none
  }
  .filter-close {
    display: block;
    border: 0;
    background: none;
    font-size: 30px
  }
  .mobile-filter {
    display: inline-block;
    border: 1px solid var(--teal);
    background: #fff;
    color: var(--teal);
    padding: 8px 13px;
    border-radius: 4px;
    text-transform: uppercase;
    font: 15px "Bebas Neue"
  }
  .catalog-note > .wrap {
    grid-template-columns: 50px 1fr
  }
  .catalog-note a {
    grid-column: 2;
    justify-self: start
  }
}
@media (max-width: 520px) {
  .catalog-toolbar {
    align-items: flex-start;
    gap: 13px
  }
  .catalog-toolbar label {
    align-items: flex-start;
    flex-direction: column
  }
  .shop-products {
    grid-template-columns: 1fr
  }
  .product-image {
    height: 230px
  }
  .catalog-note > .wrap {
    grid-template-columns: 1fr
  }
  .catalog-note span {
    display: none
  }
  .catalog-note a {
    grid-column: 1
  }
}
