/** Shopify CDN: Minification failed

Line 497:0 All "@import" rules must come first

**/

.productView{
    position: relative;
    width: 100%;
    max-width: 1600px; 
    margin: 0 auto;
    padding-top: 0px;
    padding-bottom: 45px;
}

.halo-productView-left,
.halo-productView-right {
    width: 100% !important;
    display: block !important;
}

.productView-image-wrapper {
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: 100%;
    margin-top: 0;
}

/* 桌面端样式 */
@media (min-width: 768px) {
    .productView-top{
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: center;
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 20px;
        gap: 0;
    }

    /* 重置移动端样式 */
    .halo-productView-left,
    .halo-productView-right {
        width: auto !important;
        display: inline-block !important;
    }

    /* 图片区域 - 改为70% */
    .halo-productView-left{
 
        width: 60%;
        margin-bottom: 0;
        padding-right: 30px;
        margin-right: 0;
    }

    /* 文字内容区域 - 改为30% */
    .halo-productView-right{
        width: 40%;
        padding-left: 0px;
        margin-left: 0;
    }
}

@media (min-width: 1200px) {
    .halo-productView-left{
        width: 60%;
        padding-right: 30px;
        margin-right: 0;
    }
    
    .productView-moreItem.moreItem-breadcrumb {
        padding-left: 40px;
        margin-left: 0;
    }

    .halo-productView-right{
        width: 40%;
        padding-left: 0px;
        margin-left: 0;
    }
    
    .productView-top {
        padding: 0 40px;
        gap: 0; 
    }
}

.product-full-width .productView {
    padding-top: 0;
    padding-bottom: 0;
    max-width: 1600px;
}

@media (min-width: 768px) {
    .product-full-width .halo-productView-left{
        width: 60%;
        padding-right: 30px;
        margin-right: 0;
    }

    .product-full-width .halo-productView-right{
        width: 40%;
        padding-left: 0px;
        margin-left: 0;
    }
    
    .product-full-width .productView-top {
        padding: 0 30px;
        gap: 0; 
    }
}

.halo-productView-right .productView-product {
    margin: 0;
    padding: 0;
}
.halo-productView-left, .halo-productView-right {
    box-sizing: border-box;
}

.productView-action .button {
   height:49px;
}

/* 确保flex布局只在桌面端生效 */
@media (min-width: 768px) {
    .productView-top {
        display: flex;
        align-items: flex-start;
    }
    
    .halo-productView-left {
        flex: 0 0 60%;
        max-width: 60%;
    }
    
    .halo-productView-right {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

/* 移动端特定修复 */
@media (max-width: 767px) {
    .halo-productView-left {
        width: 100% !important;
        display: block !important;
        padding-right: 0 !important;
        margin-bottom: 20px;
    }
    
    .halo-productView-right {
        width: 100% !important;
        display: block !important;
        padding-left: 0 !important;
    }
    
    .productView-top {
        display: block !important;
        flex-direction: column !important;
    }
    
    /* 确保图片容器正常显示 */
    .productView-image-wrapper {
        width: 100%;
        display: block;
    }
    
    .productView-image {
        width: 100%;
        display: block;
    }
}


/* 修改数量选择器容器样式 */
.quantity__container {
    display: flex;
    align-items: center;
    width: auto;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}




/* 修改数量按钮样式 */
.btn-quantity {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 0;
    position: relative;
    box-shadow: none !important;
    outline: none !important;
    margin-bottom: 0 !important;
}

.btn-quantity.minus:before {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background: #5a5a5a;
}

.btn-quantity.plus:before {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background: #5a5a5a;
}

.btn-quantity.plus:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background: #5a5a5a;
    transform: rotate(90deg);
}

/* 修改数量输入框样式 */
.quantity__input {
    width: 50px;
    padding: 5px;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-size: var(--font-body-size);
    font-weight: var(--font-weight-medium);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
    outline: none !important;
    margin-bottom: 0 !important;
}

/* 移除所有可能存在的边框和背景 */
.quantity__style--1 .quantity__input,
.quantity__group--1 .quantity__input,
.cart-quantity .quantity_input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

/* 修改数量选择器组样式 */
.quantity__group--1 {
    border: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.quantity__group--1 .btn-quantity {
    height: 30px;
    border: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.quantity__group--1 .btn-quantity.minus:before,
.quantity__group--1 .btn-quantity.plus:before,
.quantity__group--1 .btn-quantity.plus:after {
    top: 14px;
}

/* 确保在移动端也有相同的样式 */
@media (max-width: 767px) {
    .quantity__container {
        border: none !important;
        background: transparent !important;
        margin-bottom: 0 !important;
    }
    
    .quantity__input {
        border: none !important;
        background: transparent !important;
        margin-bottom: 0 !important;
    }
}

/* 修改cart-quantity样式 */
.cart-quantity {
    border: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.cart-quantity .quantity_button {
    background: none !important;
    border: none !important;
    margin-bottom: 0 !important;
}

.cart-quantity .quantity_input {
    border: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

/* 核心：Flex 容器强制左右分离 */
.quantity-flex-container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* 左侧文字样式 */
.quantity-flex-container .quantity__label {
  flex: 1 1 auto !important;
  text-align: left !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  padding-right: 15px !important;
}

/* 右侧数量控件 */
.quantity-flex-container .quantity__container {
  display: flex !important;
  gap: 8px !important;
  border: none !important;
  background: transparent !important;
  margin-bottom: 0 !important;
}

/* 确保输入框不被压缩 */
.quantity__input {
  min-width: 40px !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}

/* 额外添加：确保所有相关元素都没有底部边距 */
.quantity__wrapper,
.quantity__group,
.quantity__style--1,
.quantity__group--1 {
    margin-bottom: 0 !important;
}

.productView-subtotal{display:none;}


/* 修改购买按钮字体大小 */
.product-form__submit {
  font-size: 16px;
} /* 如果上面的不生效,可以尝试这些选择器 */
button[name="add"] {
  font-size: 16px;
}
.shopify-payment-button__button {
  font-size: 16px;
}


/* 强制覆盖版本 */
.product-form_radio {
    display: none !important;
}

.product-form_label {
    background-color: #F9F8F6 !important;
    color: #2F2F2F !important;
    border: 2px solid #2F2F2F !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    margin: 8px !important;
    text-align: center !important;
    font-weight: 500 !important;
    min-width: 140px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.product-form_radio:checked + .product-form_label {
    background-color: #2F2F2F !important;
    color: #F9F8F6 !important;
    border-color: #2F2F2F !important;
}

/* 外层容器 - 控制选项之间的间距 */
.js.product-form__input.product-form__swatch {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.js.product-form__input.product-form__swatch .product-form__label {
    width: 67px !important;
    height: 67px !important;
    min-width: 67px !important;
    min-height: 67px !important;
    position: relative;
    border: 3px solid transparent !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* 移动端样式 - 调整图片大小增加20%，间距保持不变 */
@media (max-width: 768px) {
    .js.product-form__input.product-form__swatch {
        gap: 10px !important; /* 保持原有间距 */
        justify-content: space-between !important;
    }
    
    .js.product-form__input.product-form__swatch .product-form__label {
        width: 60px !important; /* 从50px增加20%到60px */
        height: 60px !important; /* 从50px增加20%到60px */
        min-width: 60px !important;
        min-height: 60px !important;
        border-radius: 6px !important;
    }
    
    /* 移动端选中状态 */
    .js.product-form__input.product-form__swatch .product-form__radio:checked + .product-form__label {
        border-width: 2px !important;
        border-radius: 6px !important;
    }
}

/* 小屏手机优化 - 同样增加20%，间距保持不变 */
@media (max-width: 480px) {
    .js.product-form__input.product-form__swatch {
        gap: 8px !important; /* 保持原有间距 */
    }
    
    .js.product-form__input.product-form__swatch .product-form__label {
        width: 54px !important; /* 从45px增加20%到54px */
        height: 54px !important; /* 从45px增加20%到54px */
        min-width: 54px !important;
        min-height: 54px !important;
        border-radius: 5px !important;
    }
    
    /* 小屏手机选中状态 */
    .js.product-form__input.product-form__swatch .product-form__radio:checked + .product-form__label {
        border-radius: 5px !important;
    }
}

/* 桌面端选中状态样式 */
.js.product-form__input.product-form__swatch .product-form__radio:checked + .product-form__label {
    border-color: #666 !important;
    border-radius: 20px !important;
}

/* 图片完全填满容器但保持比例 - 关键修改 */
.js.product-form__input.product-form__swatch .product-form__label .pattern,
.js.product-form__input.product-form__swatch .product-form__label img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: contain !important; /* 改为contain确保图片不变形 */
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #f8f8f8 !important; /* 添加背景色避免透明区域 */
}

/* 完全移除悬停展开图片功能 */
.js.product-form__input.product-form__swatch .product-form__label .expand {
    display: none !important;
}
/* 加载字体 */
@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&display=swap');

/* 应用字体到产品页面 */
.productView-title {
    font-family: "Gilda Display", serif;
    font-size: var(--fontsize-text); /* 保持原有大小 */
    font-weight: var(--font-weight-semibold); /* 保持原有字重 */
}

.productView-price .price,
.productView-price .price-item,
.productView-price .money {
    font-family: "Gilda Display", serif;
}

.productView-desc,
.productView-desc p {
    font-family: "Gilda Display", serif;
    font-size: var(--fontsize-text); /* 保持原有大小 */
    line-height: 1.8em; /* 保持原有行高 */
}