/* Shopping cart and checkout styles. */

.shoppingCartPageShell {
  max-width: 1320px;
}

.shoppingCartShell {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 20px;
}

.shoppingCartStoreRail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 10px 10px 14px;
}

.shoppingCartStoreTitle,
.shoppingCartHeader h1 {
  margin: 0;
  color: #7c2d83;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
}

.shoppingCartStoreList {
  display: grid;
  gap: 16px;
}

.shoppingCartStoreSection {
  display: grid;
  gap: 10px;
}

.shoppingCartStoreSectionToggle {
  width: 100%;
  border: none;
  padding: 0;
  background: transparent;
  color: #123d74;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}

.shoppingCartStoreSectionToggle:hover,
.shoppingCartStoreSectionToggle:focus {
  outline: none;
  color: #0f2d57;
}

.shoppingCartStoreSectionTitle {
  margin: 0;
  color: inherit;
  font-size: 16px;
  font-weight: 900;
}

.shoppingCartStoreChevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex: 0 0 auto;
  margin-top: -2px;
}

.shoppingCartStoreSection.isCollapsed .shoppingCartStoreChevron {
  transform: rotate(-45deg);
}

.shoppingCartStoreSection.isCollapsed .shoppingCartStoreItems {
  display: none;
}

.shoppingCartStoreItems {
  display: grid;
  gap: 8px;
}

.shoppingCartStoreItemBtn {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #ffffff;
  color: #123d74;
  text-align: left;
  display: grid;
  gap: 2px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.shoppingCartStoreItemBtn:hover,
.shoppingCartStoreItemBtn:focus {
  border-color: #93c5fd;
  box-shadow: 0 10px 24px rgba(18, 61, 116, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.shoppingCartStoreItemBtn.isInCart {
  border-color: #123d74;
  background: #eef4ff;
}

.shoppingCartStoreItemBtn.isSelected {
  border-color: #7c2d83;
  background: #f8ecfb;
  box-shadow: 0 10px 24px rgba(124, 45, 131, 0.12);
}

.shoppingCartStoreItemName {
  font-size: 14px;
  font-weight: 900;
}

.shoppingCartStoreItemMeta {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.shoppingCartStoreEmpty {
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.shoppingCartStoreSummary {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 61, 116, 0.08);
}

.shoppingCartStoreSummaryTitle {
  color: #123d74;
  font-size: 15px;
  font-weight: 900;
}

.shoppingCartStoreSummaryDesc {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.shoppingCartStoreSummaryPrice {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.shoppingCartStoreSummaryActions {
  display: flex;
}

.shoppingCartStoreAddBtn {
  min-width: 138px;
}

.shoppingCartMain {
  display: grid;
  gap: 14px;
}

.shoppingCartHeader {
  display: grid;
  gap: 6px;
  padding: 0 6px;
  justify-items: center;
  text-align: center;
}

.shoppingCartHeader p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  font-weight: 800;
}

.shoppingCartMainCard {
  padding: 18px;
}

.cartBtn {
  border: none;
  background: transparent;
  color: #2a3a86;
  border-radius: 0;
  padding: 0 6px;
  min-width: 28px;
  height: 44px;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cartBtn:hover,
.cartBtn:focus {
  background: transparent;
  outline: none;
}

.cartIconGlyph {
  line-height: 1;
}

.cartBadge {
  position: absolute;
  top: -1px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
}

.shoppingCartItemRow {
  padding: 14px;
}

.shoppingCartItemTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #dbe3ef;
  padding-bottom: 10px;
}

.shoppingCartItemTopLeft {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.shoppingCartItemThumb {
  width: 52px;
  height: 52px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #fff;
}

.shoppingCartItemLabel {
  font-weight: 900;
  align-self: center;
}

.shoppingCartItemTopRight {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  font-weight: 800;
  justify-content: flex-end;
}

.shoppingCartMetricStack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.shoppingCartMetricLabel {
  line-height: 1.1;
}

.shoppingCartRegularPriceInline {
  margin-top: 0;
  margin-bottom: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.shoppingCartRegularPriceInline span {
  text-decoration: line-through;
  opacity: 0.82;
}

.shoppingCartPriceBox,
.shoppingCartQtyBox {
  width: 78px;
  border: 1px solid #0f172a;
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 16px;
  color: #123d74;
  background: white;
}

.shoppingCartQtyBox {
  width: 54px;
  text-align: center;
}

.shoppingCartRemoveBtn {
  min-width: 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shoppingCartRemoveIcon {
  width: 16px;
  height: 16px;
  display: block;
}

.shoppingCartBookingWhen {
  margin-top: 8px;
  font-weight: 800;
  color: #123d74;
}

.shoppingCartNoteRow {
  margin-top: 18px;
  min-height: 24px;
  display: grid;
  gap: 6px;
  color: #123d74;
}

.shoppingCartNoteHeader {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.shoppingCartNoteLabel {
  font-size: 18px;
  font-weight: 900;
  flex: 0 0 auto;
}

.shoppingCartNoteValue {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
}

.shoppingCartNoteDescription {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #475569;
}

.shoppingCartNoteDescriptionInline {
  display: inline-block;
}

.shoppingCartTotalRow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 34px;
  color: #111827;
}

.shoppingCartSavingsRow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  margin-bottom: 8px;
  color: #123d74;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.shoppingCartCountryRow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  margin-bottom: 8px;
  color: #123d74;
  font-size: 19px;
  font-weight: 800;
  text-align: center;
}

.shoppingCartCountryRow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shoppingCartCountryDebugRow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -2px;
  margin-bottom: 10px;
  min-height: 18px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 980px) {
  .shoppingCartShell {
    grid-template-columns: minmax(0, 1fr);
  }

  .shoppingCartStoreRail {
    position: static;
    padding: 0;
  }
}
