.pwsc-wrapper.pwsc-rtl {
    direction: rtl;
    text-align: right;
    background: var(--pwsc-bg, rgba(255, 255, 255, 0.88));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--pwsc-border, rgba(197, 157, 95, 0.25));
    border-radius: var(--pwsc-radius, 20px);
    padding: var(--pwsc-spacing, 20px);
    margin: 22px 0;
    box-shadow: 0 12px 32px rgba(197, 157, 95, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Guard against themes/vendor plugins that float or absolutely-position
       elements inside the product summary — keep the box on its own row
       and above overlapping siblings. */
    position: relative;
    z-index: 5;
    clear: both;
    float: none;
    width: 100%;
}

.pwsc-wrapper .pwsc-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 16px;
}

.pwsc-wrapper .pwsc-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pwsc-wrapper .pwsc-title-text {
    font-size: calc(var(--pwsc-font-size, 15px) * 1.15);
    font-weight: 800;
    color: var(--pwsc-accent, #c59d5f);
    letter-spacing: -0.2px;
}

.pwsc-wrapper .pwsc-subtitle {
    font-size: calc(var(--pwsc-font-size, 15px) * 0.85);
    color: var(--pwsc-text, #1e293b);
    opacity: 0.75;
    font-weight: 500;
}

.pwsc-wrapper .pwsc-timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    direction: rtl;
}

.pwsc-wrapper .pwsc-time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pwsc-wrapper .pwsc-flip-card {
    background: var(--pwsc-box-bg, rgba(248, 249, 250, 0.95));
    color: var(--pwsc-text, #1e293b);
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-radius: calc(var(--pwsc-radius, 20px) * 0.6);
    border: 1px solid rgba(197, 157, 95, 0.15);
    font-size: calc(var(--pwsc-font-size, 15px) * 1.6);
    font-weight: 800;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.pwsc-wrapper .pwsc-flip-card .pwsc-card-val {
    display: block;
    backface-visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwsc-wrapper .pwsc-flip-card.flip .pwsc-card-val {
    animation: pwscSmoothFlip 0.4s ease-in-out;
}

@keyframes pwscSmoothFlip {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-3px) scale(0.92); opacity: 0.6; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.pwsc-wrapper .pwsc-label {
    font-size: calc(var(--pwsc-font-size, 15px) * 0.8);
    color: var(--pwsc-text, #1e293b);
    margin-top: 8px;
    opacity: 0.8;
    font-weight: 600;
}

@media (max-width: 576px) {
    .pwsc-wrapper.pwsc-rtl {
        padding: 14px;
        border-radius: 16px;
    }
    .pwsc-wrapper .pwsc-timer-grid {
        gap: 8px;
    }
    .pwsc-wrapper .pwsc-flip-card {
        padding: 8px 0;
        font-size: calc(var(--pwsc-font-size, 15px) * 1.3);
        border-radius: 10px;
    }
    .pwsc-wrapper .pwsc-label {
        font-size: 11px;
        margin-top: 4px;
    }
}
