/* =============================================
   Electro E-Commerce - Custom Styles
   Appended to existing style.css
   ============================================= */

:root {
    /* Use bold red theme for primary and secondary accent colors */
    --bs-primary: #dc3545;
    --bs-primary-rgb: 220, 53, 69;
    --bs-secondary: #dc3545;
    --bs-secondary-rgb: 220, 53, 69;
}

.text-primary {
    color: #dc3545 !important;
}

.bg-primary {
    background-color: #dc3545 !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #c82333 !important;
    border-color: #c82333 !important;
}

/* Single Product Carousel Dots as Image Thumbnails */
.single-carousel .owl-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-top: 14px;
    padding: 0;
}
.single-carousel .owl-dot {
    padding: 0 !important;
    background: none !important;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .2s;
    line-height: 0;
}
.single-carousel .owl-dot.active {
    border-color: #0d6efd;
}
.single-carousel .owl-dot img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f8f9fa;
    display: block;
    border-radius: 6px;
}
.single-carousel .owl-dot span { display: none; }

/* Product Cards */
.product-card {
    transition: transform .2s ease, box-shadow .2s ease;
    border-radius: 12px;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.15) !important;
}

/* Call Button */
.call-btn {
    background: linear-gradient(135deg, #FF6B35, #e85a27);
    border: none;
    letter-spacing: .3px;
}
.call-btn:hover {
    background: linear-gradient(135deg, #e85a27, #d44f20);
    color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    letter-spacing: .3px;
}
.whatsapp-btn:hover {
    background: linear-gradient(135deg, #1ebe5a, #0f7a6d);
    color: white;
}

/* Color Swatch */
.product-color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #dee2e6;
    vertical-align: middle;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.15);
}

/* Admin Sidebar on Mobile */
@media (max-width: 992px) {
    .single-carousel .owl-dot img { width: 48px; height: 48px; }
}
