/* Liste */
.page .frame-bg-red .shop-swiper .swiper-slide {
  background: rgb(var(--c-neutral-lightest));
  border-radius: var(--b-radius-m);
  padding: 1rem;
  height: auto;
}

.page .shop-swiper .swiper-slide {
  background: rgb(var(--c-neutral-lighter));
  border-radius: var(--b-radius-m);
  padding: 1rem;
  height: auto;
}

.page .frame-bg-red .shop-swiper .swiper-slide [class^="product-"] > img {
  width: 100%;
  height: 100%;
}

.card-title {
  font-size: var(--f-size-l-3);
  margin-top: 1rem;
}

.card-text h3 {
  font-size: var(--f-size-l-2);
  color: rgb(var(--c-primary));
}

.mb-0.text-capitalize,
.product-add-to-basket-quantity {
  display: none;
}

button[data-add-to-basket] {
  font-size: 0;
}

button[data-add-to-basket] i {
  font-size: 16px;
}

label[for^="product-bookmark-button-"] {
  font-size: 0;
}

label[for^="product-bookmark-button-"]::before {
  font-size: 20px;
}

.btn-group {
  display: inline-block;
  margin-right: 0.5rem;
}

.circle-button {
  background-color: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0;
}

.circle-button:hover {
  background-color: rgb(var(--c-primary));
}

.circle-button i {
  pointer-events: none;
}

label[for^="product-bookmark-button-"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  font-size: 20px;
  position: relative;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
}

label[for^="product-bookmark-button-"]::before {
  content: "\f004";
  font-family: "FaLight";
  font-weight: 300;
  text-indent: 0;
  position: absolute;
}

.product-bookmarks input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

button[title="In den Warenkorb"] {
  background-color: rgb(var(--c-primary)) !important;
  color: rgb(var(--c-neutral-lightest)) !important;
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  overflow: hidden;
  border: 0;
}

button[title="In den Warenkorb"] i {
  font-size: 20px;
}

button[title="In den Warenkorb"] .fa:before {
  content: "\f07a";
  font-family: "FaLight";
  font-weight: 300;
}

.product-detail-button .fa:before {
  display: none;
}

.product-detail-button,
a.product-detail-button {
  color: rgb(var(--c-primary));
}

.product-detail-button {
  border: 2px solid rgb(var(--c-primary));
  border-radius: 1.5em;
  padding: 0.5rem 1rem;
  background-color: rgb(var(--c-neutral-lightest));
  position: relative;
  font-size: var(--f-size-l-1);
  font-weight: 600;
  margin-top: 0.5rem;
  margin-left: -0.25rem;
  display: block;
  width: 170px;
  z-index: 10;
  transition: color 0.3s ease 0.3s;
}

.product-detail-button::after {
  content: "\f061";
  font-family: "FaSolid", sans-serif;
  background-color: rgb(var(--c-primary));
  border-radius: 1.5em;
  position: absolute;
  right: -2px;
  top: 0;
  height: 100%;
  color: rgb(var(--c-neutral-lightest));
  display: flex;
  justify-content: flex-end;
  padding-right: 0.9em;
  align-items: center;
  width: 2.8em;
  box-sizing: border-box;
  transition: width 0.3s ease 0.3s;
  z-index: -1;
}

@media (hover: hover) {
  .product-detail-button:hover::after {
    width: calc(100% + 4px);
  }

  .product-detail-button:hover,
  a.product-detail-button:hover {
    color: rgb(var(--c-neutral-lightest)) !important;
  }
}

.page #product-list .deck {
  display: flex;
  flex-wrap: nowrap;
}

.shop-swiper {
  padding-bottom: 4rem;
}

.shop-swiper .swiper {
  overflow: visible;
}

.frame-bg-red .shop-swiper .swiper-button-prev,
.frame-bg-red .shop-swiper .swiper-button-next {
  top: inherit;
  opacity: 1 !important;
  background-color: rgb(var(--c-neutral-lightest));
  color: rgb(var(--c-primary));
  align-items: center;
  border-radius: 50%;
  height: auto;
  width: auto;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
}

.shop-swiper .swiper-button-prev,
.shop-swiper .swiper-button-next {
  top: inherit;
  opacity: 1 !important;
  background-color: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  align-items: center;
  border-radius: 50%;
  height: auto;
  width: auto;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
}

.shop-swiper .swiper-button-next {
  right: 0;
}

.shop-swiper .swiper-button-prev {
  right: 5rem;
  left: inherit;
}

.shop-swiper .swiper-button-next:after {
  content: "\f061";
  font-family: "FaSolid", sans-serif;
  font-size: var(--f-size-l-2);
}

.shop-swiper .swiper-button-prev:after {
  content: "\f060";
  font-family: "FaSolid", sans-serif;
  font-size: var(--f-size-l-2);
}

/* single view */
.page.-main .product-detail .back-button,
.page .product-detail .col-md-3 .list-inline {
  display: none;
}

.page .product-detail .back-button {
  background-color: rgb(var(--c-primary));
  border: 2px solid rgb(var(--c-neutral-lightest));
  font-weight: var(--f-weight-b);
  border-radius: 1.5em;
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.75rem;
}

.page .product-detail .back-button a {
  color: rgb(var(--c-neutral-lightest));
}

@media (hover: hover) {
  .page .product-detail .back-button:hover {
    background-color: rgb(var(--c-neutral-lightest));
  }

  .page .product-detail .back-button:hover a {
    color: rgb(var(--c-primary));
  }
}

.page.-sub .product-detail .col-md-3 button[title="In den Warenkorb"] {
  margin-left: 0.5rem;
}

.product-detail img {
  border-radius: var(--b-radius-m);
  height: auto;
}

.page .product-detail .col-md-3 {
  background-color: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  padding: 2rem;
  border-radius: var(--b-radius-m);
}

.page .product-detail .col-md-3 h1,
.page .product-detail .col-md-3 h2,
.page .product-detail .col-md-3 h3 {
  color: rgb(var(--c-neutral-lightest));
}

.page .product-detail .col-md-9 {
  width: 100%;
  margin-bottom: 1rem;
}

.page .product-detail .col-md-3 {
  width: 100%;
}

.page .product-detail .col-md-3 label[for^="product-bookmark-button-"],
.page .product-detail .col-md-3 button[title="In den Warenkorb"] {
  background-color: rgb(var(--c-neutral-lightest)) !important;
  color: rgb(var(--c-primary)) !important;
}

.page .w-100.mb-2,
.page .btn-group {
  display: inline-block;
  width: auto;
  margin-bottom: 1rem;
}

.product-detail hr {
  border-top: 2px solid rgb(var(--c-neutral-lightest));
  margin: 1rem 0 1rem 0;
  width: 30%;
}

/* search */
.shop-product-quicksearch {
  grid-column: 2;
  position: absolute;
  left: calc(22vw - 12px);
  top: 1.6rem;
  width: 55%;
}

.shop-product-quicksearch .input-group {
  display: flex;
}

.shop-product-quicksearch .fa-search {
  display: none;
}

.shop-product-quicksearch .form-control {
  border: 2px solid rgb(var(--c-neutral-lightest));
  background: transparent;
  line-height: 1.4;
  padding: 0.6em 1.3em;
  font-weight: var(--f-weight);
  border-radius: 1.5em;
  position: relative;
  color: rgb(var(--c-neutral-lightest));
}

.shop-product-quicksearch .form-control::placeholder {
  color: rgb(var(--c-neutral-lightest), 0.5);
}

.shop-product-quicksearch .input-group-append button {
  position: absolute;
  top: 1.6px;
  right: -1px;
  z-index: 2;
  transform: translateX(-2px);
  margin-top: 0;
  line-height: 1.2;
  border-radius: 1.5em;
  border: none;
  color: rgb(var(--c-neutral-darkest));
  background-color: rgb(var(--c-neutral-lightest));
  font-weight: var(--f-weight-b);
  font-size: var(--f-size);
  padding: 0.7rem 1rem;
}

a[title="Warenkorb"] .fa:before,
a[title="Warenkorb"] .fa-shopping-cart {
  font-family: "FaThin", sans-serif !important;
  color: rgb(var(--c-neutral-darkest));
  position: relative;
  font-size: var(--f-size-l-1);
}

a[title="Warenkorb"] .fa:before,
a[title="Warenkorb"] .fa-shopping-cart::after {
  border-radius: 50%;
  background: rgb(var(--c-neutral-lightest));
  padding: 0.5rem;
}

.top__oben .btn-primary {
  grid-column: 3;
  justify-self: end;
  position: absolute;
  top: 2.5rem;
}

.top__oben .basket-button-label,
.top__oben .badge {
  display: none;
}

.top__oben a[title="Warenkorb"] {
  margin-right: 2rem;
}

.tx-shop .product-offer {
  box-shadow: none;
}

/* basket */
.shop-basket-show form {
  scrollbar-width: thin;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 10px;
  width: 100%;
}
.shop-basket-show .table thead {
  background-color: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

.shop-basket-show .table thead th:first-child {
  border-top-left-radius: var(--b-radius-m);
}

.shop-basket-show .table thead th:last-child {
  border-top-right-radius: var(--b-radius-m);
}

.shop-basket-show .table tbody,
.shop-basket-show .table tfoot {
  background-color: rgb(var(--c-neutral-lighter));
}

.shop-basket-show .table tbody tr td,
.shop-basket-show .table tfoot tr td {
  padding: 0.75rem;
  border: 2px solid rgb(var(--c-neutral-lightest));
}

.shop-basket-show .table tfoot tr:last-child td:first-child {
  border-bottom-left-radius: var(--b-radius-m);
  font-weight: var(--f-weight-b);
}

.shop-basket-show .table tfoot tr:last-child td:last-child {
  border-bottom-right-radius: var(--b-radius-m);
}

.shop-basket-show .table tfoot tr:last-child td:nth-child(2) {
  font-weight: var(--f-weight-b);
}

.shop-basket-show .checkout-button {
  margin-top: 2rem;
}

.shop-basket-show .checkout-button a,
.shop-basketorder-checkout button[type="submit"] {
  border: 2px solid rgb(var(--c-primary));
  color: rgb(var(--c-primary));
  background: transparent;
  border-radius: 1.5em;
  padding: 0.5rem 0.75rem;
  margin-right: 1rem;
  font-weight: var(--f-weight-b);
}

@media (hover: hover) {
  .shop-basket-show .checkout-button a:hover,
  .shop-basketorder-checkout button[type="submit"]:hover {
    background: rgb(var(--c-primary));
    color: rgb(var(--c-neutral-lightest));
  }
}

.shop-basket-show .checkout-button a:nth-child(2),
.shop-basket-show .checkout-button a:nth-child(3) {
  display: none;
}

.shop-basket-show .basket-item-unit,
.shop-basket-show .basket-item-unit-save {
  border: 2px solid rgb(var(--c-primary));
  color: rgb(var(--c-primary));
  font-weight: var(--f-weight-b);
  background: transparent;
  border-radius: 1.5em;
  padding: 0.25rem 0.75rem;
}

.shop-basketorder-checkout .btn-danger {
  font-weight: var(--f-weight-b);
}

.shop-basketorder-checkout button[type="submit"] {
  margin: 2rem 0 0 0.75rem;
}

/* =============================================================================
   Media Queries
   ========================================================================== */
@media (min-width: 640px) {
  .shop-product-quicksearch {
    left: calc(14vw - 12px);
    top: 2rem;
  }
}

@media (min-width: 768px) {
  .page .product-detail .col-md-9 {
    width: 60%;
    margin-bottom: 0;
  }

  .page .product-detail .col-md-3 {
    width: 40%;
  }
}

@media (min-width: 1024px) {
  .page .shop-swiper .swiper-slide {
    width: 465px !important;
  }

  .shop-product-quicksearch {
    top: 1.6rem;
  }
}

@media (min-width: 1580px) {
  .product-detail img {
    height: 100%;
    object-fit: cover;
  }
}
