/* Кнопка "Переглянути кошик" */
      body.single-product .kk-view-cart-btn {
        grid-area: viewcart !important;
        display: none;
        width: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-decoration: underline !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        color: #e53e3e !important;
        transition: color 0.2s ease !important;
        text-align: center !important;
        white-space: normal !important;
        height: auto !important;
        min-height: 0 !important;
        cursor: pointer;
      }
      body.single-product .kk-view-cart-btn.kk-view-cart-visible {
        display: block !important;
      }
      body.single-product .kk-view-cart-btn:hover {
        color: #b91c1c !important;
        text-decoration: underline !important;
        transform: none !important;
      }

      /* Loading state кнопки */
      body.single-product .single_add_to_cart_button.button.loading,
      body.single-product .single_add_to_cart_button.loading {
        pointer-events: none !important;
        opacity: .82 !important;
        filter: saturate(.92) brightness(.98) !important;
      }

      /* Added state кнопки */
      body.single-product .single_add_to_cart_button.kk-added-to-cart {
        background: linear-gradient(135deg, #25003d 0%, #6320d9 56%, #9554ff 120%) !important;
        color: #fff !important;
        border: 1px solid rgba(222,204,255,.58) !important;
        box-shadow:
          0 0 0 2px rgba(200,168,255,.18),
          0 18px 34px rgba(98,26,201,.34),
          inset 0 1px 0 rgba(255,255,255,.14) !important;
        filter: brightness(1.03) saturate(1.05) !important;
        transform: scale(1.02) !important;
      }

      body.single-product .single_add_to_cart_button.kk-added-to-cart-pending {
        pointer-events: none !important;
        opacity: .94 !important;
      }

      /* Тост */
      .kk-cart-toast {
        position: fixed;
        left: 50%;
        bottom: 22px;
        transform: translateX(-50%) translateY(18px);
        z-index: 999999;
        min-width: min(92vw, 320px);
        max-width: min(92vw, 420px);
        background: #14141a;
        color: #fff;
        border-radius: 16px;
        padding: 14px 18px;
        box-shadow: 0 18px 38px rgba(0,0,0,.28);
        border: 1px solid rgba(255,255,255,.08);
        font-size: 14px;
        line-height: 1.35;
        text-align: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease;
      }
      .kk-cart-toast.is-show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }
      .kk-cart-toast--success { background: linear-gradient(90deg, #14141a, #241c36); }
      .kk-cart-toast--error   { background: linear-gradient(90deg, #2c1212, #4a1717); }

      /* Bump-анимация счётчика */
      .kk-cart-count-bump {
        animation: kkCartCountBump .42s ease both;
      }
      @keyframes kkCartCountBump {
        0%   { transform: scale(1); }
        35%  { transform: scale(1.28); }
        100% { transform: scale(1); }
      }

      /* Курсор-загрузка при клике на товар */
      html.kk-product-nav-is-loading body.single-product .kk-mu-card-link,
      html.kk-product-nav-is-loading body.single-product .woocommerce-LoopProduct-link,
      html.kk-product-nav-is-loading body.single-product .woocommerce-loop-product__link {
        cursor: progress !important;
      }
