.hidden{
  display:none !important;
}

html.top-cart-open,
body.top-cart-open{
  overflow:hidden !important;
  height:100% !important;
  overscroll-behavior:none !important;
}

body.top-cart-open{
  position:fixed !important;
  width:100% !important;
  left:0 !important;
  right:0 !important;
}

.top-cart-modal{
  position:fixed;
  inset:0;
  z-index:999998;
  display:flex;
  justify-content:flex-start;
  align-items:stretch;
  isolation:isolate;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
}

.top-cart-modal.open,
.top-cart-modal.is-open{
  opacity:1;
  pointer-events:auto;
}

.top-cart-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.20);
  opacity:0;
  transition:opacity .22s ease;
}

.top-cart-modal.open .top-cart-modal__backdrop,
.top-cart-modal.is-open .top-cart-modal__backdrop{
  opacity:1;
}

.top-cart-modal__panel{
  position:relative;
  z-index:2;
  width:100%;
  max-width:none;
  height:100dvh;
  background:#fff;
  overflow-y:auto;
  box-shadow:none;
  box-sizing:border-box;
  transform:translateX(0);
  transition:transform .26s ease;
  scrollbar-width:thin;
  scrollbar-color:#d9d9d9 transparent;
  margin:0;
  border-radius:0;
}

.top-cart-modal__panel::-webkit-scrollbar{
  width:6px;
}

.top-cart-modal__panel::-webkit-scrollbar-thumb{
  background:#d8d8d8;
  border-radius:999px;
}

.top-cart-modal__header{
  background:#948b85;
  color:#fff;
  min-height:60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px;
}

.top-cart-modal__title-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.top-cart-modal__icon{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  flex:0 0 28px;
}

.top-cart-modal__icon svg,
.top-cart-modal__close svg{
  width:70%;
  height:70%;
}

#top-cart-title{
  margin:0;
  font-size:18px;
  line-height:1.2;
  font-weight:500;
  color:#fff;
}

.top-cart-modal__close{
  width:34px;
  height:34px;
  border:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
  padding:0;
  flex:0 0 34px;
  opacity:.96;
}

.top-cart-empty{
  padding:26px 16px 8px;
  font-size:16px;
  color:#4a4a4a;
}

.top-cart-items{
  list-style:none;
  margin:0;
  padding:18px 16px 0;
}

.top-cart-item{
  display:grid;
  grid-template-columns:74px 1fr;
  gap:16px;
  align-items:start;
  padding:0 0 26px;
}

.top-cart-item__image{
  width:72px;
  height:88px;
  border-radius:0;
  overflow:hidden;
  background:#f5f2ef;
  flex:0 0 72px;
}

.top-cart-item__image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
}

.top-cart-item__content{
  min-width:0;
}

.top-cart-item__title-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom:12px;
}

.top-cart-item__title{
  margin:0;
  font-size:15px;
  line-height:1.28;
  font-weight:800;
  color:#24324a;
  text-transform:uppercase;
  letter-spacing:-.1px;
}

.top-cart-item__remove{
  width:28px;
  height:28px;
  border:0;
  background:transparent;
  color:#3e3e3e;
  padding:0;
  cursor:pointer;
  flex:0 0 28px;
  margin-top:1px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.top-cart-item__remove-img{
  width:20px;
  height:20px;
  display:block;
  object-fit:contain;
}

.top-cart-item__bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.top-cart-item__qty{
  display:inline-flex;
  align-items:center;
  height:32px;
  border:1px solid #cdc7c2;
  border-radius:4px;
  overflow:hidden;
  background:#fff;
}

.top-cart-item__qty button{
  width:25px;
  height:32px;
  border:0;
  background:#fff;
  color:#867e78;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}

.top-cart-item__qty span{
  min-width:30px;
  text-align:center;
  font-size:14px;
  line-height:32px;
  color:#2b3155;
}
.top-cart-item__price{
  text-align:right;
  font-size:13px;
  line-height:1.2;
  font-weight:800;
  color:#24324a;
  white-space:nowrap;
}

.top-cart-freeship{
  padding:4px 16px 0;
}

.top-cart-freeship__bar{
  position:relative;
  height:12px;
  border-radius:999px;
  background:#ececec;
  overflow:visible;
  margin:0 2px 24px;
}

.top-cart-freeship__progress{
  height:12px;
  width:0%;
  border-radius:999px;
  background:#000;
  transition:width .3s ease;
}

.top-cart-freeship__badge{
  position:absolute;
  top:50%;
  left:clamp(18px, var(--badge-left, 30%), calc(100% - 18px));
  transform:translate(-50%,-50%);
  width:54px;
  height:54px;
  border-radius:50%;
  background:#000;
  border:4px solid #d8d8d8;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  box-shadow:0 1px 2px rgba(0,0,0,.10);
  overflow:visible;
  z-index:2;
}

.top-cart-freeship__badge::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:50%;
  background:#d7d7d7;
  opacity:.75;
  z-index:-1;
  animation:topCartGrayPulse 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.top-cart-freeship__badge-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
}

.top-cart-freeship__badge-icon svg{
  width:24px;
  height:24px;
  display:block;
}

.top-cart-freeship__badge-img{
  width:24px;
  height:24px;
  object-fit:contain;
  display:block;
  animation:none !important;
  transform:none !important;
}

@keyframes topCartGrayPulse{
  0%{
    transform:scale(0.92);
    opacity:.70;
  }
  70%{
    transform:scale(1.28);
    opacity:0;
  }
  100%{
    transform:scale(1.28);
    opacity:0;
  }
}

.top-cart-freeship__text{
  text-align:center;
  font-size:17px;
  line-height:1.45;
  color:#000;
  padding:0 8px;
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.top-cart-freeship__text strong{
  font-weight:600;
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.top-cart-freeship__text span{
  display:block;
  margin-top:2px;
  font-size:22px;
  line-height:1.08;
  font-weight:700;
  letter-spacing:.1px;
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.top-cart-subtotal,
.top-cart-total{
  padding:28px 16px 0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.top-cart-subtotal span,
.top-cart-total span{
  color:#3f3f3f;
  font-size:18px;
  line-height:1.2;
}

.top-cart-subtotal span small{
  font-size:14px;
}

.top-cart-subtotal strong,
.top-cart-total strong{
  color:#3a3a3a;
  font-size:13px;
  line-height:1.2;
  font-weight:800;
}

.top-cart-shipping{
  margin:22px 16px 0;
  background:#f4f4f4;
  border-radius:4px;
  padding:0;
}

.top-cart-shipping__toggle{
  width:100%;
  border:0;
  background:transparent;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
}

.top-cart-shipping__toggle-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  text-align:left;
  color:#4b4b4b;
}

.top-cart-shipping__icon-img{
  width:30px;
  height:30px;
  object-fit:contain;
  display:block;
  flex:0 0 30px;
}

.top-cart-shipping__toggle-left > span:last-child{
  display:inline-block;
  font-size:15px;
  line-height:1.15;
  font-weight:400;
  letter-spacing:.01em;
  color:#4b4b4b;
}

.top-cart-shipping__chevron{
  color:#4a4a4a;
  transition:transform .2s ease;
  flex:0 0 20px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.top-cart-shipping__chevron svg{
  width:20px;
  height:20px;
  display:block;
}

.top-cart-shipping__toggle[aria-expanded="false"] .top-cart-shipping__chevron{
  transform:rotate(180deg);
}

.top-cart-shipping__body{
  padding:0 18px 10px;
}

.top-cart-shipping__body.hidden{
  display:none !important;
}

.top-cart-shipping__form{
  display:grid;
  grid-template-columns:1fr 114px;
  gap:5px;
}

.top-cart-shipping__form input{
  height:45px;
  border:0;
  background:#fff;
  color:#4a4a4a;
  padding:0 10px;
  font-size:14px;
  border-radius:4px;
  outline:none;
  box-sizing:border-box;
}

.top-cart-shipping__form input::placeholder{
  color:#a2a2a2;
}

.top-cart-shipping__form button{
  height:45px;
  border:0;
  background:#4a4744;
  color:#fff;
  border-radius:4px;
  font-size:12px;
  font-weight:100;
  cursor:pointer;
}

.top-cart-shipping__help{
  display:inline-block;
  margin-top:14px;
  color:#4a4a4a;
  font-size:12px;
  text-decoration:underline;
}

.top-cart-shipping__result{
  margin-top:12px;
  font-size:14px;
  color:#4a4a4a;
}

.top-cart-total{
  padding-top:22px;
}

.top-cart-total__values{
  text-align:right;
}

.top-cart-total__values strong{
  display:block;
  font-size:18px;
  font-weight:900;
}

.top-cart-total__values small{
  display:block;
  margin-top:4px;
  color:#c8bcb5;
  font-size:12px;
  line-height:1.15;
  font-weight:400;
}

.top-cart-checkout{
  width:calc(100% - 32px);
  height:47px;
  margin:20px 16px 0;
  border:0;
  border-radius:4px;
  background:#948b85;
  color:#fff;
  font-size:15px;
  font-weight:400;
  cursor:pointer;
  letter-spacing:0;
}

.top-cart-continue{
  display:block;
  width:100%;
  margin:20px 0 28px;
  border:0;
  background:transparent;
  color:#3f3f3f;
  font-size:16px;
  font-weight:500;
  cursor:pointer;
  text-align:center;
}

@media (max-width: 768px){
  .top-cart-modal{
    justify-content:flex-start;
  }

  .top-cart-modal__panel{
    width:100%;
    max-width:none;
    height:100dvh;
    margin:0;
    border-radius:0;
    box-shadow:none;
  }

  .top-cart-freeship__text{
    font-size:16px;
  }

  .top-cart-freeship__text span{
    font-size:19px;
  }
}

@media (max-width: 480px){
  .top-cart-modal{
    justify-content:flex-start;
  }

  .top-cart-modal__panel{
    width:100%;
    max-width:none;
    height:100dvh;
    margin:0;
    border-radius:0;
    box-shadow:none;
  }

  .top-cart-item{
    grid-template-columns:72px 1fr;
    gap:14px;
  }

  .top-cart-item__title{
    font-size:14px;
  }

  .top-cart-shipping{
    margin:22px 12px 0;
  }

  .top-cart-shipping__form{
    grid-template-columns:1fr 112px;
  }

  .top-cart-shipping__toggle{
    padding:10px;
   
  }

  .top-cart-shipping__icon-img{
    width:28px;
    height:28px;
    flex-basis:28px;
  }

  .top-cart-shipping__toggle-left > span:last-child{
    font-size:14px;
  }

  .top-cart-checkout{
    width:calc(100% - 24px);
    margin:20px 12px 0;
  }

  .top-cart-items{
    padding:18px 12px 0;
  }

  .top-cart-freeship{
    padding:4px 12px 0;
  }

  .top-cart-subtotal,
  .top-cart-total{
    padding:28px 12px 0;
  }
}

.top-cart-benefits{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:16px 12px 24px;
  text-align:center;
}

.top-cart-benefits span{
  font-size:14px;
  line-height:1.3;
  color:#6b625d;
  font-weight:500;
}