.qto-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}

.qto-drawer {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -10px 30px rgba(0,0,0,.15);
  max-height: 80vh;
  overflow: auto;
  transform: translateY(0);
}

.qto-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.qto-drawer-title {
  font-size: 16px;
  font-weight: 700;
}

.qto-drawer-close {
  border: 1px solid #ddd;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.qto-drawer-body {
  padding: 16px;
}

/* 可选：drawer 打开时禁止页面滚动 */
body.qto-drawer-open {
  overflow: hidden;
}

/* Size buttons */
.qto-size-buttons{
  display:flex;
  gap:10px;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}
.qto-size-btn{
  border:1px solid #ddd;
  background:#fff;
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
}
.qto-size-btn.is-active{
  border-color:#111;
}

/* Qty +/- */
.qto-qty{
  display:flex;
  align-items:center;
  border:1px solid #ddd;
  border-radius:12px;
  overflow:hidden;
}
.qto-qty .qty{
  width:70px;
  text-align:center;
  border:0;
  outline:0;
  padding:10px 8px;
}
.qto-qty-btn{
  width:42px;
  height:42px;
  border:0;
  background:#f6f6f6;
  cursor:pointer;
  font-size:18px;
  font-weight:700;
}

/* One row: qty + add button */
.qto-row{
  display:flex;
  gap:12px;
  align-items:center;
}
.qto-row .quantity{
  margin:0 !important;
}
.qto-row .single_add_to_cart_button{
  flex:1;
  height:44px;
  border-radius:12px;
  font-weight:800;
}

.qto-title-zh, .qto-title-en{
    display:block;
}

#qto-drawer-title .qto-title-en{
  font-size: 16px;
  opacity: 0.75;
  display: inline-block;
  margin-top: 2px;
}

