.bag-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    font-family: "Raleway", sans-serif;
}

.bag-item>img {
    display: block;
    width: 160px;
    height: auto;
    flex-shrink: 0;
}

.bag-item-info {
    flex: 1;
    min-width: 0;
    max-width: 370px;
}

.bag-item-info h2 {
    margin: 0 0 8px;
    color: #000;
    font-size: 26px;
    font-weight: 400;
}

.bag-item-info .bag-item-price {
    margin: 0 0 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #aaa;
    color: #999;
    font-size: 20px;
}

.bag-item-info .bag-item-size {
    margin: 0 0 6px;
    color: #999;
    font-size: 20px;
}

.bag-item-size span {
    margin-left: 8px;
    color: #b60000;
}

.bag-item-quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b60000;
    font-size: 20px;
    font-weight: 700;
}

.bag-item-quantity button {
    padding: 0;
    border: none;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

@media (max-width: 600px) {
    .bag-item {
        gap: 20px;
    }

    .bag-item>img {
        width: 100px;
    }

    .bag-item-info h2 {
        font-size: 18px;
    }

    .bag-item-info .bag-item-price,
    .bag-item-info .bag-item-size,
    .bag-item-quantity {
        font-size: 16px;
    }
}

.bag-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 950px;
    margin: 80px auto;
    padding: 0 24px;
    font-family: "Raleway", sans-serif;
}

.bag-page h1 {
    margin: 0 0 40px;
    font-size: 20px;
    font-weight: 400;
    border-bottom: 1px  solid;
    width: 300px;
    padding-bottom: 10px;
}

.bag-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid #aaa;
    font-size: 20px;
}

.bag-total span {
    font-family: brushy;
    font-size: 50px;
    color: #b60000;
}

.bag-page>a {
    display: inline-block;
    color: #000;
    font-size: 14px;
    text-decoration: none;
}

.bag-page>a:hover {
    color: #b60000;
}

@media (max-width: 600px) {
    .bag-page {
        margin-block: 40px;
        padding-inline: 20px;
    }
}

.shipping {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 70px;
  margin-top: -20px;
}

.shipping p {
  margin: 0;
}

.cal {
  color: #b60000;
  text-decoration: underline;
}

.continue-checkout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.continue img {
  display: inline-block;
  width: 30px;
  height: auto;
  padding-left: 10px;
  transform: rotate(180deg);
  }

  .continue C{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 8px 0;
  flex-shrink: 0;
}


.continue-checkout a {
  color: #000;
  font-size: 14px;
  text-decoration: none;
}

.continue-checkout a:hover {
  color: #b60000;
}

.continue-checkout button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 8px 16px;
  flex-shrink: 0;

  background: transparent;
  border: 1px solid #b60000;
  border-radius: 30px;

  font-family: inherit;
  font-size: 18px;
  color: #b60000;
  cursor: pointer;
}

.continue-checkout button img {
  display: block;
  width: 32px;
  height: auto;
}

.continue-checkout button:hover {
  background-color: #b60000;
  color: #fff;
}

.continue-checkout button:hover img {
  filter: brightness(0) invert(1);
}

@media (max-width: 600px) {
  .continue-checkout {
    flex-wrap: wrap;
  }
}

.bag-remove {
  align-self: flex-start;
  margin-left: auto;
  flex-shrink: 0;
  padding: 3px 9px;

  border: 1px solid #b60000;
  border-radius: 30px;
  background: transparent;

  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #b60000;
  white-space: nowrap;
  cursor: pointer;
}

.bag-remove:hover {
  background-color: #b60000;
  color: #fff;
}

.bag-remove:focus-visible {
  outline: 2px solid #b60000;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .bag-item {
    position: relative;
    padding-bottom: 42px;
  }

  .bag-remove {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

