/* =========================================================
 * 倒计时模块 全部样式合集
 * 来源: static/themes/default/css/products/detail/module_9.css
 * 覆盖: 基础共享 + one($CountdownType==3) + two($CountdownType==2) + three($CountdownType==1) + 响应式
 * ========================================================= */

/* ===================== 基础共享样式 ===================== */
.add-pro_info-countdown-timer {
    max-width: 500px;
    width: 100%;
    margin-bottom: 13px;
    overflow: hidden
}

.add-pro_info-countdown-timer .countdown_dialog_time {
    text-transform: capitalize
}

.add-pro_info-countdown-timer .des {
    font-weight: 600;
    padding-bottom: 13px
}

.add-pro_info-countdown-timer .countdown_dialog_time > div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center
}

.add-pro_info-countdown-timer span:first-child,
.add-pro_info-countdown-timer .flip {
    font-size: 50px;
    font-weight: 700
}

.add-pro_info-countdown-timer span:last-child {
    font-size: 13px;
    font-weight: 500
}

/* ===================== $CountdownType == 3 → one 变体 ===================== */
.countdown-timer-one > div {
    width: 102px;
    text-align: center;
    background-color: #ffae00;
    border-radius: 2px
}

.countdown-timer-one > div:first-child {
    background-color: #099848
}

.countdown-timer-one > div:first-child span {
    color: #fff
}

.countdown-timer-one span {
    display: inline-block;
    width: 100%;
    height: 100%
}

.countdown-timer-one span:first-child {
    color: #fff
}

.countdown-timer-one span:last-child {
    color: #543900;
    padding: 6px 0;
    background: linear-gradient(to bottom, #00000059, #0000001a)
}

/* ===================== $CountdownType == 2 → two 变体 ===================== */
.add-pro_info-countdown-timer-two {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000
}

.add-pro_info-countdown-timer-two .r {
    width: 43px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 23px
}

.add-pro_info-countdown-timer-two .r img {
    max-width: fit-content
}

.add-pro_info-countdown-timer-two .r .g {
    width: 15px
}

.add-pro_info-countdown-timer-two .r .t {
    width: 13px
}

.add-pro_info-countdown-timer-two .r .c {
    width: 16px
}

.add-pro_info-countdown-timer-two .l {
    flex: 1;
    background-color: #ff652d;
    padding: 15px 23px 10px;
    box-sizing: border-box
}

.add-pro_info-countdown-timer-two .countdown-timer-two {
    align-items: flex-start;
    position: relative;
    gap: 20px;
    padding: 0 5px;
    box-sizing: border-box
}

.add-pro_info-countdown-timer-two .countdown-timer-two:before {
    content: "";
    width: 100%;
    height: 77%;
    position: absolute;
    background: #000;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 10px
}

.add-pro_info-countdown-timer-two .countdown-timer-two:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 38%;
    background-color: #252337;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px
}

.add-pro_info-countdown-timer-two .countdown-timer-two > div {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    flex: 1
}

.add-pro_info-countdown-timer-two .countdown-timer-two > div:before {
    content: "";
    position: absolute;
    right: -13px;
    top: 27%;
    background: #fff;
    width: 6px;
    height: 6px
}

.add-pro_info-countdown-timer-two .countdown-timer-two > div:after {
    content: "";
    position: absolute;
    right: -13px;
    top: 43%;
    background: #fff;
    width: 6px;
    height: 6px
}

.add-pro_info-countdown-timer-two .countdown-timer-two > div:last-child:before {
    display: none
}

.add-pro_info-countdown-timer-two .countdown-timer-two > div:last-child:after {
    display: none
}

.add-pro_info-countdown-timer-two span {
    color: #fff;
    font-weight: 700
}

.add-pro_info-countdown-timer-two span:first-child {
    padding-bottom: 6px;
    height: 82px;
    line-height: 82px;
    display: inline-block
}

/* ===================== $CountdownType == 1 → three / turn 变体 ===================== */
.add-pro_info-countdown-timer-three {
    background-color: #bfceff;
    border-radius: 15px
}

.add-pro_info-countdown-timer-three .title {
    background-color: #5657f8;
    padding: 12px 0;
    box-sizing: border-box
}

.add-pro_info-countdown-timer-three .des {
    padding-bottom: 0
}

.add-pro_info-countdown-timer-three .countdown-timer-three {
    padding: 10px 40px;
    box-sizing: border-box
}

.add-pro_info-countdown-timer-three .countdown-timer-three > div {
    background-color: #5657f8;
    flex: 1;
    border-radius: 15px;
    position: relative
}

.add-pro_info-countdown-timer-three span {
    color: #fff
}

.add-pro_info-countdown-timer-three span:last-child {
    font-size: 11px;
    padding-bottom: 7px
}

.add-pro_info-countdown-timer-three.turn {
    position: relative
}

.add-pro_info-countdown-timer-three .tip {
    position: absolute;
    bottom: 0;
    z-index: 6
}

.add-pro_info-countdown-timer-three .flip {
    position: relative;
    width: 100%;
    height: 100px;
    line-height: 100px;
    color: #fff
}

.add-pro_info-countdown-timer-three .flip:before,
.add-pro_info-countdown-timer-three .flip:after {
    content: "";
    position: absolute;
    top: 45%;
    width: 5px;
    height: 17px;
    background-color: #3128e6;
    z-index: 5
}

.add-pro_info-countdown-timer-three .flip:before {
    left: -5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px
}

.add-pro_info-countdown-timer-three .flip:after {
    right: -5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px
}

.add-pro_info-countdown-timer-three .digital:before,
.add-pro_info-countdown-timer-three .digital:after {
    content: var(--number-content, "0");
    position: absolute;
    left: 0;
    right: 0;
    background: #5657f8;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center
}

.add-pro_info-countdown-timer-three .digital:before {
    top: 0;
    bottom: 50%;
    border-radius: 15px 15px 0 0;
    border-bottom: solid 1px rgba(255, 255, 255, .5);
    background: linear-gradient(to top, #8892fa, #6970f9, #5f61f8)
}

.add-pro_info-countdown-timer-three .digital:after {
    top: 50%;
    bottom: 0;
    border-radius: 0 0 15px 15px;
    line-height: 0
}

.add-pro_info-countdown-timer-three .flip.down .front:before {
    z-index: 3
}

.add-pro_info-countdown-timer-three .flip.down .back:after {
    z-index: 2;
    transform-origin: 50% 0%;
    transform: perspective(160px) rotateX(180deg)
}

.add-pro_info-countdown-timer-three .flip.down .front:after,
.add-pro_info-countdown-timer-three .flip.down .back:before {
    z-index: 1
}

.add-pro_info-countdown-timer-three .flip.down.go .front:before {
    transform-origin: 50% 100%;
    animation: frontFlipDown .6s ease-in-out both;
    box-shadow: 0 -2px 6px #ffffff4d;
    backface-visibility: hidden
}

.add-pro_info-countdown-timer-three .flip.down.go .back:after {
    animation: backFlipDown .6s ease-in-out both
}

@keyframes frontFlipDown {
    0% {
        transform: perspective(160px) rotateX(0)
    }
    to {
        transform: perspective(160px) rotateX(-180deg)
    }
}

@keyframes backFlipDown {
    0% {
        transform: perspective(160px) rotateX(180deg)
    }
    to {
        transform: perspective(160px) rotateX(0)
    }
}

/* ===================== 响应式覆盖（仅倒计时相关） ===================== */
@media only screen and (max-width: 1200px) {
    .add-pro_info-countdown-timer span:first-child,
    .add-pro_info-countdown-timer .flip {
        font-size: 40px
    }
    .add-pro_info-countdown-timer-two span:first-child {
        height: 70px;
        line-height: 70px
    }
    .add-pro_info-countdown-timer-three .countdown-timer-three {
        padding: 10px 30px
    }
    .add-pro_info-countdown-timer-three .flip {
        height: 90px;
        line-height: 90px
    }
}

@media only screen and (max-width: 1000px) {
    .add-pro_info-countdown-timer span:first-child,
    .add-pro_info-countdown-timer .flip {
        font-size: 30px
    }
    .countdown-timer-one span:first-child {
        padding: 7px 0
    }
    .countdown-timer-one span:last-child {
        padding: 3px 0
    }
    .add-pro_info-countdown-timer-two span:first-child {
        height: 60px;
        line-height: 60px
    }
    .add-pro_info-countdown-timer-two .countdown-timer-two > div:before,
    .add-pro_info-countdown-timer-two .countdown-timer-two > div:after {
        width: 4px;
        height: 4px;
        right: -8px
    }
    .add-pro_info-countdown-timer-two .l {
        padding: 15px 10px 10px
    }
    .add-pro_info-countdown-timer-two .countdown-timer-two {
        gap: 10px
    }
    .add-pro_info-countdown-timer-two .r {
        width: 35px
    }
    .add-pro_info-countdown-timer-three .flip {
        height: 80px;
        line-height: 80px
    }
    .add-pro_info-countdown-timer-three .countdown-timer-three {
        padding: 15px
    }
}

@media only screen and (max-width: 750px) {
    .add-pro_info-countdown-timer .des {
        padding-bottom: 5px
    }
    .add-pro_info-countdown-timer-three .title .des {
        padding-bottom: 0
    }
}

@media only screen and (max-width: 550px) {
    .add-pro_info-countdown-timer .des {
        font-size: 15px
    }
}

@media only screen and (max-width: 450px) {
    .add-pro_info-countdown-timer .des {
        font-size: 14px
    }
}

@media only screen and (max-width: 400px) {
    .add-pro_info-countdown-timer span:first-child,
    .add-pro_info-countdown-timer .flip {
        font-size: 25px
    }
    .add-pro_info-countdown-timer-three .flip {
        height: 70px;
        line-height: 70px
    }
}


@layer utilities {
    .mt-\[10px\] {
        margin-top: 10px
    }

    .mr-auto {
        margin-right: auto
    }

    .mb-\[5px\] {
        margin-bottom: 5px
    }

    .mb-\[9px\] {
        margin-bottom: 9px
    }

    .mb-\[10px\] {
        margin-bottom: 10px
    }

    .ml-auto {
        margin-left: auto
    }

    .box-border {
        box-sizing: border-box
    }

    .block {
        display: block
    }

    .flex {
        display: flex
    }

    .hidden {
        display: none
    }

    .inline-block {
        display: inline-block
    }

    .h-auto {
        height: auto
    }

    .h-full {
        height: 100%
    }

    .w-\[15px\] {
        width: 15px
    }

    .w-full {
        width: 100%
    }

    .max-w-\[19px\] {
        max-width: 19px
    }

    .max-w-\[24px\] {
        max-width: 24px
    }

    .max-w-\[26px\] {
        max-width: 26px
    }

    .max-w-\[27px\] {
        max-width: 27px
    }

    .max-w-\[35px\] {
        max-width: 35px
    }

    .max-w-\[500px\] {
        max-width: 500px
    }

    .flex-wrap {
        flex-wrap: wrap
    }

    .items-baseline {
        align-items: baseline
    }

    .items-center {
        align-items: center
    }

    .items-end {
        align-items: flex-end
    }

    .items-start {
        align-items: flex-start
    }

    .justify-between {
        justify-content: space-between
    }

    .justify-center {
        justify-content: center
    }

    .gap-\[2px\] {
        gap: 2px
    }

    .gap-\[3px\] {
        gap: 3px
    }

    .gap-\[5px\] {
        gap: 5px
    }

    .gap-\[7px\] {
        gap: 7px
    }

    .gap-\[8px\] {
        gap: 8px
    }

    .gap-\[9px\] {
        gap: 9px
    }

    .gap-\[10px\] {
        gap: 10px
    }

    .gap-\[12px\] {
        gap: 12px
    }

    .gap-\[15px\] {
        gap: 15px
    }

    .gap-\[19px\] {
        gap: 19px
    }

    .gap-\[20px\] {
        gap: 20px
    }

    .gap-\[30px\] {
        gap: 30px
    }

    .overflow-hidden {
        overflow: hidden
    }

    .rounded-\[10px\] {
        border-radius: 10px
    }

    .rounded-\[15px\] {
        border-radius: 15px
    }

    .border {
        border-style: var(--tw-border-style);
        border-width: 1px
    }

    .border-\[\#cccccc\] {
        border-color: #ccc
    }

    .bg-\[\#d9d9d9\] {
        background-color: #d9d9d9
    }

    .bg-\[\#e6e6e6\] {
        background-color: #e6e6e6
    }

    .bg-\[\#ebebeb\] {
        background-color: #ebebeb
    }

    .bg-\[\#f2f2f2\] {
        background-color: #f2f2f2
    }

    .bg-\[\#ff5a1e\] {
        background-color: #ff5a1e
    }

    .bg-\[\#ffffff\] {
        background-color: #fff
    }

    .bg-white {
        background-color: var(--color-white)
    }

    .pt-\[20px\] {
        padding-top: 20px
    }

    .pr-\[10px\] {
        padding-right: 10px
    }

    .pb-\[15px\] {
        padding-bottom: 15px
    }

    .text-center {
        text-align: center
    }

    .text-\[12px\] {
        font-size: 12px
    }

    .text-\[13px\] {
        font-size: 13px
    }

    .text-\[14px\] {
        font-size: 14px
    }

    .text-\[15px\] {
        font-size: 15px
    }

    .text-\[16px\] {
        font-size: 16px
    }

    .text-\[17px\] {
        font-size: 17px
    }

    .font-bold {
        --tw-font-weight: var(--font-weight-bold);
        font-weight: var(--font-weight-bold)
    }

    .font-normal {
        --tw-font-weight: var(--font-weight-normal);
        font-weight: var(--font-weight-normal)
    }

    .font-semibold {
        --tw-font-weight: var(--font-weight-semibold);
        font-weight: var(--font-weight-semibold)
    }

    .text-\[\#\#010101\] {
        color: # #010101
    }

    .text-\[\#000\] {
        color: #000
    }

    .text-\[\#00000\] {
        color: #00000
    }

    .text-\[\#000000\] {
        color: #000
    }

    .text-\[\#333\] {
        color: #333
    }

    .text-\[\#378f5b\] {
        color: #378f5b
    }

    .text-\[\#010101\] {
        color: #010101
    }

    .text-\[\#333333\] {
        color: #333
    }

    .text-\[\#666666\] {
        color: #666
    }

    .text-\[\#999999\] {
        color: #999
    }

    .text-\[\#d71f06\] {
        color: #d71f06
    }

    .text-\[\#ff5a1e\] {
        color: #ff5a1e
    }

    .text-\[\#ffffff\] {
        color: #fff
    }
}