@font-face {
  font-family: "icomoon";
  src: url("../assets/icomoon.eot?buy3lr");
  src:
    url("../assets/icomoon.eot?buy3lr#iefix") format("embedded-opentype"),
    url("../assets/icomoon.ttf?buy3lr") format("truetype"),
    url("../assets/icomoon.woff?buy3lr") format("woff"),
    url("../assets/icomoon.svg?buy3lr#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-facebook:before {
  content: "\e800";
}

.icon-instagram:before {
  content: "\e801";
}

.icon-linkedin:before {
  content: "\e802";
}

.icon-minus:before {
  content: "\e900";
}

.icon-plus:before {
  content: "\e901";
}

:root {
  --exo: 1.5rem;
  --eso: 1.5rem;
  --turquoise: #99e3e0;
  --lightGrey: #eeeeee;
  --darkGrey: #666;
  --fontGotham:
    "Gotham A", "Gotham B", "Open Sans", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --fontGeorgia: "Georgia", Cambria, Times New Roman, Times, serif;
}

/* 400px
********************************************************************************/
@media (min-width: 400px) {
  :root {
    --exo: 6vw;
  }
}
/* 768px
********************************************************************************/
@media (min-width: 768px) {
  :root {
    --exo: 6vw;
    --eso: calc(var(--exo) / 2);
  }
}
/* 1600px
********************************************************************************/
@media (min-width: 1600px) {
  :root {
    --exo: 6rem;
  }
}
/* UTILITIES
********************************************************************************/
.text-turquoise {
  color: var(--turquoise);
}

.text-light-grey {
  color: var(--lightGrey);
}

.text-dark-grey {
  color: var(--darkGrey);
}

.text-gotham {
  font-family: var(--fontGotham);
}

.text-georgia {
  font-family: var(--fontGeorgia);
}

.p-exo {
  padding: var(--exo);
}

.p-eso {
  padding: var(--eso);
}

.gap-eso {
  gap: var(--eso);
}

.mt-1 {
  margin-top: 1rem !important;
}

.mt-auto {
  margin-top: auto;
}

.p-1 {
  padding: 1rem !important;
}

.bg-ui {
  background: var(--turquoise);
  color: black;
}

.text-ui {
  color: var(--turquoise);
}

.space-y-1 > * {
  margin: 0;
  padding: 0;
}
.space-y-1 > * + * {
  margin-top: 1rem;
}

.space-y-2 > * {
  margin: 0;
  padding: 0;
}
.space-y-2 > * + * {
  margin-top: 2rem;
}

.space-y-sm * {
  margin: 0;
  padding: 0;
}
.space-y-sm > * + * {
  margin-top: 0.5rem;
}

.space-y-eso > * + * {
  margin-top: var(--eso);
}

.relative {
  position: relative;
}

/* ARCHIVE PAGE
********************************************************************************/
.post-type-archive-dress h1 {
  margin: 0;
  padding: 0;
  text-align: center;
}

#dresses-filter {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  #dresses-filter {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #dresses-filter {
    grid-template-columns: repeat(4, 1fr);
  }
}

div:has(> .c-select) {
  height: 3rem;
}

.c-select {
  overflow: hidden;
  border-radius: 0.5rem;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border: 1px solid #ccc;
  background: white;
}
.c-select.active {
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
  z-index: 50;
}
.c-select.active .c-select__arrow::after {
  transform: rotate(180deg);
  content: "\e900";
}
.c-select .c-select__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-weight: 400;
  text-transform: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
}
.c-select .c-select__arrow {
  display: block;
  margin-left: 1rem;
  align-self: start;
  font-size: 1.25em;
}
.c-select .c-select__arrow::after {
  font-family: "icomoon";
  content: "\e901";
  display: block;
  transition: all 0.25s ease;
}
.c-select .c-select__title {
  font-weight: 500;
}
.c-select .c-select__content {
  max-height: 0;
  overflow: hidden;
  transition: all 250ms ease;
  will-change: transition;
  text-align: left;
}
.c-select .c-select__content .flex {
  display: flex;
  flex-direction: column;
}
.c-select .c-select__content span {
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.c-select .c-select__content span:hover {
  background-color: #eee;
}
.c-select .c-select__content span.active {
  background-color: #ccc;
}
.c-select.disabled {
  opacity: 0.5;
  pointer-events: none;
}

#dresses-items {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  #dresses-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #dresses-items {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dress-item {
  overflow: hidden;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.dress-item:hover .dress-item__button {
  background: var(--turquoise);
}
.dress-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  flex: none;
}
.dress-item .dress-item__details {
  padding: 1rem;
  flex: auto;
}
.dress-item .dress-item__details h3 {
  font-size: 24px;
  margin: 0;
  padding: 0;
}
.dress-item .dress-item__details p {
  font-size: 16px;
  font-style: italic;
  margin: 1rem 0 1rem 0;
  padding: 0;
  color: var(--darkGrey);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dress-item .dress-item__details strong {
  color: var(--turquoise);
}
.dress-item .dress-item__button {
  padding: 0.75rem 1rem;
  color: black;
  background: rgba(153, 227, 224, 0.5);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  transition: all 0.25s ease;
  flex: none;
}

.c-pagination {
  margin-left: auto;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
  text-align: right;
  padding: 0.25rem;
}
.c-pagination button {
  appearance: none;
  border: 0;
  padding: 0.5rem;
  aspect-ratio: 1/1;
  background: var(--turquoise);
  opacity: 0.25;
  line-height: 1;
  width: 2.2rem;
  height: 2.2rem;
}
.c-pagination button.active {
  opacity: 1;
}
.c-pagination button:hover {
  opacity: 0.5;
}
.c-pagination button + button {
  margin-left: 1px;
}

/* SINGLE PAGE
********************************************************************************/
.single-dress {
  /*  .wpcf7 {
    width: 100%;
    label,
    .wpcf7-form-control-wrap,
    input,
    textarea {
      width: 100%;
      display: block;
      resize: none;
    }
    input[type="submit"] {
      width: 100%;
      padding: 1rem;
      background: rgba(135, 223, 195, 0.5);
      appearance: none;
      border: none;
      @media (min-width: 1024px) {
        width: fit-content;
      }
      &:hover {
        background: var(--turquoise);
      }
    }
    p {
      margin-bottom: 0;
    }
    label br {
      margin-bottom: 0.5rem;
    }
    input,
    textarea {
      padding: 1rem;
    }
    .wpcf7-response-output {
      margin: 0;
    }
  }*/
}
.single-dress .dress-top-grid {
  display: flex;
  flex-direction: column;
  gap: var(--eso);
}
@media (min-width: 1024px) {
  .single-dress .dress-top-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .single-dress .dress-top-grid .gallery {
    grid-column: span 2 / span 2;
  }
}
.single-dress .dress-top-grid .gallery .dress-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.single-dress .dress-top-grid .gallery .slick-prev,
.single-dress .dress-top-grid .gallery .slick-next {
  z-index: 10;
  opacity: 1;
  color: var(--turquoise);
}
.single-dress .dress-top-grid .gallery .slick-prev::before,
.single-dress .dress-top-grid .gallery .slick-next::before {
  color: currentColor;
}
.single-dress .dress-top-grid .gallery .slick-prev {
  left: 1rem;
}
.single-dress .dress-top-grid .gallery .slick-next {
  right: 1rem;
}
.single-dress .dress-top-grid .gallery .thumbs {
  display: flex;
  gap: 0.5em;
  margin-top: 1rem;
}
.single-dress .dress-top-grid .gallery .thumbs img {
  opacity: 0.5;
  transition: all 0.25s ease;
  width: 80px;
  height: auto;
  cursor: pointer;
}
.single-dress .dress-top-grid .gallery .thumbs img:hover {
  opacity: 0.75;
}
.single-dress .dress-top-grid .gallery .thumbs img.active {
  opacity: 1;
}
.single-dress .dress-top-grid .details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--darkGrey);
}
@media (min-width: 1024px) {
  .single-dress .dress-top-grid .details {
    grid-column: span 1 / span 1;
  }
}
.single-dress .dress-top-grid .details .dress_titles h1 {
  font-size: 2rem;
}
.single-dress .dress-top-grid .details .dress_titles span {
  color: var(--darkGrey);
  font-size: 0.85rem;
}
.single-dress .dress-top-grid .details .dress_attributes .dress_attribute {
  padding-top: 0.75rem;
  border-top: 1px solid #ccc;
}
.single-dress .dress-top-grid .details .dress_attributes .dress_attribute h2 {
  font-size: 1rem;
  padding: 0;
  margin: 0;
}
.single-dress .dress-top-grid .details .dress_attributes .dress_attribute span {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--darkGrey);
  display: block;
  line-height: 1;
}
.single-dress .dress-top-grid .details .dress_prices h3 {
  font-size: 0.85rem;
  color: var(--darkGrey);
  padding: 0;
}
.single-dress .dress-more-info {
  background: var(--lightGrey);
  color: var(--darkGrey);
}
.single-dress .dress-more-info h2 {
  font-size: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid currentColor;
}
.single-dress .dress-more-info ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}
.single-dress .dress-more-info ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
}
.single-dress .dress-cta div {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.single-dress .dress-cta span {
  font-size: 0.8rem;
}
.single-dress .dress-cta a {
  font-weight: bold;
  text-transform: uppercase;
  padding: 1rem;
  display: block;
  text-align: center;
  text-decoration: none;
}
.single-dress .dress-cta a:hover {
  background-color: #333;
  color: white;
}
