@charset "UTF-8";

/*
 * TECH-6180 - vanilla basket (mybag). Replaces the two stylesheets the React build
 * shipped: static/react/basket/assets/index-*.css (header bag, panel frame, spinner) and
 * Basket-*.css (the panel contents, lazily loaded on first open).
 *
 * Every value here is COPIED from those two files, not recomputed. The .module.scss
 * sources call get-vw(), a build-time function over the shop's width bands, so re-deriving
 * a number by hand is how a layout silently shifts one breakpoint (see the
 * milleporte-shop-css-width-bands memory). The only edit is the selector: the React CSS
 * modules' hashed names (._cartButton_1lh24_5) become stable ones (.mpb-cart-button).
 *
 * Dropped on purpose, every one of them already matching nothing in the React build:
 *   ._suspense_1k1qk_1        its lazy-chunk fallback - there is no lazy chunk here
 *   ._stampNav_63qjh_29       the stamp-rally navigator, deleted in 6de9af255b
 *   ._disabled_1kpuj_34       Quantity's `disabled` prop was never passed by any caller
 *   ._action_5abvt_55 input   the quantity control is a <select>; no <input> is rendered
 *   ._header_63qjh_34 p       the section header holds an <h3> and the info tooltip only
 */

/* --- header bag, always on the page ------------------------------------------------- */

.mpb-bag {
  fill: #fff;
}

.mpb-cart-button {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  height: 2.6041666667vw;
  width: 1.0416666667vw;
}

.mpb-cart-button svg {
  display: block;
}

.mpb-cart-button .mpb-bag-a,
.mpb-cart-button .mpb-bag-b {
  fill: none;
  stroke: #000;
  stroke-miterlimit: 10;
}

.mpb-cart-button .mpb-bag-b {
  stroke-linecap: round;
}

.mpb-cart-button .mpb-bag-c {
  stroke: #000;
  stroke-miterlimit: 10;
  fill: none;
  stroke-linecap: round;
}

/* --- panel frame -------------------------------------------------------------------- */

.mpb-wrapper {
  position: fixed;
  top: calc(2.5rem + 1px);
  right: 1.9819321534vw;
  background-color: #fff;
  z-index: 1001;
  border: 1px solid #cecece;
  overflow: hidden;
  width: 25.9033923304vw;
  height: 41.0674778761vw;
}

/* --- loading / empty illustration --------------------------------------------------- */

.mpb-loader {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mpb-loader svg {
  height: 20%;
  width: 20%;
}

.mpb-basket-icon-loading circle {
  transition: all 1sec ease;
  animation-duration: 0.5s;
  animation-name: mpb-change-opacity;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-delay: calc(var(--basketOrder) * 0.2s);
}

@keyframes mpb-change-opacity {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --- spinner (shown over a row while a write is in flight) -------------------------- */

.mpb-spinner {
  margin: 0 auto;
  font-size: 3px;
  border-top: 1.3em solid rgba(0, 0, 0, 0.2);
  border-right: 1.3em solid rgba(0, 0, 0, 0.2);
  border-bottom: 1.3em solid rgba(0, 0, 0, 0.2);
  border-left: 1.3em solid #000;
  border-radius: 50%;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: mpb-load8 1.1s infinite linear;
  animation: mpb-load8 1.1s infinite linear;
  width: 40px;
  height: 40px;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  position: absolute;
  z-index: 22;
}

.mpb-spinner:after {
  border-radius: 50%;
  width: 8em;
  height: 8em;
}

.mpb-spinner-back {
  content: "";
  height: 100%;
  width: 100%;
  background: #ffffff80;
  position: absolute;
  z-index: 9;
}

@keyframes mpb-load8 {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* --- panel contents ----------------------------------------------------------------- */

.mpb-basket section {
  height: 26.1338495575vw;
  overflow-y: scroll;
  position: relative;
}

.mpb-basket * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.mpb-basket button {
  cursor: pointer;
}

.mpb-basket a {
  color: #000;
  text-decoration: none;
}

.mpb-basket a:hover {
  text-decoration: none;
}

.mpb-basket h2 {
  font-family: ヒラギノ角ゴ Pro W6;
  text-align: center;
  color: #000;
  font-weight: 600;
  font-size: 1.0140117994vw;
  margin: 1.8436578171vw 0 1.7514749263vw;
}

.mpb-basket .mpb-section-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 1.8436578171vw;
}

.mpb-basket .mpb-section-header h3 {
  text-transform: uppercase;
  font-family: AvenirNext;
  font-weight: 300;
  color: #000;
  font-size: 0.8296460177vw;
  line-height: 1.0601032448vw;
  letter-spacing: 0.0368731563vw;
}

.mpb-basket .mpb-section-header button svg {
  height: 0.9218289086vw;
  width: 0.9218289086vw;
}

.mpb-basket ul {
  padding: 0;
  list-style: none;
  margin: 0.8296460177vw 1.6592920354vw;
}

.mpb-basket .mpb-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.mpb-basket .mpb-empty svg {
  width: 4.1482300885vw;
  height: auto;
}

.mpb-basket .mpb-empty p {
  margin: 0.9218289086vw 0;
  font-size: 0.645280236vw;
}

.mpb-basket .mpb-error-message {
  text-align: center;
  color: #ab0000;
  font-size: 0.645280236vw;
}

.mpb-basket .mpb-footer {
  position: absolute;
  width: 22.8613569322vw;
  margin: 1.0601032448vw 1.6592920354vw 0;
  bottom: 1.0601032448vw;
}

.mpb-basket .mpb-footer h4 {
  display: flex;
  justify-content: space-between;
  font-weight: 400;
  font-size: 0.645280236vw;
}

.mpb-basket .mpb-footer h4 del {
  font-family: AvenirNext;
  font-size: 0.7374631268vw;
}

.mpb-basket .mpb-footer .mpb-total {
  font-family: AvenirNext;
  font-weight: 700;
  font-size: 0.9218289086vw;
}

.mpb-basket .mpb-footer .mpb-total strong {
  font-family: AvenirNext;
}

.mpb-basket .mpb-footer button {
  color: #fff;
  background-color: #000;
  border: 0;
  width: 100%;
  font-size: 0.9218289086vw;
  margin-top: 1.0601032448vw;
  padding: 0.9218289086vw;
}

.mpb-basket .mpb-footer .mpb-checkout-disabled {
  border: 0;
  cursor: not-allowed;
  border-color: #ededed;
  background: #ededed;
}

.mpb-basket .mpb-close {
  background-color: transparent;
  border: 0;
  position: absolute;
  top: 0.9218289086vw;
  right: 0.6913716814vw;
}

.mpb-basket .mpb-close svg {
  height: 0.9218289086vw !important;
  width: 0.9218289086vw !important;
}

.mpb-basket .mpb-expired-items {
  background-color: #efefef;
}

.mpb-basket .mpb-expired-items h1 {
  font-family: ヒラギノ角ゴ Pro W3;
  font-weight: 700;
  width: 100% !important;
  text-align: center;
  display: block;
  font-size: 0.5991887906vw;
  list-style: 0.5991887906vw;
  padding: 1.4749262537vw 0 0.4609144543vw;
}

/* --- one row ------------------------------------------------------------------------ */

.mpb-item {
  position: relative;
  border-top: 1px solid #cecece;
}

.mpb-item .mpb-row {
  display: flex;
  text-align: left;
  margin: 0.8296460177vw 0;
}

.mpb-item .mpb-row .mpb-gift {
  justify-content: flex-end;
}

.mpb-item .mpb-row .mpb-gift span {
  display: block;
  font-size: 0.645280236vw;
  width: 4.1482300885vw;
  text-align: center;
}

.mpb-item a {
  text-decoration: none;
}

.mpb-item h6 {
  font-family: AvenirNext;
  font-weight: 700;
  color: #000;
  font-size: 0.645280236vw;
}

.mpb-item p {
  font-family: ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro;
  color: #6e6e6e;
  font-size: 0.5991887906vw;
  line-height: 0.9218289086vw;
  margin: 0.5530973451vw 0 0.6913716814vw;
}

.mpb-item .mpb-first {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 0.8296460177vw;
}

.mpb-item .mpb-first img {
  width: 100%;
  height: 100%;
}

.mpb-item .mpb-mid {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.mpb-item .mpb-customization {
  display: block;
}

.mpb-item .mpb-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 5.3005162242vw;
}

.mpb-item .mpb-action button {
  background-color: transparent;
  border: 0;
}

.mpb-item .mpb-action button svg {
  fill: #8d8d8d;
  width: 0.5530973451vw !important;
  height: 0.5530973451vw !important;
}

.mpb-item .mpb-img {
  width: 3.6873156342vw;
  height: 5.3005162242vw;
}

.mpb-item .mpb-img img {
  object-fit: contain;
}

.mpb-item .mpb-expired {
  width: 4.6091445428vw;
  font-size: 0.5530973451vw;
}

.mpb-item .mpb-error {
  color: red;
  font-size: 0.5530973451vw;
  line-height: 1.6em;
  margin-top: 0.5em;
}

/* --- price, quantity, timer, info --------------------------------------------------- */

.mpb-price {
  font-family: AvenirNext;
  font-size: 0.5991887906vw;
  line-height: 1.0601032448vw;
  color: #000;
  font-weight: 700;
}

.mpb-price span {
  font-family: ヒラギノ角ゴ Pro W5;
  color: #6e6e6e;
  font-weight: 400;
  font-size: 0.5530973451vw;
  line-height: 0.9218289086vw;
}

.mpb-del {
  font-family: AvenirNext;
  color: #60605c;
  font-size: 0.645280236vw;
}

.mpb-quantity {
  position: relative;
  display: flex;
  width: 2.7654867257vw;
  height: 1.7514749263vw;
}

.mpb-quantity svg {
  position: absolute;
  top: 0.322640118vw;
  right: 0.5530973451vw;
  width: 0.5070058997vw;
  height: 0.2765486726vw;
}

.mpb-quantity svg:last-child {
  top: auto;
  bottom: 0.322640118vw;
}

.mpb-quantity select {
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #d0d0d0;
  width: 4.1482300885vw;
  font-size: 0.645280236vw;
  padding: 0.2304572271vw 0.4609144543vw;
  cursor: pointer;
  align-self: center;
}

.mpb-quantity select:disabled {
  border-color: #76767633;
  color: #000;
  cursor: default;
}

.mpb-time {
  font-family: AvenirNext;
  font-size: 0.645280236vw;
  line-height: 1.3827433628vw;
}

.mpb-info button {
  background-color: transparent;
  border: 0;
  font-family: AvenirNext;
  display: flex;
  align-items: center;
  font-size: 0.7374631268vw;
}

.mpb-info button svg {
  width: 0.9218289086vw;
  height: 0.9218289086vw;
  margin-left: 0.4609144543vw;
}

.mpb-info span {
  z-index: 33;
  text-align: left;
  position: absolute;
  left: 0;
  right: 0;
  background-color: #ebebeb;
  top: 2.0280235988vw;
  padding: 0.9218289086vw;
  font-size: 0.5991887906vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mpb-info span button {
  display: none;
}

.mpb-info span:before {
  content: "▲";
  color: #ebebeb;
  position: absolute;
  top: -0.6913716814vw;
  right: 4.6091445428vw;
  font-size: 0.6913716814vw;
}

/* --- mobile ------------------------------------------------------------------------- */

@media screen and (max-width: 768px) {
  .mpb-cart-button {
    height: fit-content;
    width: 5.3333333333vw;
  }

  .mpb-wrapper {
    height: 100dvh;
    right: 0;
    left: 0;
    top: 0;
    position: fixed;
    overflow-y: scroll;
    background-color: #fff;
    width: 100%;
  }

  .mpb-loader svg {
    height: 20vw !important;
    width: 20vw !important;
  }

  .mpb-basket {
    min-height: 100dvh;
  }

  .mpb-basket section {
    height: 100%;
    min-height: calc(100vh - 55.2vw);
    position: relative;
    top: 10.5vw;
    padding-bottom: 20vw;
  }

  .mpb-basket header {
    position: sticky;
    top: 0;
  }

  .mpb-basket h2 {
    font-size: 4.2666666667vw;
  }

  .mpb-basket .mpb-title {
    position: fixed;
    background-color: #fff;
    top: 0;
    z-index: 1000;
    height: 10.5vw;
    width: 100%;
    margin: auto 0;
    border-bottom: solid 1px #e9e9e9;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mpb-basket .mpb-section-header {
    margin: 8.8vw 8.2666666667vw 0;
  }

  .mpb-basket .mpb-section-header h3 {
    color: #000;
    font-size: 4.2666666667vw;
  }

  .mpb-basket ul {
    margin: 4vw 8.2666666667vw 0;
  }

  .mpb-basket .mpb-empty {
    height: 100%;
  }

  .mpb-basket .mpb-empty svg {
    height: auto !important;
    width: 10.6666666667vw !important;
  }

  .mpb-basket .mpb-empty p {
    margin: 5.3333333333vw 0;
    font-size: 3.4666666667vw;
  }

  .mpb-basket .mpb-error-message {
    font-size: 3.2vw;
  }

  .mpb-basket .mpb-expired-items h1 {
    font-size: 3.4666666667vw;
    line-height: 3.4666666667vw;
    padding: 5.3333333333vw 0 1.3333333333vw;
  }

  .mpb-basket .mpb-expired-items p {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 40vw;
  }

  .mpb-basket .mpb-footer {
    border-top: 1px solid #e5e5e5;
    background-color: #fff;
    position: sticky;
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0;
    width: 100%;
    height: 36.2vw;
    padding: 4.2666666667vw 8.2666666667vw;
  }

  .mpb-basket .mpb-footer h4 {
    font-size: 3.7333333333vw;
    margin-bottom: 2.6666666667vw;
  }

  .mpb-basket .mpb-footer h4 del,
  .mpb-basket .mpb-footer .mpb-total {
    font-size: 4.2666666667vw;
  }

  .mpb-basket .mpb-footer .mpb-total strong {
    font-size: 4.8vw;
  }

  .mpb-basket .mpb-footer button {
    font-size: 4.8vw;
    margin-top: 4vw;
    padding: 4vw 0;
  }

  .mpb-basket .mpb-close {
    top: 3.2vw;
    right: 3.2vw;
  }

  .mpb-basket .mpb-close svg {
    height: 4.2666666667vw !important;
    width: 4.2666666667vw !important;
  }

  .mpb-item .mpb-row {
    padding: 4.5333333333vw 0;
  }

  .mpb-item .mpb-row .mpb-gift span {
    width: 11.2vw;
    font-size: 3.2vw;
  }

  .mpb-item h6 {
    font-size: 3.2vw;
  }

  .mpb-item p {
    font-size: 3.2vw;
    line-height: 5.3333333333vw;
    margin: 3.2vw 0 4vw;
  }

  .mpb-item .mpb-first {
    padding-right: 4.2666666667vw;
  }

  .mpb-item .mpb-first time {
    font-size: 3.2vw;
  }

  .mpb-item .mpb-mid {
    justify-content: flex-start;
  }

  .mpb-item .mpb-action {
    min-height: 28.8vw;
  }

  .mpb-item .mpb-action button svg {
    width: 4.2666666667vw !important;
    height: 4.2666666667vw !important;
  }

  .mpb-item .mpb-img {
    width: 17.3333333333vw;
    height: 23.7333333333vw;
  }

  .mpb-item .mpb-expired {
    width: 26.6666666667vw;
    font-size: 2.9333333333vw;
  }

  .mpb-item .mpb-error {
    color: red;
    font-size: 3.2vw;
  }

  .mpb-time {
    font-family: AvenirNext;
    font-size: 3.7333333333vw;
    line-height: 4vw;
  }

  .mpb-price {
    font-size: 4.2666666667vw;
    line-height: 5.6vw;
  }

  .mpb-price span {
    font-size: 2.6666666667vw;
    line-height: 4.5333333333vw;
  }

  .mpb-del {
    font-size: 3.7333333333vw;
  }

  .mpb-quantity {
    width: 11.2vw;
    height: 10.1333333333vw;
  }

  .mpb-quantity svg {
    top: 1.6vw;
    right: 2.6666666667vw;
    width: 2.6666666667vw !important;
    height: 1.3333333333vw !important;
  }

  .mpb-quantity svg:last-child {
    bottom: 1.6vw;
  }

  .mpb-quantity select {
    font-weight: 700;
    width: 11.2vw;
    font-size: 3.2vw;
    padding: 1.3333333333vw 2.6666666667vw;
    align-self: normal;
  }

  .mpb-info button {
    font-size: 3.4666666667vw;
  }

  .mpb-info button svg {
    width: 20px !important;
    height: 20px !important;
    margin-left: 2.6666666667vw;
  }

  .mpb-info span {
    top: 9.3333333333vw;
    margin-left: -10.1333333333vw;
    margin-right: -10.1333333333vw;
    font-size: 2.9333333333vw;
    padding: 4.8vw 9.6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .mpb-info span button {
    display: block;
  }

  .mpb-info span:before {
    top: -4vw;
    right: 9.6vw;
    font-size: 4vw;
  }
}

@media screen and (max-width: 600px) {
  .mpb-basket .mpb-footer h4 {
    margin-bottom: 0;
  }
}
