/* ==========================================================================
   WICCA WHATSAPP CATALOG & DRAWER STYLES
   ========================================================================== */

/* Product Card Bottom Actions (Single clean full-width button) */
.product-card-bottom-actions {
    display: flex;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.btn-card-order {
    width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1e293b !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border: none !important;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-card-order:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.btn-card-order i {
    font-size: 13px;
}

/* Card Hover WhatsApp Action (Informações do Produto) */
.product-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-actions .card-action-wa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 11px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
    letter-spacing: 0.2px;
}

.product-actions .card-action-wa:hover {
    background: #1ebc59 !important;
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5) !important;
    color: #ffffff !important;
}

.product-actions .card-action-wa i {
    font-size: 17px !important;
}

/* Single Product: Doubt / Question WhatsApp Button */
.wicca-direct-wa-wrap {
    margin-top: 18px;
    margin-bottom: 24px;
}

.wicca-btn-direct-wa {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 13px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
    width: 100%;
    max-width: 380px;
}

.wicca-btn-direct-wa:hover {
    background-color: #1ebc59 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4) !important;
}

.wicca-btn-direct-wa i {
    font-size: 19px;
    color: #ffffff;
}

/* Floating WhatsApp Cart Button (Always visible) */
.wicca-floating-cart-trigger {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #111827;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex !important;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 99990;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    border: 2px solid #25D366;
}

.wicca-floating-cart-trigger:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    background: #1f2937;
}

.wicca-floating-cart-trigger .cart-icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #25D366;
}

.wicca-floating-cart-trigger .cart-badge {
    background: #25D366;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.wicca-floating-cart-trigger .cart-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Drawer Backdrop */
.wicca-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99998;
}

.wicca-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* WhatsApp Cart Drawer */
.wicca-catalog-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.wicca-catalog-drawer.active {
    right: 0;
}

/* Drawer Header */
.wicca-drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
}

.wicca-drawer-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wicca-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.wicca-drawer-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Drawer Body / Items List */
.wicca-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.wicca-empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.wicca-empty-cart i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
    display: block;
}

.wicca-empty-cart p {
    font-size: 15px;
    margin-bottom: 20px;
}

/* Cart Item */
.wicca-drawer-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}

.wicca-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.wicca-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wicca-item-info {
    flex: 1;
    min-width: 0;
}

.wicca-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wicca-item-price {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.wicca-qty-control {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.wicca-qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #334155;
}

.wicca-qty-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.wicca-qty-value {
    font-size: 13px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.wicca-item-remove {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 6px;
    transition: color 0.2s;
}

.wicca-item-remove:hover {
    color: #ef4444;
}

/* Drawer Footer */
.wicca-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
}

.wicca-drawer-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

/* WhatsApp Notice Box */
.wicca-drawer-notice {
    background: #FAF8FC;
    border: 1px solid #E4D7F5;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wicca-notice-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.wicca-notice-icon {
    color: #16a34a;
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.wicca-notice-item-precos .wicca-notice-icon {
    color: #6A3A9B;
}

.wicca-notice-text {
    font-size: 12px;
    line-height: 1.45;
    color: #334155;
}

.wicca-notice-text strong {
    display: block;
    font-size: 12.5px;
    margin-bottom: 2px;
    color: #2A1740;
}

.wicca-notice-text p {
    margin: 0;
    color: #5C4B73;
}

.wicca-notice-item-precos {
    padding-top: 8px;
    border-top: 1px dashed #E4D7F5;
}

.wicca-btn-send-wa {
    width: 100%;
    background: #25D366;
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: all 0.2s ease;
    text-decoration: none;
}

.wicca-btn-send-wa:hover {
    background: #1ebc59;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.wicca-btn-send-wa i {
    font-size: 20px;
}
