/** Shopify CDN: Minification failed

Line 49:6 Unexpected "{"
Line 49:7 Expected identifier but found "%"
Line 49:39 Unexpected "{"
Line 49:40 Expected identifier but found "%"

**/
    .ug-product-card_new {
      background: #fafafa;
      height: 100%;
      border-radius: 8px;
      overflow: hidden;
      position: relative;
      transition: all 0.3s ease;
    }
    
    .ug-product-card_new .ug-product-card_new-inner {
      height: 100%;
      display: grid;
      grid-template-rows: auto 1fr;
    }
    
    .ug-product-card_new .ug-product-card-media {
      position: relative;
      overflow: hidden;
    }
    
    .ug-product-card_new .ug-product-card-media > a > div {
      padding-bottom: 100%;
    }
    
    /* 图片容器样式 */
    .ug-product-card_new .image-container {
      position: relative;
      width: 100%;
      height: 0;
      padding-bottom: 100%;
      overflow: hidden;
      /* background: rgba(0, 0, 0, .1); */
    }
    
    .ug-product-card_new .product-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      {% comment %} object-fit: cover; {% endcomment %}
      transition: opacity 0.3s ease;
      opacity: 1;
    }
    .ug-product-card_new .product-image.primary{
      padding: 15%;
    }
    .ug-product-card_new .product-image.secondary {
      opacity: 0;
    }
    
    /* .ug-product-card_new:hover .product-image.primary {
      opacity: 0;
    }
    
    .ug-product-card_new:hover .product-image.secondary {
      opacity: 1;
    } */
    
    .ug-product-card_new .ug-product-card-info {
      position: relative;
      padding: 18px 16px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    
    .ug-product-card_new .ug-product-card-info p{
      margin:0;
    }
    
    .ug-product-card_new .ug-product-card-info p > a {
      color: #0D0D0D;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.3;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      min-height: 37px;
      transition: color 0.3s ease;
      text-decoration: none;
    }
    
    .ug-product-card_new .ug-product-card-info .scm-reviews-rate {
      margin-top: 12px;
    }
    
    .ug-product-card_new .ug-product-card-info .price_atc-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    .ug-product-card_new .ug-product-card-info .price_atc-box .price-box {
      color: #0D0D0D;
      font-size: 16px;
      font-weight: 600;
      line-height: 1.5;
      text-decoration: none;
    }
    
    .ug-product-card_new .ug-product-card-info .price_atc-box .price-box .compare-at-price {
      color: rgba(13, 13, 13, 1);
      font-size: 12px;
      font-weight: 400;
      line-height: 1.5;
      padding-left: 4px;
    }
    
    /* 加购按钮样式 - 默认隐藏 */
    .ug-product-card_new .ug-product-card-info .price_atc-box .atc_buttons_box {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
    }
    
    .ug-product-card_new:hover .ug-product-card-info .price_atc-box .atc_buttons_box {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    
    .ug-product-card_new .ug-product-card-info .price_atc-box .atc_buttons_box .product-form__submit {
      padding: 4px 12px;
      border-radius: 24px;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.5;
      color: #fff;
      background: #007943;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 80px;
      white-space: nowrap;
    }
    
    .ug-product-card_new .ug-product-card-info .price_atc-box .atc_buttons_box .product-form__submit:hover {
      background: #000;
    }
    
    .ug_product_code {
      display: flex;
      align-items: center;
      line-height: 1;
      gap: 4px;
      margin: 8px 0 18px;
    }
    
    .ug_product_code p {
      font-size: 12px;
      font-weight: 500;
      color: rgba(13, 13, 13, 0.60);
      margin: 0;
    }
    
    .ug_product_code .copy-btn {
      background: unset !important;
      padding: 0;
      height: unset;
      width: unset;
      color: #009632;
      font-size: 12px;
      font-weight: 500;
      text-decoration-line: underline;
      text-decoration-style: solid;
      cursor: pointer;
      border: none;
      transition: all 0.3s ease;
      margin-top: -1px;
    }
    
    .ug_product_code .copy-btn.copied {
      color: #007943;
      text-decoration: none;
      font-weight: 600;
    }
    
    /* .ug-product-card_new:hover .ug-discount-flag{
      opacity: 0;
    } */
    /* 手机端样式 */
    @media (max-width: 767px) {
      .ug-product-card_new .ug-product-card-info {
        padding: 12px;
      }
      
      .ug-product-card_new .ug-product-card-info p > a {
        font-size: 14px;
        min-height: 34px;
      }
      
      .ug-product-card_new .ug-product-card-info .scm-reviews-rate {
        margin-top: 8px;
      }
      
      .ug-product-card_new .ug-product-card-info .price_atc-box {
        flex-direction: row;
        align-items: center;
        gap: 4px;
      }
      
      /* 移动端保持按钮可见 */
      .ug-product-card_new .ug-product-card-info .price_atc-box .atc_buttons_box {
        opacity: 1;
        visibility: visible;
        transform: none;
      }
      
      .ug-product-card_new .ug-product-card-info .price_atc-box .price-box {
        font-size: 14px;
      }
      
      .ug-product-card_new .ug-product-card-info .price_atc-box .price-box .compare-at-price {
        font-size: 12px;
      }
      
      .ug-product-card_new .ug-product-card-info .price_atc-box .atc_buttons_box .product-form__submit {
        padding: 4px;
        font-size: 12px;
        min-width: 32px;
      }
      
      .ug_product_code {
        margin: 4px 0 12px;
      }
      
      .ug_product_code p,.ug_product_code .copy-btn {
        font-size: 12px;
      }
      
      /* 移动端禁用图片切换效果 */
      .ug-product-card_new .product-image {
        transition: none;
      }
      
      .ug-product-card_new .product-image.secondary {
        display: none;
      }
    }
