/* Ace $-rate notice — beautiful banner. */
.ace-rate-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #fff8e6 0%, #fff3d6 100%);
    border: 1px solid #f0d98c;
    border-left: 4px solid #e8a820;
    border-radius: 14px;
    padding: 16px 18px;
    margin: 0 0 22px;
    box-shadow: 0 4px 16px rgba(232,168,32,.1);
    animation: ace-notice-in .5s ease both;
}
@keyframes ace-notice-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.ace-rate-notice-icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8a820, #d4941a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(232,168,32,.3);
}
.ace-rate-notice-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #5a4a1a;
    flex: 1;
}
.ace-rate-notice-text strong {
    color: #7a5f14;
    font-weight: 800;
}
.ace-rate-notice-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    font-weight: 700;
    color: #9f1722;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid #9f1722;
    transition: gap .2s;
}
.ace-rate-notice-link:hover {
    gap: 8px;
    color: #7a1018;
}
/* On shop archive, full-width above grid */
.ace-nshop-content .ace-rate-notice,
.woocommerce-shop .ace-rate-notice {
    margin-bottom: 20px;
}
@media (max-width: 640px) {
    .ace-rate-notice {
        padding: 14px;
        gap: 10px;
    }
    .ace-rate-notice-text {
        font-size: 12.5px;
    }
    .ace-rate-notice-link {
        display: block;
        margin: 6px 0 0;
    }
}

/* Shop archive placement */
.ace-nshop-notice-wrap {
    padding-top: 24px;
}
.ace-nshop-notice-wrap .ace-rate-notice {
    margin-bottom: 0;
}
