<script src="https://js.tosspayments.com/v2/standard"></script>
<style>
#cart-current-img{
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
:root{  
  --section-pad-x: clamp(16px, 4vw, 40px);
  --thumb-edge-fade: 28px;
  --thumb-edge-fade-strong: 54px;
  --cart-arrow-hit: 64px;
  --cart-arrow-x: 10px;
  --cart-arrow-zone: 22%;
  --cart-arrow-color: rgba(255,255,255,0.70);
  --cart-arrow-color-hover: rgba(255,255,255,1);
  --cart-acc-gap: 0px;
  --cart-acc-radius: 18px;
  --cart-acc-border: rgba(255,255,255,0.10);
  --cart-acc-bg: rgba(255,255,255,0.06);
  --cart-preview-radius: 16px;
  --cart-preview-bg: rgba(32,32,34,0.85);
  --cart-preview-border: rgba(255,255,255,0.10);
  --cart-thumb-size: 60px;
  --cart-thumb-gap: 10px;}
:is(.preview-wrapper, .nav-wrapper, .cart-wrapper, .list-wrapper){
  padding-inline: var(--section-pad-x);
}

.sh-cart-preview-host{  position: relative;}
.sh-arrow-zone{
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--cart-arrow-zone);
  z-index: 49; 
  background: transparent;
  pointer-events: auto;
}
.sh-arrow-zone.is-left{ left: 0; }
.sh-arrow-zone.is-right{ right: 0; }
#cart-prev-btn,
#cart-next-btn,
.sh-cart-nav-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;

  width: var(--cart-arrow-hit);
  height: var(--cart-arrow-hit);

  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;

  opacity: 0;                
  pointer-events: none;       
  transition: transform 0.18s ease, opacity 0.18s ease, color 0.18s ease, filter 0.18s ease;

  color: var(--cart-arrow-color);
}
#cart-prev-btn,
.sh-cart-nav-btn.is-prev{ left: var(--cart-arrow-x); }
#cart-next-btn,
.sh-cart-nav-btn.is-next{ right: var(--cart-arrow-x); }
.sh-cart-preview-host.sh-arrow-hot-prev #cart-prev-btn,
.sh-cart-preview-host.sh-arrow-hot-prev .sh-cart-nav-btn.is-prev{
  opacity: 1;
  pointer-events: auto;
  color: var(--cart-arrow-color-hover);
}
.sh-cart-preview-host.sh-arrow-hot-next #cart-next-btn,
.sh-cart-preview-host.sh-arrow-hot-next .sh-cart-nav-btn.is-next{
  opacity: 1;
  pointer-events: auto;
  color: var(--cart-arrow-color-hover);
}
.sh-cart-preview-host.sh-arrow-hot-prev #cart-prev-btn svg,
.sh-cart-preview-host.sh-arrow-hot-prev .sh-cart-nav-btn.is-prev svg{
  transform: scale(1.18);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}
.sh-cart-preview-host.sh-arrow-hot-next #cart-next-btn svg,
.sh-cart-preview-host.sh-arrow-hot-next .sh-cart-nav-btn.is-next svg{
  transform: scale(1.18);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}
.sh-cart-preview-host.sh-arrow-hot-prev #cart-prev-btn:hover svg,
.sh-cart-preview-host.sh-arrow-hot-prev .sh-cart-nav-btn.is-prev:hover svg,
.sh-cart-preview-host.sh-arrow-hot-next #cart-next-btn:hover svg,
.sh-cart-preview-host.sh-arrow-hot-next .sh-cart-nav-btn.is-next:hover svg{
  transform: scale(1.32);
  filter: drop-shadow(0 3px 14px rgba(0,0,0,0.45));
}
.sh-cart-preview-host.sh-arrow-hot-prev #cart-prev-btn:active svg,
.sh-cart-preview-host.sh-arrow-hot-prev .sh-cart-nav-btn.is-prev:active svg,
.sh-cart-preview-host.sh-arrow-hot-next #cart-next-btn:active svg,
.sh-cart-preview-host.sh-arrow-hot-next .sh-cart-nav-btn.is-next:active svg{
  transform: scale(0.96);
  filter: none;
}
.sh-cart-nav-btn svg,
#cart-prev-btn svg,
#cart-next-btn svg{
  width: 44px;
  height: 44px;
  transform: scale(1);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.sh-cart-nav-btn svg * ,
#cart-prev-btn svg * ,
#cart-next-btn svg *{
  stroke: currentColor;
  fill: none;
}
@media (hover: none) {.sh-arrow-zone{ display:none; }
#cart-prev-btn,
  #cart-next-btn,
  .sh-cart-nav-btn{
    opacity: 1;
    pointer-events: auto;
    color: var(--cart-arrow-color-hover);
  }}

.sh-thumb-remove-btn{  position:absolute;
  top:6px;
  right:6px;
  width:18px;
  height:18px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  line-height:18px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;}

#cart-event-list{  padding-inline: var(--section-pad-x);
  height: auto !important;
  min-height: 1px !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;}
.cart-event-section{  border: 1px solid var(--cart-acc-border);
  background: var(--cart-acc-bg);
  border-radius: var(--cart-acc-radius);
  padding: 0 14px 14px;
  margin-top: var(--cart-acc-gap);
  position: relative;
  width: 100%;}
.cart-event-header{  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;}
.cart-event-left-wrapper{
  display: flex;
  align-items: baseline;
  gap: 0;
  min-width: 0;
}
.cart-event-index{
  font-weight: 300;
  opacity: 1.00;
  color: #cccccc;
  white-space: nowrap;
  font-size: 12px
}
.cart-event-title{
  font-weight: 700;
  font-size: 21px;
  color: white;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-event-right-wrapper{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cart-event-subtotal{
  font-weight: 400;
  font-size: 18px;
  font-family: Pretendard, Outfit;
  color: white;
  white-space: nowrap;
}
.cart-event-toggle{
  transition: transform 0.18s ease;
  transform: rotate(0deg);
  opacity: 0.9;
}
.cart-event-section.is-open .cart-event-toggle{
  transform: rotate(180deg);
}
.cart-event-body{
  margin-top: 12px;
}
.cart-event-package-label,
.cart-event-package-price{
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.9;
}

.cart-preview{
  width: 100%;
  border: 1px solid var(--cart-preview-border);
  background: var(--cart-preview-bg);
  border-radius: var(--cart-preview-radius);
  padding: 14px;
}
.cart-preview-current{
  width: auto;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #202022;

  overflow: hidden;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
@media (max-width: 767px){
  .cart-preview-current{
    /* Keep the portrait image contained while extending the preview card to the fixed checkout bar. */
    aspect-ratio: 1 / 1.32;
  }
}
.cart-preview-nav{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.cart-preview-btn{
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.25);
  color: inherit;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
}
.cart-preview-btn:disabled{
  opacity: 0.4;
  cursor: default;
}
.cart-preview-thumbs-wrap{  
  height: auto;
  position: relative;
  padding-top: 12px;
  overflow: visible;
}
.cart-preview-thumbs{
  display: flex;
  gap: var(--cart-thumb-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 6px;
  padding-left: 8px;
  padding-bottom: 6px;
}

.cart-preview-thumbs{ cursor: grab; }
.cart-preview-thumbs.is-dragging{ cursor: grabbing; }

.cart-preview-thumbs::-webkit-scrollbar{ display: none; }
.cart-thumb{
  width: var(--cart-thumb-size);
  height: var(--cart-thumb-size);
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
  opacity: 0.85;
  cursor: pointer;
}
.cart-thumb.is-active{
  opacity: 1;
  transform: scale(1.05);
  outline: 2px solid rgba(59,130,246,0.92);
}

.cart-preview-thumbs-wrap.is-overflow::before,
.cart-preview-thumbs-wrap.is-overflow::after{
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: var(--thumb-edge-fade-strong);
  pointer-events: none;
  z-index: 19;
  opacity: 0.38;
  transition: opacity 160ms ease;
}
.cart-preview-thumbs-wrap.is-overflow::before{
  left: 0;
  background: linear-gradient(to right, rgba(32,32,34,0.92), rgba(32,32,34,0));
}
.cart-preview-thumbs-wrap.is-overflow::after{
  right: 0;
  background: linear-gradient(to left, rgba(32,32,34,0.92), rgba(32,32,34,0));
}

@media (hover: none){
  .cart-preview-thumbs-wrap.is-overflow::before,
  .cart-preview-thumbs-wrap.is-overflow::after{
    opacity: 0.62;
  }
}

body{
  padding-bottom: 84px;
}
#cart-list-container.sh-cart-list-container{
  max-width: 920px;
  margin: 0 auto;
  padding: 20px;
}
#sh-cart-footer-bar.sh-cart-footer-bar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  padding: 14px 16px;
}
.sh-cart-footer-inner{
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sh-cart-footer-price{
  display: flex;
  align-items: center;
  gap: 8px;
}
.sh-cart-footer-price-label{
  font-size: 14px;
  font-weight: 600;
  color: #555;
}
.sh-cart-footer-price-value{
  font-size: 18px;
  font-weight: 800;
  color: #111;
}
.sh-cart-footer-right{
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.sh-cart-agree-wrap{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  max-width: 320px;
}
#checkout-agree{
  margin-top: 2px;
}
#checkout-agree.is-attn{
  outline: 2px solid #ff3b30;
  outline-offset: 2px;
  border-radius: 4px;
}
.sh-cart-agree-text{
  -webkit-user-select: none;
  user-select: none;
}
.sh-cart-checkout-btn{
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  background: #111;
  color: #fff;
  min-width: 140px;
}

#sh-cart-swipe-wrap.sh-cart-swipe-wrap{
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
  z-index: 5;
  display: none;
  touch-action: pan-y;
  overscroll-behavior: contain;
}
#sh-cart-swipe-track.sh-cart-swipe-track{
  display: flex;
  width: 0px;
  height: 100%;
  will-change: transform;
  transition: none;
  transform: translate3d(0,0,0);
}
.sh-cart-swipe-panel{
  flex: 0 0 auto;
  width: 0px;
  min-width: 0px;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  box-sizing: border-box;
  padding: 0px;
  background-clip: border-box;
  background-origin: border-box;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.sh-pv-badge{
  position:absolute;
  top:10px;
  width:32px;
  height:32px;
  border-radius:999px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.42);
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  z-index: 50;
  cursor: pointer;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 140ms ease, transform 140ms ease, background 140ms ease, border-color 140ms ease;
}
.sh-pv-badge:hover{
  opacity:1;
  transform: scale(1.02);
  background: rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.28);
}
.sh-pv-badge:active{ transform: scale(0.98); }
.sh-pv-badge svg{
  width:16px;
  height:16px;
  color:#fff;
}
.sh-pv-badge.is-delete{ left:10px; }
.sh-pv-badge.is-select{ right:10px; }
.sh-pv-badge.is-select.is-selected{
  background: rgba(59,130,246,0.92);
  border-color: rgba(255,255,255,0.32);
}
.sh-pv-badge.is-select.is-unselected{
  background: rgba(0,0,0,0.42);
  border-color: rgba(255,255,255,0.22);
}

body:not(.sh-cart-ready) #cart-list-container,
body:not(.sh-cart-ready) #cart-event-list,
body:not(.sh-cart-ready) #sh-cart-footer-bar {
  visibility: hidden;
}

#sh-cart-loading-mask {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(10, 10, 12, 0.72);
}

body.sh-cart-loading #sh-cart-loading-mask {
  display: flex;
}

.sh-cart-loading-box {
  min-width: 220px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(24, 24, 27, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.34);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sh-cart-loading-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.14);
  border-top-color: #ffffff;
  animation: sh-cart-spin 0.8s linear infinite;
}

.sh-cart-loading-text {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  text-align: center;
}

@keyframes sh-cart-spin {
  to {
    transform: rotate(360deg);
  }
}

</style>
