.almas-sale-progress-container {
    width: 100%;
    margin: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(var(--almas-glass-blur)) saturate(var(--almas-glass-saturate));
    -webkit-backdrop-filter: blur(var(--almas-glass-blur)) saturate(var(--almas-glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--almas-radius-element, 12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.almas-sale-progress-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    transform: rotate(30deg);
    pointer-events: none;
    z-index: 0;
}

.almas-sale-info-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.almas-sale-title {
    font-size: 15px;
    font-weight: 800;
    color: #ef4444;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.almas-sale-percentage {
    background: #ef4444;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.almas-sale-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.almas-sale-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff0055, #ff9900);
    border-radius: 8px;
    width: 0;
    position: relative;
    transition: width 1s linear;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

.almas-sale-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: almas-liquid-shine 2s infinite linear;
}

@keyframes almas-liquid-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.almas-sale-timer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.almas-sale-btn-wrapper {
    flex: 0 0 auto;
    min-width: 200px;
}

.almas-sale-btn-wrapper div.almas-single-product-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.almas-sale-timer-wrapper {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-start;
}

.almas-sale-progress-text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    direction: ltr;
}

.almas-timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px 10px;
    border-radius: var(--almas-radius-element, 8px);
    min-width: 45px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.almas-timer-val {
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.almas-timer-label {
    font-size: 10px;
    font-weight: 600;
    color: #4b5563;
    margin-top: 4px;
}

.almas-timer-sec .almas-timer-val {
    color: #ef4444;
}

.almas-timer-sep {
    font-size: 18px;
    font-weight: 700;
    color: #9ca3af;
    animation: almas-blink 1s infinite;
}

@keyframes almas-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.almas-sale-expired-actions {
    display: none;
    position: relative;
    z-index: 1;
}

.almas-sale-expired-actions div.almas-single-product-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.almas-sale-progress-container.almas-sale-finished .almas-sale-info-top,
.almas-sale-progress-container.almas-sale-finished .almas-sale-progress-track,
.almas-sale-progress-container.almas-sale-finished .almas-sale-timer-row {
    display: none;
}

.almas-sale-progress-container.almas-sale-finished .almas-sale-expired-actions {
    display: block;
}

body.dark-mode .almas-sale-progress-container {
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

body.dark-mode .almas-sale-info-top .almas-sale-title { color: #f87171; }
body.dark-mode .almas-sale-progress-track { background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 2px 4px rgba(0,0,0,0.2); }
body.dark-mode .almas-timer-box { background: rgba(30, 41, 59, 0.6); border-color: rgba(255, 255, 255, 0.1); }
body.dark-mode .almas-timer-val { color: #f3f4f6; }
body.dark-mode .almas-timer-label { color: #9ca3af; }
body.dark-mode .almas-timer-sec .almas-timer-val { color: #f87171; }

@media (max-width: 1024px) {
    .almas-sale-timer-row { flex-wrap: wrap; justify-content: center; }
    .almas-sale-btn-wrapper { flex: 1 1 45%; min-width: auto; }
    .almas-sale-timer-wrapper { flex: 1 1 100%; order: -1; margin-bottom: 10px; justify-content: center; }
    .almas-sale-progress-text { justify-content: center; }
    .almas-sale-progress-container { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--almas-glass-bg-solid) !important; }
    body.dark-mode .almas-sale-progress-container { background: var(--almas-glass-bg-solid) !important; }
}

@media (max-width: 768px) {
    .almas-sale-progress-container { padding: 12px; }
    .almas-sale-info-top { margin-bottom: 8px; }
    .almas-sale-timer-row { flex-direction: column; gap: 8px; margin-top: 12px; }
    .almas-sale-btn-wrapper { width: 100%; flex: 1 1 100%; }
    .almas-sale-timer-wrapper { margin-bottom: 5px; order: -1; }
    .almas-timer-box { padding: 4px 8px; min-width: 40px; }
    .almas-timer-val { font-size: 14px; }
    .almas-timer-label { font-size: 9px; }
}
