
        :is(
          .elementor-widget-woocommerce-product-add-to-cart,
          .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
          .elementor-widget-wc-add-to-cart,
          .woocommerce div.product .elementor-widget-wc-add-to-cart
        ) form.cart.addons-open {
            padding-bottom: 40px;
            margin: 0;
        }

        body.single-product .product-addons-wrapper {
          direction: rtl;
          text-align: right;
          border-radius: 16px;
          padding: 18px 20px;
          margin: 18px 0 24px;
          max-width: 100%;
          overflow: hidden;
        }

        body.single-product .product-addons-wrapper .addons-main-heading {
          margin: 0 0 10px;
          font-size: 20px;
          font-weight: 700;
          color: #0f172a;
          text-align: center;
        }

        body.single-product .product-addons-wrapper .addons-main-description {
          margin: 0 0 16px;
          color: #4b5563;
          font-size: 14px;
          text-align: center;
        }

        body.single-product .addons-category-block {
          background: #f9fafb;
          border-radius: 14px;
          padding: 14px 16px 18px 16px;
          margin-bottom: 16px;
          border: 1px solid #e5e7eb;
          overflow: visible;
          position: relative;
        }

        body.single-product .addons-category-title {
          margin: 0 0 10px;
          font-size: 18px;
          font-weight: 600;
          color: #111827;
          text-align: center;
          padding: 0 16px;
        }

        body.single-product .addons-cards-row {
          display: flex;
          gap: 12px;
          overflow-x: auto;
          overflow-y: hidden;
          padding-bottom: 8px;
          padding-left: 0;
          padding-right: 0;
          padding-top: 0;
          -webkit-overflow-scrolling: touch;
          max-width: 100%;
          cursor: grab;
          user-select: none;
          scrollbar-width: none;
          -ms-overflow-style: none;
        }
        body.single-product .addons-cards-row::-webkit-scrollbar {
          display: none;
        }
        body.single-product .addons-cards-row.is-dragging {
          cursor: grabbing;
          scroll-behavior: auto;
        }
        body.single-product .addons-cards-row.is-dragging .addon-card {
          pointer-events: none;
        }
        
        /* Touch devices - normal cursor */
        @media (hover: none) and (pointer: coarse) {
          body.single-product .addons-cards-row {
            cursor: default;
          }
        }

        /* Scroll pagination indicator - Swiper-like style */
        body.single-product .addons-scroll-pagination {
          width: max-content !important;
          background: #ffffff;
          border-radius: 100vw;
          padding: 0px 10px !important;
          box-shadow: 0 0 10px 0 rgb(0 0 0 / 0.2);
          display: flex;
          align-items: center;
          justify-content: center;
          height: 22px;
          gap: 6px;
          margin: 12px auto 0;
          position: relative;
          z-index: 10;
        }
        body.single-product .addons-scroll-dot {
          width: 8px;
          height: 8px;
          border-radius: 50%;
          background: #e5e7eb;
          transition: 0.3s all ease-in-out;
          cursor: pointer;
          flex-shrink: 0;
          display: inline-block;
        }
        body.single-product .addons-scroll-dot:hover {
          background: #fcd34d;
        }
        body.single-product .addons-scroll-dot.active {
          background: #f6bd31;
          width: 15px;
          border-radius: 100vw;
        }
        
        @media (max-width: 768px) {
          body.single-product .addons-scroll-pagination {
            margin-top: 10px;
            padding: 0px 8px !important;
            gap: 5px;
            height: 20px;
          }
          body.single-product .addons-scroll-dot {
            width: 6px;
            height: 6px;
          }
          body.single-product .addons-scroll-dot.active {
            width: 12px;
          }
        }

        body.single-product .addon-card {
          min-width: 120px;
          max-width: 130px;
          flex: 0 0 120px;
          background: #ffffff;
          border-radius: 16px;
          padding: 8px 8px 8px;
          border: 1px solid #e5e7eb;
          display: flex;
          flex-direction: column;
          align-items: stretch;
          transition: box-shadow .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
          box-sizing: border-box;
          cursor: pointer;
        }
        
        body.single-product .addon-card:hover {
          border-color: #d1d5db;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        @media (max-width: 768px) {
          body.single-product .product-addons-wrapper {
            padding: 14px 12px;
            margin: 12px 0 18px;
            border-radius: 12px;
          }

          body.single-product .product-addons-wrapper .addons-main-heading {
            font-size: 18px;
            margin-bottom: 8px;
          }

          body.single-product .product-addons-wrapper .addons-main-description {
            font-size: 13px;
            margin-bottom: 12px;
          }

          body.single-product .addons-category-block {
            padding: 12px 10px 14px 10px;
            margin-bottom: 12px;
            border-radius: 12px;
          }

          body.single-product .addons-category-title {
            font-size: 16px;
            padding: 0 8px;
            margin-bottom: 8px;
          }

          body.single-product .addons-cards-row {
            gap: 10px;
          }

          body.single-product .addon-card {
            min-width: calc(50% - 5px);
            max-width: calc(50% - 5px);
            flex: 0 0 calc(50% - 5px);
            padding: 6px 6px 6px;
          }
        }

        @media (max-width: 480px) {
          body.single-product .product-addons-wrapper {
            padding: 12px 10px;
            margin: 10px 0 16px;
          }

          body.single-product .addon-card {
            min-width: calc(50% - 5px);
            max-width: calc(50% - 5px);
            flex: 0 0 calc(50% - 5px);
          }
        }

        /* Fix for Safari iOS specifically */
        @supports (-webkit-touch-callout: none) {
          body.single-product .product-addons-wrapper {
            max-width: 100vw;
            overflow-x: hidden;
          }

          body.single-product .addons-cards-row {
            overflow-x: scroll;
            overflow-y: hidden;
          }

          @media (max-width: 768px) {
            body.single-product .addon-card {
              min-width: 46%;
              max-width: 46%;
              flex: 0 0 46%;
            }
          }
        }

        body.single-product .addon-card.addon-card-selected {
          border-color: #fbbf24 !important;
          box-shadow: 0 0 0 1px rgba(251,191,36,0.5);
          background:#fffdf6;
        }

        body.single-product .addon-card-image {
          width: 100%;
          aspect-ratio: 1 / 1;
          border-radius: 12px;
          overflow: hidden;
          background: #fff;
          margin-bottom: 6px;
        }

        body.single-product .addon-card-image img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }

        body.single-product .addon-card-image {
          position: relative;
        }

        body.single-product .addon-card-quickview {
          position: absolute;
          top: 6px;
          left: 6px;
          width: 28px;
          height: 28px;
          background: transparent !important;
          border: none !important;
          border-radius: 0 !important;
          cursor: pointer;
          display: flex !important;
          align-items: center;
          justify-content: center;
          opacity: 1 !important;
          transition: transform 0.2s ease;
          z-index: 5;
          padding: 0 !important;
          box-shadow: none !important;
          outline: none !important;
        }

        body.single-product .addon-card-quickview svg {
          width: 20px;
          height: 20px;
          stroke: #fff;
          filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
        }

        body.single-product .addon-card .addon-card-quickview {
          opacity: 1;
        }

        body.single-product .addon-card-quickview:hover {
          transform: scale(1.15);
        }

        body.single-product .addon-card-quickview:hover svg {
          stroke: #fff;
        }

        /* Always show on touch devices */
        @media (hover: none) and (pointer: coarse) {
          body.single-product .addon-card-quickview {
            opacity: 1;
            width: 26px;
            height: 26px;
          }
          body.single-product .addon-card-quickview svg {
            width: 16px;
            height: 16px;
          }
        }

        body.single-product .addon-card-name {
          font-size: 13px;
          font-weight: 500;
          text-align: center;
          margin: 0 0 4px;
          line-height: 1.3;
          word-wrap: break-word;
          overflow-wrap: break-word;
        }

        @media (max-width: 768px) {
          body.single-product .addon-card-name {
            font-size: 12px;
            line-height: 1.2;
          }
        }

        body.single-product .addon-card-stock {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          align-self: center;
          font-size: 10px;
          font-weight: 700;
          color: #047857;
          background: rgba(16,185,129,.10);
          border: 1px solid rgba(16,185,129,.35);
          border-radius: 999px;
          padding: 2px 8px;
          margin: 0 0 4px;
          letter-spacing: .2px;
          line-height: 1.2;
        }
        body.single-product .addon-card-stock--low {
          color: #b45309;
          background: rgba(251,191,36,.16);
          border-color: rgba(251,146,60,.45);
          animation: ypaStockPulse 1.6s ease-in-out infinite;
        }
        @keyframes ypaStockPulse {
          0%,100%{box-shadow:0 0 0 0 rgba(251,146,60,.0);}
          50%{box-shadow:0 0 0 4px rgba(251,146,60,.18);}
        }

        body.single-product .addon-card-price {
          font-size: 13px;
          margin-bottom: 8px;
          text-align: center;
          line-height: 1.3;
        }

        @media (max-width: 768px) {
          body.single-product .addon-card-price {
            font-size: 12px;
          }
        }

        body.single-product .addon-card-price .current-price {
          font-weight: 700;
          color: var(--addon-accent, #111827);
        }

        body.single-product .addon-card-price .old-price {
          color: #9ca3af;
          margin-inline-start: 4px;
          font-size: 11px;
        }

        body.single-product .addon-card-price .old-price del {
          text-decoration-color: #9ca3af;
        }

        body.single-product .addon-card-actions {
          margin-top: auto;
          width: 100%;
          padding-top: 6px;
          display: flex;
          justify-content: center;
          align-items: center;
        }

        body.single-product .addon-card-add-btn {
          width: 38px !important;
          height: 38px !important;
          padding: 0 !important;
          border-radius: 10px !important;
          box-sizing: border-box !important;
          border: none !important;
          cursor: pointer !important;
          background: #f5f5f5 !important;
          color: #9ca3af !important;
          font-size: 20px !important;
          font-weight: 600 !important;
          display: inline-flex !important;
          align-items: center !important;
          justify-content: center !important;
          line-height: 1 !important;
          box-shadow: none !important;
          transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
          -webkit-tap-highlight-color: transparent;
        }

        @media (max-width: 768px) {
          body.single-product .addon-card-add-btn {
            width: 34px !important;
            height: 34px !important;
            font-size: 18px !important;
          }
        }

        body.single-product .addon-card-add-btn:hover {
          transform: scale(1.08);
          background: #eeeeee !important;
          color: #7f8a95 !important;
          box-shadow: 0 2px 6px rgba(15,23,42,0.06) !important;
        }
        body.single-product .addon-card-add-btn:hover span {
          font-size: 22px;
        }

        @media (max-width: 768px) {
          body.single-product .addon-card-add-btn:hover span {
            font-size: 20px;
          }
        }

        body.single-product .addon-card.addon-card-selected .addon-card-add-btn {
          background: #111827 !important;
          color: #ffffff !important;
          box-shadow: 0 2px 6px rgba(15,23,42,0.3) !important;
          transform: scale(1.02);
        }
        body.single-product .addon-card.addon-card-selected .addon-card-add-btn span {
          font-size: 22px;
        }

        @media (max-width: 768px) {
          body.single-product .addon-card.addon-card-selected .addon-card-add-btn span {
            font-size: 20px;
          }
        }

        .addons-blocks-wrapper { 
          position: relative;
          max-width: 100%;
          overflow: hidden;
        }
        .addon-category-collapsed { display: none; }

        .addons-load-more-wrap {
          text-align: center;
          margin-top: 16px;
          padding: 0 20px;
        }

        @media (max-width: 768px) {
          .addons-load-more-wrap {
            margin-top: 12px;
            padding: 0 10px;
          }
        }

        body.single-product .addons-load-more-btn {
          display: inline-flex !important;
          align-items: center !important;
          justify-content: center !important;
          gap: 10px !important;
          padding: 14px 28px !important;
          border: 1.5px solid #d1d5db !important;
          border-radius: 28px !important;
          background: #ffffff !important;
          color: #374151 !important;
          font-size: 16px !important;
          font-weight: 600 !important;
          cursor: pointer !important;
          transition: all .2s ease !important;
          height: auto !important;
          line-height: 1.4 !important;
          box-shadow: none !important;
          -webkit-tap-highlight-color: transparent;
          max-width: 100%;
          box-sizing: border-box;
        }

        @media (max-width: 768px) {
          body.single-product .addons-load-more-btn {
            padding: 12px 24px !important;
            font-size: 15px !important;
            gap: 8px !important;
          }
        }

        body.single-product .addons-load-more-btn:hover {
          border-color: #9ca3af !important;
          background: #f9fafb !important;
        }

        body.single-product .addons-load-more-btn svg {
          width: 18px !important;
          height: 18px !important;
          display: inline-block !important;
          flex: 0 0 auto !important;
          fill: #374151 !important;
        }

        @media (max-width: 768px) {
          body.single-product .addons-load-more-btn svg {
            width: 16px !important;
            height: 16px !important;
          }
        }

        body.single-product .addons-load-more-btn.expanded svg {
          transform: rotate(180deg) !important;
        }

        body.single-product .addons-load-more-label {
          display: inline-block !important;
          line-height: 1 !important;
        }

        body.single-product .addons-category-description {
          margin: 8px 4px 0;
          font-size: 12px;
          color: #6b7280;
          text-align: center;
          line-height: 1.4;
        }

        @media (max-width: 768px) {
          body.single-product .addons-category-description {
            font-size: 11px;
            margin: 6px 4px 0;
          }
        }

        /* Rewards Progress Bar Styles - Compact */
        .addons-rewards-progress {
          background: #f9fafb;
          border-radius: 10px;
          padding: 12px 30px 20px 30px;
          margin-bottom: 12px;
          direction: rtl;
          overflow: visible;
        }
        .addons-rewards-msg {
          color: #000000;
          font-size: 14px;
          text-align: center;
          font-weight: 600;
          line-height: 1.3;
          margin-bottom: 10px;
        }
        .addons-rewards-bar-wrap {
          display: flex;
          align-items: center;
          gap: 8px;
        }
        .addons-rewards-border {
          position: relative;
          flex: 1;
          height: 8px;
          background: #e0e0e0;
          border-radius: 100vw;
          overflow: hidden;
          direction: ltr;
        }
        .addons-rewards-bar {
          display: block;
          float: right;
          width: 0%;
          height: 100%;
          background: #F6BD32;
          box-shadow: 2px 0px 8px 0px rgba(246, 189, 50, 0.5);
          transition: width 0.6s ease-in-out;
          background-image: linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.5) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.5) 75%,
            transparent 75%,
            transparent
          );
          background-size: 20px 20px;
          animation: addonsProgressActive 2s linear infinite;
          border-radius: 100vw;
        }
        @keyframes addonsProgressActive {
          0% { background-position: 0 0; }
          100% { background-position: 20px 20px; }
        }
        .addons-progress-milestones {
          display: flex;
          position: relative;
          margin-top: -10px;
          direction: rtl;
          width: 100%;
          min-height: 60px;
        }
        .addons-milestone {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 1px;
          transition: opacity 0.3s ease;
          position: absolute;
          transform: translateX(50%);
        }
        .addons-milestone.initial-step {
          right: 0%;
        }
        .addons-milestone.shipping-step {
          right: 37.5%;
        }
        .addons-milestone.discount-step {
          right: 100%;
        }
        .addons-milestone-icon {
          width: 22px;
          height: 22px;
          background: #fff;
          border: 2px solid #d5d5d5;
          border-radius: 50%;
          display: grid;
          place-content: center;
          transition: all 0.3s ease;
        }
        .addons-milestone-icon svg {
          width: 10px;
          height: 10px;
        }
        .addons-milestone.active .addons-milestone-icon {
          background: #F6BD32;
          border-color: #F6BD32;
          box-shadow: 0 0 6px rgba(246, 189, 50, 0.6);
        }
        .addons-milestone-label {
          font-size: 9px;
          font-weight: 600;
          color: #000;
          text-align: center;
          max-width: 55px;
          line-height: 1.2;
        }
        .addons-milestone-price {
          font-size: 10px;
          font-weight: bold;
          color: #F6BD32;
        }
        