  /**
   * YITH Added to Cart Popup - Essential Customizations Only
   * Removes defaults, keeps only necessary overrides
   */

  /* Enhanced overlay with blur */
  .yith-wacp-overlay {
      background: rgba(0, 0, 0, 0.65) !important;
      backdrop-filter: blur(3px);
  }

  /* Popup animation and enhanced shadow */
  .yith-wacp-content {
      border-radius: 12px !important;
      padding: 0 15px 0 !important;
      animation: slideInUp 0.3s ease-out;
  }

  /* Add bottom padding to the last element inside */
  .yith-wacp-content>*:last-child {
      padding-bottom: 20px !important;
  }

  @keyframes slideInUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* Purple gradient header - compact padding */
  .yith-wacp-message {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      padding: 15px 20px !important;
      margin: 0 !important;
      border-radius: 12px 12px 0 0 !important;
      position: relative;
      overflow: hidden;
  }

  /* Table row hover effects */
  .yith-wacp-wrapper table.cart-list tr {
      background: #f7f7f7;
      transition: all 0.2s ease;
  }

  .yith-wacp-wrapper table.cart-list tr:hover {
      background: #f0f0f0;
      transform: translateX(2px);
  }

  /* Rounded corners for table rows */
  .yith-wacp-wrapper table.cart-list td:first-child {
      border-radius: 8px 0 0 8px;
  }

  .yith-wacp-wrapper table.cart-list td:last-child {
      border-radius: 0 8px 8px 0;
  }

  /* Product image enhancements */
  .yith-wacp-wrapper .item-thumb img {
      border-radius: 8px !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      transition: transform 0.2s ease;
  }

  .yith-wacp-wrapper .item-thumb:hover img {
      transform: scale(1.05);
  }

  /* Related products background */
  .yith-wacp-custom-related {
      background: #fafafa;
      border-radius: 0 0 12px 12px;
  }

  /* Related products grid */
  .yith-wacp-related-products {
      display: grid !important;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px !important;
  }

  /* Related product cards */
  .yith-wacp-related-product {
      background: #fff !important;
      border-radius: 8px !important;
      padding: 12px !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
      transition: all 0.3s ease;
  }

  .yith-wacp-related-product:hover {
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
      transform: translateY(-2px);
  }

  /* Product title truncation */
  .yith-wacp-related-product .woocommerce-loop-product__title {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
  }

  /* Related products price color */
  .yith-wacp-related-product .price {
      color: #2e6bc6 !important;
  }

  /* Add to cart button in popup */
  .yith-popup-add-btn .add-to-cart-loop {
      display: flex !important;
      align-items: center;
      justify-content: center;
      padding: 8px 12px !important;
      background: linear-gradient(135deg, #2e6bc6, #007bc4) !important;
      color: #fff !important;
      border-radius: 6px !important;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 6px rgba(46, 107, 198, 0.2);
  }

  .yith-popup-add-btn .add-to-cart-loop:hover {
      background: linear-gradient(135deg, #007bc4, #2e6bc6) !important;
      box-shadow: 0 4px 12px rgba(46, 107, 198, 0.3);
      transform: translateY(-1px);
  }

  /* Cart icon */
  .yith-popup-add-btn .add-to-cart-loop:before {
      content: '\f07a';
      font-family: 'Font Awesome 5 Free', 'FontAwesome';
      font-weight: 900;
      margin-right: 6px;
      font-size: 11px;
  }

  /* Fix long Greek text - Hide original and replace with shorter version */
  .yith-popup-add-btn .add-to-cart-loop span {
      font-size: 0 !important;
      /* Hide original text */
      line-height: 0 !important;
  }

  .yith-popup-add-btn .add-to-cart-loop span:after {
      content: '+ στο Καλαθι' !important;
      /* Just "Cart" in Greek */
      font-size: 11px !important;
      /* Restore font size */
      line-height: normal !important;
      /* Restore line height */
      display: inline-block !important;
      white-space: nowrap !important;
  }

  /* Mobile add to cart button */
  @media (max-width: 1024px) {
      .yith-popup-add-btn .add-to-cart-loop {
          width: 40px !important;
          height: 40px !important;
          padding: 0 !important;
          border-radius: 50% !important;
      }

      .yith-popup-add-btn .add-to-cart-loop span,
      .yith-popup-add-btn .add-to-cart-loop span:after {
          display: none !important;
      }

      .yith-popup-add-btn .add-to-cart-loop:before {
          margin-right: 0;
          font-size: 16px;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
      }
  }

  /* Continue Shopping button */
  .yith-wacp-actions a.continue-shopping {
      background: #f8f8f8 !important;
      color: #666666 !important;
      border: 1px solid #dddddd !important;
  }

  .yith-wacp-actions a.continue-shopping:hover {
      background: #ffffff !important;
      color: #2e6bc6 !important;
      border-color: #2e6bc6 !important;
      transform: translateY(-2px);
  }

  /* View Cart button */
  .yith-wacp-actions a.go-cart {
      background: #2e6bc6 !important;
      color: #ffffff !important;
      box-shadow: 0 2px 8px rgba(46, 107, 198, 0.25);
  }

  .yith-wacp-actions a.go-cart:hover {
      background: #007bc4 !important;
      box-shadow: 0 4px 12px rgba(46, 107, 198, 0.35);
      transform: translateY(-2px);
  }

  /* Cart total section */
  .yith-wacp-cart-info {
      background: linear-gradient(to right, #f9f9f9, #fff);
      border-top: 2px solid #2e6bc6;
  }

  /* Close button customization */
  .yith-wacp-close {
      width: 20px !important;
      height: 20px !important;
      background: #6d6d6d !important;
  }

  .yith-wacp-close:hover {
      transform: rotate(90deg) scale(1.1);
  }

  /* Loading animation */
  @keyframes spin {
      0% {
          transform: rotate(0deg);
      }

      100% {
          transform: rotate(360deg);
      }
  }

  /* Mobile responsive */
  @media (max-width: 768px) {
      .yith-wacp-related-products {
          grid-template-columns: repeat(2, 1fr) !important;
      }

      .yith-wacp-actions {
          flex-direction: column;
      }

      .yith-wacp-actions a.button {
          width: 100%;
      }
  }