.Checkout {
  padding: 20px 16px;
  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(8, 16, 18, 0.88);
  background-image: linear-gradient(
    110deg,
    rgba(8, 20, 22, 0.94),
    rgba(10, 28, 30, 0.9)
  );
  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%;
}

.AddToShoppingCart:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.WebshopPanel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #e6fffb;
  line-height: 1.35;
}

.WebshopHeading {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(230, 255, 251, 0.78);
}

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

.WebshopItem {
  padding: 14px;
  border: 1px solid rgba(110, 245, 226, 0.22);
  border-radius: 12px;
  background: rgba(8, 20, 22, 0.55);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.WebshopItem > * {
  margin: 0;
}

.WebshopItemHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.WebshopItemTitle {
  margin: 0;
  font-size: 1.05rem;
  color: #e9fffc;
}

.WebshopItemTitleLink {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.WebshopItemTitleLink:hover {
  color: rgba(110, 245, 226, 0.95);
  border-bottom-color: rgba(110, 245, 226, 0.6);
}

.WebshopItemLineTotal {
  color: rgba(110, 245, 226, 0.95);
  font-weight: 700;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
}

.WebshopItemPrice {
  margin: 0;
  color: rgba(230, 255, 251, 0.72);
  font-size: 0.85rem;
}

.ProductCounterButton {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(110, 245, 226, 0.35);
  background: rgba(8, 20, 22, 0.8);
  color: #e6fffb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.ProductCounter {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(30px, 30px) minmax(0, 1fr) minmax(30px, 30px);
  align-items: center;
  column-gap: 8px;
}

.ProductCounterValue {
  min-width: 0;
  height: 30px;
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #e6fffb;
  border: 1px solid rgba(110, 245, 226, 0.25);
  border-radius: 8px;
  background: rgba(8, 20, 22, 0.6);
  margin: 0;
  padding: 0 6px;
  outline: none;
  -moz-appearance: textfield;
}

.ProductCounterValue::-webkit-outer-spin-button,
.ProductCounterValue::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.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: rgba(8, 20, 22, 0.55);
  border: 1px solid rgba(110, 245, 226, 0.22);
  border-radius: 10px;
  font-size: 0.95rem;
  color: #e9fffc;
}

.WebshopCartItemInfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.WebshopCartQty {
  color: rgba(230, 255, 251, 0.64);
  font-size: 0.78rem;
}

.WebshopCartLinePrice {
  color: rgba(110, 245, 226, 0.9);
  font-weight: 600;
  font-size: 0.88rem;
}

.WebshopCartEmpty {
  color: rgba(230, 255, 251, 0.62);
  font-size: 0.95rem;
}

.WebshopTotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(110, 245, 226, 0.3);
  font-weight: 600;
  color: #e9fffc;
}

.WebshopTotalValue {
  font-size: 1.1rem;
}

.CheckoutCta {
  margin-top: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(110, 245, 226, 0.45);
  background: linear-gradient(
    135deg,
    rgba(32, 203, 176, 0.85),
    rgba(16, 122, 109, 0.85)
  );
  color: #e6fffb;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px), (orientation: portrait) {
  .Checkout {
    top: 64px;
    height: calc(100dvh - 64px);
    padding: 14px 12px 16px;
    width: min(360px, 100vw);
    max-width: 100vw;
    border-left: 0;
  }
}

.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;
}

.CheckoutNotice {
  margin: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(234, 179, 8, 0.4);
  background: rgba(254, 243, 199, 0.8);
  color: #7c2d12;
  font-size: 0.9rem;
}

.CheckoutAuth {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px;
  background: linear-gradient(
    150deg,
    rgba(8, 16, 18, 0.96),
    rgba(8, 12, 20, 0.94)
  );
  color: #e6fffb;
  overflow: auto;
}

.CheckoutAuth .LiquidBackground {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.CheckoutAuth .LiquidBackground canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.CheckoutAuthIntro {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.CheckoutAuthKicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(110, 245, 226, 0.7);
}

.CheckoutAuthIntro h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
}

.CheckoutAuthIntro p {
  margin: 0;
  color: rgba(230, 255, 251, 0.75);
  line-height: 1.6;
}

.CheckoutAuthCards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.CheckoutAuthCard {
  width: 100%;
}

.CheckoutAuthLegal {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(230, 255, 251, 0.7);
  font-size: 0.9rem;
}

.CheckoutAuthLegal a {
  color: #6ef5e2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .CheckoutModalContent {
    height: min(92vh, 980px);
  }
}

.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);
}
