/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

article img.wp-post-image{
	width:100%;
	height:auto;
}
article .entry-content{
	word-break: break-word;
}
.combin.single_cate_name {
    height: 20px;
    line-height: 1.4;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.combin {
    color: #9f9f9f;
    font-size: 15px;
	text-align: center;
}
.big-card .card-body .short-line {
    border-bottom: 1px solid #afafaf;
    width: 10%;
	margin: 10px auto;
}
.title.word-break {
    display: -webkit-box;
    height: 55px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 10px;
	font-weight: 500;
}

.sticky_section.sticky{
	position: fixed;
	max-width:340px;
	width: 100%;
	top:35px;
}
.sticky_section.stop{
	position: relative;
}

#pet_custom_builling_field .custom-control-input{
	z-index:1; 
	opacity:1;
	position: inherit;
	margin: 0 5px 0;
}
#pet_custom_builling_field input[type=radio].custom-control-input{
    margin-top: 7px;
}
#pet_custom_builling_field .custom-control{
	padding-left:0;
}
#pet_custom_builling_field .input-multicheck{
	margin-right: 8px;
}
#pet_custom_builling_field .form-check-inline{
    padding-left: 0px;
}

#custom_checkout_field .custom-control-input{
	z-index:1; 
	opacity:1;
	position: inherit;
	margin: 0 5px 0;
}
#custom_checkout_field input[type=radio].custom-control-input{
    margin-top: 7px;
}
#custom_checkout_field .custom-control{
	padding-left:0;
}
#custom_checkout_field .input-multicheck{
	margin-right: 8px;
}
#custom_checkout_field .form-check-inline{
	padding-left: 0px;
}

.woocommerce-page form .form-row.evt_custom_fd label.multicheck {
	display: inline-block;
	padding-right: 10px;
}
h4.title{
	font-weight: 600;
	font-size:18px;
}
.event_info_wrap{
	margin-top:20px;
}
.event_info{
	margin:5px 0;
}
.event_info i.fa{
    min-width: 22px;
    color: #8cb85c;
}

/* youtube 嵌入活動說明頁時要 RWD */
.single-pan-event-wrapper p iframe{
	max-width: 760px;
    width: 100%;
    min-height: 150px;
}

.single-pan-event-wrapper .share_icon{
    display: inline-block;
    height:40px; 
    width:40px;
    background-size: cover;
    background-repeat: no-repeat;
}
.single-pan-event-wrapper .share_icon.fb{
    background-image: url('../imgs/facebook\ -\ active@1.5x.svg');
}
.single-pan-event-wrapper .share_icon.line{
    background-image: url('../imgs/line\ -\ active@1.5x.svg');
}

/* 票種欄位固定*/
.pan_event_ticket_list table{
	border-collapse: separate;
}
.pan_event_ticket_list table th:first-child,
.pan_event_ticket_list table td:first-child {
	position: sticky;
	background-color: #fff;
	border-right: 1px solid #eeeeee;
	left: 0px;
}

.ticket-tags-filter {
	margin-bottom: 30px;
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ticket-tags-filter h4 {
	margin: 0 0 15px;
	font-size: 18px;
	color: #333;
}

.tag-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag-btn {
	padding: 8px 16px;
	border: 2px solid #e0e0e0;
	border-radius: 20px;
	background: transparent;
	color: #666;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tag-btn:hover {
	border-color: #2196F3;
	color: #2196F3;
}

.tag-btn.active {
	background: #2196F3;
	border-color: #2196F3;
	color: white;
}

.ticket-row {
	transition: opacity 0.3s ease;
}

/* 表單欄位驗證樣式 - 使用通用類名 */
.form-field.is-valid input {
	border-color: #4CAF50 !important;
	background-color: #f8fff8;
}

.form-field.is-invalid input {
	border-color: #f44336 !important;
	background-color: #fff8f8;
}

.form-field__error-message {
	color: #f44336;
	font-size: 12px;
	margin-top: 5px;
	display: block;
}

.form-field__hint {
	font-size: 12px;
	color: #666;
	margin-top: 5px;
	display: block;
	font-style: italic;
}
