/* Right Cart Drawer */

.googooweb-cart-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    font-size: 30px !important;
    padding: 0px 8px !important;
    z-index: 9997;
    width: 54px !important;
    height: 54px;
    background: transparent !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
    align-items: center;
}

.googooweb-cart-badge{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e6007a;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  padding: 0 6px;
  font-weight: 700;
}

.googooweb-cart-overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}

.googooweb-cart-drawer{
  display:none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 88vw);
  background: #fff;
  z-index: 9999;
  box-shadow: -10px 0 30px rgba(0,0,0,.15); /* 阴影向左更像从右出来 */
  transform: translateX(110%);               /* 关键：往右藏起来 */
  transition: transform .22s ease;
  overflow: auto;
}

.googooweb-cart-drawer.is-open{
  display:block;              /* 你原本有这一句就留 */
  transform: translateX(0);
}

.googooweb-cart-overlay.is-open{ display:block; }
.googooweb-cart-drawer.is-open{ display:block; }

.googooweb-cart-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.googooweb-cart-title{ font-weight: 800; font-size: 18px; }
.googooweb-cart-close{
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.googooweb-cart-body{ padding: 12px 16px 16px; }

.googooweb-cart-item{
  display:flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.googooweb-cart-thumb img{ width: 54px; height: 54px; border-radius: 10px; object-fit: cover; display:block; }
.googooweb-cart-meta{ flex:1; min-width: 0; }
.googooweb-cart-name{ font-weight: 800; font-size: 18px; line-height: 1.2; margin: 0 0 6px; }
.googooweb-cart-price{ font-weight: 700; font-size: 13px; opacity: .85; margin: 0 0 8px; }

.googooweb-cart-controls{ display:flex; align-items:center; gap: 8px; }
.googooweb-qty{
  display:flex;
  align-items:center;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
  overflow:hidden;
}
.googooweb-qty-btn{
  width: 38px;
  height: 38px;
  border: 0;
  background: #f6f6f6;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}
.googooweb-qty-input{
  width: 56px;
  height: 38px;
  border: 0;
  text-align: center;
  outline: 0;
  font-weight: 700;
}
.googooweb-cart-remove{
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    color: #c36 !important;
    font-size: 16px !important;
    font-family: 'Roboto' !important;
}

.googooweb-cart-summary{
  padding: 14px 0 0;
}
.googooweb-cart-row{
  display:flex;
  justify-content: space-between;
  padding: 6px 0;
  font-weight: 700;
}
.googooweb-cart-actions{
  display:flex;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 80px;
}
.googooweb-cart-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 12px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, .15);
    color: #fff !important;
    background: #c36 !important;
}

.googooweb-cart-actions a:hover {
    color: #c36 !important;
    background: #fff !important;
}
.googooweb-cart-checkout{ background: #111; color: #fff; border-color: #111; }
.googooweb-cart-empty{ padding: 14px 0; opacity: .8; }

.googooweb-cart-qty {
    display: block !important;
    width: 100% !important;
}

button.googooweb-cart-qty-btn {
    display: inline-block;
    width: 10% !important;
    border: solid 1px !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    font-family: fangsong;
    padding: 0 !important;
    text-align: center !important;
}

input.googooweb-cart-qty-input {
    display: inline-block;
    width: 20% !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    font-family: 'Roboto' !important;
    text-align: center !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.googooweb-cart-line-subtotal {
    width: 60% !important;
    text-align: right;
    display: inline-block;
}

.googooweb-cart-qty-input::-webkit-outer-spin-button,
.googooweb-cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}