@charset "utf-8"; @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); @import url("reset.css"); :root { --black: #000; --white: #fff; --gary-deep: #969696; --gary: #BFBFBF; --gary-light: #F7F8F9; --main: #6F9B10; --main-light: #8FC31F; --main-link: #2D8858; --red: #D0021B; --notice: #F23E1B; --notice-light: #F3563D; --yellow: #F8D413; --yellow-light: #FCE046; --blue: #2c62c2; } /* ========== header =========== */ header { width: 100%; min-width: 100%; height: 47px; text-align: center; /*background-color: #424242;*/ display: block\9; position: relative; } *, *::before, *::after { box-sizing: border-box; } #edWrap{ font-family: 'Roboto', sans-serif; } #edWrap img { display: block; } #edWrap section { margin-top: 1.5rem; } #edWrap .img-fluid { max-width: 100%; height: auto; } #edWrap a { color: var(--black); } #edWrap a:hover, #edWrap a:active, #edWrap a:focus, #edWrap a.active { color: var(--main); } #edWrap .notice { color: var(--red); padding: 0 3px; } #edWrap .active { color: var(--main); } #edWrap .container { padding: 0; margin: 0 auto; width: 100%; max-width: 1180px; } /* 輪播區 */ #edWrap .owl-theme .owl-dots .owl-dot span { width: 10px; height: 10px; margin: 5px .35rem; background: #D6D6D6; display: block; -webkit-backface-visibility: visible; transition: opacity .5s ease-in-out; border-radius: 30px; } #edWrap .owl-theme .owl-dots .owl-dot.active span { width: 20px; } #edWrap .owl-theme .owl-dots .owl-dot.active span, #edWrap .owl-theme .owl-dots .owl-dot:hover span { background: var(--main); } #edWrap .owl-theme .item { border-radius: .75rem; overflow: hidden; border: 1px var(--gary-deep) solid; } /* 主打星 */ #edWrap .event-main>div { background-color: var(--notice); border-radius: .75rem; padding: 0 1rem 1rem; } #edWrap .event-main .section-title { text-align: center; margin-bottom: 2rem; } #edWrap .event-main .section-title span { background-color: var(--white); border-radius: 0 0 100px 100px; box-shadow: 0 6px 0px 0px var(--red); padding: .5rem 5rem; color: var(--main); font-size: 2rem; font-weight: bolder; line-height: 2.6rem; } #edWrap .card-group { display: flex; /*justify-content: space-between;*/ justify-content: space-start; align-content: stretch; } #edWrap .card-group .card { /*flex: 0 0 calc(16.666666% - 10px);*/ flex: 0 0 calc((100% / 6) - 10px); margin: 0 5px; background-color: var(--white); position: relative; padding-bottom: 45px; } #edWrap .card-img-top { width: 100%; } #edWrap .card-body { padding: .65rem; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; } #edWrap .card-title{ /* line-height: 1.25rem; */ line-height: 1.28rem; } #edWrap .card-title a { font-size: 16px; font-weight: bold; color: var(--black); font-family: 'PMingLiU, Microsoft JhengHei'; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } #edWrap .card-text { color: var(--black); display: flex; flex-direction: column; justify-content: flex-start; margin: 0.8rem 0 .25rem; margin: 0.25rem 0 0.25rem 0; font-family: 'Roboto', sans-serif; } #edWrap .card-text .items { display: flex; flex-grow: row !important; flex-wrap: nowrap; margin-bottom: .25rem; } #edWrap .card-text .icon-p { width: 16px; height: 16px; flex: 0 0 16px; position: relative; top: 1px; vertical-align: middle; margin-right: 5px; -webkit-mask-image: url(/csss/images/icon_p.svg); mask-image: url(/csss/images/icon_p.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 16px; mask-size: 16px; background-color: var(--notice); } #edWrap .card-text .price { flex: 0 0 calc(100% - 20px); word-break: break-all; } #edWrap .card-text span { color: var(--red); font-weight: bolder; } #edWrap .btn { padding: .5rem 2rem; display: flex; flex-direction: row; justify-content: center; align-items: center; border-radius: 4px; letter-spacing: 5px; font-size: 15px; } #edWrap .btn .icon-p { width: 20px; height: 20px; flex: 0 0 20px; position: relative; vertical-align: middle; margin-right: 10px; -webkit-mask-image: url(/csss/images/icon_p.svg); mask-image: url(/csss/images/icon_p.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; background-color: var(--white); } #edWrap .btn-primary { background-color: var(--yellow-light); color: var(--black); border: 1px solid var(--yellow); } #edWrap .btn-primary:hover { color: var(--white); } #edWrap .event-main .card .btn { position: absolute; width: calc(100% - 1.3rem); bottom: .65rem; } /* 超值點數換購 */ #edWrap .exchange .section-title { text-align: left; margin-bottom: .5rem; display: flex; } #edWrap .exchange .section-title span { color: var(--main); font-size: 2rem; font-weight: bolder; } #edWrap .exchange .section-title .icon { width: 30px; height: 30px; position: relative; display: inline-block; margin-right: .25rem; top: 3px; } #edWrap .exchange .section-title .icon-title { background:url(/load/view.php?a=aHR0cHM6Ly93d3cuYm9va3MuY29tLnR3L2Nzc3MvaW1hZ2VzL2ljb24tdGl0bGUuc3Zn) no-repeat center center; background-size: contain } #edWrap .filter-box { border-radius: .75rem; border: 1px solid var(--gary-deep); overflow: hidden; } #edWrap ul.tabs { margin: .65rem; padding: 0; list-style: none; display: flex; } #edWrap ul.tabs li { flex: 0 0 auto; padding: .5rem 1.5rem; font-size: 19px; font-weight: bolder; color: var(--gary-deep); } #edWrap ul.tabs li.active, #edWrap ul.tabs li:hover { background-color: var(--main); color: var(--white); border-radius: 100px; } #edWrap ul.tabs li:hover { cursor: pointer; } #edWrap .tab_container { background-color: var(--gary-light); padding: .65rem; } #edWrap .tab_content { display: none; } #edWrap .tab_content .box { display: flex; } #edWrap .tab_content .box h3 { white-space: nowrap; margin-right: 1rem; font-size: 16px; color: var(--gary-deep); margin-top: .25rem; font-weight: 700; } #edWrap .items-all { width: 100%; } #edWrap .items-all ul { list-style: none; margin: 0; padding: .25rem 0 0; display: flex; flex-wrap: wrap; } #edWrap .items-all ul.open { display: flex; flex-direction: row; flex-wrap: wrap; padding: 0; } #edWrap .items-all ul li { flex: 0 0 calc(16.6666% - 0px); margin-bottom: 1rem; } #edWrap .toggler i { background-color: var(--gary-deep); color: var(--white); border-radius: 100px; width: 35px; height: 35px; line-height: 35px; text-align: center; } #edWrap .toggler i.fa-angle-up { background-color: var(--main); } #edWrap .filter-card-group { display: flex; justify-content: flex-start; align-items: center; min-height: 100vh; flex-direction: column; } /* filter */ #edWrap .state { display: flex; justify-content: space-between; width: 100%; margin: 1rem 0; } #edWrap .state-right-item { display: flex; flex-direction: row; overflow: hidden; padding-right: 10px; } #edWrap .view-type { display: flex; } #edWrap .view-type div { margin: 0px 10px; padding-right: 15px; cursor: pointer; border-right: 1px solid var(--gary); } #edWrap .view-type_lastN div:last-child{ border-right: none; } #edWrap .view-type div>* { pointer-events: none; } #edWrap .state-right-item .sort { padding-left: 5px; display: flex; flex-wrap: nowrap; } #edWrap .state-right-item .sort em { font-style: normal; } #edWrap .state-right-item .sort a:first-child { margin: 0 1rem 0 0; } #edWrap .state-right-item .sort span { position: relative; padding-left: .25rem; vertical-align: middle; } #edWrap .state-right-item .sort span i { position: absolute; } #edWrap .state-right-item .sort span i.mac{ top: 2px; } #edWrap .state-right-item .sort span i.pc{ top: 0px; } _::-webkit-full-page-media, _:future, :root .state-right-item .sort span i { top: 0px; } @-moz-document url-prefix() { .state-right-item .sort span i.mac{ top: -1px; } .state-right-item .sort span i.pc{ top: 0px; } } /* view type */ #edWrap .card-items { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; } #edWrap .card-items.list { grid-template-columns: 1fr; } #edWrap .card-items .card { flex: 0 0 100%; position: relative; padding-bottom: 45px; } #edWrap .card-items.list .card { padding-bottom: 0px; } #edWrap .card-items .col { width: calc(100% - 8px); display: flex; justify-content: center; align-items: stretch; margin: 0 4px 1rem 4px; padding: 0; } #edWrap .card-items.list .card { display: flex; flex-direction: row; justify-content: space-between; align-items: stretch; } #edWrap .card-items.list .card .card-img-top { width: 180px; } #edWrap .card-items .card .card-body { flex: 0 0 calc(100% - 180px); } #edWrap .card-items.list .card .card-body { flex: 0 0 calc(100% - 300px); display: flex; flex-direction: column; justify-content: center; } #edWrap .card-items.list .card .card-body .card-text { display: flex; flex-direction: row; margin: .5rem 0; } #edWrap .card-items.list .card .card-body .card-text .items { margin-right: 2rem; } #edWrap .card-items.list .card .card-body .btn-primary { display: none; } #edWrap .card-items.list .card .card-body p small, #edWrap .card-items.list .card .btn-area, #edWrap .card-items.list .card .card-body .descript { display: block; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } #edWrap .card-items.list .card .card-body .descript .link-more{ color: var(--blue); } #edWrap .card-items.list .card .card-body p small{ margin-top: .25rem; font-size: 14px; } #edWrap .card-items.list .card .card-body p small a:hover{ text-decoration: underline; color: var(--black); } #edWrap .card-items .card .card-body p small, #edWrap .card-items .card .btn-area, #edWrap .card-items .card .card-body .descript { display: none; } #edWrap .card-items.list .card .btn-primary { flex: 0 0 auto; } #edWrap .card-items.list .card .btn-area { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 2rem; } #edWrap .card-items.list .card .btn-area a { white-space: nowrap; } #edWrap .card-items .card .btn { position: absolute; width: calc(100% - 1.3rem); bottom: .65rem; } #edWrap .card-items.list .card .btn { position: relative; width: auto; bottom: auto; } /* pagination */ #edWrap .pagination { padding: 30px 0; margin: 0 auto; text-align: center; background: #fff; height: auto; } #edWrap .pagination ul { margin: 0; padding: 0; list-style-type: none; } #edWrap .pagination a { display: inline-block; padding: 10px 18px; color: #222; } #edWrap .pagination a:first-of-type, #edWrap .pagination a:last-of-type { border: 2px solid var(--main); color: var(--main); font-weight: bold; border-radius: 50%; transition: .5s; } #edWrap .pagination a:hover:first-of-type, #edWrap .pagination a:hover:last-of-type { background-color: var(--main); color: var(--white); } #edWrap .pagination .is-active { color: var(--main); font-weight: bolder; } /* footer */ #edWrap footer { text-align: center; } /* 202306 */ #edWrap .card-text .txt-l { color: var(--black); font-weight: normal; font-size: 13px; } #edWrap .card-text .oPrice { text-decoration:line-through; text-decoration-color: #212121; white-space:nowrap; } #edWrap .btn-over { background-color: var(--gary); color: var(--white); border: 1px solid var(--gary); white-space:nowrap; letter-spacing: 1px; } #edWrap .btn-over, #edWrap .btn-over:hover, #edWrap .btn-over:active, #edWrap .btn-over:focus, #edWrap .btn-over:active { color: var(--white); }