/* Special Campaign Template 01 Overlay Styles - Fluid Responsive Engine */
.special-campaign-overlay-strip.template-01-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: clamp(34px, 16vw, 48px);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #900c3f 0%, #c1121f 35%, #800f2f 70%, #590d22 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    user-select: none;
    overflow: hidden;
    line-height: 1;
    border-top: 1.5px solid rgba(255, 255, 255, 0.45);
    container-type: inline-size;
    container-name: campaignBanner;
}

/* Zone 1: Left 3D Title */
.template-01-strip .zone-left {
    flex: 0 0 32%;
    max-width: 32%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #d90429 0%, #900c3f 100%);
    padding: 2px 4px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    z-index: 3;
}

.template-01-strip .zone-left .title-3d {
    font-size: clamp(12px, 8cqw, 18px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.3px;
    text-shadow: 1px 1px 0px #590d22, 2px 2px 0px #38040e, 0 0 8px rgba(255,255,255,0.7);
    font-style: italic;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    max-width: 100%;
    transform: translateX(-1.5px);
}

.template-01-strip .zone-left .subtitle-text {
    font-size: clamp(5.5px, 3.8cqw, 9px);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: clamp(0.3px, 0.3cqw, 0.6px);
    margin-top: 1px;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    white-space: nowrap;
    text-align: center;
    transform: translateX(-1.5px);
}

/* Zone 2: Middle Glossy Angled Discount */
.template-01-strip .zone-middle {
    flex: 0 0 34%;
    max-width: 34%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #c1121f 0%, #800f2f 100%);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    margin-left: -2%;
    padding: 0 1px;
    position: relative;
    z-index: 2;
}

.template-01-strip .discount-badge-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5px, 1.2cqw, 3px);
}

.template-01-strip .discount-number {
    font-size: clamp(16px, 12cqw, 27px);
    font-weight: 900;
    color: #ffee32;
    text-shadow: 1px 1.5px 0px #000000, 0 0 10px rgba(255, 238, 50, 0.9);
    letter-spacing: -0.5px;
    line-height: 1;
}

.template-01-strip .discount-stack-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 0.9;
}

.template-01-strip .up-to-text {
    font-size: clamp(5.5px, 3.5cqw, 8px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.template-01-strip .percent-off-group {
    display: flex;
    align-items: baseline;
    gap: 0.5px;
}

.template-01-strip .percent-symbol {
    font-size: clamp(9px, 6cqw, 14px);
    font-weight: 900;
    color: #ffee32;
}

.template-01-strip .off-text {
    font-size: clamp(6.5px, 4cqw, 10px);
    font-weight: 900;
    color: #ffffff;
}

/* Zone 3: Right Live Countdown */
.template-01-strip .zone-right {
    flex: 0 0 34%;
    max-width: 34%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #800f2f 0%, #590d22 100%);
    padding: 1px 2px;
    position: relative;
    z-index: 1;
}

.template-01-strip .countdown-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5px;
    width: 100%;
}

.template-01-strip .campaign-upcoming-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1px, 0.5cqw, 2px);
    width: 100%;
    height: 100%;
    text-align: center;
}

.template-01-strip .upcoming-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: #ffeb3b;
    color: #b91c1c;
    font-size: clamp(6px, 3cqw, 8.5px);
    font-weight: 900;
    padding: 1.5px 5px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.template-01-strip .upcoming-date-label {
    color: #ffffff;
    font-size: clamp(4.5px, 2.2cqw, 6.5px);
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
    white-space: nowrap;
}

.template-01-strip .campaign-live-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 1.5px;
}

.template-01-strip .ends-in-header {
    font-size: clamp(5.5px, 3.2cqw, 7.2px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-transform: uppercase;
    opacity: 0.95;
    line-height: 1;
    margin-bottom: 0px;
}

.template-01-strip .timer-digits {
    display: flex;
    align-items: center;
    gap: clamp(1.5px, 1cqw, 2px);
}

.template-01-strip .timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    padding: clamp(1px, 0.7cqw, 1.5px) clamp(1px, 1cqw, 2.5px);
    min-width: clamp(12.5px, 7.5cqw, 17px);
    box-shadow: none;
}

.template-01-strip .timer-box b {
    font-size: clamp(7px, 4.5cqw, 9.5px);
    font-weight: 900;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.template-01-strip .timer-box i.unit-lbl {
    font-size: clamp(3.2px, 2cqw, 4.2px);
    font-style: normal;
    color: #ffee32;
    font-weight: 800;
    margin-top: 0.5px;
    letter-spacing: 0.2px;
}

/* Single Product Page Gallery Styling Overrides (Desktop >=992px: Bold Grand Sizing) */
@media (min-width: 992px) {
    .main-slider .special-campaign-overlay-strip.template-01-strip {
        height: 70px !important;
        bottom: 0 !important;
        z-index: 20 !important;
    }

    .main-slider .template-01-strip .zone-left {
        flex: 0 0 30% !important;
        max-width: 30% !important;
        padding: 3px 6px !important;
    }

    .main-slider .template-01-strip .zone-middle {
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }

    .main-slider .template-01-strip .zone-right {
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }

    .main-slider .template-01-strip .zone-left .title-3d {
        font-size: 32px !important;
        line-height: 1 !important;
        transform: translateX(-2.5px) !important;
    }

    .main-slider .template-01-strip .zone-left .subtitle-text {
        font-size: 14px !important;
        letter-spacing: 1.5px !important;
        transform: translateX(-2.5px) !important;
    }

    .main-slider .template-01-strip .discount-number {
        font-size: 48px !important;
        line-height: 0.9 !important;
    }

    .main-slider .template-01-strip .up-to-text {
        font-size: 12px !important;
        letter-spacing: 1px !important;
    }

    .main-slider .template-01-strip .percent-symbol {
        font-size: 22px !important;
    }

    .main-slider .template-01-strip .off-text {
        font-size: 16px !important;
    }

    .main-slider .template-01-strip .ends-in-header {
        font-size: 10px !important;
        letter-spacing: 1px !important;
        margin-bottom: 2px !important;
    }

    .main-slider .template-01-strip .timer-box {
        padding: 4px 7px !important;
        min-width: 36px !important;
        border-radius: 2px !important;
    }

    .main-slider .template-01-strip .timer-box b {
        font-size: 19px !important;
        line-height: 1 !important;
    }

    .main-slider .template-01-strip .timer-box i.unit-lbl {
        font-size: 8.5px !important;
        margin-top: 1px !important;
    }
}

/* Single Product Page Gallery Styling Overrides (Mobile & Tablet <992px: Bold Sizing) */
@media (max-width: 991.98px) {
    .main-slider .special-campaign-overlay-strip.template-01-strip {
        height: 60px !important;
        bottom: 0 !important;
        z-index: 20 !important;
    }

    .main-slider .template-01-strip .zone-left {
        flex: 0 0 30% !important;
        max-width: 30% !important;
        padding: 2px 4px !important;
    }

    .main-slider .template-01-strip .zone-left .title-3d {
        font-size: 26px !important;
        line-height: 1 !important;
        transform: translateX(-2px) !important;
    }

    .main-slider .template-01-strip .zone-left .subtitle-text {
        font-size: 12px !important;
        letter-spacing: 1.2px !important;
        transform: translateX(-2px) !important;
    }

    .main-slider .template-01-strip .zone-middle {
        flex: 0 0 35% !important;
        max-width: 35% !important;
        padding: 0 2px !important;
    }

    .main-slider .template-01-strip .discount-badge-box {
        gap: 2.5px !important;
    }

    .main-slider .template-01-strip .discount-number {
        font-size: 38px !important;
        line-height: 0.9 !important;
    }

    .main-slider .template-01-strip .up-to-text {
        font-size: 10px !important;
        letter-spacing: 0.8px !important;
    }

    .main-slider .template-01-strip .percent-symbol {
        font-size: 18px !important;
    }

    .main-slider .template-01-strip .off-text {
        font-size: 13px !important;
    }

    .main-slider .template-01-strip .zone-right {
        flex: 0 0 35% !important;
        max-width: 35% !important;
        padding: 2px 2px !important;
    }

    .main-slider .template-01-strip .ends-in-header {
        font-size: 9px !important;
        letter-spacing: 0.6px !important;
        margin-bottom: 1px !important;
    }

    .main-slider .template-01-strip .timer-digits {
        gap: 2.5px !important;
    }

    .main-slider .template-01-strip .timer-box {
        min-width: 29px !important;
        padding: 2.5px 5px !important;
        border-radius: 2px !important;
    }

    .main-slider .template-01-strip .timer-box b {
        font-size: 15.5px !important;
        line-height: 1 !important;
    }

    .main-slider .template-01-strip .timer-box i.unit-lbl {
        font-size: 7px !important;
        margin-top: 0.5px !important;
    }
}

/* Single Product Page Ultra-Narrow Screen Safety (Galaxy Z Fold 5 / Screens <= 360px) */
@media (max-width: 360px) {
    .main-slider .special-campaign-overlay-strip.template-01-strip {
        height: 52px !important;
    }

    .main-slider .template-01-strip .zone-left .title-3d {
        font-size: 22px !important;
    }

    .main-slider .template-01-strip .zone-left .subtitle-text {
        font-size: 10px !important;
    }

    .main-slider .template-01-strip .discount-number {
        font-size: 32px !important;
    }

    .main-slider .template-01-strip .up-to-text {
        font-size: 8.5px !important;
    }

    .main-slider .template-01-strip .percent-symbol {
        font-size: 15px !important;
    }

    .main-slider .template-01-strip .off-text {
        font-size: 11px !important;
    }

    .main-slider .template-01-strip .ends-in-header {
        font-size: 7.5px !important;
    }

    .main-slider .template-01-strip .timer-digits {
        gap: 1.5px !important;
    }

    .main-slider .template-01-strip .timer-box {
        min-width: 23px !important;
        padding: 2px 3.5px !important;
    }

    .main-slider .template-01-strip .timer-box b {
        font-size: 12.5px !important;
    }

    .main-slider .template-01-strip .timer-box i.unit-lbl {
        font-size: 5.5px !important;
    }
}

/* Responsive adjustments for Product Grid & Mobile Cards */
@media (max-width: 768px) {
    .special-campaign-overlay-strip.template-01-strip {
        height: 38px;
    }
    .template-01-strip .zone-left .title-3d { font-size: 14px; }
    .template-01-strip .zone-left .subtitle-text { font-size: 7px; }
    .template-01-strip .discount-number { font-size: 20px; }
    .template-01-strip .up-to-text { font-size: 6px; }
    .template-01-strip .percent-symbol { font-size: 10px; }
    .template-01-strip .off-text { font-size: 7.5px; }
    .template-01-strip .ends-in-header { font-size: 6.5px; }
    .template-01-strip .timer-digits { gap: 2px; }
    .template-01-strip .timer-box { min-width: 15px; padding: 1.5px 2px; border-radius: 2px; }
    .template-01-strip .timer-box b { font-size: 8.5px; }
    .template-01-strip .timer-box i.unit-lbl { font-size: 4px; }
}

@media (max-width: 576px) {
    .special-campaign-overlay-strip.template-01-strip {
        height: 34px;
        bottom: 0;
    }
    .template-01-strip .zone-left {
        flex: 0 0 31%;
        max-width: 31%;
        padding: 1px 4px 1px 1px;
    }
    .template-01-strip .zone-left .title-3d { 
        font-size: 12px; 
        transform: translateX(-1px);
    }
    .template-01-strip .zone-left .subtitle-text { 
        font-size: 5.5px; 
        transform: translateX(-1px);
    }
    .template-01-strip .zone-middle {
        flex: 0 0 34%;
        max-width: 34%;
        padding: 0 1px;
    }
    .template-01-strip .discount-badge-box {
        gap: 1.5px;
    }
    .template-01-strip .discount-number { 
        font-size: 16px; 
        line-height: 1;
    }
    .template-01-strip .up-to-text { 
        font-size: 5px; 
        line-height: 0.9;
    }
    .template-01-strip .percent-symbol { 
        font-size: 8.5px; 
    }
    .template-01-strip .off-text { 
        font-size: 6px; 
    }
    .template-01-strip .zone-right {
        flex: 0 0 35%;
        max-width: 35%;
        padding: 1px 1px;
    }
    .template-01-strip .ends-in-header { 
        font-size: 5.5px; 
        margin-bottom: 0px;
    }
    .template-01-strip .timer-digits { 
        gap: 1.5px; 
    }
    .template-01-strip .timer-box { 
        min-width: 12.5px; 
        padding: 1px 1px; 
        border-radius: 2px; 
    }
    .template-01-strip .timer-box b { 
        font-size: 7px; 
        line-height: 1;
    }
    .template-01-strip .timer-box i.unit-lbl { 
        font-size: 3.2px; 
        margin-top: 0px;
    }
}
