.Checkout {
  padding: 24px 20px;
  height: 100vh;
  position: fixed;
  top: 7vh;
  height: calc(100vh - 7vh);
  width: 320px;
  max-width: 90vw;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow-y: auto;
  backdrop-filter: blur(6px);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.CheckoutRight {
  background-color: rgba(34, 34, 34, 0.6);
  background-image: linear-gradient(
    110deg,
    rgba(34, 34, 34, 0.85),
    rgba(15, 23, 42, 0.7)
  );
  right: 0;
  border-left: 1px solid rgba(148, 163, 184, 0.18);
}

.CheckoutList {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  gap: 1vh;
}

.CheckoutItem {
  width: 100%;
  height: 5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  text-decoration: none;
  background-color: antiquewhite;
  margin: 1vh;
  border: black 1px solid;
  border-radius: 1vh;
}

.CheckoutToggle {
  width: 3vw;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff00;
  border: none;
}

.CheckoutToggle > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: none;
}

.CheckoutToggleStatic {
  z-index: 10;
  position: fixed;
}
.CheckoutToggleStatic > img {
  color: white;
}

.CheckoutToggleRight {
  right: 0;
}

.ItemCounterButton {
  width: 1vw;
  aspect-ratio: 1/1;
  background-color: none;
  border: none;
}

.AddToShoppingCart {
  border: solid 1px black;
  background-color: lightcoral;
  padding: 0.3%;
}

.WebshopPanel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #1f1a14;
}

.WebshopHeading {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: #e4dccf;
}

.WebshopList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.WebshopItem {
  padding: 12px;
  border: 1px solid #e4dccf;
  border-radius: 12px;
  background: #fffdf9;
}

.WebshopItemTitle {
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.WebshopItemPrice {
  margin: 0 0 8px 0;
  color: #6e6256;
  font-size: 0.9rem;
}

.ProductCounterButton {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #d7cfc2;
  background: #ffffff;
  cursor: pointer;
  margin: 0 6px;
}

.WebshopCart {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.WebshopCartItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #fffdf9;
  border: 1px solid #e4dccf;
  border-radius: 10px;
  font-size: 0.95rem;
}

.WebshopCartQty {
  color: #6e6256;
  font-size: 0.9rem;
}

.WebshopCartEmpty {
  color: #e4dccf;
  font-size: 0.95rem;
}

.WebshopTotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #e4dccf;
  font-weight: 600;
}

.WebshopTotalValue {
  font-size: 1.1rem;
}

.CheckoutCta {
  margin-top: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #1f1a14;
  background: #1f1a14;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.CheckoutModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 10, 18, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0;
  flex-direction: column;
  gap: 2vh;
  z-index: 999;
}

.CheckoutModalContent {
  width: min(1000px, 94vw);
  height: min(90vh, 900px);
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.CheckoutModalHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0f172a;
  color: #f8fafc;
}

.CheckoutModalTitle {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.CheckoutModalClose {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #f8fafc;
  cursor: pointer;
}

.CheckoutModalBody {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  background: #ffffff;
  overflow: hidden;
}

.StripeReturn {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vh 6vw;
}

.StripeReturnCard {
  width: min(640px, 92vw);
  padding: 32px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
  color: #f9fafb;
  z-index: 3;
}

.StripeReturnKicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
}

.StripeReturnCard h1 {
  margin: 12px 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.StripeReturnCard p {
  margin: 0 0 20px 0;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.9);
}

.StripeReturnLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #f9fafb;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.StripeReturnLink:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.35);
}
