.addplan_btn {
    border: 1px solid #dc3545 !important;
    color: #dc3545;
}

.Booking,
.Booking:hover {
    background: #ec407a;
    color: #FFF;
}

.Goods,
.Goods:hover {
    background: #00796e;
    color: #FFF;
}

.Eticket,
.Eticket:hover {
    background: #084298;
    color: #FFF;
}

.Pticket,
.Pticket:hover {
    background: #F5E803;
    color: #000;
}

.CoolFood,
.CoolFood:hover {
    background: #F75000;
    color: #FFF;
}
.Group,
.Group:hover {
    background: #50105A;
    color: #FFF;
}
.LookDetail {
    cursor: pointer;
    background: #FF9900;
    color: #fff;
}

.product_btn,
.product_btn:hover {
    background: var(--button_color);
    color: var(--button_text);
}

.countdown {
    color: #f04141;
    font-weight: 800;
}

h1 {
    font-size: 2rem;
}

h4 {
    font-size: 1.2rem;
}

h3 {
    font-size: 1.4rem;
}

a {
    color: #000;
}

a:hover {
    color: #000;
}

.page-link {
    color: #000;
    border-radius: 25px;
    margin: 0rem 0.2rem;
    margin-left: 0;
}

.page-item:first-child .page-link {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

.page-item.active .page-link {
    color: var(--button_text);
    background-color: var(--brand_color);
    border-color: var(--brand_color);
}

.light_text {
    color: var(--light_text);
}

.dark_text {
    color: var(--dark_text);
}

.brand_color {
    color: var(--brand_color);
}

.button_color {
    background: var(--button_color)
}

.whole_cart{
    display: flex;
    flex-direction: column;
    margin: 7rem 0;
}
.whole_cart strong{
    font-size: 5rem;
}
.linetext{
    color:#00c300 ;

}

.googletext{
	height: 37px;
	width: 37px;
	font-size: 25px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    line-height: 1.5;
	background: red;
	margin-left: 10px;
}
.linebtn{
    background:#00c300 ;
    border: 1px solid #00c300;
}
.fbbtn{
    background:#1877f2 ;
    border: 1px solid #1877f2;
}
.googlebtn{
    background:#dd4b39 ;
    border: 1px solid #dd4b39;
}
.bg-gold{
    background-color: #DAA520;
}

.countdown_new{
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 5;
    line-height: 30px;
}
.countdown_box{
    border-radius: 15px 15px 0 0;
    background-color: rgba(162,4,1,1);
    color: rgba(255,255,255,1);
}
/* Make the tag position relative to the figure */

a.tag {
    position: relative;
}

.product_Discount{
    position: absolute;
    top: 5%;
    right: 5%;
    border-radius:  10px;
    color: white;
    background: #C83737;
    padding: 0.25rem 0.5rem;
}
.product_Discount2{
    border-radius:  10px;
    color: white;
    background: #C83737;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
}

/* 為 div 內的所有 span 添加間距 */
.tagname.d-flex span:not(:last-child) {
    margin-right: 0.125rem;
}

/* set the base styles all tags should use */

.tag::before {
    position: absolute;
    right: 0%;
    display: block;
    
}


/* Specific variations for different tags */

.tag-Eticket::before {
    content: "票券";
    background: #084298;
    bottom: 5%;
    right: 5%;
    border-radius: 10px;
    color: white;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
}

.tag-CoolFood::before {
    content: "冷凍商品";
    background: #F75000;
    bottom: 5%;
    right: 5%;
    border-radius: 10px;
    color: white;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
}

.tag-Booking::before {
    content: "線上報名";
    background: #ec407a;
    bottom: 5%;
    right: 5%;
    border-radius: 10px;
    color: white;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
}

.tag-Goods::before {
    content: "實體商品";
    background: #00796e;
    bottom: 5%;
    right: 5%;
    border-radius: 10px;
    color: white;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
}
.tag-Group::before {
    content: "組合票券";
    background: #50105A;
    bottom: 5%;
    right: 5%;
    border-radius: 10px;
    color: white;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
}
.tag-limited::before {
    content: "限量" attr(data-before) "組";
    background: #C83737;
    bottom: 10%;
    color: white;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
}
.tag-External::before {
    content: "導購";
    background: #50545a;
    bottom: 5%;
    right: 5%;
    border-radius: 10px;
    color: white;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
}
.activetype {
    color: #C83737;
}
.tagname {
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
    align-items: stretch;
}

.ribbon{
    width: 220px;
    height: 220px;
    overflow: hidden;
    position: absolute;
    top: -5px;
    left: -5px;
    font-size: 2rem;
}
.ribbon span{    
    position: absolute;
    display: block;
    width: 300px;
    padding: 12px 0;
    background: #dc3545;
    color: #fff;
    font-weight: bold;
    text-align: center;
    transform: rotate(-45deg);
    top: 40px;
    left: -65px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width:992px) {
    .tagname {
        font-size: 1.5rem;
    }
    h1 {
        font-size: 2.6rem;
    }
    h4 {
        font-size: 2rem;
    }
    h3 {
        font-size: 2.2rem;
    }
    .whole_cart strong{
        font-size: 7rem;
    }
    .ribbon{
        font-size: 2.8rem;
    }
}