/** Shopify CDN: Minification failed

Line 8:0 Unexpected "{"
Line 8:1 Expected identifier but found "%"
Line 12:1 Expected identifier but found "%"

**/
{% comment %}
  GT Smart Fit Buttons CSS
  定制化购物按钮组件样式
  支持档案状态检测和按钮状态管理
{% endcomment %}

/* 定制按钮状态样式 - 移除特殊样式，保持一致性 */

/* 购物车按钮样式 */
.product-form__submit.requires-custom-fit {
  opacity: 0.6;
  cursor: pointer; /* 改为可点击 */
  /* 移除 pointer-events: none; 让按钮可以点击 */
}

/* 当存在档案时，购物车按钮颜色 */
.product-form__submit:not(.requires-custom-fit) {
  background-color: rgba(61, 61, 61, 1);
  color: white;
  width: 100%;
}

.product-form__submit:not(.requires-custom-fit):hover {
  background-color: rgba(45, 45, 45, 1);
}

/* 动态结账按钮禁用样式 */
.product-form__dynamic-checkout.requires-custom-fit {
  opacity: 0.6;
  /* 移除 pointer-events: none; 让按钮可以点击 */
}

/* 动态结账按钮内的子按钮样式 */
.product-form__dynamic-checkout.requires-custom-fit .shopify-payment-button__button {
  pointer-events: none; /* 子按钮禁用点击 */
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .gt-custom-fit-toast {
    max-width: 90vw !important;
    font-size: 13px !important;
    padding: 14px 20px !important;
  }
}

/* 动画效果 */
.product-form__custom-fit-button {
  transition: all 0.3s ease;
}

/* 移除闪动效果，保持按钮样式一致 */

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
  .product-form__custom-fit-button.has-profile {
    animation: none;
  }
  
  .product-form__submit.requires-custom-fit::after,
  .product-form__submit.requires-custom-fit::before {
    transition: none;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .product-form__custom-fit-button.has-profile {
    border: 2px solid currentColor;
  }
  
  .product-form__submit.requires-custom-fit::after {
    border: 1px solid currentColor;
  }
}
