/* PAGE STYLE */

img {
  max-width: 100%;
}

:root {
  --topbar-height: 60px;
  --sidebar-width: 250px;
}

.page-footer-header {
  padding: 20px 10px;
  background-color: var(--secondary);
  color: #fff;
  text-align: center;
}

.page-footer-header h1 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
}

.page-footer-header p {
  opacity: 0.8;
  font-size: 14px;
  line-height: 16px;
}

.footer-copyright {
  padding: 10px;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  background-color: var(--primary);
  color: #fff;
}

.footer-copyright a {
  font-weight: 700;
}

@media (min-width: 550px) {
  /* PRODUCT LIST */
  .product-list-item-container {
    width: 25%;
  }

  /* PRODUCT DETAILS */
  .product-details-extra-header {
    justify-content: flex-start;
  }

  .product-details-header-ref {
    margin-right: 10px;
  }

  .product-details-add-to-cart,
  .product-details-video iframe {
    max-width: 500px;
  }

  /* CART */
  .checkout-product-image {
    width: 100px;
    margin-bottom: 20px;
    margin-right: 5px;
  }

  .checkout-product-name {
    width: auto;
    flex: 1;
    text-align: left;
  }

  .checkout-edit-product,
  .checkout-product-price {
    width: 20%;
  }

  .checkout-product-price > h2 {
    display: block;
  }

  .checkout-edit-product {
    border-right: 1px solid #fff;
  }

  .checkout-product-informations > h2,
  .checkout-product-price > h2 {
    padding: 5px 10px;
    font-size: 12px;
    background: #999;
    color: #fff;
  }

  .checkout-edit-product,
  .checkout-product-price {
    margin: 0;
  }
}

@media (min-width: 991px) {
  /* PRODUCT LIST */
  .product-list-item-container {
    width: 20%;
  }

  /* PRODUCT DETAILS */
  .product-details-section-image {
    display: flex;
    flex-wrap: wrap;
  }
  .product-details-gallery-image {
    width: 110px;
    height: 90px;
  }
  .product-details-image {
    flex: 1;
    padding: 20px;
    flex-direction: row-reverse;
  }

  .product-details-content {
    flex: 1;
  }

  /* CART */

  .cart-checkout-products .product-list-item-container {
    width: 25%;
  }

  .cart-checkout-container {
    padding-top: 50px;
    padding-right: 0px;
    padding-bottom: 50px;
    padding-left: 0px;
  }

  .cart-checkout-table thead {
    display: table-header-group;
  }

  .cart-checkout-table tr {
    display: table-row;
  }

  .cart-checkout-table td {
    display: table-cell;
  }

  .cart-subtotal-table tbody tr:not(:last-child),
  .cart-checkout-table tbody tr:not(:last-child) {
    border-bottom: 1px solid #ddd;
  }

  .cart-checkout-table tbody td.p-name {
    width: 100%;
  }

  .checkout-subtotal {
    margin-bottom: 0;
  }

  .cart-checkout-content {
    flex-direction: row;
    margin: 0 -15px;
  }

  .cart-checkout-table thead th,
  .cart-checkout-table tbody td {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .cart-checkout-table tbody td.product-total-ceil {
    background: transparent;
    font-size: 14px;
    padding: 7px 10px;
  }

  .cart-checkout-infos {
    padding: 0 15px;
  }

  .cart-checkout-items {
    width: 66.6666%;
    padding: 0 15px;
  }

  .cart-checkout-infos {
    width: 33.3333%;
  }

  .product-total-ceil {
    font-size: inherit;
    width: inherit;
    text-align: inherit;
  }

  .cart-checkout-table .add-to-cart-btn {
    margin-top: 5px;
    margin-left: 0;
  }

  .checkout-product-edit .add-to-cart-container {
    flex-direction: column;
  }
}
