/* =========================
   Rendigo Shop Archive
   ========================= */

.rendigo-shop {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.rendigo-shop-page-heading {
  max-width: var(--max-width);
  margin: auto;
  margin-bottom: 24px;
}

.rendigo-shop-page-heading__title {
    font-size: var(--title-font-size);
    line-height: var(--title-line-height);
    font-weight: var(--title-font-weight);
    color: var(--color-dark-blue);
}

.rendigo-shop-page-heading__desc,
.rendigo-shop-page-heading__warehouse {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: var(--color-dark-gray);
}

.rendigo-shop-page-heading__desc-warehouse.address {
    font-weight: 600;
}

.rendigo-shop__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 24px;
  padding: 20px;
  background: var(--color-gray);
  border-radius: 20px;
}

.rendigo-filter-box {
  background: var(--color-white);
  border-radius: 20px;
  padding: 20px;
}

.rendigo-filter-box h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  color: var(--color-dark-blue);
  text-transform: uppercase;
  border-bottom: 2px dashed var(--color-gray);
  padding-bottom: 16px;
}

.rendigo-filter-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rendigo-filter-box li {
  margin: 0;
  padding: 10px 0 0 0;
}

.rendigo-filter-box li:first-child {
  padding-top: 0;
}

.rendigo-filter-box a {
  text-decoration: none;
  color: var(--color-dark-blue);
  font-weight: 500;
}

.rendigo-filter-box--contact p {
  margin: 0 0 20px;
  color: var(--color-dark-blue);
  line-height: 24px;
  font-size: 16px;
  font-weight: 500;
}

.rendigo-btn,
.rendigo-filter-box--contact a,
.rendigo-product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height);
  padding: 0 24px;
  border-radius: 999px;
  background: var(--color-neon-green);
  color: var(--color-dark-blue);
  font-size: var(--button-font-size);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  border: 0;
  width: 100%;
  line-height: var(--button-height);
}

.rendigo-btn::after,
.rendigo-filter-box--contact a::after,
.rendigo-product-card__button::after {
  text-align: center;
}

.rendigo-btn:hover,
.rendigo-filter-box--contact a:hover,
.rendigo-product-card__button:hover {
  background: var(--color-neon-green);
  color: var(--color-dark-blue) !important;
}

.rendigo-shop__main {
  min-width: 0;
}

.rendigo-shop__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: var(--max-width);
  margin: auto;
  margin-bottom: 24px;
}

.rendigo-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.2;
}

.rendigo-breadcrumbs__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--badge-padding);
    border-radius: var(--badge-border-radius);
    background: var(--color-neon-green);
    color: var(--color-black);
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    text-decoration: none;
}

.rendigo-breadcrumbs__pill.hover-swap::after {
    top: 10px;
    left: 16px
}

.rendigo-breadcrumbs__dot {
    color: var(--color-black);
    font-size: 28px;
    line-height: 1;
}

.rendigo-breadcrumbs__link,
.rendigo-breadcrumbs__current {
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    text-decoration: none;
}

.rendigo-breadcrumbs__link:hover,
.rendigo-breadcrumbs__current:hover {
    text-decoration: none;
}
.rendigo-breadcrumbs__link {
    color: var(--color-dark-blue) !important;
}

.rendigo-breadcrumbs__current {
    color: var(--color-dark-gray) !important;
}

.rendigo-shop__sorting {
  flex: 0 0 280px;
}

.rendigo-shop__sorting form,
.rendigo-shop__sorting .woocommerce-ordering {
  margin: 0;
}

.rendigo-shop__sorting select,
.rendigo-shop__sorting .orderby {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: var(--color-white);
  padding: 0 16px;
  color: var(--color-dark-blue);
  font-size: 14px;
}

/* Grid */

.rendigo-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Product Card */

.rendigo-product-card {
  background: var(--color-gray);
  border-radius: 24px;
  padding: 20px;
}

.rendigo-product-card__inner {
  background: var(--color-white);
  border-radius: 20px;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rendigo-product-card__image {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}

.rendigo-product-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.rendigo-product-card__badge {
    position:absolute;
    top:16px;
    left:16px;
    z-index:5;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 12px;
    border-radius:999px;
    background:var(--color-orange);
    color:var(--color-white);
    font-size:14px;
    font-weight:500;
    line-height: 15px;
}

.rendigo-product-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rendigo-product-card__title {
  display: inline-block;
  text-decoration: none;
  color: var(--color-dark-blue);
  font-size: 24px;
  line-height: 29px;
  font-weight: 500;
  margin-bottom: 12px;
}

.rendigo-product-card__desc {
  color: var(--color-dark-gray);
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 18px;
  min-height: 46px;
  font-weight: 400;
}

.rendigo-product-card__footer {
  margin-top: auto;
  border-top: 1px dashed var(--color-lighter-gray);
  padding-top: 16px;
}

.rendigo-product-card__pricing {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.rendigo-product-card__price-left {
  min-width: 0;
}

.rendigo-product-card__price-label {
  color: var(--color-orange);
  font-size: 18px;
  line-height: 21px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.rendigo-product-card__price-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.rendigo-product-card__price {
  color: var(--color-orange);
  font-size: 42px;
  line-height: 50px;
  font-weight: 500;
}

.rendigo-product-card__suffix {
  color: var(--color-orange);
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rendigo-product-card__old-wrap {
  text-align: left;
  flex-shrink: 0;
}

.rendigo-product-card__old-label {
  display: block;
  color: var(--color-light-gray);
  font-size: 18px;
  line-height: 21px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rendigo-product-card__old-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  justify-content: flex-end;
}

.rendigo-product-card__old {
  color: var(--color-light-gray);
  text-decoration: line-through;
  font-size: 22px;
  line-height: 27px;
  font-weight: 500;
}

.rendigo-product-card__old-suffix {
  color: var(--color-light-gray);
  font-size: 184x;
  line-height: 17px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 6px;
}


/*  Woo default cleanup */

.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce-result-count,
.page-title,
.term-description,
.woocommerce-products-header__title {
  display: none !important;
}

/* If Woo still wraps cards in li.product */
.rendigo-products-grid > li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.rendigo-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rendigo-shop-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 17px;
    line-height: 21px;
    font-weight: 500;
    color: var(--color-light-gray);
}

.rendigo-shop-categories li.is-active a {
    color: var(--color-dark-blue);
}


.rendigo-slider-group + .rendigo-slider-group {
  margin-top: 28px;
}

.rendigo-slider-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 18px;
  color: var(--color-dark-blue);
  font-weight: 500;
}

.rendigo-slider-value {
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 20px;
  font-weight: 500;
  color: var(--color-dark-blue);
}

.rendigo-shop-filters-form {
    gap: 16px;
    display: grid;
}

.rendigo-shop-filters-form input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--color-gray);
  border-radius: 999px;
  outline: none;
}

.rendigo-shop-filters-form input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-neon-green);
  border: 0;
  cursor: pointer;
  box-shadow: none;
  margin-top: -6px;
}

.rendigo-shop-filters-form input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: var(--color-gray);
}

.rendigo-shop-filters-form input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-neon-green);
  border: 0;
  cursor: pointer;
}

.rendigo-shop-filters-form input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: var(--color-gray);
}

@media (max-width: 1024px) {
  .rendigo-shop {
    grid-template-columns: 1fr;
  }

  .rendigo-shop__sidebar {
    position: static;
  }

  .rendigo-shop__topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .rendigo-shop__sorting {
    flex: none;
  }
}

@media (max-width: 767px) {
  .rendigo-shop {
    padding: 16px;
    gap: 16px;
  }

  .rendigo-products-grid {
    grid-template-columns: 1fr;
  }

  .rendigo-product-card__title {
    font-size: 18px;
  }

  .rendigo-product-card__pricing {
    flex-direction: column;
    align-items: flex-start;
  }

  .rendigo-product-card__old-wrap {
    text-align: left;
  }

  .rendigo-product-card__old-row {
    justify-content: flex-start;
  }
}










.rendigo-shop__sorting {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 260px;
}

.rendigo-shop__sorting .woocommerce-ordering {
    margin: 0;
    width: 100%;
}

.rendigo-shop__sorting .orderby {
    width: 100%;
    height: 56px;
    padding: 0 56px 0 24px;
    border: 0;
    border-radius: 20px;
    background: transparent;
    color: var(--color-dark-blue);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    outline: none;
}

.rendigo-shop__sorting::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'><path d='M6 9L12 15L18 9' stroke='%2314284b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.rendigo-shop__sorting .orderby:focus {
    outline: none;
}

.rendigo-shop__sorting .orderby option {
    color: #14284b;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}