/* 
 Theme Name:   Minimog-child-hyy
 Theme URI:    https://lokgift.com/
 Description:  Minimog-child-hyy
 Author:       hyy
 Author URI:   https://lokgift.com
 Template:     minimog
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/* 报价面板样式（复用原购物车动画，保持流畅） */
#popup-fly-cart {
  /* 基础定位：固定在右侧全屏 */
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 90%; /* 移动端宽度 */
  max-width: 500px; /* 桌面端最大宽度 */
  background: white;
  z-index: 9999; /* 确保在最上层 */
  
  /* 滑出动画（核心！和原购物车一致） */
  transform: translateX(100%); /* 默认隐藏在右侧 */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 0.3秒平滑动画 */
  
  /* 阴影效果 */
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

/* 面板内部布局 */
.fly-cart-wrap {
  height: 100%;
  overflow-y: auto; /* 商品过多时可滚动 */
}

.fly-cart-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.fly-cart-title {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.fly-cart-body {
  padding: 20px;
}

.fly-cart-footer {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
  background: white;
  position: sticky;
  bottom: 0;
}

/* 关闭按钮样式 */
.btn-close-fly-cart {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #666;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-close-fly-cart:hover {
  color: #333;
}

/* 顶部报价图标样式（复用原购物车图标位置） */
#quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  position: relative;
}

.mini-cart__count {
  /* 数量徽章样式（和原购物车一致） */
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  background-color: #f97316;
  color: white;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}