/**
 * Frontend Button Styles for WooCommerce Dynamic Product Catalog Pro
 */

.wc-catalog-button-container {
    margin: 15px 0;
    display: inline-block;
}

.wc-catalog-shop-hook {
    margin: 10px 0 25px 0;
    display: block;
}

.wc-catalog-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.wc-catalog-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    text-decoration: none;
}

.wc-catalog-btn-icon {
    flex-shrink: 0;
    vertical-align: middle;
}

/* Primary Style */
.wc-catalog-btn-primary {
    background-color: #2563eb;
    color: #ffffff !important;
}
.wc-catalog-btn-primary:hover {
    background-color: #1d4ed8;
    color: #ffffff !important;
}

/* Gradient Style */
.wc-catalog-btn-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #ffffff !important;
}
.wc-catalog-btn-gradient:hover {
    opacity: 0.95;
    color: #ffffff !important;
}

/* Outline Style */
.wc-catalog-btn-outline {
    background-color: transparent;
    color: #1e293b !important;
    border: 2px solid #cbd5e1;
    box-shadow: none;
}
.wc-catalog-btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb !important;
    background-color: #f8fafc;
}

/* Dark Slate Style */
.wc-catalog-btn-dark {
    background-color: #0f172a;
    color: #ffffff !important;
}
.wc-catalog-btn-dark:hover {
    background-color: #1e293b;
    color: #ffffff !important;
}

/* Loading Spinner */
.wc-catalog-btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: wcCatalogSpin 0.8s linear infinite;
    display: inline-block;
}
.wc-catalog-btn-outline .wc-catalog-btn-spinner {
    border: 2px solid rgba(37,99,235,0.2);
    border-top-color: #2563eb;
}

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

/* Floating Badge */
.wc-catalog-floating-badge {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
}

.wc-catalog-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff !important;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    transition: all 0.25s ease;
    border: 2px solid rgba(255,255,255,0.15);
}

.wc-catalog-float-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: #2563eb;
    box-shadow: 0 8px 24px rgba(37,99,235,0.35);
    color: #ffffff !important;
    text-decoration: none;
}
