/* Container max-width override */
.container {
    max-width: 1380px !important;
}

.ld-flashdeal-empty {
    margin: 20px 0;
}

/* Progress pill + bar */
.kmar-fd-progress {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.3;
}

.kmar-fd-progress-pill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #9c1921, #ce1f2a);
    color: #fff;
    font-weight: 600;
    overflow: hidden;
}

.kmar-fd-progress-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.25) 0,
        rgba(255,255,255,0.25) 6px,
        transparent 6px,
        transparent 12px
    );
    opacity: 0.7;
    pointer-events: none;
}

.kmar-fd-text-left,
.kmar-fd-text-right {
    position: relative;
    z-index: 1;
}

.kmar-fd-text-right {
    margin-left: 8px;
}

.kmar-fd-bar {
    margin-top: 3px;
    width: 100%;
    height: 4px;
    background: #fd4c57;
    border-radius: 999px;
    overflow: hidden;
}

.kmar-fd-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #9c1921, #ce1f2a);
    transition: width 0.4s ease;
}

@media (max-width: 480px) {
    .kmar-fd-progress-pill {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* Schedule layout */
.ldfd-schedule-slots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 20px;
    margin-top: 20px;
}

.ldfd-schedule-slot {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid #f1f1f1;
}

.ldfd-schedule-slot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ldfd-schedule-slot-label {
    font-weight: 700;
    font-size: 18px;
}

.ldfd-schedule-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.ldfd-schedule-badge--running {
    background: #9c1921;
    color: #fff;
}

.ldfd-schedule-badge--upcoming {
    background: #ffe4a3;
    color: #8a5b00;
}

.ldfd-schedule-badge--empty {
    background: #eee;
    color: #666;
}

@media (max-width: 991px) {
    .ldfd-schedule-slots {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 575px) {
    .ldfd-schedule-slots {
        grid-template-columns: repeat(1, minmax(0,1fr));
    }
}

.ldfd-flash-label{
    display:inline-block;
    background:#ff4444;
    color:#fff;
    padding:4px 8px;
    border-radius:4px;
    font-size:13px;
    margin-bottom:8px;
}
.ldfd-flash-label .ldfd-flash-off{
    font-weight:600;
    margin-left:6px;
}

.ldfd-viewall-btn{
    background:#222;
    color:#fff;
    padding:8px 16px;
    border-radius:4px;
    text-decoration:none;
    font-size:14px;
        margin-top: -1.5rem;
}
.ldfd-viewall-btn:hover{background:#000;color:#fff;}

.ldfd-schedule-wrapper {
    margin-bottom: 5rem;
}

.ldfd-schedule-tabs{margin-top:25px;}
.ldfd-tab-nav{list-style:none;display:flex;gap:12px;padding:0;margin:0 0 18px;}
.ldfd-tab-nav-item{cursor:pointer;padding:10px 16px;background:#f5f5f5;border-radius:6px;position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:90px;}
.ldfd-tab-nav-item.active{background:#222;color:#fff;}
.ldfd-badge{display:inline-block;margin-top:4px;font-size:11px;padding:2px 6px;border-radius:4px;}
.ldfd-badge.running{background:#ff4444;color:#fff;}
.ldfd-badge.upcoming{background:#ffa500;color:#fff;}
.ldfd-badge.empty{background:#ccc;color:#333;}
.ldfd-tab-panels .ldfd-tab-panel{display:none;}
.ldfd-tab-panels .ldfd-tab-panel.active{display:block;}
.ldfd-empty{color:#666;font-style:italic;}

.ldfd-toggle.on{background:#2ecc71;border-color:#2ecc71;color:#fff;}
.ldfd-toggle.off{background:#e0e0e0;color:#333;}

.ldfd-quickedit{background:#fafafa;border:1px solid #ddd;padding:10px;margin-top:6px;border-radius:4px;}
.ldfd-quickedit select,.ldfd-quickedit input{margin-right:4px;margin-bottom:4px;}
.ldfd-quickedit .button{margin-right:4px;}

.ldfd-variation-bulk{margin:20px 0;padding:15px;border:1px solid #ddd;background:#f9f9f9;border-radius:6px;}
.ldfd-variation-bulk h3{margin-top:0;}
.ldfd-variation-bulk table td small{color:#666;}
.ldfd-variation-controls select,
.ldfd-variation-controls input{margin:4px 6px 4px 0;}

/* Single Product Flash Label */
.ldfd-single-product-label {
    margin-bottom: 20px;
    padding: 0;
}

.ldfd-single-label-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #9c1921 0%, #ce1f2a 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(255, 75, 119, 0.3);
}

.ldfd-single-label-text {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ldfd-single-countdown {
    display: flex;
    align-items: center;
}

.ldfd-single-time {
    font-size: 16px;
    font-weight: bold;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 3px;
}

@media (max-width: 575px) {
    .ldfd-single-label-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Load More Button */
.ldfd-load-more-wrap {
    text-align: center;
    margin-top: 30px;
}

.ldfd-load-more-btn {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #9c1921 0%, #ce1f2a 100%);
    color: white !important;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 75, 119, 0.3);
}

.ldfd-load-more-btn:hover {
    background: linear-gradient(135deg, #ce1f2a 0%, #ff1f4d 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 119, 0.4);
}

.ldfd-load-more-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.ldfd-loading {
    color: #999;
    font-style: italic;
    margin-top: 10px;
}
.flash__deal-list .has-shadow {
    margin-bottom: 3rem;
}