.order-finished-theme {
  --accent-01: var(--blue-01);
  --grey-05: var(--body-color);
  --grey-10: var(--background-beige-02);
  --grey-20: var(--border-01);
  --grey-80: var(--text-secondary);
  --grey-90: var(--text-primary);
  --grey-95: var(--text-dark);
  --fontFamily-forum: "Cormorant Garamond", serif;
  --fontFamily-dm_sans: "Montserrat", sans-serif;
  --filter-accent-01: var(--filter-primary);
}

.order-finished-section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 100dvh;
  padding: 160px 0 80px 0;
}

.order-finished-top-main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  min-height: 400px;
  background-image: url("../images/Illustrations/header-order-completed-desktop.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 48px 0;
}

.order-finished-title {
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 2px;
  color: var(--accent-01);
  font-weight: var(--regular);
  font-family: var(--fontFamily-forum);
  text-transform: uppercase;
}

.order-id-info-container {
  width: auto;
  height: auto;
  padding: 12px;
  border: solid 1px var(--accent-01);
  background-color: var(--grey-10);
  font-size: 14px;
  line-height: 14px;
  font-weight: var(--semiBold);
  color: var(--white);
}

.order-finished-text-description {
  font-size: 16px;
  line-height: 24px;
  color: var(--grey-90);
  font-weight: var(--medium);
  max-width: 740px;
  text-align: center;
  display: inline;
}

.customer-name {
  color: var(--white);
  font-weight: var(--semiBold);
  font-style: italic;
  display: inline;
}

.delivery-time-colored {
  color: var(--accent-01);
  font-weight: var(--semiBold);
  display: inline;
}

.order-information-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  width: 1000px;
  background-color: var(--grey-10);
  border: solid 1px var(--grey-20);
  padding: 20px 24px;
  height: auto;
  min-height: 88px;
}

.order-information-container.profile {
  width: 100%;
}

.order-information-small-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.order-information-label {
  font-size: 14px;
  line-height: 14px;
  font-weight: var(--regular);
  color: var(--grey-80);
}

.order-information-value {
  font-size: 14px;
  line-height: 14px;
  font-weight: var(--semiBold);
  color: var(--text-primary);
}

.order-finished-width-container {
  width: 1200px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-direction: column;
}

.order-finished-address-map {
  width: 100%;
  height: 400px;
}

.order-finished-boxes-container {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(2, 1fr);
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  gap: 48px 24px;
}

.order-finished-box-main-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
}

.order-finished-box-title-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.order-finished-box-icon-container {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: solid 1px #00739966;
  background-color: #00739933;
}

.order-finished-box-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(16%) sepia(34%) saturate(3369%)
    hue-rotate(168deg) brightness(91%) contrast(102%);
}

.order-finished-box-title {
  font-size: 18px;
  line-height: 18px;
  color: var(--grey-80);
  font-weight: var(--semiBold);
}

.order-finished-box-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background-color: var(--grey-10);
  border: solid 1px var(--grey-20);
  width: 100%;
}

.order-finished-box-label-text {
  font-size: 14px;
  line-height: 18px;
  font-weight: var(--regular);
  color: var(--grey-90);
}

.order-finished-box-value-text {
  font-size: 16px;
  line-height: 16px;
  font-weight: var(--semiBold);
  color: var(--text-dark);
}

.order-finished-box-container-payment-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.order-finished-box-container.payment {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.icon-payment-order-box {
  width: 32px;
  height: 32px;
  margin-left: auto;
  filter: var(--filter-accent-01);
}

.order-finished-box-container.payment.card
  .order-finished-box-container-payment-info.cash {
  display: none;
}

.order-finished-box-container.payment.card .icon-payment-order-box.cash {
  display: none;
}

.order-finished-box-container.payment.cash
  .order-finished-box-container-payment-info.card {
  display: none;
}

.order-finished-box-container.payment.cash .icon-payment-order-box.card {
  display: none;
}

.order-finished-box-container.personal-details {
  gap: 24px;
}

.personal-detail-box-containers {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}

.personal-detail-small-container-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

/*-----------------------------------*\
  #ORDER OVERVIEW
\*-----------------------------------*/

.order-overview-separator {
  width: 100%;
  height: 1px;
  background-color: var(--grey-20);
}

.product-details-counter-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: var(--grey-10);
  width: 180px;
  height: 40px;
  border: solid 1px #565656;
  flex-shrink: 0;
  margin-top: auto;
}

.order-finished-count-price-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.order-finished-product-counter {
  font-size: 16px;
  line-height: 20px;
  font-weight: var(--regular);
  color: var(--grey-90);
}

.order-finished-item-price {
  font-size: 16px;
  line-height: 20px;
  font-weight: var(--semiBold);
  color: var(--white);
}
.order-details-order-overview-main-container {
  width: 690px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: flex-start;
  justify-self: flex-start;
  gap: 24px;
}

.order-overview-detail-title-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 0 24px 0;
  border-bottom: solid 1px var(--border-01);
}

.order-overview-detail-title {
  font-size: 40px;
  line-height: 40px;
  color: var(--grey-90);
  font-weight: var(--regular);
  font-family: var(--fontFamily-forum);
}

.order-overview-details-product-counter {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-01);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  line-height: 14px;
  color: var(--grey-10);
  font-weight: var(--semiBold);
}

.order-details-overview-items-in-cart-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.order-details-overview-item-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: auto;
}

.order-details-item-price {
  align-self: flex-end;
  justify-self: flex-end;
  font-size: 16px;
  line-height: 16px;
  color: var(--grey-90);
  font-weight: var(--medium);
  letter-spacing: 0.5px;
}

.order-details-item-top-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: auto;
}

.order-details-item-image {
  width: 102px;
  height: 102px;
}

.item-details-top-container-info {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 102px;
}

.order-details-overview-item-name {
  font-size: 16px;
  line-height: 20px;
  color: var(--grey-95);
  font-weight: var(--regular);
}

.order-details-overview-items-separator {
  width: 100%;
  height: 1px;
  background-color: var(--grey-20);
}

.add-more-items-in-cart-button {
  margin: 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 282px;
  height: 48px;
  background-color: transparent;
  border: solid 1px var(--grey-80);
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--grey-95);
  font-weight: var(--semiBold);
  justify-self: flex-end;
  align-self: flex-end;
  transition: 0.5s;
}

.add-more-items-button-icon {
  width: 20px;
  height: 20px;
  filter: var(--filter-white);
  transition: 0.5s;
}

.add-more-items-in-cart-button:is(:hover, :focus-visible, :focus-within) {
  background-color: var(--accent-01);
  border: solid 1px var(--accent-01);
  color: var(--grey-05);
  scale: 1.05;
  cursor: pointer;
}

.add-more-items-in-cart-button:is(:hover, :focus-visible, :focus-within)
  .add-more-items-button-icon {
  filter: var(--filter-black);
}

.price-overview-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.price-overview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 40px;
}

.price-overview-label {
  font-size: 16px;
  line-height: 16px;
  color: var(--grey-80);
  font-weight: var(--medium);
}

.price-overview-value {
  font-size: 16px;
  line-height: 16px;
  color: var(--text-dark);
  font-weight: var(--medium);
}

.price-overview-label.main {
  font-size: 20px;
  line-height: 20px;
  color: var(--grey-95);
  font-weight: var(--semiBold);
}

.price-overview-value.main {
  font-size: 24px;
  line-height: 24px;
  color: var(--white);
  font-weight: var(--semiBold);
}

.promo {
  color: #e04d50;
}

.order-details-order-overview-main-container.profile {
  width: 100%;
  margin-top: 16px;
}

.order-details-order-overview-main-container.profile
  .order-overview-detail-title {
  font-family: var(--fontFamily-dm_sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 20px;
}

.order-details-order-overview-main-container.profile
  .price-overview-value.main {
  font-family: var(--fontFamily-dm_sans);
  font-weight: 600;
  font-size: 24px;
  line-height: 24px;
  color: var(--text-primary);
}

.order-separator {
  height: 66px;
  width: 1px;
  background-color: var(--border-01);
}

@media (max-width: 1280px) {
  .order-finished-width-container {
    width: 1000px;
  }
}

@media (max-width: 1080px) {
  .order-finished-section {
    padding: 160px 32px 80px 32px;
  }
  .order-information-container {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .order-information-container.profile {
    justify-content: flex-start;
  }

  .order-information-small-container {
    align-items: flex-start;
    justify-content: center;
  }

  .order-finished-width-container {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .order-finished-section {
    padding: 160px 24px 80px 24px;
  }

  .order-details-order-overview-main-container {
    width: 100%;
  }

  .order-finished-boxes-container {
    grid-template-columns: repeat(1, 1fr);
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 24px;
  }

  .order-finished-top-main-container {
    background-image: url("../images/Illustrations/header-order-completed-mobile.svg");
  }
}

@media (max-width: 700px) {
  .order-finished-section {
    padding: 160px 20px 80px 20px;
  }
}
@media (max-width: 500px) {
  .order-finished-section {
    padding: 96px 16px 80px 16px;
  }
  .order-finished-title {
    font-size: 20px;
    line-height: 20px;
  }

  .order-finished-text-description {
    font-size: 14px;
    line-height: 24px;
  }

  .order-finished-address-map {
    width: 100%;
    height: 364px;
  }

  .order-finished-box-title {
    font-size: 16px;
    line-height: 16px;
  }

  .order-finished-box-value-text {
    font-size: 14px;
    line-height: 14px;
  }
  .order-finished-box-label-text {
    font-size: 14px;
    line-height: 18px;
    font-weight: var(--regular);
    color: var(--grey-90);
  }

  /*-----------------------------------*\
      #OVERVIEW
    \*-----------------------------------*/
  .order-overview-detail-title {
    font-size: 32px;
    line-height: 32px;
  }

  .order-details-item-image {
    width: 88px;
    height: 88px;
  }

  .item-details-top-container-info {
    height: 88px;
  }

  .price-overview-value.main {
    font-size: 20px;
    line-height: 20px;
    color: var(--white);
    font-weight: var(--semiBold);
  }
}
