#count_down-group {
    height: 115px;
}

.count_down h1 {
    font-weight: normal;
}

.count_down ul {
    padding: 0;
}

.count_down li {
    display: inline-block;
    font-size: 1em;
    list-style-type: none;
    padding: 7px;
    text-transform: uppercase;
    border: 1px solid rgb(208, 208, 208);
    min-width: 80px;
    border-radius: 5px;
}

    .count_down li .time{
        display: block;
        font-size: 4rem;
    }

@media (max-width: 768px) {
    .count_down li {
        padding: 5px;
        min-width: 55px;
    }

        .count_down li .time {
            font-size: 3rem;
        }
        .count_down li .text {
            font-size: 10px;
        }
}

@media (max-width: 576px) {
    .count_down li {
        padding: 3px;
        min-width: 50px;
    }
}
.count_down li {
    border: none !important;
    color: var(--textcolor);
    padding-left: 0em;
    padding: 0 !important;
    min-width: 4.75em !important;
}

.count_down li:first-child {
    padding-left: 0;
}

.count_down li .time {
    font-size: 1.57em;
    font-weight: 700;
    color: #1D1D1D;
}

.count_down li .text {
    font-size: 0.875em;
    color: #8D8D8D;
    align-self: center;
}

.count_down li:last-child .text {
    padding-right: 0;
}

.countdown-template ~ .sub-countdown-text {
    background: #383838 0% 0% no-repeat padding-box;
    font-size: 1em;
    padding: 7px 16px;
    color: #fff !important;
    width: 100%;
}

.countdown-container {
    text-align: center;
    max-width: 100%;
    padding: 0.5rem 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.countdown-template .count_down {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.countdown-title {
    font-size: 0.875em;
    text-align: center;
    font-weight: bold;
    padding-bottom: 0.75rem;
}

.countdown-template ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 2vw, 8px);
    flex-wrap: nowrap;
    width: 100% !important;
}

.digit-group {
    display: flex;
    gap: 3px;
}

.digit-group span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    aspect-ratio: 0.82;
    font-size: 2.5em;
    font-weight: 700;
    background: #fce8ed;
    border-radius: clamp(8px, 1.2vw, 14px);
    color: #000;
    position: relative;
}

.colon {
    font-size: 3em;
    font-weight: 500;
    color: #000;
    align-self: center;
    margin-bottom: clamp(14px, 3vw, 34px);
}

.countdown-template ul li .text {
    margin-top: clamp(6px, 1.2vw, 12px);
    font-size: 0.75em;
    font-weight: 500;
    letter-spacing: clamp(0.5px, 0.4vw, 4px);
    color: #333;
    white-space: nowrap;
}

.sub-countdown-text {
    margin-top: 20px;
    font-size: 0.875em;
    color: #666;
}

.ticket-type-section-square {
    display: flex;
    align-items: center;
    padding: 0 0 1rem 0;
    overflow-x: auto;
    position: relative;
}

.ticket-type-section-square::before,
.ticket-type-section-square::after {
    content: '';
    margin: auto;
}

.ticket-item-square {
    position: relative;
    min-width: 231px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    text-align: center;
    box-shadow: 0px 3px 6px #00000029;
}

.ticket-item-square:not(.active) .type-bar-square,
.ticket-item-square:not(.active) .ticket-tier-date,
.ticket-item-square:not(.active) .price-tier-square {
    color: #9ca3af;
    filter: grayscale(30%);
    opacity: 0.5;
}

.ticket-item-square:not(.active) .bottom-square {
    height: 8px;
    background: #f5f5f5;
}

.type-bar-square {
    position: relative;
    min-height: 60px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 600;
    z-index: 2;
    padding: 2rem 0;
    text-align: center;
    color: #1f2937;
}

.price-tier-square {
    position: relative;
    min-height: 60px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875em;
    font-weight: 600;
    text-align: center;
    color: #4b5563;
    z-index: 2 !important;
}

.bottom-square {
    height: 8px;
}

.ticket-item-square.active .type-bar-square {
    color: white;
    z-index: 12;
}

.ticket-item-square.active .price-tier-square {
    overflow: hidden;
    color: black;
    z-index: 11;
}

.ticket-tier-date {
    margin: 1rem 0;
}

.ticket-type-section {
    display: flex;
    align-items: center;
    padding: 0 2rem 1rem 2rem;
    overflow-x: auto;
    position: relative;
}

.ticket-type-section::before,
.ticket-type-section::after {
    content: '';
    margin: auto;
}

.ticket-item {
    position: relative;
    min-width: 237px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.ticket-item:not(.active) .type-bar,
.ticket-item:not(.active) .price-tier {
    color: #9ca3af;
    filter: grayscale(30%);
    opacity: 0.5;
}

.ticket-item:not(.active) .type-bar {
    font-size: 1.125em;
    font-weight: normal;
}

.type-bar {
    position: relative;
    min-height: 60px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    transform: skewX(30deg);
    font-size: 1.5em;
    font-weight: 600;
    z-index: 2;
    text-align: center;
    color: #1f2937;
}

.price-tier {
    position: relative;
    min-height: 60px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    transform: skewX(-30deg);
    font-size: 0.875em;
    font-weight: 600;
    text-align: center;
    color: #4b5563;
    z-index: 2 !important;
}

.ticket-item.active .type-bar {
    color: white;
    transform: skewX(30deg);
    z-index: 12;
}

.ticket-item.active .price-tier {
    
    overflow: hidden;
    color: white;
    transform: skewX(-30deg);
    z-index: 11;
}

.type-bar .text-ellipsis {
    transform: skewX(-30deg);
}

.price-tier .text-ellipsis {
    transform: skewX(30deg);
}

.ticket-type-section .ticket-item .price {
    padding: 7px;
    text-align: center;
}

.ticket-type-section .ticket-item.active .price {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 767px) {
    .countdown-template ul { gap: 8px; }
    .digit-group { gap: 4px; }
    .digit-group span { width: 32px; height: 48px; font-size: 1.75em; border-radius: 10px; }
    .colon { font-size: 1.5em; }
    .countdown-template ul li .text { font-size: 0.5em; letter-spacing: 1.5px; margin-top: 8px; }
}

@media (max-width: 482px) {
    .countdown-template ul { gap: 6px; }
    .digit-group { gap: 3px; }
    .digit-group span { width: 32px; border-radius: 8px; }
    .colon { font-size: 1.25em; }
    .countdown-template ul li .text { font-size: 0.5em; letter-spacing: 1px; margin-top: 6px; }
    .count_down li .time { font-size: 1.5em !important; }
    
}

@media (max-width: 461px) {
    .countdown-template ul { gap: 2px; }
    .digit-group { gap: 2px; }
    .digit-group span { width: 28px; border-radius: 8px; }
    .colon { font-size: 1em; }
    .countdown-template ul li .text { font-size: 0.5em; letter-spacing: 1px; margin-top: 6px; }
    .countdown-container { padding: 0.5rem 0; }
    .count_down li .time { font-size: 1.25em !important; }
}

@media (max-width: 395px) {
    .countdown-template ul { gap: 2px; }
    .digit-group { gap: 2px !important; }
    .digit-group span { width: 26px; border-radius: 8px; }
    .colon { font-size: 1em; }
    .countdown-template ul li .text { font-size: 0.5em; letter-spacing: 1px; margin-top: 6px; }
    .countdown-container { padding: 0.5rem 0; }
    .count_down li .time { font-size: 1.25em !important; }
}