@media only screen and (max-width: 600px) {
    /* 手機版段落文字調整 */
    .entry-content p, .wp-block-paragraph {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}
    /* 價格對齊 */
    .woocommerce-Price-amount, .price {
        font-size: 16px !important;
        display: block !important;
        margin: 5px 0 !important;
    }

    /* 按鈕寬度調整（如果未被隱藏則保留） */
    .wp-block-button .wp-block-button__link {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

/* 手機版固定容器右上角的關閉按鈕樣式 */
@media (max-width: 600px) {
  .mobile-close-btn {
      position: absolute;
      top: 5px;
      right: 5px;
      background: rgba(0,0,0,0.6);
      color: #fff;
      border: none;
      padding: 4px 10px;
      font-size: 20px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10000;
      line-height: 1;
  }
  .mobile-close-btn:hover {
      background: rgba(0,0,0,0.85);
  }

  body.has-fixed-configurator {
      padding-top: 260px; /* 預留頂部空間 */
  }
}

/* 桌機/平板不顯示按鈕 */
@media (min-width: 601px) {
  .mobile-close-btn {
      display: none !important;
  }
  body.has-fixed-configurator {
      padding-top: 0 !important;
  }
}

/* Sticky image by Marc (保留原樣) */
@media (max-width: 660px) {
    body:not(.configurator_is_inline) .mkl_pc .mkl_pc_container .mkl_pc_viewer {
        position: sticky;
        top: 40px;
        bottom: auto;
        height: 250px;
        background: #FFF;
        z-index: 10;
        box-shadow: 0 5px 15px #00000024;
    }
    
    .mkl_pc .mkl_pc_container .mkl_pc_toolbar {
        top: 40px;
    }
}

/* 僅在手機版 (767px 以下) 套用你指定的尺寸 */
@media only screen and (max-width: 767px) {
    .mobile-shrink-card {
        flex: 1 1 45% !important;
        max-width: 48% !important;
        min-width: 0 !important;
    }
    .mobile-shrink-card img {
        width: 100% !important;
        height: 100px !important; /* 👈 手機版指定高度 */
        object-fit: cover !important;
    }
    .mobile-shrink-card span {
        font-size: 13px !important; /* 👈 手機版文字縮細 */
        margin-top: 8px !important;
    }
}
/* 側欄大底：半透明灰 */
#ocs-sidebar.ocs-slidebar {
  background-color: rgba(40, 40, 40, 0.55) !important;
}

/* 入面內容：半透明白 */
#ocs-sidebar .widget,
#ocs-sidebar .wp-block-accordion,
#ocs-sidebar .wp-block-accordion-item,
#ocs-sidebar .wp-block-accordion-panel {
  background-color: rgba(255, 255, 255, 0.78) !important;
}

#ocs-sidebar .wp-block-accordion-heading {
  background-color: rgba(255, 255, 255, 0.88) !important;
}

#ocs-sidebar,
#ocs-sidebar a,
#ocs-sidebar .wp-block-accordion-heading {
  color: #111 !important;
}
@media (max-width: 781px) {
  p.wa-label {
    display: none !important;
  }
}
header.wp-block-template-part > .wp-block-group {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.ocs-menu-btn {
  font-size: 30px !important;
  line-height: 1 !important;
  padding: 6px 10px !important;
  min-width: 44px;
  min-height: 44px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}
@media (max-width: 781px) {
  #ocs-sidebar.ocs-slidebar.ocs-location-left {
    width: 70vw !important;
    max-width: 230px !important;
  }
}