/**
 * OnePage Landing - 銷售頁樣式
 * 所有規則均以 .olp-landing 為根節點，避免佈景主題 CSS 干擾。
 * 容易被主題覆蓋的屬性（margin、padding、font-size、color…）加上 !important。
 */

/* ── 隱藏第三方浮動購物車（如 WooFC 等外掛），OLP 有自己的 inline cart ── */
.olp-landing #woofc-count,
.olp-landing [id^="woofc-"],
.olp-landing [class*="woofc-"] {
    display: none !important;
}

/* ── Reset & Base ── */
.olp-landing {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    background: #fff !important;
    -webkit-font-smoothing: antialiased;
}

.olp-landing *,
.olp-landing *::before,
.olp-landing *::after {
    box-sizing: border-box !important;
}

.olp-landing img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* ── 容器 ── */
.olp-landing .olp-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
}

/* ── 主視覺 ── */
.olp-landing .olp-hero {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    line-height: 0 !important;
}

.olp-landing .olp-hero img {
    width: 100% !important;
    height: auto !important;
}

/* ── 服務資訊 ── */
.olp-landing .olp-info {
    padding: 24px 0 !important;
    border-bottom: 1px solid #eee !important;
}

.olp-landing .olp-info__content {
    font-size: 14px !important;
    line-height: 2 !important;
    color: #444 !important;
}

.olp-landing .olp-info__content p {
    margin: 0 0 4px !important;
}

.olp-landing .olp-info__content a {
    color: #0066cc !important;
}

/* ── 區塊標題 ── */
.olp-landing .olp-section-title {
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: #333 !important;
    border: none !important;
    background: none !important;
    line-height: 1.4 !important;
}

/* ── 優惠折扣 ── */
.olp-landing .olp-promos {
    padding: 24px 0 !important;
    border-bottom: 1px solid #eee !important;
}

.olp-landing .olp-promos__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
}

.olp-landing .olp-promos__item {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
}

.olp-landing .olp-promos__badge {
    display: inline-block !important;
    padding: 2px 10px !important;
    border-radius: 3px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.olp-landing .olp-promos__desc {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 !important;
}

/* ── 精選商品 ── */
.olp-landing .olp-products {
    padding: 30px 0 !important;
}

.olp-landing .olp-products__grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px;
}

.olp-landing .olp-products__item {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 4px !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
}

.olp-landing .olp-products__link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    flex: 1;
}

.olp-landing .olp-products__img-wrap {
    position: relative !important;
    overflow: hidden;
}

.olp-landing .olp-products__img-wrap img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.olp-landing .olp-products__badge {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: #e30922 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 3px 8px !important;
    border-radius: 0 0 4px 0 !important;
    margin: 0 !important;
}

.olp-landing .olp-products__info {
    padding: 10px !important;
    flex: 1;
}

.olp-landing .olp-products__name {
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: inherit !important;
}

.olp-landing .olp-products__price {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px;
}

.olp-landing .olp-products__regular {
    text-decoration: line-through !important;
    color: #999 !important;
    font-size: 12px !important;
    margin: 0 !important;
}

.olp-landing .olp-products__sale {
    color: #e30922 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

/* <button> 和 <a> 統一樣式；
   <a> 需要覆蓋 :link / :visited 偽類，否則主題的連結顏色會搶過 class 規則 */
.olp-landing .olp-products__btn,
.olp-landing a.olp-products__btn:link,
.olp-landing a.olp-products__btn:visited {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    background: #e30922 !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: background 0.2s;
    border: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    width: 100% !important;
    box-shadow: none !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.olp-landing .olp-products__btn:hover,
.olp-landing a.olp-products__btn:hover,
.olp-landing a.olp-products__btn:focus,
.olp-landing a.olp-products__btn:active {
    background: #c50820 !important;
    color: #fff !important;
}

.olp-landing .olp-products__btn-icon {
    font-size: 14px !important;
}

/* 加入購物車按鈕 loading 狀態 */
.olp-landing .olp-products__btn.olp-loading {
    background: #999 !important;
    pointer-events: none;
}

/* ── 目前已選購（Inline Cart） ── */
.olp-landing .olp-inline-cart {
    padding: 30px 0 !important;
    border-top: 1px solid #eee !important;
}

.olp-landing .olp-inline-cart__items {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
}

.olp-landing .olp-inline-cart__item {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 14px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.olp-landing .olp-inline-cart__item-img {
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0;
    border-radius: 4px !important;
    overflow: hidden;
    background: #f5f5f5 !important;
}

.olp-landing .olp-inline-cart__item-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.olp-landing .olp-inline-cart__item-info {
    flex: 1;
    min-width: 0;
}

.olp-landing .olp-inline-cart__item-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    color: #333 !important;
}

.olp-landing .olp-inline-cart__item-price {
    font-size: 13px !important;
    color: #888 !important;
    margin: 0 !important;
}

.olp-landing .olp-inline-cart__item-price del {
    color: #bbb !important;
    margin-right: 4px !important;
}

.olp-landing .olp-inline-cart__item-subtotal {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #333 !important;
    white-space: nowrap;
    min-width: 80px;
    text-align: right !important;
}

.olp-landing .olp-inline-cart__item-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    flex-shrink: 0;
}

.olp-landing .olp-inline-cart__qty {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    overflow: hidden;
}

.olp-landing .olp-inline-cart__qty-btn {
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: #f5f5f5 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #333 !important;
    transition: background 0.15s;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.olp-landing .olp-inline-cart__qty-btn:hover {
    background: #e8e8e8 !important;
}

.olp-landing .olp-inline-cart__qty-num {
    width: 32px;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.olp-landing .olp-inline-cart__remove {
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    background: none !important;
    color: #999 !important;
    font-size: 14px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.15s;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.olp-landing .olp-inline-cart__remove:hover {
    background: #fee !important;
    color: #e30922 !important;
}

.olp-landing .olp-inline-cart__footer {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 2px solid #333 !important;
}

.olp-landing .olp-inline-cart__total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
}

.olp-landing .olp-inline-cart__total-price {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #e30922 !important;
}

.olp-landing .olp-inline-cart__checkout {
    display: block !important;
    width: 100% !important;
    padding: 14px 24px !important;
    background: #e30922 !important;
    color: #fff !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    letter-spacing: 2px;
    transition: opacity 0.2s;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.olp-landing .olp-inline-cart__checkout:hover {
    opacity: 0.9;
    color: #fff !important;
}

/* ── 聯絡客服 ── */
.olp-landing .olp-contact {
    padding: 40px 0 !important;
    background: #f5f5f5 !important;
}

.olp-landing .olp-contact__buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
}

.olp-landing .olp-contact__btn {
    display: block !important;
    width: 100% !important;
    padding: 14px 24px !important;
    color: #fff !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    transition: opacity 0.2s;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.olp-landing .olp-contact__btn:hover {
    opacity: 0.9;
    color: #fff !important;
}

.olp-landing .olp-contact__btn--line {
    background: #6cc644 !important;
}

.olp-landing .olp-contact__btn--fb {
    background: #4267b2 !important;
}

/* ── 右下角浮動按鈕 (FAB) ── */
.olp-landing .olp-fab {
    position: fixed !important;
    bottom: 20px !important;
    right: 16px !important;
    z-index: 9998 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
}

.olp-landing .olp-fab__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    text-decoration: none !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.2s, box-shadow 0.2s;
    line-height: 1 !important;
    margin: 0 !important;
}

.olp-landing .olp-fab__btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.olp-landing .olp-fab__btn:focus,
.olp-landing .olp-fab__btn:focus-visible {
    outline: none !important;
}

.olp-landing .olp-fab__btn--line {
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
    padding: 0 !important;
}

.olp-landing .olp-fab__btn--messenger {
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
    padding: 0 !important;
}

.olp-landing .olp-fab__btn--phone {
    background: #ec5923 !important;
}

.olp-landing .olp-fab__btn--checkout {
    background: #e30922 !important;
    width: 52px !important;
    height: 52px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
}

.olp-landing .olp-fab__checkout-text {
    pointer-events: none;
}

.olp-landing .olp-fab__btn--top {
    background: #fff !important;
    border: 1px solid #ddd !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.2s, box-shadow 0.2s;
}

.olp-landing .olp-fab__btn--top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.olp-landing .olp-fab__btn--top:hover {
    background: #f5f5f5 !important;
}

/* ── Variable Product 規格選擇 Modal ── */
.olp-landing .olp-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: flex-end !important; /* 手機：從底部滑出 */
    justify-content: center !important;
}

.olp-landing .olp-modal[hidden] {
    display: none !important;
}

.olp-landing .olp-modal__overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.olp-landing .olp-modal__box {
    position: relative !important;
    background: #fff !important;
    width: 100% !important;
    max-width: 480px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 20px !important;
    -webkit-overflow-scrolling: touch;
}

.olp-landing .olp-modal__close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: #f0f0f0 !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #666 !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.olp-landing .olp-modal__close:hover {
    background: #e0e0e0 !important;
    color: #333 !important;
}

.olp-landing .olp-modal__product {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding-right: 36px !important;
}

.olp-landing .olp-modal__img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    flex-shrink: 0;
}

.olp-landing .olp-modal__info {
    flex: 1;
    min-width: 0;
}

.olp-landing .olp-modal__name {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #333 !important;
}

.olp-landing .olp-modal__price {
    font-size: 14px !important;
    color: #e30922 !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.olp-landing .olp-modal__price del {
    color: #999 !important;
    margin-right: 4px !important;
    font-weight: 400 !important;
}

.olp-landing .olp-modal__price-note {
    color: #999 !important;
    font-weight: 400 !important;
}

/* ── 屬性選項 ── */
.olp-landing .olp-modal__attr-group {
    margin-bottom: 16px !important;
}

.olp-landing .olp-modal__attr-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
}

.olp-landing .olp-modal__attr-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.olp-landing .olp-modal__attr-btn,
.olp-landing .olp-modal__attr-btn:link,
.olp-landing .olp-modal__attr-btn:visited {
    padding: 5px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background: #fff !important;
    font-size: 13px !important;
    cursor: pointer;
    color: #333 !important;
    transition: all 0.15s;
    line-height: 1.4 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.olp-landing .olp-modal__attr-btn:hover {
    border-color: #e30922 !important;
    color: #e30922 !important;
}

.olp-landing .olp-modal__attr-btn.is-selected {
    background: #e30922 !important;
    border-color: #e30922 !important;
    color: #fff !important;
}

/* ── 底部：數量 + 加入購物車 ── */
.olp-landing .olp-modal__footer {
    border-top: 1px solid #eee !important;
    padding-top: 16px !important;
    margin-top: 8px !important;
}

.olp-landing .olp-modal__qty-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
}

.olp-landing .olp-modal__qty-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.olp-landing .olp-modal__add-btn {
    display: block !important;
    width: 100% !important;
    padding: 14px !important;
    background: #e30922 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1.4 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.olp-landing .olp-modal__add-btn:hover:not(:disabled) {
    background: #c50820 !important;
}

.olp-landing .olp-modal__add-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed;
}

/* 桌機：改為置中 dialog */
@media (min-width: 640px) {
    .olp-landing .olp-modal {
        align-items: center !important;
    }

    .olp-landing .olp-modal__box {
        border-radius: 12px !important;
        max-height: 85vh !important;
    }
}

/* ── 左下角浮動購物車按鈕 ── */
.olp-landing .olp-cart-fab {
    position: fixed !important;
    bottom: 20px !important;
    left: 16px !important;
    z-index: 9997 !important;
}

.olp-landing .olp-cart-fab[hidden] {
    display: none !important;
}

.olp-landing .olp-cart-fab__btn {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
    cursor: pointer;
    color: #333 !important;
    padding: 0 !important;
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 0 !important;
    line-height: 1 !important;
}

.olp-landing .olp-cart-fab__btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.olp-landing .olp-cart-fab__count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 5px !important;
    background: #555 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
    pointer-events: none;
    margin: 0 !important;
}

/* ── 購物車抽屜 ── */
.olp-landing .olp-cart-drawer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99998 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

.olp-landing .olp-cart-drawer[hidden] {
    display: none !important;
}

.olp-landing .olp-cart-drawer__overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.olp-landing .olp-cart-drawer__panel {
    position: relative !important;
    background: #fff !important;
    width: 100% !important;
    max-width: 480px !important;
    max-height: 88vh !important;
    border-radius: 16px 16px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
}

.olp-landing .olp-cart-drawer__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #eee !important;
    flex-shrink: 0;
}

.olp-landing .olp-cart-drawer__title {
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #333 !important;
    border: none !important;
    background: none !important;
    line-height: 1.4 !important;
}

.olp-landing .olp-cart-drawer__close {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: #f0f0f0 !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #666 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0;
}

.olp-landing .olp-cart-drawer__close:hover {
    background: #e0e0e0 !important;
    color: #333 !important;
}

.olp-landing .olp-cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px !important;
}

.olp-landing .olp-cart-drawer__item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px;
    padding: 14px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.olp-landing .olp-cart-drawer__item-img {
    width: 68px !important;
    height: 68px !important;
    flex-shrink: 0;
    border-radius: 6px !important;
    overflow: hidden;
    background: #f5f5f5 !important;
}

.olp-landing .olp-cart-drawer__item-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.olp-landing .olp-cart-drawer__item-body {
    flex: 1;
    min-width: 0;
}

.olp-landing .olp-cart-drawer__item-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #333 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.olp-landing .olp-cart-drawer__item-price {
    font-size: 13px !important;
    color: #e30922 !important;
    font-weight: 600 !important;
    margin: 0 0 8px !important;
}

.olp-landing .olp-cart-drawer__item-price del {
    color: #bbb !important;
    font-weight: 400 !important;
    margin-right: 4px !important;
}

.olp-landing .olp-cart-drawer__item-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px;
}

.olp-landing .olp-cart-drawer__item-subtotal {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #333 !important;
    white-space: nowrap;
}

.olp-landing .olp-cart-drawer__empty {
    text-align: center !important;
    padding: 40px 0 !important;
    color: #999 !important;
    font-size: 15px !important;
    margin: 0 !important;
}

.olp-landing .olp-cart-drawer__footer {
    padding: 14px 20px 20px !important;
    border-top: 1px solid #eee !important;
    flex-shrink: 0;
}

.olp-landing .olp-cart-drawer__totals {
    margin-bottom: 14px !important;
}

.olp-landing .olp-cart-drawer__total-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #666 !important;
    margin-bottom: 4px !important;
}

.olp-landing .olp-cart-drawer__total-row--main {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 0 !important;
}

.olp-landing .olp-cart-drawer__total-row--main .olp-cart-drawer__total {
    color: #e30922 !important;
    font-size: 18px !important;
}

.olp-landing .olp-cart-drawer__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
    margin-bottom: 12px !important;
}

.olp-landing .olp-cart-drawer__btn,
.olp-landing a.olp-cart-drawer__btn:link,
.olp-landing a.olp-cart-drawer__btn:visited {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 13px 8px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    transition: opacity 0.2s;
}

.olp-landing .olp-cart-drawer__btn--cart,
.olp-landing a.olp-cart-drawer__btn--cart:link,
.olp-landing a.olp-cart-drawer__btn--cart:visited {
    background: #f0f0f0 !important;
    color: #333 !important;
}

.olp-landing .olp-cart-drawer__btn--checkout,
.olp-landing a.olp-cart-drawer__btn--checkout:link,
.olp-landing a.olp-cart-drawer__btn--checkout:visited {
    background: #e30922 !important;
    color: #fff !important;
}

.olp-landing .olp-cart-drawer__btn:hover {
    opacity: 0.85;
}

.olp-landing .olp-cart-drawer__continue,
.olp-landing a.olp-cart-drawer__continue:link,
.olp-landing a.olp-cart-drawer__continue:visited {
    display: block !important;
    text-align: center !important;
    font-size: 13px !important;
    color: #888 !important;
    text-decoration: underline !important;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
}

.olp-landing a.olp-cart-drawer__continue:hover {
    color: #555 !important;
}

/* 桌機：改為置中 dialog */
@media (min-width: 640px) {
    .olp-landing .olp-cart-drawer {
        align-items: center !important;
    }

    .olp-landing .olp-cart-drawer__panel {
        border-radius: 12px !important;
        max-height: 85vh !important;
    }
}

/* ── RWD ── */
@media (max-width: 768px) {
    .olp-landing .olp-products__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .olp-landing .olp-products__name {
        font-size: 12px !important;
    }

    .olp-landing .olp-products__sale {
        font-size: 13px !important;
    }

    .olp-landing .olp-section-title {
        font-size: 18px !important;
    }

    .olp-landing .olp-inline-cart__item {
        flex-wrap: wrap;
        gap: 8px;
    }

    .olp-landing .olp-inline-cart__item-subtotal {
        min-width: auto;
    }

    .olp-landing .olp-inline-cart__item-actions {
        width: 100% !important;
        justify-content: space-between !important;
        padding-left: 76px !important;
    }
}
