/**
 * Sistema de Shopping - Public CSS
 * Estilos para a página de vendas pública (shortcode)
 */

/* Esconde o chat bubble padrão */
body > .professional-chat-container > .chat-bubble {
    display: none !important;
}

/* Container principal */
#shopping-platform-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: #fafafa;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* ========== BARRA DE BUSCA ========== */
.sp-search-bar {
    background: #fff;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sp-search-input-wrapper {
    flex: 1;
    position: relative;
}

.sp-search-input {
    width: 100%;
    padding: 10px 75px 10px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 15px;
    background: #f8f8f8;
    transition: all 0.2s ease;
    outline: none;
}

.sp-search-input:focus {
    background: white;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.sp-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.sp-search-btn:hover {
    background: #f0f0f0;
}

.sp-search-clear-btn {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.2s ease;
    display: none;
}

.sp-search-clear-btn:hover {
    color: #333;
}

.sp-visual-search-btn {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #000;
}

.sp-visual-search-btn:hover {
    background: #f0f0f0;
    border-color: #333;
}

/* ========== NAVEGAÇÃO DE CATEGORIAS ========== */
.sp-categories {
    background: white;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.sp-categories-container {
    position: relative;
}

.sp-categories-wrapper {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 15px;
    gap: 20px;
    scroll-behavior: smooth;
}

.sp-categories-wrapper::-webkit-scrollbar {
    display: none;
}

.sp-category-item {
    flex: 0 0 auto;
    padding: 6px 0;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
    cursor: pointer;
}

.sp-category-item:hover {
    color: #333;
}

.sp-category-item.active {
    color: #000;
    font-weight: 600;
}

.sp-category-item.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

/* Navegação das categorias e smart grid */
.sp-categories-nav,
.sp-smart-grid-nav,
.sp-smart-grid-scroll-nav {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    color: #333;
    font-size: 14px;
}

.sp-categories-nav:hover,
.sp-smart-grid-nav:hover,
.sp-smart-grid-scroll-nav:hover {
    background: #333;
    color: white;
    transform: scale(1.05);
}

.sp-categories-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: none;
}

.sp-categories-nav.prev {
    left: 5px;
}

.sp-categories-nav.next {
    right: 5px;
}

@media (min-width: 769px) {
    .sp-categories-nav {
        display: flex;
    }
    .sp-categories-wrapper {
        padding: 0 50px;
    }
}

/* ========== BANNER ========== */
.sp-banner {
    background: #f8f8f8;
    color: #333;
    padding: 0 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-banner-messages-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.sp-banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-banner-item.active {
    opacity: 1;
    transform: translateY(0);
}

.sp-banner-item.exiting {
    transform: translateY(-100%);
    opacity: 0;
}

.sp-banner-icon {
    font-size: 16px;
    color: #4CAF50;
}

/* ========== SMART GRID (GRADE INTELIGENTE) ========== */
.sp-smart-grid-section {
    margin: 15px 0;
    background: white;
    padding: 20px 15px 15px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sp-smart-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sp-smart-grid-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.sp-smart-grid-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-smart-grid-container {
    position: relative;
    overflow: hidden;
}

.sp-smart-grid-wrapper {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    padding-right: 30px;
}

.sp-smart-grid-wrapper::-webkit-scrollbar {
    display: none;
}

.sp-smart-grid-end-message {
    flex-shrink: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #888;
    text-align: center;
}

.sp-smart-grid-scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 60px;
    font-size: 18px;
    display: flex;
}

.sp-smart-grid-scroll-nav.prev {
    left: 0;
    border-radius: 0 18px 18px 0;
}

.sp-smart-grid-scroll-nav.next {
    right: 0;
    border-radius: 18px 0 0 18px;
}

@media (max-width: 768px) {
    .sp-smart-grid-scroll-nav {
        display: none;
    }
}

/* Item da smart grid */
.sp-smart-grid-item {
    flex-shrink: 0;
    width: 140px;
    background: white;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .sp-smart-grid-item {
        width: calc(45% - 6px);
    }
    .sp-smart-grid-wrapper {
        gap: 12px;
        padding: 0 5px;
    }
}

@media (min-width: 769px) {
    .sp-smart-grid-item {
        width: 160px;
    }
}

.sp-smart-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sp-smart-grid-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sp-smart-grid-item-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 1 / 1;
}

.sp-smart-grid-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-smart-grid-item-info {
    padding: 10px 10px 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sp-smart-grid-item-title {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    min-height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.sp-smart-grid-item-rating {
    padding: 0 10px 5px;
    text-align: center;
}

.sp-smart-grid-item-rating .star-rating {
    font-size: 11px;
    height: 1em;
    width: 5.5em;
    margin: 0 auto;
}

.sp-smart-grid-item-price {
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin-top: auto;
}

.sp-smart-grid-item-actions {
    padding: 0 10px 10px;
    display: flex;
    gap: 6px;
    align-items: center;
}

/* ========== BOTÕES DE COMPRA ========== */
.sp-wc-button,
.sp-wc-button-small {
    width: 100% !important;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffc107 100%) !important;
    color: #000 !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    line-height: normal !important;
    outline: none !important;
    touch-action: manipulation !important;
    user-select: none !important;
    pointer-events: all !important;
}

.sp-wc-button-small {
    padding: 8px 12px !important;
    font-size: 10px !important;
    border-radius: 20px !important;
    flex-grow: 1;
}

.sp-wc-button:hover,
.sp-wc-button-small:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6) !important;
    background: linear-gradient(135deg, #ffb300 0%, #ff8f00 50%, #ff6f00 100%) !important;
}

.sp-wc-button:active,
.sp-wc-button-small:active {
    transform: scale(0.95) !important;
}

/* Reset de estilos WooCommerce para os botões */
.sp-product-actions .button,
.sp-smart-grid-item-actions .button,
.sp-product-actions .add_to_cart_button,
.sp-smart-grid-item-actions .add_to_cart_button {
    all: unset !important;
}

/* ========== BOTÃO JÁ ASSISTIDO ========== */
.sp-watched-btn {
    --watched-color: #666;
    background: var(--watched-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sp-watched-btn:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.sp-watched-btn.watched {
    background: #28a745;
}

.sp-watched-btn-small {
    --watched-color: #666;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--watched-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sp-watched-btn-small:hover {
    transform: scale(1.1);
}

.sp-watched-btn-small.watched {
    background: #28a745;
}

/* ========== ETIQUETAS DE PRODUTOS ========== */
.sp-product-labels {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 5px 10px;
    align-items: flex-start;
}

.sp-product-label {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    color: white;
    border-radius: 3px;
    white-space: nowrap;
}

.sp-smart-grid-item .sp-product-labels {
    padding: 5px 10px 0;
}

/* Loading lateral da smart grid */
.sp-smart-grid-loading-lateral {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.sp-smart-grid-loading-lateral.show {
    display: flex;
}

.sp-smart-grid-loading,
.sp-smart-grid-empty {
    text-align: center;
    padding: 40px;
    color: #999;
    width: 100%;
    font-style: italic;
}

/* ========== SEÇÃO PRINCIPAL ========== */
.sp-section {
    margin: 0 !important;
    background: #fafafa;
    padding: 20px 15px 15px;
}

.sp-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    color: #000;
}

.sp-products-container {
    position: relative;
}

/* ========== GRADE DE PRODUTOS ========== */
.sp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    padding: 0 5px;
    min-height: 300px;
    position: relative;
}

@media (max-width: 768px) {
    .sp-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ========== SKELETON LOADING ========== */
.sp-product-item-skeleton,
.sp-smart-grid-item-skeleton {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.sp-product-item-skeleton .image,
.sp-smart-grid-item-skeleton .image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.sp-product-item-skeleton .image::after,
.sp-smart-grid-item-skeleton .image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

.sp-product-item-skeleton .info,
.sp-smart-grid-item-skeleton .info {
    padding: 10px;
}

.sp-product-item-skeleton .line,
.sp-smart-grid-item-skeleton .line {
    height: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.sp-product-item-skeleton .line::after,
.sp-smart-grid-item-skeleton .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    100% {
        left: 100%;
    }
}

.sp-product-item-skeleton .line:last-child,
.sp-smart-grid-item-skeleton .line:last-child {
    margin-bottom: 0;
}

.sp-product-item-skeleton .line.short,
.sp-smart-grid-item-skeleton .line.short {
    width: 60%;
}

.sp-smart-grid-item-skeleton {
    flex-shrink: 0;
    width: 140px;
}

@media (max-width: 768px) {
    .sp-smart-grid-item-skeleton {
        width: calc(45% - 6px);
    }
}

@media (min-width: 769px) {
    .sp-smart-grid-item-skeleton {
        width: 160px;
    }
}

/* ========== ITEM DE PRODUTO ========== */
.sp-product-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.sp-product-link {
    text-decoration: none;
    color: inherit;
    display: contents;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.sp-product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sp-product-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
}

.sp-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.sp-product-item:hover .sp-product-image img {
    transform: scale(1.05);
}

.sp-product-info {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sp-product-title {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    margin: 0 0 5px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sp-product-rating .star-rating {
    font-size: 12px;
    height: 1.2em;
    width: 5.5em;
    margin-bottom: 5px;
}

.sp-product-rating .star-rating::before {
    color: #d6d6d6;
}

.sp-product-rating .star-rating span::before {
    color: #ffb900;
}

.sp-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-top: auto;
    margin-bottom: 8px;
    position: relative;
}

.sp-product-price del {
    display: none !important;
}

.sp-product-price ins {
    text-decoration: none;
    background: none;
}

.sp-product-actions {
    padding: 0 10px 10px;
    display: flex;
    gap: 6px;
    align-items: center;
}

/* ========== ESTADOS DE LOADING E VAZIO ========== */
.sp-loading {
    text-align: center;
    padding: 40px;
    color: #999;
    grid-column: 1 / -1;
    width: 100%;
}

.sp-loading-more {
    text-align: center;
    padding: 20px;
    width: 100%;
    grid-column: 1 / -1;
}

.sp-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid #f0f0f0;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== TOAST DE NOTIFICAÇÃO ========== */
.sp-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 10002;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.sp-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* Estados vazios e fim de conteúdo */
.sp-empty-state,
.sp-end-message {
    text-align: center;
    padding: 40px;
    color: #999;
    grid-column: 1 / -1;
}

.sp-end-message {
    padding: 20px;
    color: #666;
    font-size: 14px;
}

/* ========== TOOLBAR INFERIOR ========== */
.sp-main-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    z-index: 999;
    transition: transform 0.3s ease-in-out;
}

.sp-main-toolbar.collapsed {
    transform: translateY(100%);
}

.sp-main-toolbar .toolbar-item {
    flex: 1;
    text-align: center;
    padding: 8px 0 5px;
    font-size: 11px;
    color: #666;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
}

.sp-main-toolbar .toolbar-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 2px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-toolbar-toggle {
    position: fixed;
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
    color: #333;
}

.sp-main-toolbar.collapsed ~ .sp-toolbar-toggle {
    bottom: 0;
}


/* ==========================================================================
   BOTÃO ADD TO CART — ESTADO DE LOADING E SUCESSO
   v1.2.1 — Spinner amarelo nativo + flash de sucesso sem "Ver carrinho"
   ========================================================================== */

/* Esconde o texto durante o loading (mantém tamanho do botão) */
.sp-product-actions .add_to_cart_button.loading,
.sp-smart-grid-item-actions .add_to_cart_button.loading,
.sp-product-actions .sp-wc-button.loading,
.sp-smart-grid-item-actions .sp-wc-button-small.loading {
    color: transparent !important;
    pointer-events: none !important;
    position: relative !important;
}

/* Spinner giratório dentro do botão amarelo */
.sp-product-actions .add_to_cart_button.loading::after,
.sp-smart-grid-item-actions .add_to_cart_button.loading::after,
.sp-product-actions .sp-wc-button.loading::after,
.sp-smart-grid-item-actions .sp-wc-button-small.loading::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    margin-left: -9px !important;
    margin-top: -9px !important;
    width: 18px !important;
    height: 18px !important;
    border: 2.5px solid rgba(0, 0, 0, 0.25) !important;
    border-top-color: #000 !important;
    border-radius: 50% !important;
    animation: sp-btn-spin 0.7s linear infinite !important;
}

/* Spinner menor para o botão da smart grid */
.sp-smart-grid-item-actions .add_to_cart_button.loading::after {
    margin-left: -7px !important;
    margin-top: -7px !important;
    width: 14px !important;
    height: 14px !important;
    border-width: 2px !important;
}

/* Estado ADDED: flash verde de sucesso */
.sp-product-actions .add_to_cart_button.added,
.sp-smart-grid-item-actions .add_to_cart_button.added {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%) !important;
    color: transparent !important;
    pointer-events: none !important;
    position: relative !important;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4) !important;
    transition: background 0.2s ease !important;
}

/* Checkmark de sucesso */
.sp-product-actions .add_to_cart_button.added::after,
.sp-smart-grid-item-actions .add_to_cart_button.added::after {
    content: '✓' !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    animation: sp-check-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.sp-smart-grid-item-actions .add_to_cart_button.added::after {
    font-size: 12px !important;
}

/* Animação do spin e do checkmark */
@keyframes sp-btn-spin {
    to { transform: rotate(360deg); }
}

@keyframes sp-check-pop {
    0%   { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
    70%  { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Esconde qualquer "Ver carrinho" que o WooCommerce tente injetar */
.sp-product-actions .added_to_cart.wc-forward,
.sp-smart-grid-item-actions .added_to_cart.wc-forward {
    display: none !important;
}
