[builder-element=PageElement] .vimeo-iframe-wrapper,
.ytb-iframe-wrapper {
    line-height: 0;
}

[builder-element=TextElement] img {
    max-width: 100%;
    height: auto;
}

[builder-element=CellElement] .container {
    padding: 0;
}

[builder-element=ReviewItemElement] .review-item-rating {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-family: "Arial", sans-serif;
}

[builder-element=ReviewItemElement] .review-item-rating::before {
    content: "★★★★★";
    color: #ccc;
}

[builder-element=ReviewItemElement] .review-item-rating::after {
    content: "★★★★★";
    color: #ffcc00;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--rating) / 5 * 100%);
    overflow: hidden;
    white-space: nowrap;
}

/* 折扣碼 */
[builder-element="PromotionCodeElement"] .promotion-code-box .promotion-items .promotion-item {
    position: relative;
}
[builder-element="PromotionCodeElement"] .promotion-code-box .promotion-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: auto;
}

[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-7 .promotion-items,
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-items,
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-4 .promotion-items,
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-items,
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-items,
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-1 .promotion-items {
    overflow: hidden;
    overflow-x: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: start;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-5 .promotion-items {
    overflow: hidden;
    overflow-x: auto;
    justify-content: center;
}
/* 主題1 */
[builder-element="PromotionCodeElement"] .promotion-code-box-1 {
    height: 150px;
    width: 100%;
}

[builder-element="PromotionCodeElement"] .promotion-code-box-1 .promotion-item {
    height: 126px;
    min-height: 126px;
    width: 224px;
    min-width: 224px;
    margin-right: 8px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box-2 .promotion-item {
    width: 223px;
    height: 100px;
    flex-shrink: 0;
    padding-right: 8px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box-3 .promotion-item {
    width: 225px;
    height: 250px;
    margin-right: 0;
    flex-shrink: 0;
}
[builder-element="PromotionCodeElement"] .promotion-code-box-4 .promotion-item {
    width: 223px;
    height: 126px;
    flex-shrink: 0;
    padding-right: 10px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box-5 .promotion-item {
    min-width: 335px;
    height: 80px;
    display: flex;
    border-radius: 10px;
    margin: 0 5px;
    align-items: center;
}
[builder-element="PromotionCodeElement"] .promotion-code-box-6 .promotion-item {
    color: rgb(255, 0, 0);
    margin-right: 9.5px;
    width: 165px;
    height: 200px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box-7 .promotion-item {
    height: 82px;
    min-width: 304px;
    border-radius: 10px;
    margin-right: 8px;
    align-items: center;
}
[builder-element="PromotionCodeElement"] .promotion-code-box-5 .promotion-item a {
    width: 100%;
    height: 100%;
}
[builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item img {
    width: 100%;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-1 .promotion-item .promotion-intro {
    width: 155px;
    height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 2px #ffffff dashed;
}

[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-intro {
    width: 100%;
    color: rgb(255, 69, 68);
    margin-top: 1rem;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-4 .promotion-item .promotion-intro {
    width: 138px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-5 .promotion-item .promotion-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    width: 150px;
    height: 60px;
    color: red;
    left: 100px;
    top: 16px;
    font-size: 18px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: red;
    padding: 10px 20px;
    box-sizing: border-box;
    overflow: hidden;
    width: 170px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-7 .promotion-item .promotion-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    color: red;
    box-sizing: border-box;
    width: 130px;
    height: 70px;
    text-align: left;
    left: 100px;
    top: 18px;
    font-size: 16px;
}

[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-5 .promotion-item .promotion-price {
    left: -97px;
    top: 2px;
    position: absolute;
    width: 83px;
    height: 44px;
    line-height: 44px;
    border-right: 1px dashed #999;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-7 .promotion-item .promotion-price {
    font-size: 20px;
    position: absolute;
    left: -84px;
    top: 6px;
}

[builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-intro .promotion-price span {
    font-size: 32px;
    font-weight: 700;
}

[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-price span {
    font-size: 40px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-5 .promotion-item .promotion-price span {
    font-size: 22px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-price span {
    font-size: 35px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-7 .promotion-item .promotion-price span {
    font-size: 22px;
}

[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-info {
    color: #777777;
    margin-top: 15px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-intro {
    text-align: center;
    font-size: 24px;
    color: #fff;
}

[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-1 .promotion-item .promotion-btn {
    bottom: 50%;
    right: 22px;
    font-size: 22px;
    line-height: 25px;
    transform: translateY(50%);
    word-break: break-all;
    width: 16px;
    color: rgb(255, 255, 255);
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-btn {
    color: rgb(255, 255, 255);
    background-color: rgb(255, 69, 68);
    border-radius: 30px;
    width: 150px;
    bottom: 36px;
    left: 50%;
    margin-left: -77px;
    font-size: 20px;
    line-height: 43px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-btn {
    bottom: 50%;
    font-size: 22px;
    line-height: 1.3;
    transform: translateY(50%);
    word-break: break-all;
    width: 16px;
    right: 30px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-4 .promotion-item .promotion-btn {
    color: rgb(255, 255, 255);
    font-size: 26px;
    top: 0px;
    right: 20px;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    letter-spacing: 2px;
    bottom: -2px;
    transform: scale(.8);
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-5 .promotion-item .promotion-btn {
    color: rgb(255, 255, 255);
    background-color: rgb(48, 49, 51);
    font-size: 12px;
    border-radius: 5px;
    width: auto;
    word-break: keep-all;
    height: fit-content;
    padding: 5px;
    bottom: 25px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-5 .promotion-item .promotion-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    color: rgb(48, 49, 51);
    font-size: 16px;
    font-weight: bold;
    text-align: left;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 48px;
    color: rgb(48, 49, 51);
    font-size: 16px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-7 .promotion-item .promotion-btn {
    font-size: 14px;
    color: rgb(255, 61, 61);
    height: fit-content;
    z-index: 5;
    width: 65px;
    padding: 10px 18px;
    box-sizing: border-box;
    position: absolute;
    right: 4px;
    border-left: 1px dashed #FD463E;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-7 .promotion-item .promotion-desc {
    font-weight: 700;
}
/* 背景圖 */
[builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-thumb {
    width: 100% !important;
    height: 100% !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    position: relative;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-1 .promotion-item .promotion-thumb {
    background-image: url('https://img.aib.tw/builderjs-editor/static/image/promotions/codes-style1-bg.png') !important;
    padding: 15px 10px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-thumb {
    background-image: url('https://img.aib.tw/builderjs-editor/static/image/promotions/codes-style2-bg.png') !important;
    padding: 15px 10px;
}

[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-items {
    background-image: url('https://img.aib.tw/builderjs-editor/static/image/promotions/codes-style3-bg-1.png') !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-thumb {
    background-image: url('https://img.aib.tw/builderjs-editor/static/image/promotions/codes-style3-bg.png') !important;
    padding: 10px 20px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-4 .promotion-item .promotion-thumb {
    background-image: url('https://img.aib.tw/builderjs-editor/static/image/promotions/codes-style4-bg.png') !important;
    padding: 15px 10px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-5 .promotion-item .promotion-thumb {
    background-image: url('https://img.aib.tw/builderjs-editor/static/image/promotions/codes-style5-bg.png') !important;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-thumb {
    background-image: url('https://img.aib.tw/builderjs-editor/static/image/promotions/codes-style6-bg.png') !important;
    padding: 20px 5px 0 5px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-7 .promotion-item .promotion-thumb {
    background-image: url('https://img.aib.tw/builderjs-editor/static/image/promotions/codes-style7-bg.png') !important;
}
[builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-btn {
    position: absolute;
    bottom: 12px;
    right: 25px;
    width: 20px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    border-width: 0;
    background: transparent;
    white-space: unset;
    height: auto;
    padding: 0;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-intro {
    width: 151px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    color: rgb(255, 129, 67) !important;
    border-right: 1px rgb(255, 129, 67) dashed;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-price,
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-btn {
    color: rgb(255, 129, 67) !important;
}

[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-info {
    display: block !important;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-5 .promotion-item .promotion-info {
    display: block !important;
    font-size: 12px;
    margin-top: 5px;
    color: rgb(153, 153, 153);
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-info {
    display: block !important;
    font-size: 16px;
    margin-top: 16px;
    padding-top: 14px;
    color: rgb(48, 49, 51);
    border-top: 1px dashed #999;
    width: 125px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-7 .promotion-item .promotion-info {
    display: block !important;
    font-size: 14px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    font-size: 18px;
}
[builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-btn {
    color: rgb(255, 255, 255);
    background-color: rgb(48, 49, 51);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;

    position: absolute;
    height: 20px;
    min-width: 40px;
    line-height: 20px;
    text-align: center;
    font-size: 14px;
    top: 15px;
    right: 0;
}
[builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-info {
    display: none;
    font-size: 18px;
}
/* 多商品組 */
.many-goods-container .many-goods-item {
    border: 0px #cccccc solid;
    padding: .5rem;
    margin: .5rem 0;
}
.many-goods-container .goods-item:hover {
    border: 1px #b0d6ff solid;
}

.many-goods-container .nav {
    text-align: center;
    overflow-x: auto;
    flex-wrap: nowrap;
}
.many-goods-container .nav-item {
    background-color: transparent !important;
    color: inherit !important;
    padding: 0;
    text-wrap: nowrap;
}
.many-goods-container .nav-item .active {
    background-color: transparent !important;
    color: inherit !important;
}
.many-goods-container .active .many-goods-group-category-name {
    font-weight: 700;
}
.many-goods-container .many-goods-group-category-name {
    font-weight: 400;
    font-size: 1rem;
    color: initial !important;
}
.many-goods-container .many-goods-group-subtitle {
    color: #909399 !important;
    background-color: transparent !important;
    padding: 2px 14px;
    border-radius: 15px;
}
.many-goods-container .active .many-goods-group-subtitle {
    color: #fff !important;
    background-color: #007bff !important;
}

.many-goods-container .using-hidden {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.many-goods-container .goods-list .goods-item .goods-img>div, 
.many-goods-container .goods-list .goods-item .goods-img>img {
    width: 100%;
    height: 100%;
}

.many-goods-container .goods-list .goods-item .info-wrap .goods-name {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.3;
}
.many-goods-container .goods-list .goods-item .info-wrap .tag-wrap {
    margin-bottom: 10px;
}
.many-goods-container .goods-list .goods-item {
    line-height: 1;
}
.many-goods-container .goods-list .goods-item .sale {
    align-self: flex-start;
    font-size: 12px;
    color: rgb(153, 156, 167);
}
.many-goods-container .goods-list .goods-item .info-wrap .pro-info .discount-price .price-wrap {
    color: rgb(255, 106, 0);
    text-wrap: nowrap;
    font-size: 12px;
    font-weight: bold;
}
.many-goods-container .goods-list .goods-item .info-wrap .pro-info .discount-price .price-wrap .price {
    font-size: 16px;
    text-wrap: wrap;
}
.many-goods-container .goods-list .goods-item .info-wrap .pro-info .discount-price .delete-price {
    font-size: 12px;
    line-height: 14px;
    text-decoration: line-through;
    flex: 1;
    color: rgb(153, 156, 167);
}

/* 主題1 */
.many-goods-container .theme-1_style-1.goods-list .goods-item {
    overflow: hidden;
    display: flex;
    margin-bottom: 10px;
    padding: 8px;
}

.many-goods-container .theme-1_style-1.goods-list .goods-item .goods-img {
    max-width: calc(100% - 80%);
    min-width: 130px;
}

.many-goods-container .theme-1_style-1.goods-list .goods-item .info-wrap {
    width: calc(100% - 130px);
    padding: 3px 0 5px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.many-goods-container .theme-1_style-1.goods-list .goods-item .info-wrap .goods-name {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.3;
}
.many-goods-container .theme-1_style-1.goods-list .goods-item .info-wrap .pro-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.many-goods-container .theme-1_style-1.goods-list .goods-item .info-wrap .pro-info .discount-price {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex: 1;
    padding-right: 5px;
}
.many-goods-container .theme-1_style-1.goods-list .goods-item .info-wrap .pro-info .discount-price .price-wrap {
    display: flex;
    align-items: baseline;
}

.many-goods-container .theme-1_style-1.goods-list .goods-item .info-wrap .pro-info .sale {
    margin-top: 5px;
}

.many-goods-container .goods-list .goods-item .buy-btn {
    font-weight: normal;
    padding: 0px;
    font-size: 12px;
    min-width: 56px;
    text-align: center;
}

/* 主題2 */
.many-goods-container .theme-6.goods-list,
.many-goods-container .theme-3.goods-list,
.many-goods-container .theme-2.goods-list {
    display: flex;
    flex-wrap: wrap;
}
.many-goods-container .theme-2.goods-list .goods-item:nth-of-type(1),
.many-goods-container .theme-2.goods-list .goods-item:nth-of-type(2) {
    margin-top: 0;
}
.many-goods-container .theme-2.goods-list .goods-item {
    overflow: hidden;
    margin-top: 10px;
    width: calc(50% - 5px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.many-goods-container .theme-2.goods-list .goods-item:nth-child(odd) {
    margin-left: 0;
    margin-right: 10px;
}
.many-goods-container .theme-2.goods-list .goods-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
}
.many-goods-container .theme-2.goods-list .goods-item .goods-img {
    width: calc(100% + 2px);
    text-align: center;
}
.many-goods-container .theme-2.goods-list .goods-item .info-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px;
}
.many-goods-container .theme-2.goods-list .goods-item .info-wrap .goods-name {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.3;
    color: rgb(48, 49, 51);
}
.many-goods-container .theme-2.goods-list .goods-item .info-wrap .pro-info {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
}
.many-goods-container .theme-2_style-3.goods-list .goods-item .info-wrap .pro-info .discount-price {
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-content: center;
}

.many-goods-container .theme-2_style-1.goods-list .goods-item .info-wrap .pro-info .delete-price {
    display: inline-block;
}
.many-goods-container .theme-2_style-3.goods-list .goods-item .info-wrap .pro-info .delete-price {
    display: none;
}
.many-goods-container .theme-2.goods-list .goods-item .info-wrap .pro-info .sale {
    color: rgb(153, 156, 167);
    margin-top: 5px;
}
.many-goods-container .theme-2_style-3.goods-list .goods-item .info-wrap .pro-info .sale {
    align-self: flex-end;
    font-size: 12px;
}

.many-goods-container .theme-2_style-3.goods-list .goods-item .buy-btn,
.many-goods-container .theme-2_style-1.goods-list .goods-item .buy-btn {
    display: none;
}

/* 主題3 */
.many-goods-container .theme-3.goods-list .goods-item:nth-of-type(1),
.many-goods-container .theme-3.goods-list .goods-item:nth-of-type(2),
.many-goods-container .theme-3.goods-list .goods-item:nth-of-type(3) {
    margin-top: 0;
}
.many-goods-container .theme-3.goods-list .goods-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
    margin-top: 10px;
    width: calc(33.33% - 6px);
    box-sizing: border-box;
}
.many-goods-container .theme-3.goods-list .goods-item:nth-child(3n-1) {
    margin-left: 9px;
    margin-right: 9px;
}
.many-goods-container .theme-3.goods-list .goods-item .goods-img {
    width: calc(100% + 2px);
}
.many-goods-container .theme-6.goods-list .goods-item .info-wrap,
.many-goods-container .theme-3.goods-list .goods-item .info-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 5px;
}
.many-goods-container .theme-6.goods-list .goods-item .info-wrap .pro-info,
.many-goods-container .theme-4.goods-list .goods-item .info-wrap .pro-info,
.many-goods-container .theme-3.goods-list .goods-item .info-wrap .pro-info {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.many-goods-container .theme-6_style-2.goods-list .goods-item .info-wrap .pro-info,
.many-goods-container .theme-4_style-2.goods-list .goods-item .info-wrap .pro-info,
.many-goods-container .theme-3_style-2.goods-list .goods-item .info-wrap .pro-info {
    flex-direction: initial;
    flex-wrap: wrap;
    align-items: center;
}

.many-goods-container .theme-4_style-1.goods-list .goods-item .info-wrap .pro-info .discount-price,
.many-goods-container .theme-3_style-1.goods-list .goods-item .info-wrap .pro-info .discount-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.many-goods-container .theme-3_style-2.goods-list .goods-item .info-wrap .pro-info .discount-price {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: initial;
}

.many-goods-container .theme-6.goods-list .goods-item .info-wrap .pro-info .price-wrap,
.many-goods-container .theme-4.goods-list .goods-item .info-wrap .pro-info .price-wrap,
.many-goods-container .theme-3.goods-list .goods-item .info-wrap .pro-info .price-wrap,
.many-goods-container .theme-2.goods-list .goods-item .info-wrap .pro-info .price-wrap {
    margin-right: 10px;
    display: inline-block;
}

.many-goods-container .theme-6.goods-list .goods-item .info-wrap .pro-info .sale,
.many-goods-container .theme-3.goods-list .goods-item .info-wrap .pro-info .sale,
.many-goods-container .theme-4.goods-list .goods-item .info-wrap .pro-info .sale {
    display: none;
}

.many-goods-container .theme-6_style-1.goods-list .goods-item .buy-btn,
.many-goods-container .theme-4_style-1.goods-list .goods-item .buy-btn,
.many-goods-container .theme-3_style-1.goods-list .goods-item .buy-btn {
    display: none;
}

/* 主題4 */
.many-goods-container .theme-4.goods-list {
    overflow-x: auto;
    /* white-space: nowrap; */
    margin: 10px;
    display: flex;
}
.many-goods-container .theme-4.goods-list .goods-item {
    overflow: hidden;
    max-width: 250px;
    min-width: 250px;
    display: inline-block;
    margin-right: 10px;
    box-sizing: border-box;
}
.many-goods-container .theme-4.goods-list .goods-item .goods-img {
    width: calc(100% + 2px);
}
.many-goods-container .theme-4.goods-list .goods-item .info-wrap {
    padding: 5px 10px;
}

.many-goods-container .theme-4.goods-list .goods-item .info-wrap .pro-info .delete-price {
    align-self: flex-end;
}

/* 主題5 */
.many-goods-container .theme-5_style-1.goods-list .goods-item:first-child {
    margin-top: 0;
}
.many-goods-container .theme-5_style-1.goods-list .goods-item {
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
    background-color: #fff;
}
.many-goods-container .theme-5_style-1.goods-list .goods-item .goods-img {
    width: 101.5%;
    position: relative;
}
.many-goods-container .theme-5_style-1.goods-list .goods-item .info-wrap {
    padding: 10px 10px 25px;
}
.many-goods-container .theme-5_style-1.goods-list .goods-item .info-wrap .pro-info {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.many-goods-container .theme-5_style-1.goods-list .goods-item .info-wrap .pro-info .discount-price {
    flex: 1;
    display: flex;
    align-items: baseline;
}
.many-goods-container .theme-5_style-1.goods-list .goods-item .info-wrap .pro-info .discount-price .price-wrap {
    display: flex;
    align-items: baseline;
}

.many-goods-container .theme-5_style-1.goods-list .goods-item .info-wrap .pro-info .delete-price {
    margin-left: 5px;
    text-decoration: line-through;
    flex: 1;
    line-height: 14px;
    font-size: 12px;
    color: rgb(153, 156, 167);
}
.many-goods-container .theme-5_style-1.goods-list .goods-item .info-wrap .pro-info .sale {
    color: rgb(153, 156, 167);
    position: absolute;
    bottom: -15px;
    font-size: 12px;
}
/* 主題6 */
.many-goods-container .theme-6.goods-list .goods-item:nth-of-type(1),
.many-goods-container .theme-6.goods-list .goods-item:nth-of-type(2),
.many-goods-container .theme-6.goods-list .goods-item:nth-of-type(3),
.many-goods-container .theme-6.goods-list .goods-item:nth-of-type(4) {
    margin-top: 0;
}
.many-goods-container .theme-6.goods-list .goods-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  margin-top: 10px;
  width: calc(25% - 7px);
  box-sizing: border-box;
}
.many-goods-container .theme-6.goods-list .goods-item:nth-child(4n-2) {
  margin-left: 9px;
  margin-right: 9px;
}
.many-goods-container .theme-6.goods-list .goods-item:nth-child(4n-1) {
  margin-right: 9px;
}
.many-goods-container .theme-6.goods-list .goods-item .goods-img {
  width: calc(100% + 2px);
}
.many-goods-container .theme-6_style-2.goods-list .goods-item .buy-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
}

.many-goods-container .theme-6.goods-list .goods-item .info-wrap .pro-info .discount-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

/* 多活動組 */
[builder-element="ManyPromotionElement"] .goods-list .goods-item .info-wrap .pro-info {
    display: none !important;
}
[builder-element="ManyPromotionElement"] .goods-list .goods-item .goods-name {
    font-size: 18px !important;
}
/* 輪播 */
[builder-element="CarouselElement"] .carousel-item {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
    width: 100%;
    cursor: pointer;
}
[builder-element="CarouselElement"] .carousel-controler {
    width: 50px;
}
/* 一頁式 */
[builder-element="QuickPromotionElement"] .quick-promotion-list {
    display: flex;
    flex-wrap: wrap;
}
[builder-element="QuickPromotionElement"] .quick-promotion-list .quick-promotion-item {
    margin-top: 10px;
    width: 100%;
}
[builder-element="QuickPromotionElement"] .promotion-type-text {
    margin-right: .5rem;
}
[builder-element="QuickPromotionElement"] .quick-promotion-list .quick-promotion-item .card-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 100%;
}
[builder-element="QuickPromotionElement"] .quick-promotion-list .quick-promotion-item .card-img-top {
    max-width: 100%;
    max-height: 100%;
}
[builder-element="QuickPromotionElement"] .quick-promotion-list .quick-promotion-item .card-img-top img {
    width: 100%;
    height: 100%;
}
/* 單列 */
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-1 .quick-promotion-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
}
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-1 .quick-promotion-item .card-img-top {
    max-width: calc(100% - 80%);
    min-width: 130px;
}
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-1 .quick-promotion-item .card-title {
    width: calc(100% - 110px);
    
}
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-1 .quick-promotion-item .btn-view-product {
    width: 100px;
    position: absolute;
    right: 18px;
}
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-1 .quick-promotion-item .card-text,
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-1 .quick-promotion-item .card-body {
    align-items: flex-start !important;
}
/* 一頁式: 兩列 */
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-2 .quick-promotion-item {
    width: calc(50% - 5px);
}
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-2 .quick-promotion-item:nth-child(odd) {
    margin-right: 10px;
}
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-2 .quick-promotion-item .card-text {
    flex-direction: row;
    flex-wrap: wrap;
}
/* 一頁式: 三列 */
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-3 .quick-promotion-item {
    width: calc(33.33% - 6px);
}
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-3 .quick-promotion-item:nth-child(3n-1) {
    margin-left: 9px;
    margin-right: 9px;
}
/* 一頁式: 四列 */
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-4 .quick-promotion-item {
    width: calc(25% - 7px);
}
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-4 .quick-promotion-item:nth-child(4n-1) {
    margin-right: 9px;
}
[builder-element="QuickPromotionElement"] .quick-promotion-list.theme-4 .quick-promotion-item:nth-child(4n-2) {
    margin-left: 9px;
    margin-right: 9px;
}
[builder-element="QuickPromotionElement"] .cart-block .btn-quick-checkout.blink-border,
[builder-element="QuickPromotionElement"] .quick-promotion-list .btn-view-product.blink-border {
    animation: blink-border 1.5s infinite;
}

:root {
    --secondary_color: var(--secondary);
    --primary_color: var(--primary);
}
@keyframes blink-border {
    0% {
      border: 3px solid transparent;
    }

    50% {
      border: 3px solid var(--secondary_color);
      color: var(--secondary_color);
    }

    100% {
      border: 3px solid transparent;
    }
}

.text-truncate-1 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-2 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 769px) {
    [data-hide-on="desktop"] {
        display: none !important;
    }
}

@media (max-width: 600px) {
    [data-hide-on="mobile"] {
        display: none !important;
    }
}

@media (max-width: 767px) {
    [builder-element=CellContainerElement].cell-responsive {
        display: block !important;
    }

    [builder-element=CellContainerElement].cell-responsive [builder-element="CellElement"] {
        width: 100% !important;
        max-width: none !important;
    }

    [builder-element=CellContainerElement].cell-responsive [builder-element="CellElement"],
    [builder-element=CellContainerElement].cell-responsive [builder-element="BlockElement"] {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    /* 活動列表 */
    [builder-element=PromotionCodeElement].cell-responsive {
        display: block !important;
    }

    [builder-element="PromotionCodeElement"] .promotion-code-box-1 {
        height: 85px;
    }

    [builder-element=PromotionCodeElement].cell-responsive .promotion-item,
    [builder-element=PromotionCodeElement].cell-responsive [builder-element="BlockElement"] {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box-1 .promotion-item {
        width: 105px;
        min-width: 105px;
        height: 55px;
        min-height: 55px;
    }
    
    [builder-element="PromotionCodeElement"] .promotion-code-box-2 .promotion-item {
        width: 111px;
        height: 51px;
        margin-right: 4px !important;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box-3 .promotion-item {
        width: 102px;
        height: 130px;
        margin-right: 8px !important;
    }

    [builder-element="PromotionCodeElement"] .promotion-code-box-4 .promotion-item {
        width: 110px;
        height: 64px;
        margin-right: 4px !important;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box-6 .promotion-item {
        min-width: 104px;
        height: 135px;
        margin-right: 8px !important;
    }

    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-1 .promotion-item .promotion-btn {
        font-size: 12px;
        line-height: 13px;
        width: 12px;
        bottom: 50%;
        right: 7px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-btn {
        font-size: 12px;
        line-height: 1.8;
        width: 12px;
        right: 7px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-btn {
        border-radius: 20px;
        width: 66px;
        bottom: 10px;
        left: 50%;
        margin-left: -33px;
        font-size: 12px;
        line-height: 28px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-4 .promotion-item .promotion-btn {
        font-size: 14px;
        line-height: 1;
        right: 6px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-btn {
        height: 18px;
        min-width: 35px;
        line-height: 18px;
        text-align: center;
        font-size: 12px;
        top: 10px;
        right: -4px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-btn {
        right: 13px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-intro {
        top: 10px;
        width: 103px;
        font-size: 12px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-1 .promotion-item .promotion-thumb {
        padding: 4px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-1 .promotion-item .promotion-intro {
        width: 73px;
        height: 47px;
        border-right: 1px #ffffff dashed;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-intro {
        width: 80px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-intro {
        margin-top: .7rem;
    }
    
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-4 .promotion-item .promotion-intro {
        width: 74px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-intro {
        width: 100%;
        padding: 0;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-info,
    [builder-element="PromotionCodeElement"] .promotion-code-box .promotion-item .promotion-desc {
        font-size: 12px;
    }
    
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-desc {
        margin-top: -2px;
        font-size: 12px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-desc {
        height: 18px;
        font-size: 12px;
        margin-top: 8px;
        -webkit-line-clamp: 1;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-info {
        margin-top: 5px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-info {
        font-size: 12px;
        margin-top: 3px;
        padding-top: 8px;
        width: 80px;
    }
    
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-price span {
        font-size: 18px;
        line-height: 1.3;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-price span {
        font-size: 24px;
        line-height: 1.3;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-4 .promotion-item .promotion-price span {
        font-size: 24px;
        line-height: 1.3;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-6 .promotion-item .promotion-price span {
        font-size: 26px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-1 .promotion-item .promotion-price span {
        font-size: 20px !important;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-2 .promotion-item .promotion-thumb {
        padding: 8px 4px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-3 .promotion-item .promotion-thumb {
        padding: 7px;
    }
    [builder-element="PromotionCodeElement"] .promotion-code-box.promotion-code-box-4 .promotion-item .promotion-thumb {
        padding: 8px 4px;
    }

    /* 多商品組 */
    /* 按鈕 */
    .many-goods-container .theme-4_style-2.goods-list .goods-item .buy-btn,
    .many-goods-container .theme-3_style-2.goods-list .goods-item .buy-btn,
    .many-goods-container .theme-2_style-2.goods-list .goods-item .buy-btn {
        display: block;
        width: 100%;
        margin-top: 10px;
    }
    /* 主題4 */
    .many-goods-container .theme-4.goods-list .goods-item {
        max-width: 147px;
        min-width: 147px;
    }
    /* 主題6 顯示2列 */
    .many-goods-container .theme-3.goods-list .goods-item:nth-of-type(3),
    .many-goods-container .theme-6.goods-list .goods-item:nth-of-type(3),
    .many-goods-container .theme-6.goods-list .goods-item:nth-of-type(4) {
        margin-top: 10px;
    }
    .many-goods-container .theme-3.goods-list .goods-item:nth-child(odd),
    .many-goods-container .theme-6.goods-list .goods-item:nth-child(odd) {
        margin-left: 0;
        margin-right: 10px;
    }
    .many-goods-container .theme-3.goods-list .goods-item:nth-child(even),
    .many-goods-container .theme-6.goods-list .goods-item:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
    }
    .many-goods-container .theme-3.goods-list .goods-item,
    .many-goods-container .theme-6.goods-list .goods-item {
        margin-top: 10px;
        width: calc(50% - 5px);
    }
    .many-goods-container .theme-3.goods-list .goods-item .goods-img,
    .many-goods-container .theme-6.goods-list .goods-item .goods-img {
        width: calc(100% + 2px);
        text-align: center;
    }

    .many-goods-container .theme-4_style-2.goods-list .goods-item .info-wrap .pro-info .discount-price,
    .many-goods-container .theme-3_style-2.goods-list .goods-item .info-wrap .pro-info .discount-price {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    /* 多活動組 */
    [builder-element="ManyPromotionElement"] .goods-list .goods-item .goods-name {
        font-size: 14px !important;
    }
    /* 一頁式: 四列 */
    [builder-element="QuickPromotionElement"] .quick-promotion-list.theme-3 .quick-promotion-item,
    [builder-element="QuickPromotionElement"] .quick-promotion-list.theme-4 .quick-promotion-item {
        width: calc(50% - 5px);
    }
    [builder-element="QuickPromotionElement"] .quick-promotion-list.theme-3 .quick-promotion-item:nth-child(odd),
    [builder-element="QuickPromotionElement"] .quick-promotion-list.theme-4 .quick-promotion-item:nth-child(odd) {
        margin-right: 10px;
        margin-left: 0;
    }
    [builder-element="QuickPromotionElement"] .quick-promotion-list.theme-3 .quick-promotion-item:nth-child(even),
    [builder-element="QuickPromotionElement"] .quick-promotion-list.theme-4 .quick-promotion-item:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
    }
    [builder-element="QuickPromotionElement"] .quick-promotion-list.theme-1 .quick-promotion-item .btn-view-product {
        position: static;
        width: 100%;
    }
    [builder-element="QuickPromotionElement"] .cart-item {
        flex-direction: column-reverse;
    }
    [builder-element="QuickPromotionElement"] .cart-item .assort-image {
        width: 70px !important;
        height: 70px !important;
    }
    [builder-element="QuickPromotionElement"] .cart-action {
        flex-direction: row !important;
        min-width: auto !important;
        justify-content: space-between;
        align-items: center;
        margin-right: 0 !important;
    }
    [builder-element="QuickPromotionElement"] .cart-action>a {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
    }
}

@media (min-width: 768px) {
    [builder-element=PricingTableElement] .col-12 {
        flex-basis: 0;
        flex-grow: 1;
    }
}

/* 成效轉換器 */
[builder-element="PerformanceConverterElement"] {
    .performance-converter-url {
        display: none !important;
    }
}

/* 分類文章 */
[builder-element=CategoryArticlesElement] .preview-theme {
    display: none;
}

[builder-element=CategoryArticlesElement][data-theme="theme-1"] .preview-theme[data-theme="theme-1"] {
    display: block !important;
}

[builder-element=CategoryArticlesElement][data-theme="theme-2"] .preview-theme[data-theme="theme-2"] {
    display: block !important;
}

[builder-element=CategoryArticlesElement][data-theme="theme-3"] .preview-theme[data-theme="theme-3"] {
    display: block !important;
}

[builder-element=CategoryArticlesElement] {
    .row {
        margin-right: -15px;
        margin-left: -15px;
    }

    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
        padding-right: 15px;
        padding-left: 15px;
    }

    .col-right-article {
        margin-top: 0.5rem;
        gap: 0.5rem;
    }

    @media (min-width: 768px) {
        .col-right-article {
            margin-top: 0;
            padding-left: 0;
        }
    }

    div[data-theme="theme-1"] {
        .card-img-top {
            height: auto;
        }

        img {
            aspect-ratio: 2 / 1;
            width: 100%;
            background-color: #EEE;
        }

        .badge {
            position: absolute;
            top: 0.6rem;
            left: 0.6rem;
            font-size: 1rem;
        }
    }

    div[data-theme="theme-2"], div[data-theme="theme-3"] {
        .category-item {
            margin-bottom: 1rem;
        }

        .category-header {
            width: 100%;
            border-bottom: 1px solid #d9534f;

            span {
                background: #d9534f;
                font-weight: bold;
                color: white;
                padding: 8px 15px;
                display: inline-block;
            }
        }

        .main-article {
            position: relative;
            color: white;
        }

        .main-article img {
            width: 100%;
            height: auto;
        }

        .main-article .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.6);
            padding: 15px;
        }

        .small-articles img {
            width: 100%;
            height: auto;
        }

        .main-article p, .small-articles p {
            text-align: right;
            margin: 0;
        }

        h5, h6 {
            margin-bottom: 0;
            line-height: 1.6;
        }

        .small-articles .img-thumbnail {
            width: 40%;
        }

        .main-article {
            .overlay {
                h5, h6, small {
                    color: white;
                }
            }
        }
    }

    div[data-theme="theme-2"] {
        .small-articles img {
            margin-bottom: 0.3rem;
        }
    }
}

/* 影片輪播 */
[builder-element="CarouselMediasElement"] {
    .carousel-medias-wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    @media (max-width: 768px) {
        .carousel-medias-wrapper {
            aspect-ratio: 16 / 13;
        }
    }

    @media (max-width: 576px) {
        .carousel-medias-wrapper {
            aspect-ratio: 9 / 16;
        }
    }

}

[builder-element="CarouselMediasElement"][data-theme="carousel-slider"] {
    .carousel-medias-wrapper {
        aspect-ratio: 16 / 13;
    }

    @media (max-width: 768px) {
        .carousel-medias-wrapper {
            aspect-ratio: 1 / 1;
        }
    }

    @media (max-width: 576px) {
        .carousel-medias-wrapper {
            aspect-ratio: 9 / 16;
        }
    }
}

[builder-element="CarouselMediasElement"][data-theme="stories-slider"] {
    .carousel-medias-wrapper {
        aspect-ratio: 1 / 1;
    }

    @media (max-width: 576px) {
        .carousel-medias-wrapper {
            aspect-ratio: 9 / 16;
        }
    }

}

/* 會員登入 */
[builder-element="MemberLoginElement"] {
    .member-login-wrapper {
        width: 100%;
        height: 100%;
    }
}

.editor-tools {
    display: none;
}

body.builderjs-layout .editor-tools {
    display: block !important;
}