@media (max-width: 1024px) {
  .rp-sr-tablet-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 768px) {
  .rp-sr-mobile-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.black-link a {
  color: #000;
}

.black-link a:hover,
.black-link a:focus,
.black-link a:active {
  color: var(--accent);
}

.rp-header__topbar {
  position: relative;
}

.rp-header__topbar:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) skewX(-22.62deg);
  width: min(260px, calc(16vw + 20px));
  height: 49px;
  background-color: #fff;
}

/* Sticky header */
.sticky-header.rp-header--pinned {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  will-change: transform;
}

body:has(#wpadminbar) .sticky-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body:has(#wpadminbar) .sticky-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  body:has(#wpadminbar) .sticky-header {
    top: 0;
  }
}

.sticky-header.rp-header--pinned {
  animation: rp-header-slide-in 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  box-shadow: 0 16px 32px -8px rgba(12, 12, 13, 0.24);
}

@keyframes rp-header-slide-in {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes rp-header-slide-out {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-header.rp-header--pinned {
    animation: none;
  }
}

@font-face {
  font-family: "Muro Slant";
  src: url("/wp-content/themes/generatepress_child/assets/fonts/Muro-Slant.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html body {
  padding-block: 120px;
}

@media (max-width: 1024px) {
  html body {
    padding-block: 60px;
  }
}

@media (max-width: 767px) {
  html body {
    padding-block: 0;
  }
}

.site-content {
  overflow: hidden;
}

.usp-bar__list li .gb-shape svg {
  width: 16px;
  height: 16px;
}

.hero-banner__image {
  transition: transform 0.25s ease;
}

.hero-banner:hover .hero-banner__image {
  transform: scale(1.05);
}

/* Product card */
.rps-product-card {
  border: 1px solid var(--border);
  padding: 14px 16px 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.05);
}

.rps-product-card:hover {
  border-color: #666666;
}

.rps-product-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 32px;
}

.rps-product-card__wishlist {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  color: #000;
  display: flex;
}

.rps-product-card__wishlist svg {
  transition: fill 0.25s ease;
  fill: transparent;
}

.rps-product-card__wishlist:hover,
.rps-product-card__wishlist:focus {
  background: none;
  color: #000;
}

.rps-product-card__wishlist:hover svg,
.rps-product-card__wishlist:focus svg {
  fill: #000;
}

.rps-product-card__badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: 0;
  right: 0;
}

.rps-product-card__badge-sale,
.rps-product-card__badge-discount,
.rps-product-card__badge-custom {
  font-size: 10px;
  line-height: 12px;
  font-weight: 500;
  padding: 1px 8px;
  text-align: center;
}

.rps-product-card__badge-sale {
  background-color: #ffcc00;
  color: #000;
}

.rps-product-card__badge-discount {
  background-color: #ff383c;
  color: #fff;
}

.rps-product-card__image__link {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.rps-product-card__image__link img {
  /* max-width: max(120px, 75%); */
  max-width: 100%;
  margin-bottom: 0 !important;
}

.rps-product-card__actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.rps-product-card__actions a.button,
.rps-product-card__actions a.added_to_cart {
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  border-radius: 0;
  margin: 0 !important;
}

.rps-product-card__actions a.add_to_cart_button,
.rps-product-card__actions a.button {
  color: #fff;
  background: var(--button-primary);
}

.rps-product-card__actions a.add_to_cart_button:hover,
.rps-product-card__actions a.add_to_cart_button:focus,
.rps-product-card__actions a.button:hover,
.rps-product-card__actions a.button:focus {
  background-color: var(--button-primary-hover);
  color: #fff;
}

.rps-product-card__actions a.add_to_cart_button.added {
  display: none !important;
}

.rps-product-card__actions a.added_to_cart {
  color: #fff;
  background-color: var(--button-secondary);
  display: block;
  text-decoration: none;
  padding: 10px 20px;
}

.rps-product-card__actions a.added_to_cart:hover {
  background-color: var(--button-secondary-hover);
  color: #fff;
}

.rps-product-card__title {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 16px;
  font-weight: 600;
  text-align: center;
  flex-grow: 1;
}

.rps-product-card__title__link {
  text-decoration: none;
  color: #000;
}

.rps-product-card__title__link:hover {
  text-decoration: underline;
}

.rps-product-card__stock {
  margin-top: 8px;
}

.rps-product-card__stock .in-stock,
.rps-product-card__stock .out-of-stock {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-content: center;
  font-size: 11px;
  line-height: 13px;
  font-weight: 700;
  color: #000;
}

.rps-product-card__stock .in-stock svg {
  color: #0d8911;
}

.rps-product-card__stock .out-of-stock svg {
  color: #d32f2f;
}

.rps-product-card__price {
  margin-top: 8px;
  font-size: 14px;
  line-height: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 700;
  color: #000;
}

.rps-product-card__price del {
  opacity: 0.4;
  font-weight: 400;
}

@media (max-width: 767px) {
  .rps-product-card {
    padding: 14px 10px 16px;
  }
}

/* Footer */
.footer-menu-heading-container {
  position: relative;
}

.footer-menu-heading-container::before,
.footer-menu-heading-container::after {
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  bottom: 0;
  border-radius: 10px;
}

.footer-menu-heading-container::before {
  width: 25px;
  left: 0;
  background-color: var(--button-secondary);
}

.footer-menu-heading-container::after {
  width: calc(100% - 29px);
  right: 0;
  background-color: #000;
}

.footer-menu ul.gb-menu {
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 16px;
}

.footer-menu a.gb-menu-link {
  padding: 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: #000;
  position: relative;
  padding-left: 23px;
}

.footer-menu a.gb-menu-link:hover {
  text-decoration: underline;
}

.footer-menu a.gb-menu-link::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 19' fill='none'><path d='M9.87884 9.50055L6.1665 5.58199L7.22717 4.4624L12.0001 9.50055L7.22717 14.5386L6.1665 13.4191L9.87884 9.50055Z' fill='black'/></svg>");
  position: absolute;
  width: 18px;
  height: 18px;
  top: 1px;
  left: 0;
}

@media (max-width: 767px) {
  .footer-menu-heading-container::before,
  .footer-menu-heading-container::after {
    display: none;
  }

  .footer-menu ul.gb-menu {
    gap: 12px;
  }

  .footer-menu a.gb-menu-link {
    font-size: 11px;
    line-height: 14px;
    padding-left: 18px;
  }

  .footer-menu a.gb-menu-link::before {
    width: 14px;
    height: 14px;
    top: 0;
  }

  .footer-accordion-menu .menu-container {
    display: none;
    padding: 0 8px 8px 8px;
  }

  .footer-accordion-menu
    .rp-accordion__toggle[aria-expanded="true"]
    + .menu-container,
  .footer-accordion-menu
    .footer-menu-heading-container:has(
      .rp-accordion__toggle[aria-expanded="true"]
    )
    ~ .menu-container {
    display: block;
  }

  .footer-accordion-menu .rp-accordion__icon-minus,
  .footer-accordion-menu
    .rp-accordion__toggle[aria-expanded="true"]
    .rp-accordion__icon-plus {
    display: none;
  }

  .footer-accordion-menu
    .rp-accordion__toggle[aria-expanded="true"]
    .rp-accordion__icon-minus {
    display: inline-block;
  }

  .footer-accordion-menu .rp-accordion__heading {
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    width: 100%;
  }

  .footer-accordion-menu .rp-accordion__toggle {
    padding: 8px;
    box-sizing: border-box;
  }
}

/* Footer accordion toggle */
.rp-accordion__toggle {
  all: unset;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.rp-accordion__toggle:focus-visible {
  outline: -webkit-focus-ring-color auto 1px;
}

.rp-accordion__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-accordion-menu .rp-accordion__toggle:hover,
.footer-accordion-menu .rp-accordion__toggle:focus {
  color: #000;
  background-color: transparent;
}

@media (min-width: 768px) {
  .footer-accordion-menu .rp-accordion__toggle {
    cursor: default;
  }
  .footer-accordion-menu .rp-accordion__icon {
    display: none;
  }
}

/* Back to top */
button.back-to-top .gb-shape svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1024px) {
  button.back-to-top {
    padding: 2px 7.5px;
  }

  button.back-to-top .gb-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }

  button.back-to-top .gb-shape svg {
    width: 20px;
    height: 20px;
  }
}

/* breadcrumbs */
.site-content .site-main .woocommerce-breadcrumb {
  font-size: 12px;
  line-height: 14px;
  color: #000;
  font-weight: 500;
}

.site-content .woocommerce-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover,
.woocommerce-breadcrumb a:focus,
.woocommerce-breadcrumb a:active {
  text-decoration: underline;
}

/* Product category archive */
.tax-product_cat .woocommerce-breadcrumb {
  margin-top: -30px;
  margin-bottom: 30px;
  padding: 8px 0;
}

.rp-product-category-header__cover {
  margin-bottom: 10px;
  border: 1.5px solid var(--border);
  height: 158px;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 30px 76px;
  background-color: #fff;
}

.rp-product-category-header__cover-img {
  width: 100%;
  height: 100% !important;
  position: absolute;
  display: block;
  inset: 0;
  object-fit: cover;
}

.rp-product-category-header__logo {
  position: relative;
}

.rp-product-category-header__content {
  padding: 30px;
}

.rp-product-category-header__title {
  font-size: 36px;
  line-height: 42px;
  color: #000;
  font-family: Muro Slant;
  margin-bottom: 0;
}

.rp-product-category-header__description {
  margin-top: 16px;
}

.rp-product-category-header__description p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 28px;
  color: #000;
}

.rp-product-category-header__description p:last-child {
  margin-bottom: 0;
}

.rp-product-child-cat-buttons {
  padding: 22px 0;
  display: flex;
  gap: 24px;
}

.rp-product-child-cat-buttons__btn {
  flex-grow: 1;
  background-color: #000;
  font-size: 20px;
  line-height: 23px;
  font-weight: 700;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  padding: 16px 24px;
  border: none;
  transition: all 0.2s;
}

.rp-product-child-cat-buttons__btn:hover,
.rp-product-child-cat-buttons__btn:focus {
  color: #fff;
  background-color: #000;
}

.rp-product-child-cat-buttons__btn--active {
  flex-grow: 2;
}

.rp-product-child-cat-buttons:has(.rp-product-child-cat-buttons__btn--active)
  .rp-product-child-cat-buttons__btn:not(
    .rp-product-child-cat-buttons__btn--active
  ) {
  opacity: 0.5;
}

.rp-product-category-results ul.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 8px;
  margin: 0;
}

.rp-product-category-results ul.products::before,
.rp-product-category-results ul.products::after {
  display: none;
}

.rp-product-category-results ul.products li.product {
  margin: 0;
  width: 100%;
  float: none;
}

.rp-product-category-results .rps-product-card__image__link img {
  width: 100%;
  max-width: 160px;
}

.rp-product-category-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.rp-product-category-pagination__pages {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rp-product-category-pagination__prev,
.rp-product-category-pagination__next {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  min-height: 50px;
  font-size: 20px;
  line-height: 23px;
  font-weight: 400;
  color: #000;
  user-select: none;
}

.rp-product-category-pagination__prev:hover,
.rp-product-category-pagination__next:hover {
  border-color: var(--border-hover);
}

.rp-product-category-pagination__pages > * {
  min-height: 50px;
  min-width: 60px;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid transparent;
  text-decoration: none;
  font-size: 20px;
  line-height: 23px;
  font-weight: 400;
  color: #000;
  user-select: none;
}

.rp-product-category-pagination__pages > *:last-child {
  border-right: none;
}

.rp-product-category-pagination__page.active,
.rp-product-category-pagination__pages a:hover {
  border-bottom: 1px solid #000;
  font-weight: 700;
}

.rp-product-per-page {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.rp-product-per-page__label {
  font-size: 20px;
  line-height: 23px;
  font-weight: 400;
  color: #000;
}

.rp-product-per-page__select {
  font-size: 20px;
  line-height: 23px;
  font-weight: 700;
  min-height: 50px;
  padding-left: 16px;
  padding-right: 56px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3e%3cpath d='M12.0001 13.1724L16.9499 8.22266L18.3641 9.63687L12.0001 16.0009L5.63623 9.63687L7.05044 8.22266L12.0001 13.1724Z' fill='%23000'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
}

.rp-product-per-page__select:focus {
  background-color: transparent;
  outline: none;
  border-color: var(--border-color);
}

.rp-product-category-content {
  margin-top: 30px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 16px;
}

.rp-product-category-content h1,
.rp-product-category-content h2,
.rp-product-category-content h3,
.rp-product-category-content h4,
.rp-product-category-content h5,
.rp-product-category-content h6 {
  font-family: Muro Slant;
  line-height: 1;
  margin-bottom: 16px;
}

.rp-product-category-content h1 {
  font-size: 48px;
}

.rp-product-category-content h2 {
  font-size: 36px;
}

.rp-product-category-content h3 {
  font-size: 28px;
}

.rp-product-category-content h4 {
  font-size: 22px;
}

.rp-product-category-content h5 {
  font-size: 18px;
}

.rp-product-category-content h6 {
  font-size: 16px;
}

.rp-product-category-content p {
  font-size: 16px;
  line-height: 28px;
  color: #000;
  font-weight: 400;
  margin-bottom: 16px;
}

.rp-product-category-content > :last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .rp-product-category-header__content {
    padding-inline: 0;
  }

  .rp-product-category-results ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .tax-product_cat .woocommerce-breadcrumb {
    margin-top: -20px;
    margin-bottom: 20px;
    padding: 20px 0 0;
  }

  .rp-product-category-header__cover {
    height: 92px;
    padding: 16px 20px;
    justify-content: center;
    margin-bottom: 20px;
  }

  .rp-product-category-header__cover-img {
    display: none;
  }

  .rp-product-category-header__content {
    padding: 0;
  }

  .rp-product-category-header__title {
    font-size: 20px;
    line-height: 1;
  }

  .rp-product-category-header__description {
    margin-top: 4px;
  }

  .rp-product-category-header__description p {
    font-size: 13px;
    line-height: 20px;
  }

  .rp-product-child-cat-buttons {
    padding: 16px 0;
    gap: 8px;
  }

  .rp-product-child-cat-buttons__btn {
    padding: 10px;
    font-size: 14px;
    line-height: 16px;
  }

  .rp-product-category-results ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 8px;
  }

  .rp-product-category-results ul.products li.product {
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
  }

  .rp-product-category-pagination {
    gap: 8px;
    margin-top: 20px;
  }

  .rp-product-category-pagination__prev,
  .rp-product-category-pagination__next,
  .rp-product-category-pagination__pages > * {
    min-height: 30px;
    min-width: 30px;
    font-size: 14px;
    line-height: 20px;
    padding: 4px;
  }

  .rp-product-category-pagination__prev svg,
  .rp-product-category-pagination__next svg {
    width: 16px;
    height: 16px;
  }

  .rp-product-per-page {
    display: none;
  }

  .rp-product-category-content {
    margin-top: 20px;
    padding: 16px 8px;
    border-radius: 8px;
  }

  .rp-product-category-content h1,
  .rp-product-category-content h2,
  .rp-product-category-content h3,
  .rp-product-category-content h4,
  .rp-product-category-content h5,
  .rp-product-category-content h6 {
    margin-bottom: 8px;
  }

  .rp-product-category-content h1 {
    font-size: 28px;
  }

  .rp-product-category-content h2 {
    font-size: 20px;
  }

  .rp-product-category-content h3 {
    font-size: 18px;
  }

  .rp-product-category-content h4 {
    font-size: 16px;
  }

  .rp-product-category-content h5 {
    font-size: 15px;
  }

  .rp-product-category-content h6 {
    font-size: 14px;
  }

  .rp-product-category-content p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 20px;
  }
}
