/* Easy Sales Countdown Timer - Frontend Styles - MODERN ENHANCED */
:root {
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --depth-shadow-1: 0 1px 3px rgba(0,0,0,0.12);
  --depth-shadow-2: 0 4px 12px rgba(0,0,0,0.1);
  --depth-shadow-3: 0 12px 40px rgba(0,0,0,0.15);
  --neomorphic-light: rgba(255, 255, 255, 0.8);
  --neomorphic-dark: rgba(0, 0, 0, 0.05);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Timer Styles - Enhanced */
.easy-sct-timer {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(248,250,252,0.88));
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 16px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'SF Pro Display', system-ui, sans-serif;
    box-shadow:
        var(--depth-shadow-1),
        var(--depth-shadow-2),
        0 0 0 1px rgba(255,255,255,0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.45s var(--transition-smooth);
    animation: fadeInUp 0.6s var(--transition-smooth);
}

.easy-sct-timer:hover {
    transform: translateY(-4px);
    box-shadow:
        var(--depth-shadow-2),
        var(--depth-shadow-3),
        0 0 0 1px rgba(255,255,255,0.6) inset;
}

.easy-sct-timer.compact {
    padding: 12px 16px;
    margin: 10px 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.easy-sct-timer-header {
    margin-bottom: 12px;
}

.easy-sct-label {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.easy-sct-timer-body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.easy-sct-time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
}

.easy-sct-days,
.easy-sct-hours,
.easy-sct-minutes,
.easy-sct-seconds {
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    margin: 0 4px;
    width: 52px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.3s var(--transition-smooth);
}

.easy-sct-unit-label {
    font-size: 11px;
    color: #4b5563;
    letter-spacing: 0.6px;
    display: block;
    line-height: 1.2;
    margin-top: 8px;
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
}

.easy-sct-separator {
    font-size: 18px;
    font-weight: 700;
    color: #9ca3af;
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    line-height: 56px;
    position: relative;
    top: -4px;
}

.easy-sct-expired {
    color: #b91c1c;
    font-weight: 700;
    font-size: 15px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(254,226,226,0.9), rgba(252,165,165,0.8));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border-left: 4px solid #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
    display: block;
    animation: shake 0.5s var(--transition-smooth);
    box-shadow:
        0 4px 20px rgba(220, 38, 38, 0.15),
        0 0 0 1px rgba(255,255,255,0.3) inset;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ========== TIMER STYLE 1: Modern Compact - Enhanced ========== */
.easy-sct-timer.style1 {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.95),
        rgba(249,250,251,0.9));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.easy-sct-timer.style1 .easy-sct-days,
.easy-sct-timer.style1 .easy-sct-hours,
.easy-sct-timer.style1 .easy-sct-minutes,
.easy-sct-timer.style1 .easy-sct-seconds {
    background: linear-gradient(145deg, var(--timer-color, #10b981), color-mix(in srgb, var(--timer-color, #10b981) 70%, black));
    color: white;
    border-radius: 10px;
    box-shadow:
        0 4px 15px color-mix(in srgb, var(--timer-color, #10b981) 50%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    font-size: 22px;
    width: 52px;
    height: 56px;
    font-weight: 800;
    transition: all 0.3s var(--transition-smooth);
}

.easy-sct-timer.style1:hover .easy-sct-days,
.easy-sct-timer.style1:hover .easy-sct-hours,
.easy-sct-timer.style1:hover .easy-sct-minutes,
.easy-sct-timer.style1:hover .easy-sct-seconds {
    transform: translateY(-3px);
    box-shadow:
        0 6px 20px color-mix(in srgb, var(--timer-color, #10b981) 50%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.easy-sct-timer.style1 .easy-sct-unit-label {
    color: #374151;
    font-weight: 600;
    letter-spacing: 0.7px;
}

/* ========== TIMER STYLE 2: Minimal Circle - Enhanced ========== */
.easy-sct-timer.style2 {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.92),
        rgba(240,249,255,0.88));
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.easy-sct-timer.style2 .easy-sct-days,
.easy-sct-timer.style2 .easy-sct-hours,
.easy-sct-timer.style2 .easy-sct-minutes,
.easy-sct-timer.style2 .easy-sct-seconds {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: var(--timer-color, #3b82f6);
    padding: 8px;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 6px;
    box-shadow:
        4px 4px 8px var(--neomorphic-dark),
        -4px -4px 8px var(--neomorphic-light),
        0 0 0 1px color-mix(in srgb, var(--timer-color, #3b82f6) 10%, transparent) inset;
    transition: all 0.4s var(--transition-smooth);
}

.easy-sct-timer.style2:hover .easy-sct-days,
.easy-sct-timer.style2:hover .easy-sct-hours,
.easy-sct-timer.style2:hover .easy-sct-minutes,
.easy-sct-timer.style2:hover .easy-sct-seconds {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        6px 6px 12px var(--neomorphic-dark),
        -6px -6px 12px var(--neomorphic-light),
        0 0 0 1px color-mix(in srgb, var(--timer-color, #3b82f6) 20%, transparent) inset;
}

.easy-sct-timer.style2 .easy-sct-unit-label {
    color: #6b7280;
    font-weight: 600;
}

/* ========== TIMER STYLE 3: Simple Flat - Enhanced ========== */
.easy-sct-timer.style3 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(224, 224, 224, 0.6);
    box-shadow:
        0 4px 24px rgba(0,0,0,0.06),
        0 0 0 1px rgba(255,255,255,0.8) inset;
}

.easy-sct-timer.style3 .easy-sct-days,
.easy-sct-timer.style3 .easy-sct-hours,
.easy-sct-timer.style3 .easy-sct-minutes,
.easy-sct-timer.style3 .easy-sct-seconds {
    color: var(--timer-color, #ef4444);
    font-weight: 800;
    font-size: 22px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s var(--transition-smooth);
}

.easy-sct-timer.style3:hover .easy-sct-days,
.easy-sct-timer.style3:hover .easy-sct-hours,
.easy-sct-timer.style3:hover .easy-sct-minutes,
.easy-sct-timer.style3:hover .easy-sct-seconds {
    transform: translateY(-2px);
}

.easy-sct-timer.style3 .easy-sct-unit-label {
    color: #64748b;
    font-weight: 600;
    margin-top: 6px;
}

.easy-sct-timer.style3 .easy-sct-separator {
    color: #94a3b8;
}

/* ========== TIMER STYLE 4: Elegant Card - Enhanced ========== */
.easy-sct-timer.style4 {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--timer-color, #667eea) 95%, transparent),
        color-mix(in srgb, #764ba2 90%, transparent));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow:
        0 20px 60px color-mix(in srgb, var(--timer-color, #667eea) 30%, transparent),
        0 0 0 1px rgba(255,255,255,0.1) inset;
    position: relative;
    overflow: hidden;
}

.easy-sct-timer.style4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent);
}

.easy-sct-timer.style4 .easy-sct-label {
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}

.easy-sct-timer.style4 .easy-sct-days,
.easy-sct-timer.style4 .easy-sct-hours,
.easy-sct-timer.style4 .easy-sct-minutes,
.easy-sct-timer.style4 .easy-sct-seconds {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 10px 8px;
    border-radius: 10px;
    min-width: 52px;
    font-size: 22px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow:
        0 4px 15px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s var(--transition-smooth);
}

.easy-sct-timer.style4:hover .easy-sct-days,
.easy-sct-timer.style4:hover .easy-sct-hours,
.easy-sct-timer.style4:hover .easy-sct-minutes,
.easy-sct-timer.style4:hover .easy-sct-seconds {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow:
        0 6px 20px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.easy-sct-timer.style4 .easy-sct-unit-label {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.easy-sct-timer.style4 .easy-sct-separator {
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ========== TIMER STYLE 5: Glassmorphism Bold (Marketing) - Enhanced ========== */
.easy-sct-timer.style5 {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.82),
        rgba(245,248,252,0.72)
    );
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    color: #111827;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.7),
        0 0 40px color-mix(in srgb, var(--timer-color, #ef4444) 10%, transparent);
    animation: glassSlideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.easy-sct-timer.style5::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        color-mix(in srgb, var(--timer-color, #ef4444) 10%, transparent) 0%,
        transparent 70%
    );
    animation: rotateGlow 20s linear infinite;
}

@keyframes glassSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.easy-sct-timer.style5:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 35px 80px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.8),
        0 0 60px color-mix(in srgb, var(--timer-color, #ef4444) 15%, transparent);
}

.easy-sct-timer.style5 .easy-sct-label {
    color: #1f2937;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.4);
}

.easy-sct-timer.style5 .easy-sct-days,
.easy-sct-timer.style5 .easy-sct-hours,
.easy-sct-timer.style5 .easy-sct-minutes,
.easy-sct-timer.style5 .easy-sct-seconds {
    background: linear-gradient(145deg,
        var(--timer-color, #ef4444),
        color-mix(in srgb, var(--timer-color, #ef4444) 70%, black));
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    padding: 10px 8px;
    border-radius: 18px;
    min-width: 52px;
    width: 52px;
    height: 56px;
    box-shadow:
        0 15px 35px color-mix(in srgb, var(--timer-color, #ef4444) 50%, transparent),
        inset 0 3px 0 rgba(255,255,255,0.4),
        inset 0 -3px 6px rgba(0,0,0,0.25),
        0 0 20px color-mix(in srgb, var(--timer-color, #ef4444) 30%, transparent);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 2;
}

.easy-sct-timer.style5:hover .easy-sct-days,
.easy-sct-timer.style5:hover .easy-sct-hours,
.easy-sct-timer.style5:hover .easy-sct-minutes,
.easy-sct-timer.style5:hover .easy-sct-seconds {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 20px 45px color-mix(in srgb, var(--timer-color, #ef4444) 60%, transparent),
        inset 0 3px 0 rgba(255,255,255,0.5),
        inset 0 -3px 8px rgba(0,0,0,0.3),
        0 0 30px color-mix(in srgb, var(--timer-color, #ef4444) 40%, transparent);
}

.easy-sct-timer.style5 .easy-sct-unit-label {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-top: 8px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.easy-sct-timer.style5 .easy-sct-separator {
    color: #9ca3af;
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ========== TIMER STYLE 6: Flip Effect (Modern 3D Flip) - Enhanced ========== */
.easy-sct-timer.style6 {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--timer-color, #667eea) 95%, transparent),
        color-mix(in srgb, #764ba2 92%, transparent));
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow:
        0 25px 60px color-mix(in srgb, var(--timer-color, #667eea) 40%, transparent),
        0 0 50px color-mix(in srgb, var(--timer-color, #667eea) 20%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border-radius: 24px;
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.easy-sct-timer.style6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 80%,
        rgba(255,255,255,0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.easy-sct-timer.style6 .easy-sct-label {
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 700;
}

.easy-sct-timer.style6 .easy-sct-time-unit {
    perspective: 1000px;
    width: 52px;
    height: 56px;
    position: relative;
    margin: 0 6px;
}

.easy-sct-timer.style6 .easy-sct-days,
.easy-sct-timer.style6 .easy-sct-hours,
.easy-sct-timer.style6 .easy-sct-minutes,
.easy-sct-timer.style6 .easy-sct-seconds {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
    backface-visibility: hidden;
}

.easy-sct-timer.style6 .flip-card {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.easy-sct-timer.style6 .flip-card.flipping {
    transform: rotateX(-180deg);
}

.easy-sct-timer.style6 .flip-front,
.easy-sct-timer.style6 .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(145deg,
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.1));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow:
        0 10px 40px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.3);
    font-size: 22px;
    font-weight: 900;
}

.easy-sct-timer.style6 .flip-back {
    transform: rotateX(180deg);
    background: linear-gradient(145deg,
        rgba(255,255,255,0.25),
        rgba(255,255,255,0.15));
}

.easy-sct-timer.style6 .easy-sct-unit-label {
    color: rgba(255,255,255,0.85);
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.easy-sct-timer.style6 .easy-sct-separator {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Firefox Flip Rendering Fix - Enhanced */
@-moz-document url-prefix() {
    .easy-sct-timer.style6 .flip-card {
        transform-style: flat;
    }
    .easy-sct-timer.style6 .flip-front,
    .easy-sct-timer.style6 .flip-back {
        will-change: transform;
        transform: translateZ(0);
    }
    .easy-sct-timer.style6 .easy-sct-days,
    .easy-sct-timer.style6 .easy-sct-hours,
    .easy-sct-timer.style6 .easy-sct-minutes,
    .easy-sct-timer.style6 .easy-sct-seconds {
        backface-visibility: visible;
        -moz-backface-visibility: visible;
        transform: translateZ(0);
    }
}

/* ========== LOOP/GRID VERSIONS - Enhanced ========== */
.easy-sct-loop-timer {
    margin: 12px 0;
}

.easy-sct-loop-timer .easy-sct-timer {
    padding: 10px 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.easy-sct-loop-timer .easy-sct-timer-body {
    gap: 3px;
}

.easy-sct-loop-timer .easy-sct-time-unit {
    min-width: 34px;
}

.easy-sct-loop-timer .easy-sct-days,
.easy-sct-loop-timer .easy-sct-hours,
.easy-sct-loop-timer .easy-sct-minutes,
.easy-sct-loop-timer .easy-sct-seconds {
    font-size: 14px !important;
    width: 36px !important;
    height: 40px !important;
}

.easy-sct-loop-timer .easy-sct-unit-label {
    font-size: 10px;
}

.easy-sct-loop-timer .easy-sct-separator {
    font-size: 13px;
    padding-bottom: 8px;
}

/* Style 1 compact loop version */
.easy-sct-loop-timer .easy-sct-timer.style1 .easy-sct-days,
.easy-sct-loop-timer .easy-sct-timer.style1 .easy-sct-hours,
.easy-sct-loop-timer .easy-sct-timer.style1 .easy-sct-minutes,
.easy-sct-loop-timer .easy-sct-timer.style1 .easy-sct-seconds {
    min-width: 32px;
    font-size: 14px;
    padding: 6px 3px;
}

/* Style 2 compact loop version */
.easy-sct-loop-timer .easy-sct-timer.style2 .easy-sct-days,
.easy-sct-loop-timer .easy-sct-timer.style2 .easy-sct-hours,
.easy-sct-loop-timer .easy-sct-timer.style2 .easy-sct-minutes,
.easy-sct-loop-timer .easy-sct-timer.style2 .easy-sct-seconds {
    width: 32px;
    height: 32px;
    font-size: 13px;
}

/* ========== CART/CHECKOUT VERSIONS - Enhanced ========== */
.easy-sct-cart-timer,
.easy-sct-checkout-timer {
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 13px;
    border: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow:
        0 4px 20px rgba(0,0,0,0.06),
        0 0 0 1px rgba(255,255,255,0.4) inset;
}

.easy-sct-cart-timer .easy-sct-timer,
.easy-sct-checkout-timer .easy-sct-timer {
    padding: 8px;
    margin: 0;
}

.easy-sct-cart-timer .easy-sct-timer-body,
.easy-sct-checkout-timer .easy-sct-timer-body {
    gap: 3px;
}

.easy-sct-cart-timer .easy-sct-time-unit,
.easy-sct-checkout-timer .easy-sct-time-unit {
    min-width: 38px;
}

.easy-sct-cart-timer .easy-sct-days,
.easy-sct-cart-timer .easy-sct-hours,
.easy-sct-cart-timer .easy-sct-minutes,
.easy-sct-cart-timer .easy-sct-seconds,
.easy-sct-checkout-timer .easy-sct-days,
.easy-sct-checkout-timer .easy-sct-hours,
.easy-sct-checkout-timer .easy-sct-minutes,
.easy-sct-checkout-timer .easy-sct-seconds {
    font-size: 15px !important;
    width: 40px !important;
    height: 44px !important;
}

/* ========== INLINE FIX - Enhanced ========== */
.easy-sct-time-unit {
    display: inline-flex !important;
    flex-direction: column;
    vertical-align: middle;
}

.easy-sct-separator {
    display: inline-block !important;
    vertical-align: middle;
}

.easy-sct-timer-body > * {
    display: inline-flex !important;
    vertical-align: middle;
}

/* ========== STICKY TIMER - Enhanced ========== */
.easy-sct-sticky-timer {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 10000;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 18px 28px;
    border-radius: 60px;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.2),
        0 0 40px color-mix(in srgb, var(--timer-color, #3b82f6) 15%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 90%;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: slideInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes slideInUp {
    to {
        transform: translateX(-50%) translateY(0);
    }
}

.easy-sct-sticky-button {
    background: linear-gradient(145deg,
        var(--timer-color, #ef4444),
        color-mix(in srgb, var(--timer-color, #ef4444) 70%, black));
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow:
        0 6px 20px color-mix(in srgb, var(--timer-color, #ef4444) 40%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.easy-sct-sticky-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.6s;
}

.easy-sct-sticky-button:hover {
    background: linear-gradient(145deg,
        color-mix(in srgb, var(--timer-color, #ef4444) 80%, black),
        color-mix(in srgb, var(--timer-color, #ef4444) 50%, black));
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 10px 30px color-mix(in srgb, var(--timer-color, #ef4444) 50%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.easy-sct-sticky-button:hover::before {
    left: 100%;
}

.easy-sct-sticky-close {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #9ca3af;
    margin-left: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s var(--transition-smooth);
}

.easy-sct-sticky-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #6b7280;
    transform: rotate(90deg);
}

/* Enhanced hover effect */
.easy-sct-timer:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.6) inset;
    transition: all 0.45s var(--transition-smooth);
}

/* Enhanced expired message */
.easy-sct-expired {
    background: linear-gradient(135deg, rgba(254,226,226,0.95), rgba(252,165,165,0.85));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #b91c1c;
    font-weight: 700;
    padding: 18px;
    border-radius: 14px;
    border-left: 4px solid #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.25);
    animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(220, 38, 38, 0.15),
        0 0 0 1px rgba(255,255,255,0.4) inset;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Enhanced pulse animation for low time urgency */
.easy-sct-timer.urgent .easy-sct-time-unit {
    animation: urgentPulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes urgentPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
}

.easy-sct-timer.urgent .easy-sct-days,
.easy-sct-timer.urgent .easy-sct-hours,
.easy-sct-timer.urgent .easy-sct-minutes,
.easy-sct-timer.urgent .easy-sct-seconds {
    box-shadow:
        0 0 25px color-mix(in srgb, var(--timer-color, #ef4444) 80%, transparent),
        0 6px 20px color-mix(in srgb, var(--timer-color, #ef4444) 40%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: box-shadow 0.3s var(--transition-smooth);
}

/* ========== ADVANCED COUPONS - Enhanced ========== */
.wcesct-coupon-countdown-banner {
    background: linear-gradient(135deg,
        rgba(255, 243, 205, 0.95),
        rgba(255, 234, 167, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-left: 5px solid #ffc107;
    padding: 24px;
    margin: 24px 0;
    border-radius: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    color: #856404;
    box-shadow:
        0 8px 32px rgba(255, 193, 7, 0.25),
        0 0 0 1px rgba(255,255,255,0.4) inset;
    position: relative;
    animation: bounceIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wcesct-coupon-countdown-banner::before {
    content: "⚡";
    font-size: 28px;
    margin-right: 12px;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.wcesct-coupon-countdown-banner .easy-sct-timer {
    margin: 16px 0 0 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow:
        0 4px 24px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.5) inset;
}

.wcesct-coupon-countdown-banner .easy-sct-label {
    font-size: 16px;
    color: #856404;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 700;
}

/* ========== RESPONSIVE - Enhanced ========== */
@media (max-width: 768px) {
    .easy-sct-timer-body {
        gap: 4px;
        flex-wrap: wrap;
    }

    .easy-sct-time-unit {
        min-width: 44px;
    }

    .easy-sct-days,
    .easy-sct-hours,
    .easy-sct-minutes,
    .easy-sct-seconds {
        font-size: 18px !important;
        width: 46px !important;
        height: 50px !important;
    }

    .easy-sct-separator {
        font-size: 16px;
        padding-bottom: 8px;
    }

    .easy-sct-loop-timer .easy-sct-time-unit {
        min-width: 28px;
    }

    .easy-sct-loop-timer .easy-sct-days,
    .easy-sct-loop-timer .easy-sct-hours,
    .easy-sct-loop-timer .easy-sct-minutes,
    .easy-sct-loop-timer .easy-sct-seconds {
        font-size: 12px !important;
    }

    .easy-sct-sticky-timer {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        border-radius: 20px;
        max-width: 95%;
    }

    .wcesct-coupon-countdown-banner {
        padding: 18px;
        font-size: 15px;
    }

    .wcesct-coupon-countdown-banner .easy-sct-timer {
        padding: 14px;
    }

    .wcesct-coupon-countdown-banner .easy-sct-timer-body {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .easy-sct-timer {
        padding: 16px;
        margin: 16px 0;
    }

    .easy-sct-timer-body {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .easy-sct-time-unit {
        min-width: 38px;
        margin: 0 1px;
    }

    .easy-sct-days,
    .easy-sct-hours,
    .easy-sct-minutes,
    .easy-sct-seconds {
        font-size: 17px !important;
        width: 40px !important;
        height: 44px !important;
    }

    .easy-sct-unit-label {
        font-size: 10px !important;
        letter-spacing: 0.4px;
    }

    .easy-sct-separator {
        margin: 0 1px;
        font-size: 15px;
    }

    .easy-sct-label {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* ========== COMPATIBILITY FIXES ========== */
.woocommerce div.product .easy-sct-timer,
.woocommerce-page div.product .easy-sct-timer {
    display: block !important;
    clear: both;
}

.easy-sct-timer,
.easy-sct-timer * {
    box-sizing: border-box;
}
