.shadow-1 {
  box-shadow: 2px 2px 2px #0a3a65;
}
.shadow-2 {
  box-shadow: 4px 4px 16px #434d56;
}
.shadow-3 {
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0);
}
.shadow-4 {
  box-shadow: 0 24px 28px -12px black;
}
.shadow-5 {
  box-shadow: rgba(0, 0, 0, 0.15) 0 0 5px;
}
.shadow-6 {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 2px, rgba(0, 0, 0, 0.3) 10px 10px 3px 2px;
}
.shadow-7 {
  box-shadow: 0 0 5px #00000025;
}
.text-shadow-1 {
  text-shadow: 2px 2px 2px #484848bf;
}
/* 
 * Buttons 
 */
._shop-button,
._shop-smaller-button,
._shop-reversed-button,
._shop-naked-button {
  text-align: center;
  cursor: pointer;
  font-size: 1em;
}
._shop-button,
._shop-smaller-button {
  background-color: #4267b2;
  color: #fdfdfd;
  border-radius: 6px;
  box-sizing: border-box;
}
._shop-button {
  padding: 12px 20px;
}
._shop-reversed-button {
  padding: 11px 19px;
  background-color: #fdfdfd;
  color: #4267b2;
  border-style: solid;
  border-width: 2px;
  border-color: #4267b2;
  border-radius: 6px;
  box-sizing: content-box;
}
._shop-smaller-button {
  padding: 10px 16px;
}
._shop-naked-button {
  color: #87a0d3;
}
._shop-button_hover,
._shop-smaller-button_hover,
._shop-reversed-button_hover {
  background-color: #6283c5;
}
._shop-naked-button_hover {
  text-decoration: underline;
}
/*
 * Header
 */
#shop-header {
  align-items: center !important;
}
/*
 * Menu
 */
#shop-menu {
  margin-right: 30px !important;
}
/*
 * Body
 */
body {
  position: relative;
  min-height: 100vh;
}
#shop-body-section {
  padding-top: 20px;
}
#shop-body-content {
  gap: 25px;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-direction: column;
}
#profile-title {
  text-align: left;
  font-size: 2em;
  color: #4267b2;
}
#profile-body-section {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
/* Select section */
#profile-select-section {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: min-content;
  margin-top: 66px;
}
.profile-select-item {
  padding: 10px;
  background-color: #fdfdfd;
  color: #202020;
  cursor: pointer;
}
.profile-select-item-inactive {
  color: #3a3a3a;
}
#profile-logout-text {
  display: initial;
}
#profile-logout-icon {
  display: none;
}
/* Body content */
#shop-body-content {
  flex-grow: 1;
}
.profile-data-section {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: #202020;
}
.profile-data-section-title {
  font-size: 1.8em;
  color: #fdfdfd;
  font-weight: bold;
}
/* Current shopping cart */
#current-shopping-cart {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cart-item-block {
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.15) 0 0 5px;
  background-color: #fdfdfd;
}
.cart-item-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8em;
}
.cart-item-picture {
  max-height: 200px;
  max-width: 100px;
}
.cart-item-description-container {
  display: none;
  flex-direction: column;
  gap: 2px;
  color: #202020;
}
.cart-item-unit {
  display: none;
}
.cart-item-quantity-price-block {
  align-self: flex-end;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.cart-item-price::before {
  content: "\00d7";
  padding: 0 10px 0 0;
}
.cart-item-total-block {
  display: flex;
  flex-direction: row;
  gap: 5px;
  font-weight: bold;
}
.cart-item-quantity-clear {
  cursor: pointer;
}
.cart-item-quantity-add,
.cart-item-quantity-remove {
  width: 16px;
  cursor: pointer;
  background-color: #adbee0;
  color: #fdfdfd;
  text-align: center;
}
.cart-item-quantity-add:hover,
.cart-item-quantity-remove:hover {
  background-color: #87a0d3;
}
.cart-item-quantity-add:before {
  content: "\002b";
}
.cart-item-quantity-remove:before {
  content: "\02d7";
}
.cart-item-quantity-clear:before {
  content: "\f2ed";
  font-family: "Font awesome 6 Pro";
  color: #4267b2;
}
/* Orders and shopping carts */
#order-list,
#shopping-cart-list {
  display: flex;
  gap: 40px;
}
#order-list {
  flex-direction: column;
}
#shopping-cart-list {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
}
.order-year-section,
.shopping-cart-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-year-label,
.shopping-cart-section-title {
  padding: 4px;
  background-color: #fdfdfd;
  color: #202020;
  font-size: 1.2em;
  cursor: pointer;
}
.order-year-block {
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: stretch;
}
.order-month-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-month-label {
  padding: 4px;
  background-color: #fdfdfd;
  color: #202020;
  font-size: 1.2em;
  cursor: pointer;
}
.order-month-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 40px;
  align-items: stretch;
}
.order-block,
.shopping-cart-block {
  position: relative;
  padding: 15px;
  min-width: 200px;
  background-color: #fdfdfd;
  box-shadow: 0 0 5px #00000025;
}
.order-content,
.shopping-cart-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
  cursor: pointer;
}
.order-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #202020;
}
.order-number {
  text-align: center;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #4267b2;
}
.order-body-row,
.shopping-cart-body-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.order-date-label,
.order-total-label {
  font-size: 0.8em;
  text-align: left;
}
.order-date,
.order-total-block {
  text-align: right;
  font-size: 0.9em;
}
.order-total-currency {
  display: inline-block;
  padding-right: 10px;
}
.order-total {
  display: inline-block;
}
.order-control,
.shopping-cart-control {
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  color: #202020;
}
.order-download-block {
  display: flex;
  flex-direction: row;
  gap: 10px;
  font-size: 0.8em;
}
.order-download-order,
.order-download-invoice,
.shopping-cart-button {
  text-align: center;
  cursor: pointer;
  font-size: 1em;
  background-color: #4267b2;
  color: #fdfdfd;
  border-radius: 6px;
  box-sizing: border-box;
  padding: 12px 20px;
}
.order-download-invoice {
  display: none;
}
.order-show-detail {
  text-align: left;
  font-size: 0.9em;
  cursor: pointer;
  text-decoration: underline;
}
.order-detail-block,
.shopping-cart-detail-block {
  position: absolute;
  top: 40px;
  left: 0;
  padding: 15px;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  gap: 20px;
  font-size: 0.9em;
  background: #fdfdfd;
  width: 100%;
  overflow: auto;
  scrollbar-width: thin;
  border-radius: 5px;
  z-index: 2;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 2px, rgba(0, 0, 0, 0.3) 10px 10px 3px 2px;
}
.order-detail-close,
.shopping-cart-detail-close {
  position: absolute;
  top: 10px;
  right: 10px;
}
.order-detail-close::before,
.shopping-cart-detail-close::before {
  content: "\00d7";
}
.order-detail-content,
.shopping-cart-detail-content {
  padding: 10px 5px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.order-detail-item-row,
.shopping-cart-detail-item-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.order-detail-item-row-code,
.shopping-cart-detail-item-row-code {
  width: 20%;
}
.order-detail-item-row-name,
.shopping-cart-detail-item-row-name {
  flex-grow: 1;
}
.order-detail-item-row-quantity,
.shopping-cart-detail-item-row-quantity {
  width: 20%;
}
.order-detail-item-code-label,
.order-detail-item-name-label,
.order-detail-item-quantity-label,
.shopping-cart-detail-item-code-label,
.shopping-cart-detail-item-name-label,
.shopping-cart-detail-item-quantity-label {
  display: none;
}
.order-detail-item-code,
.order-detail-item-name,
.shopping-cart-detail-item-code,
.shopping-cart-detail-item-name {
  text-align: left;
}
.order-detail-item-row-quantity,
.shopping-cart-detail-item-row-quantity {
  text-align: right;
}
.order-again-block {
  display: none;
}
/* User */
#shop-user-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
#shop-user-control {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.shop-user-button {
  padding: 5px 10px;
  color: #4267b2;
  background-color: #fdfdfd;
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
}
.shop-user-button:hover {
  background-color: #eeeeee;
}
/*
 * Responsive
 */
@media only screen and (max-width: 800px) {
  #profile-body-section {
    flex-direction: column;
  }
  #profile-select-section {
    flex-direction: row;
    border-style: none solid;
    flex-grow: 1;
  }
  .profile-select-item {
    flex-grow: 1;
  }
  #profile-logout-text {
    display: none;
  }
  #profile-logout-icon {
    display: initial;
  }
  #profile-select-section {
    margin-top: 0;
  }
  #profile-body-section {
    margin-bottom: 250px;
  }
}
@media only screen and (max-width: 480px) {
  .dpm-block {
    width: 100%;
  }
  .order-block {
    width: 100%;
  }
}
