/* Modern Point Box - Kompakt & Elegant */
.pointBoxOffcanvas,
.pointBox {
    display: none;
    position: relative;
    padding: 0.65rem 0.95rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pointBoxOffcanvas--400,
.pointBox--400 {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;
    border-color: #86efac !important;
    box-shadow: 0 2px 12px rgba(60, 194, 97, 0.12) !important;
}

/* Blocked state - Soft orange warning (v1.6.6) */
.pointBoxOffcanvas--blocked,
.pointBox--blocked {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
    border-color: #fed7aa !important;
    border-left: 4px solid #fb923c !important;
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.12) !important;
}

.pointBox--blocked .point-progress-text,
.pointBoxOffcanvas--blocked .point-progress-text {
    color: #c2410c;
    font-weight: 500;
}

.pointBox--blocked .point-progress-message,
.pointBoxOffcanvas--blocked .point-progress-message {
    color: #c2410c;
    font-weight: 400;
}

/* Progress Container */
.point-progress-container {
    width: 100%;
}

/* Progress Header - Ohne Icon, kompakter */
.point-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.point-progress-icon {
    display: none; /* Icon komplett entfernt */
}

.point-progress-text {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #374151;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.pointBox--400 .point-progress-text,
.pointBoxOffcanvas--400 .point-progress-text {
    color: #059669;
    font-weight: 700;
}

/* Progress Bar - Schlanker & Moderner */
.point-progress-bar-wrapper {
    margin-bottom: 0.4rem;
}

.point-progress-bar-track {
    width: 100%;
    height: 8px; /* Deutlich schlanker: 20px → 8px */
    background-color: #e5e7eb;
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.point-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #9ca3af 0%, #6b7280 100%);
    border-radius: 100px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    position: relative;
    box-shadow: 0 0 8px rgba(107, 114, 128, 0.3);
}

/* Grüner Zustand - Moderner Gradient */
.pointBox--400 .point-progress-bar-fill,
.pointBoxOffcanvas--400 .point-progress-bar-fill {
    background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Progress Message - Kompakter */
.point-progress-message {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.3;
}

.pointBox--400 .point-progress-message,
.pointBoxOffcanvas--400 .point-progress-message {
    color: #059669;
    font-weight: 600;
}

/* Responsive Design - Noch kompakter auf Mobile */
@media (max-width: 576px) {
    .pointBoxOffcanvas,
    .pointBox {
        padding: 0.55rem 0.85rem;
        margin-bottom: 0.75rem;
    }

    .point-progress-text {
        font-size: 0.75rem;
    }

    .point-progress-message {
        font-size: 0.7rem;
    }

    .point-progress-bar-track {
        height: 6px; /* Noch schlanker auf Mobile */
    }
}

/* Offcanvas-spezifisch - Extra kompakt */
.pointBoxOffcanvas {
    padding: 0.6rem 0.9rem;
    margin-bottom: 0.85rem;
}

.checkout-additional {
    visibility: hidden !important;
}

/* ========================================
   PRODUCT POINT DISPLAY STYLES
   ======================================== */

/* Product Detail Page - Large Display */
.product-detail-points-display {
    display: inline-block;
    padding: 0.6rem 1rem;
    margin: 0.75rem 0;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.product-detail-points-display:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.product-detail-points-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #059669;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.product-detail-points-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.2;
}

/* Product Listing/Catalog - Ultra Minimal Badge */
.product-listing-points-display {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.45rem;
    margin: 0.35rem 0;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    font-size: 0.75rem;
    transition: all 0.15s ease;
}

.product-listing-points-display:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.product-listing-points-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #059669;
}

.product-listing-points-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
}

/* Cart Item Label Wrapper - Ensures vertical stacking */
.cart-item-label-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Cart Item Points - Ultra Minimal Design */
.cart-item-points-display {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1;
}

.cart-item-points-icon {
    font-size: 0.375rem;
    color: #10b981;
    margin-right: 0.15rem;
}

.cart-item-points-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #059669;
}

.cart-item-points-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
}

/* Responsive - Mobile Optimization */
@media (max-width: 576px) {
    .product-detail-points-display {
        padding: 0.6rem 1rem;
    }

    .product-detail-points-value {
        font-size: 1.25rem;
    }

    .product-detail-points-label {
        font-size: 0.8125rem;
    }

    .product-listing-points-display {
        padding: 0.15rem 0.35rem;
        font-size: 0.7rem;
    }

    .product-listing-points-value {
        font-size: 0.75rem;
    }

    .product-listing-points-label {
        font-size: 0.7rem;
    }

    .cart-item-points-icon {
        font-size: 0.3rem;
    }

    .cart-item-points-value {
        font-size: 0.75rem;
    }

    .cart-item-points-label {
        font-size: 0.7rem;
    }
}

/* ========================================
   CHECKOUT BLOCKING STYLES (v1.4.1)
   ======================================== */

/* Blocked button state */
.pointbox-blocked {
    background: #e5e7eb !important;
    color: #6b7280 !important;
    border-color: #d1d5db !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    pointer-events: none !important;
}

.pointbox-blocked:hover {
    background: #e5e7eb !important;
    color: #6b7280 !important;
    transform: none !important;
    pointer-events: none !important;
}

/* ========================================
   THRESHOLD REQUIRED NOTICE (v1.4.1)
   ======================================== */

/* Product listing threshold notice - Modern & Subtle */
.product-listing-threshold-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    margin-top: 0.3rem;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #9a3412;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(251, 146, 60, 0.1);
    transition: all 0.2s ease;
}

.product-listing-threshold-notice:hover {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    box-shadow: 0 2px 6px rgba(251, 146, 60, 0.15);
}

.product-listing-threshold-notice-icon {
    font-size: 0.75rem;
}

/* Product detail threshold notice - Elegant Information Box */
.product-detail-threshold-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    margin: 0.75rem 0 0.5rem 0;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-left: 4px solid #fb923c;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9a3412;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.12);
}

.product-detail-threshold-notice-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(154, 52, 18, 0.1));
}

/* Responsive - Mobile */
@media (max-width: 576px) {
    .product-listing-threshold-notice {
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
    }

    .product-detail-threshold-notice {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
}
