/* Electro Theme Deal of the Day & Tabbed Products Section */

.electro-deal-section {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.electro-deal-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* Deal of the Day Featured Card (Left Side) */
.electro-deal-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.electro-deal-slide {
    display: none;
    animation: fadeInDeal 0.4s ease-in-out;
}

.electro-deal-slide.is-active {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@keyframes fadeInDeal {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.electro-deal-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.electro-deal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease, border-radius 0.2s ease;
}

.electro-deal-dot.is-active {
    background: var(--accent, #2563eb) !important;
    width: 20px !important;
    border-radius: 10px !important;
}

.electro-deal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #e2e8f0;
}

.electro-deal-header__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text, #1e293b);
    margin: 0;
}

.electro-deal-badge {
    background: #ef4444;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.electro-deal-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.electro-deal-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.electro-deal-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.electro-deal-product-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.5rem 0;
}

.electro-deal-product-title a {
    color: var(--text, #1e293b);
    text-decoration: none;
    transition: color 0.15s ease;
}

.electro-deal-product-title a:hover {
    color: var(--accent, #2563eb);
}

.electro-deal-prices {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.electro-deal-price-current {
    font-size: 1.4rem;
    font-weight: 800;
    color: #dc2626;
}

.electro-deal-price-old {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Countdown Timer Box */
.electro-timer-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.85rem;
    text-align: center;
    margin-bottom: 1rem;
}

.electro-timer-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.electro-timer-units {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.electro-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.electro-timer-val {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    width: 42px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.electro-timer-sub {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 0.2rem;
    text-transform: uppercase;
}

.electro-timer-sep {
    font-size: 1.1rem;
    font-weight: 800;
    color: #94a3b8;
    align-self: center;
    margin-top: -0.6rem;
}

/* Right Side: Tabbed Products */
.electro-tabbed-container {
    background: #ffffff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    min-width: 0;
    max-width: 100%;
}

.electro-tabs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.electro-tabs-nav {
    display: flex;
    gap: 0.5rem;
}

.electro-tab-btn {
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: #64748b;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.electro-tab-btn:hover {
    color: var(--accent, #2563eb);
    background: #f1f5f9;
}

.electro-tab-btn.is-active {
    color: var(--accent, #2563eb);
    background: #eff6ff;
    border-bottom: 2px solid var(--accent, #2563eb);
}

/* Responsive Grid for Deal Section */
@media (max-width: 991px) {
    .electro-deal-grid {
        grid-template-columns: 1fr;
    }
}
