/** This file is used to fix the differences between classic theme stylesheet
of PS 1.7.7.7 and PS 8.2.1 **/

/** Global **/
@media (max-width: 991px) {
  .container {
    max-width: 100%;
  }
}

.h1, .h2, h3 {
  text-transform: uppercase;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.page-customer-account #content {
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.2);
}

/** Header **/
#header .header-nav {
  max-height: 100%;
}

#header .header-top {
  padding-top: 0;
}

/** Carousel **/
body .carousel {
  padding-bottom: 0;
}

.carousel-inner {
  margin-bottom: 0;
}

.carousel .carousel-item .caption {
  bottom: auto;
  left: auto;
  color: inherit;
}

.carousel .carousel-item img {
  width: auto;
  max-width: unset;
}

/** Products list **/
.product-miniature .product-title {
  margin-top: 0;
  text-align: inherit;
  text-transform: unset;
}

.product-miniature .thumbnail-container {
  position: static;
  overflow: visible;
}

.product-miniature .thumbnail-container:focus .product-description::after,
.product-miniature .thumbnail-container:hover .product-description::after {
  display: none;
}

.product-miniature .product-description {
  padding: 0;
}

.product-miniature .thumbnail-container .product-thumbnail img {
  display: inline-flex;
}

.product-miniature .thumbnail-container .product-thumbnail {
  height: auto;
}

/** Login **/
.forgotten-password .form-fields .email input {
  border: 1px solid #9999998c;
}
.forgotten-password .form-fields .email input:focus {
  border: 1px solid var(--blue_alliantz);
}

/** Pagination **/
.pagination {
  font-size: inherit;
}

/** Product page **/
.product-images > li.thumb-container > .thumb {
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.2);
}

/** Block category **/
@media (min-width: 431px) and (max-width: 750px) {
  .block-category h1 {
    margin-bottom: 0.5rem;
  }
}

/** Addresses **/
.page-addresses .address, .page-authentication #content {
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.2);
  background: #fff;
}

/** Cart **/
.cart-grid-body .card-block h1 {
  font-weight: 700;
  font-size: 1.375rem;
}

.cart-summary-line,
.cart-summary-line:not(:last-child) {
  margin-bottom: 0;
}

.cart-summary-line .label {
  font-size: 0.875rem;
}

.cart-summary-line .value {
  font-size: 1rem;
  font-weight: unset;
}

.card-block.cart-summary-totals {
  padding: 0 1rem 1rem;
}

.card-block.cart-summary-totals .label {
  font-size: 1rem;
}

.card-block.cart-summary-totals .cart-summary-line.cart-total-without-tax {
  font-weight: bold;
  background-color: #f1f1f1;
  padding: 0.5rem;
}
.card-block.cart-summary-totals .cart-summary-line.cart-total-without-tax .label {
  font-weight: bold;
}

.card-block.cart-summary-totals .cart-summary-line.cart-tax {
  padding: 0.5rem;
}

.card-block.cart-summary-totals .cart-summary-line.cart-total {
  font-weight: normal;
  padding: 0.5rem;
  border: none;
  margin-bottom: 0.315rem;
}
.card-block.cart-summary-totals .cart-summary-line.cart-total .label,
.card-block.cart-summary-totals .cart-summary-line.cart-total .value {
  font-weight: normal;
}

.card-block.checkout {
  margin-top: 1rem;
}

/** Checkout **/
#order-items table tr.total-value, .bootstrap-touchspin .btn-touchspin:hover {
  background-color: unset;
}
