/* Cart Notifier - iOS Style */
#dut-cn-wrapper {
    position: fixed;
    top: -120px; /* Hidden state */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 280px;
    max-width: 90%;
    z-index: 999999999;

    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    padding: 10px 18px;
    border-radius: 40px; /* Pill shape */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);

    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28); /* Bouncy spring */
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#dut-cn-wrapper.dut-cn-show {
    top: 25px; /* Visible state */
}

/* Thumbnail */
.dut-cn-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background: #f0f0f0;
}

.dut-cn-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.dut-cn-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.dut-cn-status {
    font-size: 13px;
    font-weight: 700;
    color: #8da336; /* Synced with Quick View Primary */
    line-height: 1.3;
    display: block;
}

.dut-cn-product-name {
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    display: block;
}

/* Success Icon */
.dut-cn-icon-check {
    margin-left: auto;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

/* Active State */
#dut-cn-wrapper:active {
    transform: translateX(-50%) scale(0.96);
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 480px) {
    #dut-cn-wrapper {
        min-width: 240px;
        padding: 8px 15px;
    }
    .dut-cn-product-name {
        max-width: 130px;
    }
}
