/* ==================================================
   [BOSION CSS] WooCommerce 최소 보정
   --------------------------------------------------
   목적:
   - Elementor / Astra 전역 색상 설정을 우선 사용
   - WooCommerce 장바구니, 결제, 주문완료 화면만 최소 보정
   - 보시온 버튼 hover 색상은 골드 계열로 고정
   ================================================== */


/* ==================================================
   [BOSION CSS 01] WooCommerce 공통
   ================================================== */

.woocommerce-cart .entry-title,
.woocommerce-cart h1,
.woocommerce-checkout .entry-title,
.woocommerce-checkout h1,
.woocommerce-order-received .entry-title,
.woocommerce-order-received h1 {
    color: #3A2720;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-order-received .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
}


/* ==================================================
   [BOSION CSS 02] 장바구니
   ================================================== */

.woocommerce-cart table.shop_table {
    border: 1px solid #E8D5B5;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(47, 27, 20, 0.04);
}

.woocommerce-cart table.shop_table th {
    background: #F9F5EB;
    color: #3A2720;
    font-weight: 800;
    border-bottom: 1px solid #E8D5B5;
    padding: 14px 12px;
}

.woocommerce-cart table.shop_table td {
    border-top: 1px solid #EFE5D2;
    padding: 14px 12px;
    color: #333333;
}

.woocommerce-cart table.shop_table .product-name a {
    color: #3A2720;
    font-weight: 800;
    text-decoration: none;
}

.woocommerce-cart table.shop_table .product-name a:hover {
    color: #B88C2E;
}

.woocommerce-cart table.shop_table .product-remove a {
    color: #AA8539 !important;
    text-decoration: none;
}

.woocommerce-cart table.shop_table .product-remove a:hover {
    color: #B88C2E !important;
}

.woocommerce-cart .quantity input.qty {
    width: 72px;
    height: 42px;
    border: 1px solid #E8D5B5;
    border-radius: 10px;
    text-align: center;
}

.woocommerce-cart .product-thumbnail img {
    border-radius: 10px;
    border: 1px solid #EFE5D2;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    background: #FFFFFF;
    border: 1px solid #E8D5B5;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(47, 27, 20, 0.04);
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
    color: #3A2720;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #C9A24D !important;
    color: #FFFFFF !important;
    border-radius: 12px;
    padding: 15px 20px;
    font-weight: 800;
    font-size: 17px;
    text-decoration: none;
    text-align: center;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #B88C2E !important;
    color: #FFFFFF !important;
}

.woocommerce-cart button[name="update_cart"] {
    background: #EAD7A3 !important;
    color: #3A2720 !important;
    border: 1px solid #E8D5B5 !important;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
}

.woocommerce-cart button[name="update_cart"]:hover {
    background: #D8B85A !important;
    color: #3A2720 !important;
}


/* ==================================================
   [BOSION CSS 03] 결제
   ================================================== */

.woocommerce-checkout #place_order {
    width: 100%;
    background: #C9A24D !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 22px !important;
    font-weight: 800 !important;
    text-align: center;
}

.woocommerce-checkout #place_order:hover {
    background: #B88C2E !important;
    color: #FFFFFF !important;
}


/* ==================================================
   [BOSION CSS 04] 주문완료
   ================================================== */

.woocommerce-order-received .woocommerce-thankyou-order-received {
    color: #3A2720;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.woocommerce-order-received .woocommerce-order-overview {
    background: #F9F5EB;
    border: 1px solid #E8D5B5;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 20px 0 30px;
}

.woocommerce-order-received .woocommerce-order-overview li {
    font-size: 15px;
    color: #333333;
    line-height: 1.7;
}

.woocommerce-order-received h2,
.woocommerce-order-received h3 {
    color: #3A2720;
    font-size: 24px;
    font-weight: 800;
    margin-top: 30px;
    margin-bottom: 14px;
}

.woocommerce-order-received table.shop_table {
    border: 1px solid #E8D5B5;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
}

.woocommerce-order-received table.shop_table th {
    background: #F9F5EB;
    color: #3A2720;
    font-size: 15px;
    font-weight: 800;
    padding: 14px;
}

.woocommerce-order-received table.shop_table td {
    color: #333333;
    font-size: 15px;
    padding: 14px;
}

.woocommerce-order-received .woocommerce-customer-details address {
    border: 1px solid #E8D5B5;
    border-radius: 12px;
    padding: 18px;
    color: #333333;
    font-size: 15px;
    line-height: 1.8;
    background: #FFFFFF;
}


/* ==================================================
   [BOSION CSS 05] 주문완료 은행정보
   ================================================== */

.woocommerce-order-received .wc-bacs-bank-details,
.woocommerce-order-received .woocommerce-bacs-bank-details {
    background: #F9F5EB !important;
    border: 1px solid #E8D5B5 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin: 18px 0 24px !important;
}

.woocommerce-order-received .wc-bacs-bank-details-heading,
.woocommerce-order-received .woocommerce-bacs-bank-details h2 {
    font-size: 20px !important;
    color: #3A2720 !important;
    margin: 0 0 10px !important;
}

.woocommerce-order-received .wc-bacs-bank-details-account-name {
    font-size: 16px !important;
    color: #3A2720 !important;
    margin: 0 0 10px !important;
    font-weight: 800 !important;
}

.woocommerce-order-received .wc-bacs-bank-details ul,
.woocommerce-order-received .woocommerce-bacs-bank-details ul {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-order-received .wc-bacs-bank-details li,
.woocommerce-order-received .woocommerce-bacs-bank-details li {
    display: inline-block !important;
    margin: 0 18px 6px 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.woocommerce-order-received .wc-bacs-bank-details li strong,
.woocommerce-order-received .woocommerce-bacs-bank-details li strong {
    color: #4A4A4A !important;
    font-weight: 700 !important;
}


/* ==================================================
   [BOSION CSS 06] 모바일
   ================================================== */

@media (max-width: 768px) {

    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce,
    .woocommerce-order-received .woocommerce {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .woocommerce-cart table.shop_table {
        border-radius: 12px;
    }

    .woocommerce-cart table.shop_table td {
        padding: 12px 10px;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        padding: 18px;
        margin-top: 18px;
    }

    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        width: 100%;
        font-size: 16px;
    }

    .woocommerce-checkout #place_order {
        width: 100% !important;
    }

    .woocommerce-order-received h1,
    .woocommerce-order-received .entry-title {
        font-size: 28px;
    }

    .woocommerce-order-received h2,
    .woocommerce-order-received h3 {
        font-size: 21px;
    }

    .woocommerce-order-received .woocommerce-order-overview {
        padding: 16px;
    }

    .woocommerce-order-received .wc-bacs-bank-details li,
    .woocommerce-order-received .woocommerce-bacs-bank-details li {
        display: block !important;
        margin: 0 0 6px 0 !important;
    }
}

/* =========================================================
   [BOSION CSS 10] 사찰전용홈페이지 통합 정리본 v51
   ---------------------------------------------------------
   적용 위치:
   - 외모 > 사용자 정의하기 > 추가 CSS 전체 교체

   정리 기준:
   - v43 중복본 제거
   - v45/v46/P2 구형 스님소개 보정 제거
   - v47 스님소개 최종 구조 기준 반영
   - v48 모바일 탭 전환 유지
   - v50 공간 압축 기준 반영
   ========================================================= */


/* =========================================================
   0) 전역 변수 / Astra partner 화면 초기화
   ========================================================= */

:root {
  --bs-bg: #F3EDE2;
  --bs-surface: #FFFFFF;
  --bs-text: #3A2720;
  --bs-body: #333333;
  --bs-muted: #6F6258;
  --bs-gold: #C9A24D;
  --bs-gold2: #D4A25F;
  --bs-green: #4E6B5C;
  --bs-border: #E6D8BF;
  --bs-border2: #E9DDC9;
  --bs-radius: 18px;
  --bs-shadow: 0 10px 28px rgba(58, 39, 32, .06);
}

body.single-partner {
  background: var(--bs-bg) !important;
}

body.single-partner .entry-title,
body.single-partner .post-thumbnail,
body.single-partner .entry-header {
  display: none !important;
}

body.single-partner .site-content,
body.single-partner .content-area,
body.single-partner .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single-partner .ast-container,
body.single-partner .site-content .ast-container,
body.single-partner .content-area,
body.single-partner .site-main,
body.single-partner article.partner,
body.single-partner .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.bosion-front-wrap,
.bosion-front-wrap * {
  box-sizing: border-box;
}

.bosion-front-wrap {
  width: min(1200px, calc(100vw - 24px));
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 56px;
  background: transparent;
  color: var(--bs-body);
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.bosion-front-wrap a {
  text-decoration: none;
}


/* =========================================================
   1) 공통 카드 / 버튼
   ========================================================= */

.bosion-front-section {
  margin-top: 20px;
  padding: 18px;
  background: #FFFFFF;
  border: 1px solid var(--bs-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(58, 39, 32, .045);
}

.bosion-front-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.bosion-front-section-head h2 {
  margin: 0;
  color: var(--bs-text);
  font-size: 23px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.bosion-front-section-head p {
  margin: 4px 0 0;
  color: var(--bs-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bosion-front-card {
  background: #FFFFFF;
  border: 1px solid var(--bs-border2);
  border-radius: 16px;
  box-shadow: none;
  padding: 14px;
}

.bosion-front-card h3 {
  margin: 0 0 8px;
  color: var(--bs-text);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.bosion-front-card p {
  margin: 0;
  color: var(--bs-body);
  line-height: 1.65;
  font-size: 14px;
  word-break: keep-all;
}

.bosion-front-btn,
.bosion-front-small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  background: var(--bs-gold);
  border: 1px solid var(--bs-gold);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}

.bosion-front-btn:hover,
.bosion-front-small-btn:hover {
  background: var(--bs-green);
  border-color: var(--bs-green);
  color: #FFFFFF !important;
}

.bosion-front-btn.sub,
.bosion-front-small-btn.line {
  background: #FFFFFF;
  border-color: var(--bs-border);
  color: #8A6426 !important;
}

.bosion-front-btn.sub:hover,
.bosion-front-small-btn.line:hover {
  background: #FFF8EA;
  color: var(--bs-text) !important;
}


/* =========================================================
   2) 히어로
   ========================================================= */

.bosion-front-hero {
  position: relative;
  width: 100%;
  height: 330px;
  min-height: 330px;
  max-height: 330px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .96) 0%, rgba(255, 250, 240, .78) 45%, rgba(255, 250, 240, .16) 100%),
    linear-gradient(135deg, #F8EEDB 0%, #E6D8BF 48%, #B9C7B6 100%);
  box-shadow: var(--bs-shadow);
  display: flex;
  align-items: center;
  padding: 40px 46px;
}

.bosion-front-hero.has-image {
  background-size: cover;
  background-position: center center;
}

.bosion-front-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 248, 236, .78) 0%, rgba(255, 248, 236, .52) 46%, rgba(255, 248, 236, .12) 100%),
    linear-gradient(0deg, rgba(58, 39, 32, .14), rgba(58, 39, 32, .04));
  pointer-events: none;
}

.bosion-front-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--bs-text);
}

.bosion-front-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(201, 162, 77, .34);
  color: #8A6426;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.bosion-front-hero h1 {
  margin: 0 0 10px;
  color: var(--bs-text);
  font-size: 42px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 2px 12px rgba(255, 255, 255, .42);
}

.bosion-front-address {
  margin: 0 0 8px !important;
  color: #4E4038 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(255, 255, 255, .38) !important;
}

.bosion-front-summary {
  max-width: 650px;
  margin: 0 !important;
  color: #4E4038 !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(255, 255, 255, .38);
  word-break: keep-all;
}

.bosion-front-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}


/* =========================================================
   3) 모바일 탭 메뉴
   ========================================================= */

.bosion-front-quick {
  display: none;
}

.bosion-front-quick button {
  font-family: inherit;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.bosion-front-quick button:focus {
  outline: 2px solid rgba(201, 162, 77, .35);
  outline-offset: -2px;
}


/* =========================================================
   4) 상단 소개 영역: 사찰소개 + 스님소개
   ========================================================= */

.bosion-front-intro-sections {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 18px !important;
  margin-top: 20px !important;
  align-items: stretch !important;
}

.bosion-front-intro-sections .bosion-front-section {
  margin-top: 0 !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 14px !important;
}

.bosion-front-intro-sections .bosion-front-section-head {
  margin-bottom: 9px !important;
}

.bosion-front-intro-sections .bosion-front-section-head h2 {
  font-size: 21px !important;
}

.bosion-front-intro-sections .bosion-front-section-head p {
  display: none !important;
}


/* 사찰소개 */
.bosion-front-temple-profile-card {
  height: 100% !important;
  padding: 8px !important;
  border-radius: 15px !important;
}

.bosion-front-temple-profile-body {
  display: grid !important;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
}

.bosion-front-temple-profile-left {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.bosion-front-temple-profile-left,
.bosion-front-temple-detail,
.bosion-front-temple-history {
  padding: 10px !important;
  border: 1px solid var(--bs-border2) !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
}

.bosion-front-temple-history {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9EF 100%) !important;
}

.bosion-front-intro-main-img {
  display: block !important;
  width: 100% !important;
  height: 160px !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 12px !important;
  background: #F6F0E6 !important;
  border: 1px solid var(--bs-border2) !important;
}

.bosion-front-temple-detail h3,
.bosion-front-temple-history h3 {
  margin: 0 0 6px !important;
  color: var(--bs-text) !important;
  font-size: 15px !important;
  line-height: 1.32 !important;
  font-weight: 900 !important;
}

.bosion-front-temple-detail p,
.bosion-front-temple-history p {
  display: block !important;
  margin: 0 !important;
  color: var(--bs-body) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  word-break: keep-all !important;
}


/* 스님소개 v47 최종 구조 */
.bosion-front-monk-final-card,
.bosion-front-monk-final-card * {
  box-sizing: border-box !important;
}

.bosion-front-monk-final-card {
  height: 100% !important;
  padding: 8px !important;
  border-radius: 15px !important;
  overflow: visible !important;
}

.bosion-front-monk-final-layout {
  display: grid !important;
  grid-template-columns: minmax(160px, .42fr) minmax(0, .58fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
}

.bosion-front-monk-final-left,
.bosion-front-monk-final-right {
  min-width: 0 !important;
  padding: 10px !important;
  border: 1px solid var(--bs-border2) !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  overflow: visible !important;
}

.bosion-front-monk-final-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  background: #FFFBF4 !important;
}

.bosion-front-monk-final-right {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.bosion-front-monk-final-photo {
  display: block !important;
  width: 142px !important;
  max-width: 100% !important;
  height: 142px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #FFFFFF !important;
  border: 1px solid var(--bs-border2) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.bosion-front-monk-final-name {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: var(--bs-text) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.045em !important;
  text-align: center !important;
  word-break: keep-all !important;
}

.bosion-front-monk-final-greeting,
.bosion-front-monk-final-bio {
  width: 100% !important;
  padding: 10px !important;
  border: 1px solid var(--bs-border2) !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  overflow: visible !important;
}

.bosion-front-monk-final-greeting {
  flex: 1 1 auto !important;
}

.bosion-front-monk-final-bio {
  flex: 1 1 auto !important;
}

.bosion-front-monk-final-greeting strong,
.bosion-front-monk-final-bio strong {
  display: block !important;
  margin: 0 0 6px !important;
  color: #8A6426 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

.bosion-front-monk-final-greeting p,
.bosion-front-monk-final-bio p {
  display: block !important;
  margin: 0 !important;
  color: var(--bs-body) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
  letter-spacing: -0.035em !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

.bosion-front-monk-final-consult {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: 110px !important;
  min-height: 36px !important;
  margin-top: auto !important;
  padding: 0 14px !important;
  border-radius: 9px !important;
  background: var(--bs-gold) !important;
  border: 1px solid var(--bs-gold) !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.bosion-front-monk-final-consult:hover {
  background: var(--bs-green) !important;
  border-color: var(--bs-green) !important;
  color: #FFFFFF !important;
}


/* =========================================================
   5) 사찰소식 + 우측 정보 7:3 레이아웃
   ========================================================= */

.bosion-front-main-layout.bosion-front-news-side-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr) !important;
  gap: 22px !important;
  align-items: start !important;
  margin-top: 20px !important;
}

.bosion-front-main-left {
  min-width: 0 !important;
  display: block !important;
}

.bosion-front-main-side,
.bosion-front-side-stack {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  position: sticky !important;
  top: 84px !important;
}

.bosion-front-main-side .bosion-front-section,
.bosion-front-side-stack .bosion-front-section {
  margin-top: 0 !important;
  padding: 18px !important;
}

.bosion-front-member-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 16px !important;
  min-height: 0 !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9EF 100%);
}

.bosion-front-member-copy h3 {
  margin: 0 0 5px !important;
  color: var(--bs-text);
  font-size: 18px !important;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.bosion-front-member-copy p {
  margin: 0;
  color: var(--bs-muted);
  font-size: 14px !important;
  line-height: 1.6 !important;
  word-break: keep-all;
}

.bosion-front-member-action {
  min-width: 126px !important;
  display: flex;
  justify-content: flex-end;
}

.bosion-front-member-join-btn.is-joined {
  background: #FFF8EA !important;
  border-color: var(--bs-gold) !important;
  color: #8A6426 !important;
}

.bosion-front-info-list {
  display: grid;
  gap: 0;
}

.bosion-front-info-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--bs-border2);
  font-size: 14px;
}

.bosion-front-info-row:last-child {
  border-bottom: 0;
}

.bosion-front-info-row strong {
  color: var(--bs-text);
}

.bosion-front-info-row span {
  color: var(--bs-muted);
  word-break: break-word;
}


/* =========================================================
   6) 게시판 / 탭 / 댓글
   ========================================================= */

.bosion-front-post-tabs {
  display: flex !important;
  gap: 0 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border-bottom: 1px solid #F0E6D7 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
}

.bosion-front-post-tab-btn {
  flex: 0 0 auto !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--bs-muted) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.bosion-front-post-tab-btn:hover {
  background: #FFF8EA !important;
  color: var(--bs-text) !important;
}

.bosion-front-post-tab-btn.is-active {
  background: transparent !important;
  border-bottom-color: var(--bs-gold) !important;
  color: var(--bs-text) !important;
}

.bosion-front-post-panel {
  display: none !important;
  padding: 14px !important;
  border: 1px solid var(--bs-border2) !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
}

.bosion-front-post-panel.is-active {
  display: block !important;
}

.bosion-front-board-list {
  border: 1px solid var(--bs-border2) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
}

.bosion-front-board-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 62px !important;
  padding: 11px 14px !important;
  border-bottom: 1px solid #F0E6D7 !important;
  color: var(--bs-text) !important;
  text-decoration: none !important;
}

.bosion-front-board-row:last-child {
  border-bottom: 0 !important;
}

.bosion-front-board-row:hover,
.bosion-front-board-row.is-current {
  background: #FFF8EA !important;
}

.bosion-front-board-title {
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}

.bosion-front-board-title strong {
  color: var(--bs-text) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.bosion-front-board-title em {
  color: var(--bs-muted) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.bosion-front-board-row time {
  flex: 0 0 auto !important;
  color: var(--bs-muted) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.bosion-front-board-tools {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 10px !important;
  margin: 14px 0 0 !important;
}

.bosion-front-board-tools--bottom {
  padding-top: 14px !important;
  border-top: 1px solid var(--bs-border2) !important;
}

.bosion-front-board-search {
  display: flex !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  max-width: 460px !important;
}

.bosion-front-board-search input,
.bosion-front-board-write-form input,
.bosion-front-board-write-form textarea,
.bosion-front-comment-form textarea {
  width: 100% !important;
  border: 1px solid var(--bs-border2) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  color: var(--bs-text) !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

.bosion-front-board-search input {
  min-height: 38px !important;
  padding: 0 12px !important;
}

.bosion-front-board-search button,
.bosion-front-board-write summary,
.bosion-front-board-write-form button,
.bosion-front-board-login,
.bosion-front-comment-form button {
  min-height: 38px !important;
  border: 1px solid var(--bs-gold) !important;
  border-radius: 12px !important;
  padding: 0 15px !important;
  background: var(--bs-gold) !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.bosion-front-board-write {
  position: relative !important;
  flex: 0 0 auto !important;
}

.bosion-front-board-write[open] {
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
}

.bosion-front-board-write summary {
  list-style: none !important;
  width: max-content !important;
  margin-left: auto !important;
}

.bosion-front-board-write summary::-webkit-details-marker {
  display: none !important;
}

.bosion-front-board-write-form {
  width: 100% !important;
  margin-top: 10px !important;
  padding: 14px !important;
  border: 1px solid var(--bs-border) !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(58, 39, 32, .07) !important;
  display: grid !important;
  gap: 9px !important;
}

.bosion-front-board-write-form textarea {
  min-height: 180px !important;
  resize: vertical !important;
}

.bosion-front-board-write-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

.bosion-front-board-cancel,
.bosion-front-comment-cancel {
  background: #FFFFFF !important;
  color: #8A6426 !important;
  border: 1px solid var(--bs-border) !important;
}

.bosion-front-board-notice {
  margin: 0 0 10px !important;
  padding: 10px 12px !important;
  border: 1px solid #E9DDC9 !important;
  border-radius: 12px !important;
  background: #FFF8EA !important;
  color: #8A6426 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.bosion-front-board-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 14px 0 0 !important;
}

.bosion-front-board-pagination a,
.bosion-front-board-pagination span {
  min-width: 32px !important;
  height: 32px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--bs-border2) !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: var(--bs-text) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.bosion-front-board-pagination .is-current {
  background: var(--bs-gold) !important;
  border-color: var(--bs-gold) !important;
  color: #FFFFFF !important;
}

.bosion-front-board-detail {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--bs-border2);
  border-radius: 16px;
  background: #FFFDF8;
}

.bosion-front-board-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.bosion-front-board-back,
.bosion-front-board-manage a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--bs-border);
  border-radius: 10px;
  background: #FFFFFF;
  color: #8A6426 !important;
  font-size: 13px;
  font-weight: 900;
}

.bosion-front-board-manage {
  display: flex;
  gap: 6px;
}

.bosion-front-board-manage a.danger {
  color: #9E3D27 !important;
}

.bosion-front-board-detail h3 {
  margin: 0 0 8px;
  color: var(--bs-text);
  font-size: 22px;
  font-weight: 900;
}

.bosion-front-board-detail-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--bs-muted);
  font-size: 13px;
}

.bosion-front-board-detail-content {
  padding: 14px 0;
  border-top: 1px solid var(--bs-border2);
  border-bottom: 1px solid var(--bs-border2);
  color: var(--bs-body);
  font-size: 15px;
  line-height: 1.8;
}

.bosion-front-comments {
  margin-top: 16px;
}

.bosion-front-comments h4 {
  margin: 0 0 10px;
  color: var(--bs-text);
  font-size: 17px;
  font-weight: 900;
}

.bosion-front-comment-list {
  display: grid;
  gap: 8px;
}

.bosion-front-comment {
  padding: 10px 12px;
  border: 1px solid var(--bs-border2);
  border-radius: 13px;
  background: #FFFFFF;
}

.bosion-front-comment-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.bosion-front-comment-head strong {
  color: var(--bs-text);
  font-size: 14px;
}

.bosion-front-comment-head time {
  color: var(--bs-muted);
  font-size: 12px;
}

.bosion-front-comment-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--bs-body);
}

.bosion-front-comment-body p {
  margin: 0 0 6px;
}

.bosion-front-comment-reply {
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: #8A6426;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.bosion-front-comment-form {
  margin-top: 12px;
}

.bosion-front-reply-target {
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #FFF8EA;
  color: #8A6426;
  font-size: 13px;
  font-weight: 800;
}


/* =========================================================
   7) 상품 카드: 기도·공양 / 사찰장터
   ========================================================= */

.bosion-front-product-grid-h,
.bosion-front-product-grid-v,
#bosion-prayer .bosion-front-product-grid-h,
#bosion-market .bosion-front-product-grid-v {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-template-rows: repeat(2, minmax(0, 132px)) !important;
  grid-auto-columns: calc((100% - 32px) / 3) !important;
  grid-template-columns: none !important;
  gap: 14px 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 0 13px !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  scroll-snap-type: x proximity !important;
}

.bosion-front-product-grid-h::-webkit-scrollbar,
.bosion-front-product-grid-v::-webkit-scrollbar {
  height: 8px !important;
}

.bosion-front-product-grid-h::-webkit-scrollbar-thumb,
.bosion-front-product-grid-v::-webkit-scrollbar-thumb {
  background: #D8C8AD !important;
  border-radius: 999px !important;
}

.bosion-front-product-card-h,
.bosion-front-product-card-v,
#bosion-prayer .bosion-front-product-card-h,
#bosion-market .bosion-front-product-card-v {
  width: 100% !important;
  min-width: 0 !important;
  height: 132px !important;
  min-height: 132px !important;
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: center !important;
  padding: 0 !important;
  border: 1px solid var(--bs-border2) !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
  overflow: hidden !important;
  color: var(--bs-text) !important;
  text-decoration: none !important;
  scroll-snap-align: start !important;
}

.bosion-front-product-card-h__image,
.bosion-front-product-card-v__image-wrap {
  display: block !important;
  width: 150px !important;
  height: 132px !important;
  overflow: hidden !important;
  background: #F8F2E8 !important;
}

.bosion-front-product-card-h__image img,
.bosion-front-product-card-v__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  background: #F8F2E8 !important;
}

.bosion-front-product-card-h__body,
.bosion-front-product-card-v__body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 132px !important;
  height: 132px !important;
  padding: 14px 16px !important;
}

.bosion-front-product-card-h__title,
.bosion-front-product-card-v__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 0 5px !important;
  color: var(--bs-text) !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.bosion-front-product-card-h__seller,
.bosion-front-product-card-v__seller {
  display: block !important;
  margin: 0 0 6px !important;
  color: #8A6426 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

.bosion-front-product-card-h__price,
.bosion-front-product-card-v__price {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111111 !important;
  font-size: 19px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

.bosion-front-product-card-v__add,
.bosion-front-small-btn.line {
  display: none !important;
}

.bosion-front-empty {
  padding: 28px 18px;
  border: 1px dashed var(--bs-border);
  border-radius: 16px;
  background: #FFFDF8;
  color: var(--bs-muted);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}


/* =========================================================
   8) 반응형: 태블릿
   ========================================================= */

@media (max-width: 980px) {
  .bosion-front-main-layout.bosion-front-news-side-layout {
    display: block !important;
  }

  .bosion-front-main-side,
  .bosion-front-side-stack {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin-top: 18px !important;
  }
}


/* =========================================================
   9) 반응형: 모바일
   ========================================================= */

@media (max-width: 767px) {
  .bosion-front-wrap {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    padding-bottom: 42px !important;
  }

  .bosion-front-hero {
    height: 278px !important;
    min-height: 278px !important;
    max-height: 278px !important;
    padding: 20px 18px !important;
    align-items: center !important;
    border-radius: 16px !important;
  }

  .bosion-front-hero::before {
    background:
      linear-gradient(90deg, rgba(255, 248, 236, .80) 0%, rgba(255, 248, 236, .54) 56%, rgba(255, 248, 236, .14) 100%),
      linear-gradient(0deg, rgba(58, 39, 32, .14), rgba(58, 39, 32, .04));
  }

  .bosion-front-kicker {
    min-height: 26px !important;
    margin-bottom: 8px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
  }

  .bosion-front-hero h1 {
    margin-bottom: 6px !important;
    font-size: 31px !important;
    line-height: 1.12 !important;
  }

  .bosion-front-address {
    margin-bottom: 5px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .bosion-front-summary {
    max-width: 92% !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .bosion-front-hero-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .bosion-front-hero-actions .bosion-front-btn {
    width: auto !important;
    min-width: 0 !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  /* 모바일 탭 */
  .bosion-front-quick {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #FFF8EA !important;
    box-shadow: none !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .bosion-front-quick::-webkit-scrollbar {
    display: none !important;
  }

  .bosion-front-quick button,
  .bosion-front-quick a {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--bs-text) !important;
    white-space: nowrap !important;
  }

  .bosion-front-quick button.is-active,
  .bosion-front-quick a.is-active {
    border-bottom-color: var(--bs-gold) !important;
  }

  .bosion-front-quick button strong,
  .bosion-front-quick a strong {
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  /* 모바일 화면 전환 */
  .bosion-mobile-panel,
  .bosion-mobile-group {
    display: none !important;
  }

  .bosion-mobile-panel.is-mobile-active,
  .bosion-mobile-group.is-mobile-active {
    display: block !important;
    margin-top: 0 !important;
  }

  .bosion-mobile-group.is-mobile-active .bosion-mobile-panel {
    display: none !important;
  }

  .bosion-mobile-group.is-mobile-active .bosion-mobile-panel.is-mobile-active {
    display: block !important;
  }

  /* 소개 영역 */
  .bosion-front-intro-sections {
    grid-template-columns: 1fr !important;
    display: block !important;
    margin-top: 12px !important;
  }

  .bosion-front-intro-sections .bosion-front-section {
    margin-top: 12px !important;
    padding: 12px 10px !important;
    border-radius: 15px !important;
  }

  .bosion-front-intro-sections .bosion-front-section:first-child {
    margin-top: 0 !important;
  }

  .bosion-front-intro-sections .bosion-front-section-head h2 {
    font-size: 24px !important;
  }

  .bosion-front-temple-profile-card,
  .bosion-front-monk-final-card {
    padding: 7px !important;
    border-radius: 15px !important;
  }

  .bosion-front-temple-profile-body,
  .bosion-front-monk-final-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .bosion-front-temple-profile-left,
  .bosion-front-temple-detail,
  .bosion-front-temple-history,
  .bosion-front-monk-final-left,
  .bosion-front-monk-final-right,
  .bosion-front-monk-final-greeting,
  .bosion-front-monk-final-bio {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .bosion-front-intro-main-img {
    height: 170px !important;
    border-radius: 14px !important;
  }

  .bosion-front-monk-final-photo {
    width: 168px !important;
    max-width: 168px !important;
    height: 168px !important;
    border-radius: 14px !important;
  }

  .bosion-front-monk-final-name {
    font-size: 22px !important;
  }

  .bosion-front-temple-detail h3,
  .bosion-front-temple-history h3 {
    font-size: 19px !important;
  }

  .bosion-front-monk-final-greeting strong,
  .bosion-front-monk-final-bio strong {
    font-size: 15px !important;
  }

  .bosion-front-temple-detail p,
  .bosion-front-temple-history p,
  .bosion-front-monk-final-greeting p,
  .bosion-front-monk-final-bio p {
    font-size: 14px !important;
    line-height: 1.58 !important;
  }

  .bosion-front-monk-final-consult {
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
  }

  /* 게시판/정보 */
  .bosion-front-main-layout.bosion-front-news-side-layout.is-mobile-active {
    display: block !important;
  }

  .bosion-front-main-left {
    display: block !important;
  }

  .bosion-front-main-side,
  .bosion-front-side-stack {
    position: static !important;
    gap: 10px !important;
    margin-top: 0 !important;
  }

  .bosion-front-main-side .bosion-front-section,
  .bosion-front-side-stack .bosion-front-section {
    padding: 14px !important;
    border-radius: 16px !important;
    margin-top: 12px !important;
  }

  .bosion-front-member-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 13px !important;
  }

  .bosion-front-member-action {
    min-width: 0 !important;
    justify-content: flex-start !important;
  }

  .bosion-front-post-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .bosion-front-post-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .bosion-front-post-tab-btn {
    min-width: max-content !important;
    padding: 0 14px !important;
  }

  .bosion-front-post-panel {
    padding: 12px !important;
  }

  .bosion-front-board-tools,
  .bosion-front-board-tools--bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .bosion-front-board-search {
    max-width: none !important;
  }

  .bosion-front-board-write summary,
  .bosion-front-board-login {
    width: 100% !important;
    justify-content: center !important;
  }

  .bosion-front-board-row {
    min-height: 58px !important;
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  .bosion-front-board-title strong {
    font-size: 15px !important;
  }

  .bosion-front-board-title em {
    display: none !important;
  }

  .bosion-front-board-row time {
    font-size: 13px !important;
  }

  .bosion-front-board-detail {
    padding: 13px !important;
  }

  .bosion-front-board-detail h3 {
    font-size: 19px !important;
  }

  .bosion-front-board-detail-head {
    align-items: flex-start !important;
  }

  /* 상품 */
  .bosion-front-product-grid-h,
  .bosion-front-product-grid-v,
  #bosion-prayer .bosion-front-product-grid-h,
  #bosion-market .bosion-front-product-grid-v {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    grid-template-rows: none !important;
    grid-auto-columns: auto !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .bosion-front-product-card-h,
  .bosion-front-product-card-v,
  #bosion-prayer .bosion-front-product-card-h,
  #bosion-market .bosion-front-product-card-v {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 46% minmax(0, 1fr) !important;
    min-height: 146px !important;
    height: 146px !important;
    border-radius: 16px !important;
  }

  .bosion-front-product-card-h__image,
  .bosion-front-product-card-v__image-wrap,
  .bosion-front-product-card-h__image img,
  .bosion-front-product-card-v__image {
    width: 100% !important;
    height: 146px !important;
  }

  .bosion-front-product-card-h__body,
  .bosion-front-product-card-v__body {
    min-height: 146px !important;
    height: 146px !important;
    padding: 12px 14px !important;
  }

  .bosion-front-product-card-h__title,
  .bosion-front-product-card-v__title {
    font-size: 19px !important;
    line-height: 1.25 !important;
  }

  .bosion-front-product-card-h__seller,
  .bosion-front-product-card-v__seller {
    font-size: 15px !important;
  }

  .bosion-front-product-card-h__price,
  .bosion-front-product-card-v__price {
    font-size: 22px !important;
  }
}


/* =========================================================
   10) 아주 좁은 모바일
   ========================================================= */

@media (max-width: 390px) {
  .bosion-front-hero h1 {
    font-size: 29px !important;
  }

  .bosion-front-intro-sections .bosion-front-section {
    padding: 10px 8px !important;
  }

  .bosion-front-temple-profile-card,
  .bosion-front-monk-final-card {
    padding: 6px !important;
  }

  .bosion-front-intro-main-img {
    height: 150px !important;
  }

  .bosion-front-monk-final-photo {
    width: 148px !important;
    max-width: 148px !important;
    height: 148px !important;
  }

  .bosion-front-temple-detail p,
  .bosion-front-temple-history p,
  .bosion-front-monk-final-greeting p,
  .bosion-front-monk-final-bio p {
    font-size: 13.5px !important;
    line-height: 1.54 !important;
  }
}


/* =========================================================
   11) PC 복구: 모바일 전환용 클래스 무력화
   ========================================================= */

@media (min-width: 768px) {
  .bosion-mobile-panel,
  .bosion-mobile-group {
    display: revert !important;
  }

  .bosion-front-intro-sections.bosion-mobile-panel {
    display: grid !important;
  }

  .bosion-front-main-layout.bosion-mobile-group {
    display: grid !important;
  }
}

/* =========================================================
   [BOSION CSS 12] 사찰전용홈페이지 v52 최종 보정
   ---------------------------------------------------------
   반영:
   1) 데스크탑 본문영역2 우측 사이드 섹션 위치 보정
   2) 모바일 탭 전환 시 선택 섹션만 표시
   3) 히어로 높이 규칙 재정리
      - 데스크탑: 400px
      - 태블릿: 320px
      - 모바일: 230px
   ========================================================= */


/* =========================================================
   1) 히어로 높이 규칙 재정리
   ========================================================= */

@media (min-width: 1025px) {
  body.single-partner .bosion-front-hero {
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    padding: 52px 56px !important;
    border-radius: 18px !important;
  }

  body.single-partner .bosion-front-hero h1 {
    font-size: 46px !important;
    line-height: 1.14 !important;
  }

  body.single-partner .bosion-front-summary {
    font-size: 18px !important;
    line-height: 1.65 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.single-partner .bosion-front-hero {
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    padding: 34px 32px !important;
    border-radius: 17px !important;
  }

  body.single-partner .bosion-front-hero h1 {
    font-size: 38px !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 767px) {
  body.single-partner .bosion-front-hero {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    padding: 18px 16px !important;
    border-radius: 15px !important;
  }

  body.single-partner .bosion-front-kicker {
    min-height: 24px !important;
    margin-bottom: 7px !important;
    padding: 0 10px !important;
    font-size: 10.5px !important;
  }

  body.single-partner .bosion-front-hero h1 {
    margin-bottom: 5px !important;
    font-size: 28px !important;
    line-height: 1.12 !important;
  }

  body.single-partner .bosion-front-address {
    margin-bottom: 4px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  body.single-partner .bosion-front-summary {
    max-width: 96% !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
  }

  body.single-partner .bosion-front-hero-actions {
    gap: 6px !important;
    margin-top: 10px !important;
  }

  body.single-partner .bosion-front-hero-actions .bosion-front-btn {
    min-height: 32px !important;
    padding: 0 11px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }
}


/* =========================================================
   2) 데스크탑 본문영역1 / 본문영역2 분리 보정
   ========================================================= */

@media (min-width: 768px) {

  /* 본문영역1은 독립된 행으로 종료 */
  body.single-partner .bosion-front-intro-sections {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
    margin-top: 20px !important;
    margin-bottom: 24px !important;
    clear: both !important;
    position: relative !important;
    z-index: 1 !important;
  }

  /* 본문영역2는 본문영역1 아래 새 행으로 시작 */
  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr) !important;
    gap: 22px !important;
    align-items: start !important;
    width: 100% !important;
    margin-top: 0 !important;
    clear: both !important;
    position: relative !important;
    z-index: 2 !important;
  }

  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout .bosion-front-main-left,
  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout .bosion-front-main-side {
    min-width: 0 !important;
  }

  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout #bosion-posts {
    margin-top: 0 !important;
  }

  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout .bosion-front-main-side,
  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout .bosion-front-side-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    position: sticky !important;
    top: 84px !important;
    margin-top: 0 !important;
  }

  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout .bosion-front-main-side .bosion-front-section,
  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout .bosion-front-side-stack .bosion-front-section {
    margin-top: 0 !important;
  }
}


/* =========================================================
   3) 모바일 탭 전환 최종 보정
   ---------------------------------------------------------
   기존 CSS 안의 .bosion-front-intro-sections display:block 같은 규칙보다
   아래에서 더 강하게 적용하여, 선택한 탭만 표시한다.
   ========================================================= */

@media (max-width: 767px) {

  /* 모바일 탭은 히어로 바로 아래 고정 형태 */
  body.single-partner .bosion-front-quick {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #FFF8EA !important;
    box-shadow: none !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body.single-partner .bosion-front-quick::-webkit-scrollbar {
    display: none !important;
  }

  body.single-partner .bosion-front-quick button,
  body.single-partner .bosion-front-quick a {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--bs-text) !important;
    white-space: nowrap !important;
  }

  body.single-partner .bosion-front-quick button.is-active,
  body.single-partner .bosion-front-quick a.is-active {
    border-bottom-color: var(--bs-gold) !important;
  }

  body.single-partner .bosion-front-quick button strong,
  body.single-partner .bosion-front-quick a strong {
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  /* 기본: 모바일 전환 대상은 모두 숨김 */
  body.single-partner .bosion-front-wrap .bosion-mobile-panel,
  body.single-partner .bosion-front-wrap .bosion-mobile-group,
  body.single-partner .bosion-front-wrap #bosion-intro.bosion-mobile-panel,
  body.single-partner .bosion-front-wrap #bosion-posts.bosion-mobile-panel,
  body.single-partner .bosion-front-wrap #bosion-prayer.bosion-mobile-panel,
  body.single-partner .bosion-front-wrap #bosion-market.bosion-mobile-panel,
  body.single-partner .bosion-front-wrap .bosion-front-main-layout.bosion-mobile-group,
  body.single-partner .bosion-front-wrap .bosion-front-intro-sections.bosion-mobile-panel {
    display: none !important;
  }

  /* 활성화된 큰 패널/그룹만 표시 */
  body.single-partner .bosion-front-wrap .bosion-mobile-panel.is-mobile-active,
  body.single-partner .bosion-front-wrap .bosion-mobile-group.is-mobile-active,
  body.single-partner .bosion-front-wrap #bosion-intro.bosion-mobile-panel.is-mobile-active,
  body.single-partner .bosion-front-wrap #bosion-posts.bosion-mobile-panel.is-mobile-active,
  body.single-partner .bosion-front-wrap #bosion-prayer.bosion-mobile-panel.is-mobile-active,
  body.single-partner .bosion-front-wrap #bosion-market.bosion-mobile-panel.is-mobile-active,
  body.single-partner .bosion-front-wrap .bosion-front-main-layout.bosion-mobile-group.is-mobile-active,
  body.single-partner .bosion-front-wrap .bosion-front-intro-sections.bosion-mobile-panel.is-mobile-active {
    display: block !important;
    margin-top: 0 !important;
  }

  /* 사찰소개 탭이 활성화됐을 때만 사찰소개 + 스님소개 표시 */
  body.single-partner .bosion-front-wrap #bosion-intro.bosion-mobile-panel.is-mobile-active {
    display: block !important;
  }

  body.single-partner .bosion-front-wrap #bosion-intro.bosion-mobile-panel:not(.is-mobile-active),
  body.single-partner .bosion-front-wrap .bosion-front-intro-sections.bosion-mobile-panel:not(.is-mobile-active) {
    display: none !important;
  }

  /* 사찰소식/오시는길 묶음: 그룹은 켜되 내부 선택 패널만 표시 */
  body.single-partner .bosion-front-wrap .bosion-mobile-group.is-mobile-active .bosion-mobile-panel {
    display: none !important;
  }

  body.single-partner .bosion-front-wrap .bosion-mobile-group.is-mobile-active .bosion-mobile-panel.is-mobile-active {
    display: block !important;
  }

  /* 기도·공양/사찰장터를 눌렀을 때 소개 영역이 절대 남지 않도록 한 번 더 고정 */
  body.single-partner .bosion-front-wrap #bosion-prayer.is-mobile-active ~ #bosion-intro,
  body.single-partner .bosion-front-wrap #bosion-market.is-mobile-active ~ #bosion-intro {
    display: none !important;
  }

  /* 모바일에서는 본문영역2 우측 sticky 해제 */
  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout,
  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout.is-mobile-active {
    width: 100% !important;
    margin-top: 0 !important;
  }

  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout .bosion-front-main-side,
  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout .bosion-front-side-stack {
    position: static !important;
    top: auto !important;
    margin-top: 0 !important;
  }
}


/* =========================================================
   4) PC 복구: 모바일 전환 클래스가 데스크탑 레이아웃을 막지 않게 처리
   ========================================================= */

@media (min-width: 768px) {
  body.single-partner .bosion-mobile-panel,
  body.single-partner .bosion-mobile-group {
    display: revert !important;
  }

  body.single-partner .bosion-front-intro-sections.bosion-mobile-panel {
    display: grid !important;
  }

  body.single-partner .bosion-front-main-layout.bosion-mobile-group {
    display: grid !important;
  }

  body.single-partner #bosion-prayer.bosion-mobile-panel,
  body.single-partner #bosion-market.bosion-mobile-panel {
    display: block !important;
  }
}



/* =========================================================
   [BOSION CSS 13] 공통 히어로/탭 + 장터 페이지 v53
   ---------------------------------------------------------
   적용 기준:
   - 데스크탑 히어로: 340px
   - 태블릿 히어로: 280px
   - 모바일 히어로: 230px
   - 보시온 사찰홈 / 장터 / 랜딩 / 소개 페이지 공통 클래스 지원
   - 장터 페이지 CSS는 WPCode가 아니라 이 CSS에서 관리
   ========================================================= */


/* =========================================================
   1) 보시온 공통 히어로 높이 규칙
   ---------------------------------------------------------
   공통 적용 클래스:
   - .bosion-page-hero
   - .bosion-front-hero
   - .bosion-market-hero
   - .bosion-landing-hero
   - .bosion-home-hero
   - .bosion-main-hero
   - .bosion-about-hero
   ========================================================= */

@media (min-width: 1025px) {
  body.single-partner .bosion-front-hero,
  .bosion-page-hero,
  .bosion-market-hero,
  .bosion-landing-hero,
  .bosion-home-hero,
  .bosion-main-hero,
  .bosion-about-hero {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.single-partner .bosion-front-hero,
  .bosion-page-hero,
  .bosion-market-hero,
  .bosion-landing-hero,
  .bosion-home-hero,
  .bosion-main-hero,
  .bosion-about-hero {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
  }
}

@media (max-width: 767px) {
  body.single-partner .bosion-front-hero,
  .bosion-page-hero,
  .bosion-market-hero,
  .bosion-landing-hero,
  .bosion-home-hero,
  .bosion-main-hero,
  .bosion-about-hero {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }
}


/* 사찰홈 히어로 세부 보정 */
@media (min-width: 1025px) {
  body.single-partner .bosion-front-hero {
    padding: 42px 48px !important;
    border-radius: 18px !important;
  }

  body.single-partner .bosion-front-hero h1 {
    font-size: 42px !important;
    line-height: 1.18 !important;
  }

  body.single-partner .bosion-front-summary {
    font-size: 17px !important;
    line-height: 1.65 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.single-partner .bosion-front-hero {
    padding: 30px 28px !important;
    border-radius: 17px !important;
  }

  body.single-partner .bosion-front-hero h1 {
    font-size: 36px !important;
  }
}

@media (max-width: 767px) {
  body.single-partner .bosion-front-hero {
    padding: 18px 16px !important;
    border-radius: 15px !important;
  }

  body.single-partner .bosion-front-kicker {
    min-height: 24px !important;
    margin-bottom: 7px !important;
    padding: 0 10px !important;
    font-size: 10.5px !important;
  }

  body.single-partner .bosion-front-hero h1 {
    margin-bottom: 5px !important;
    font-size: 28px !important;
    line-height: 1.12 !important;
  }

  body.single-partner .bosion-front-address {
    margin-bottom: 4px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  body.single-partner .bosion-front-summary {
    max-width: 96% !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
  }

  body.single-partner .bosion-front-hero-actions {
    gap: 6px !important;
    margin-top: 10px !important;
  }

  body.single-partner .bosion-front-hero-actions .bosion-front-btn {
    min-height: 32px !important;
    padding: 0 11px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }
}


/* =========================================================
   2) 보시온 공통 탭 메뉴 규칙
   ========================================================= */

@media (max-width: 767px) {
  body.single-partner .bosion-front-quick,
  .bosion-tab-menu,
  .bosion-market-tabs,
  .bosion-market-mobile-section-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-bottom: 1px solid #E9DDC9 !important;
    border-radius: 0 !important;
    background: #FFF8EA !important;
    box-shadow: none !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body.single-partner .bosion-front-quick::-webkit-scrollbar,
  .bosion-tab-menu::-webkit-scrollbar,
  .bosion-market-tabs::-webkit-scrollbar,
  .bosion-market-mobile-section-tabs::-webkit-scrollbar {
    display: none !important;
  }

  body.single-partner .bosion-front-quick button,
  body.single-partner .bosion-front-quick a,
  .bosion-tab-menu a,
  .bosion-tab-menu button,
  .bosion-market-tabs a,
  .bosion-market-mobile-section-tabs button {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: max-content !important;
    min-height: 44px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--bs-text, #3A2720) !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
  }

  body.single-partner .bosion-front-quick button.is-active,
  body.single-partner .bosion-front-quick a.is-active,
  .bosion-tab-menu a.is-active,
  .bosion-tab-menu button.is-active,
  .bosion-market-tabs a.is-active,
  .bosion-market-mobile-section-tabs button.is-active {
    border-bottom-color: var(--bs-gold, #C9A24D) !important;
    color: var(--bs-text, #3A2720) !important;
  }

  body.single-partner .bosion-front-quick button strong,
  body.single-partner .bosion-front-quick a strong {
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }
}


/* =========================================================
   3) 장터 페이지 기본
   ========================================================= */

.bosion-market-page,
.bosion-market-page * {
  box-sizing: border-box;
}

.bosion-market-page {
  width: min(1200px, calc(100vw - 24px));
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--bs-text, #3A2720);
}

.bosion-market-page a {
  text-decoration: none;
}


/* 장터 히어로 */
.bosion-market-hero {
  width: 100%;
  height: 340px;
  min-height: 340px;
  max-height: 340px;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 42px 48px;
  background: #F8EEDB;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  box-shadow: var(--bs-shadow, 0 10px 28px rgba(58,39,32,.06));
}

.bosion-market-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,250,240,.98) 0%, rgba(255,250,240,.92) 34%, rgba(255,250,240,.52) 62%, rgba(255,250,240,.12) 100%);
  pointer-events: none;
}

.bosion-market-hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.bosion-market-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 13px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #8A6426;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(201,162,77,.36);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.bosion-market-hero h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -.065em;
  color: var(--bs-text, #3A2720);
}

.bosion-market-hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #4E4038;
  word-break: keep-all;
}


/* 장터 컨트롤 */
.bosion-market-controls {
  width: 100%;
  margin-top: 14px;
}

.bosion-market-tabs {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  border: 1px solid var(--bs-border2, #E9DDC9);
  border-radius: 14px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(58,39,32,.035);
}

.bosion-market-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-right: 1px solid var(--bs-border2, #E9DDC9);
  color: #7B5724;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  letter-spacing: -.03em;
}

.bosion-market-tabs a:last-child {
  border-right: 0;
}

.bosion-market-tabs a.is-active,
.bosion-market-tabs a:hover {
  background: var(--bs-gold, #C9A24D);
  color: #FFFFFF !important;
}

.bosion-market-search {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--bs-border2, #E9DDC9);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(58,39,32,.035);
}

.bosion-market-search form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 96px;
  gap: 8px;
  align-items: center;
}

.bosion-market-search input,
.bosion-market-search select {
  height: 42px;
  border: 1px solid var(--bs-border, #E6D8BF);
  border-radius: 10px;
  padding: 0 13px;
  background: #FFFFFF;
  font-weight: 800;
  color: var(--bs-text, #3A2720);
  font-size: 14px;
}

.bosion-market-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  background: var(--bs-gold, #C9A24D);
  color: #FFFFFF !important;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}

.bosion-market-btn:hover {
  background: var(--bs-green, #4E6B5C);
  color: #FFFFFF !important;
}


/* 장터 섹션 */
.bosion-market-notice {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--bs-border, #E6D8BF);
  border-radius: 14px;
  background: #FFFDF7;
  color: #5B4636;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bosion-market-notice a {
  color: #A87825 !important;
  font-weight: 900;
  white-space: nowrap;
}

.bosion-market-section {
  margin-top: 18px;
  padding: 18px;
  background: var(--bs-surface, #FFFFFF);
  border: 1px solid var(--bs-border2, #E9DDC9);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(58,39,32,.045);
}

.bosion-market-section--general {
  background: linear-gradient(90deg, #FFFDFC 0%, #FBF4E8 100%);
}

.bosion-market-section--temple {
  background: linear-gradient(90deg, #FFFDF8 0%, #F8EFE2 100%);
}

.bosion-market-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.bosion-market-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bosion-market-section-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -.05em;
}

.bosion-market-section-title:before {
  content: "✥";
  display: inline-block;
  margin-right: 6px;
  color: var(--bs-gold, #C9A24D);
  font-size: 18px;
  vertical-align: 1px;
}

.bosion-market-section-desc {
  margin: 0;
  color: var(--bs-muted, #6F6258);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.bosion-market-more {
  color: #A87825 !important;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.bosion-market-empty {
  padding: 24px 18px;
  border: 1px dashed var(--bs-border, #E6D8BF);
  border-radius: 14px;
  background: #FFFDF8;
  text-align: center;
  color: var(--bs-muted, #6F6258);
  font-size: 14px;
}


/* 장터 모바일 섹션 탭 */
.bosion-market-mobile-section-tabs {
  display: none;
}


/* 장터 상품 카드 */
.bosion-market-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.bosion-market-scroll-row::-webkit-scrollbar {
  height: 8px;
}

.bosion-market-scroll-row::-webkit-scrollbar-thumb {
  background: #C8B79C;
  border-radius: 999px;
}

.bosion-market-scroll-row::-webkit-scrollbar-track {
  background: #F4EBDD;
  border-radius: 999px;
}

.bosion-market-product-card {
  flex: 0 0 330px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: stretch;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid var(--bs-border2, #E9DDC9);
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--bs-text, #3A2720) !important;
  box-shadow: 0 6px 18px rgba(58,39,32,.04);
  scroll-snap-align: start;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.bosion-market-product-card:hover {
  border-color: #D8BF8D;
  box-shadow: 0 8px 22px rgba(58,39,32,.07);
}

.bosion-market-product-card__img {
  display: block;
  width: 140px;
  height: 132px;
  object-fit: cover;
  object-position: center;
  background: #F6F0E6;
}

.bosion-market-product-card__body {
  min-width: 0;
  min-height: 132px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bosion-market-product-card__title {
  display: block;
  margin: 0 0 5px;
  color: var(--bs-text, #3A2720) !important;
  font-size: 17px;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -.045em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bosion-market-product-card__seller {
  margin: 0 0 6px;
  color: #8A6426;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bosion-market-product-card__price {
  color: #111111;
  font-size: 19px;
  line-height: 1.05;
  font-weight: 900;
}

.bosion-market-product-card__price del,
.bosion-market-product-card__price ins {
  text-decoration: none;
}


/* 장터 안내 */
.bosion-market-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--bs-border2, #E9DDC9);
  border-radius: 16px;
  background: #FFFFFF;
  overflow: hidden;
  margin-top: 18px;
}

.bosion-market-benefits div {
  padding: 17px;
  border-right: 1px solid var(--bs-border2, #E9DDC9);
}

.bosion-market-benefits div:last-child {
  border-right: 0;
}

.bosion-market-benefits b {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.bosion-market-benefits span {
  color: var(--bs-muted, #6F6258);
  font-size: 12px;
  line-height: 1.5;
}


/* 장터 반응형 */
@media (max-width: 1180px) {
  .bosion-market-product-card {
    flex-basis: 318px;
  }
}

@media (max-width: 900px) {
  .bosion-market-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bosion-market-tabs a {
    flex: 0 0 112px;
  }

  .bosion-market-search form {
    grid-template-columns: 1fr 88px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .bosion-market-hero {
    padding: 32px 30px;
  }

  .bosion-market-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .bosion-market-page {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 6px;
    overflow: hidden;
  }

  .bosion-market-hero {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    padding: 18px 16px;
    border-radius: 0 0 15px 15px;
    align-items: flex-end;
    background-position: center right;
  }

  .bosion-market-hero:before {
    background: linear-gradient(0deg, rgba(255,250,240,.98) 0%, rgba(255,250,240,.94) 42%, rgba(255,250,240,.54) 76%, rgba(255,250,240,.18) 100%);
  }

  .bosion-market-hero__content {
    max-width: 100%;
  }

  .bosion-market-hero__eyebrow {
    font-size: 10.5px;
    margin-bottom: 7px;
    min-height: 24px;
  }

  .bosion-market-hero h1 {
    font-size: 28px;
    line-height: 1.12;
    margin-bottom: 6px;
  }

  .bosion-market-hero p {
    font-size: 13px;
    line-height: 1.44;
  }

  .bosion-market-controls {
    margin-top: 0;
  }

  .bosion-market-search {
    margin-top: 8px;
    padding: 8px;
    border-radius: 13px;
  }

  .bosion-market-search form {
    grid-template-columns: minmax(0, 1fr) 70px;
    gap: 7px;
  }

  .bosion-market-search input {
    height: 42px;
    font-size: 14px;
    border-radius: 10px;
    padding: 0 12px;
  }

  .bosion-market-search .bosion-market-btn {
    width: 70px;
    min-height: 42px;
    height: 42px;
    padding: 0;
    border-radius: 10px;
    font-size: 14px;
  }

  .bosion-market-mobile-section-tabs {
    display: flex !important;
    margin: 8px 0 10px !important;
  }

  .bosion-market-section {
    margin-top: 11px;
    padding: 10px 7px;
    border-radius: 15px;
  }

  .bosion-market-section-head {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .bosion-market-section-title {
    font-size: 20px;
  }

  .bosion-market-section-desc {
    display: block;
    width: 100%;
    font-size: 12px;
  }

  .bosion-market-section[data-market-panel] {
    display: none;
  }

  .bosion-market-section[data-market-panel].is-active {
    display: block;
  }

  .bosion-market-scroll-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .bosion-market-product-card {
    width: 100%;
    flex: 0 0 auto;
    grid-template-columns: 47% minmax(0, 1fr);
    min-height: 154px;
    border-radius: 14px;
    box-shadow: none;
  }

  .bosion-market-product-card__img {
    width: 100%;
    height: 154px;
  }

  .bosion-market-product-card__body {
    min-height: 154px;
    padding: 8px 10px;
    justify-content: center;
  }

  .bosion-market-product-card__title {
    font-size: 20px;
    line-height: 1.18;
    margin-bottom: 7px;
    -webkit-line-clamp: 2;
  }

  .bosion-market-product-card__seller {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.18;
  }

  .bosion-market-product-card__price {
    font-size: 23px;
    line-height: 1;
  }

  .bosion-market-benefits {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .bosion-market-benefits div {
    border-right: 0;
    border-bottom: 1px solid var(--bs-border2, #E9DDC9);
    padding: 13px 14px;
  }

  .bosion-market-benefits div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 390px) {
  .bosion-market-page {
    padding: 0 5px;
  }

  .bosion-market-product-card {
    grid-template-columns: 46% minmax(0, 1fr);
    min-height: 146px;
  }

  .bosion-market-product-card__img {
    width: 100%;
    height: 146px;
  }

  .bosion-market-product-card__body {
    min-height: 146px;
    padding: 7px 9px;
  }

  .bosion-market-product-card__title {
    font-size: 19px;
  }

  .bosion-market-product-card__seller {
    font-size: 14px;
  }

  .bosion-market-product-card__price {
    font-size: 22px;
  }
}

/* =========================================================
   [BOSION CSS 14] 장터 메뉴 단순화 v54
   ---------------------------------------------------------
   목적:
   - 데스크탑: 상세 카테고리 메뉴 유지, 검색바 620px로 축소
   - 모바일: 탭 메뉴 1개만 사용
     전체 / 불교용품 / 일반상품 / 사찰상품
   - 모바일에서는 상세 카테고리 메뉴 숨김
   - 추천 섹션 탭은 보시온 공통 탭 스타일 적용
   ========================================================= */


/* =========================================================
   1) 데스크탑 장터 메뉴/검색 정리
   ========================================================= */

@media (min-width: 768px) {
  .bosion-market-controls {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .bosion-market-category-tabs {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    width: 100% !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(58,39,32,.035) !important;
  }

  .bosion-market-category-tabs a {
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 0 8px !important;
    border-right: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    color: #7B5724 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
    white-space: nowrap !important;
  }

  .bosion-market-category-tabs a:last-child {
    border-right: 0 !important;
  }

  .bosion-market-category-tabs a.is-active,
  .bosion-market-category-tabs a:hover {
    background: var(--bs-gold, #C9A24D) !important;
    color: #FFFFFF !important;
  }

  .bosion-market-search {
    width: min(620px, 100%) !important;
    margin: 2px auto 0 !important;
    padding: 9px !important;
    border-radius: 14px !important;
  }

  .bosion-market-search form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 86px !important;
    gap: 8px !important;
  }

  .bosion-market-search input {
    height: 40px !important;
  }

  .bosion-market-search .bosion-market-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 15px !important;
  }

  /* 데스크탑에서는 모바일 추천 탭 숨김 */
  .bosion-market-mobile-primary-tabs,
  .bosion-market-mobile-section-tabs {
    display: none !important;
  }

  /* 데스크탑에서는 모든 추천 섹션 표시 */
  .bosion-market-section[data-market-panel] {
    display: block !important;
  }
}


/* =========================================================
   2) 모바일 장터 메뉴 단순화
   ========================================================= */

@media (max-width: 767px) {
  .bosion-market-controls {
    margin-top: 0 !important;
  }

  /* 상세 카테고리 메뉴는 모바일에서 숨김 */
  .bosion-market-category-tabs {
    display: none !important;
  }

  /* 모바일 검색바 */
  .bosion-market-search {
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 8px !important;
    border-radius: 13px !important;
  }

  .bosion-market-search form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 70px !important;
    gap: 7px !important;
  }

  .bosion-market-search input {
    height: 40px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    padding: 0 12px !important;
  }

  .bosion-market-search .bosion-market-btn {
    width: 70px !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
  }

  /* 모바일 탭은 하나만 사용 */
  .bosion-market-mobile-primary-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-bottom: 1px solid #E9DDC9 !important;
    border-radius: 0 !important;
    background: #FFF8EA !important;
    box-shadow: none !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .bosion-market-mobile-primary-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .bosion-market-mobile-primary-tabs button {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: max-content !important;
    min-height: 44px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--bs-text, #3A2720) !important;
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  .bosion-market-mobile-primary-tabs button.is-active {
    border-bottom-color: var(--bs-gold, #C9A24D) !important;
    color: var(--bs-text, #3A2720) !important;
  }

  /* 예전 모바일 섹션 탭 클래스가 남아 있어도 숨김 */
  .bosion-market-mobile-section-tabs:not(.bosion-market-mobile-primary-tabs) {
    display: none !important;
  }

  /* 탭 선택에 따른 섹션 표시 */
  .bosion-market-section[data-market-panel] {
    display: none !important;
  }

  .bosion-market-section[data-market-panel].is-active {
    display: block !important;
  }

  .bosion-market-section[data-market-panel] {
    margin-top: 10px !important;
  }

  .bosion-market-section-head {
    margin-bottom: 10px !important;
  }

  .bosion-market-section-title {
    font-size: 20px !important;
  }

  .bosion-market-section-desc {
    font-size: 12px !important;
  }
}


/* =========================================================
   3) 히어로와 탭 사이 간격 정리
   ========================================================= */

@media (max-width: 767px) {
  .bosion-market-hero {
    margin-bottom: 0 !important;
  }

  .bosion-market-controls {
    padding-top: 0 !important;
  }
}

/* =========================================================
   [BOSION CSS 15] 장터 웹 탭+검색 한 줄 통합 v55
   ---------------------------------------------------------
   목적:
   - 웹: 전체/불교용품/일반상품/사찰상품 탭 + 검색바를 같은 열에 배치
   - 모바일: 동일한 탭을 히어로 아래에 두고, 검색바는 탭 아래 배치
   - 상세 카테고리 메뉴는 제거된 코드 기준
   - 탭 선택 시 웹/모바일 모두 해당 상품 섹션만 표시
   ========================================================= */


/* =========================================================
   1) 장터 컨트롤 공통
   ========================================================= */

.bosion-market-controls {
  width: 100% !important;
  margin-top: 12px !important;
}

.bosion-market-primary-row,
.bosion-market-primary-row * {
  box-sizing: border-box !important;
}

.bosion-market-primary-row {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}


/* =========================================================
   2) 웹: 탭 + 검색바 같은 열
   ========================================================= */

@media (min-width: 768px) {
  .bosion-market-primary-tabs {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(58,39,32,.035) !important;
  }

  .bosion-market-primary-tabs button {
    flex: 0 0 auto !important;
    min-width: 102px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-right: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    color: #7B5724 !important;
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }

  .bosion-market-primary-tabs button:last-child {
    border-right: 0 !important;
  }

  .bosion-market-primary-tabs button.is-active,
  .bosion-market-primary-tabs button:hover {
    background: var(--bs-gold, #C9A24D) !important;
    color: #FFFFFF !important;
  }

  .bosion-market-primary-row .bosion-market-search {
    flex: 0 1 460px !important;
    width: 460px !important;
    max-width: 460px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .bosion-market-primary-row .bosion-market-search form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 82px !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
  }

  .bosion-market-primary-row .bosion-market-search input {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    padding: 0 14px !important;
    background: #FFFFFF !important;
    color: var(--bs-text, #3A2720) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 18px rgba(58,39,32,.035) !important;
  }

  .bosion-market-primary-row .bosion-market-search .bosion-market-btn {
    width: 82px !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }

  /* 웹에서도 탭에 따라 상품 섹션 전환 */
  .bosion-market-section[data-market-panel] {
    display: none !important;
  }

  .bosion-market-section[data-market-panel].is-active {
    display: block !important;
  }
}


/* =========================================================
   3) 태블릿: 한 줄 유지하되 살짝 압축
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {
  .bosion-market-primary-row {
    gap: 10px !important;
  }

  .bosion-market-primary-tabs button {
    min-width: 88px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
  }

  .bosion-market-primary-row .bosion-market-search {
    flex-basis: 360px !important;
    width: 360px !important;
    max-width: 360px !important;
  }
}


/* =========================================================
   4) 모바일: 탭 아래 검색바
   ========================================================= */

@media (max-width: 767px) {
  .bosion-market-controls {
    margin-top: 0 !important;
  }

  .bosion-market-primary-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .bosion-market-primary-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-bottom: 1px solid #E9DDC9 !important;
    border-radius: 0 !important;
    background: #FFF8EA !important;
    box-shadow: none !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .bosion-market-primary-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .bosion-market-primary-tabs button {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: max-content !important;
    min-height: 44px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--bs-text, #3A2720) !important;
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  .bosion-market-primary-tabs button.is-active {
    border-bottom-color: var(--bs-gold, #C9A24D) !important;
    color: var(--bs-text, #3A2720) !important;
  }

  .bosion-market-primary-row .bosion-market-search {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 13px !important;
    background: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(58,39,32,.035) !important;
  }

  .bosion-market-primary-row .bosion-market-search form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 70px !important;
    gap: 7px !important;
    width: 100% !important;
  }

  .bosion-market-primary-row .bosion-market-search input {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    border: 1px solid var(--bs-border, #E6D8BF) !important;
    border-radius: 10px !important;
    padding: 0 12px !important;
    background: #FFFFFF !important;
    color: var(--bs-text, #3A2720) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .bosion-market-primary-row .bosion-market-search .bosion-market-btn {
    width: 70px !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
  }

  .bosion-market-section[data-market-panel] {
    display: none !important;
  }

  .bosion-market-section[data-market-panel].is-active {
    display: block !important;
  }
}

/* =========================================================
   [BOSION CSS 16] 랜딩/장터 상품 2줄 노출 v56
   ---------------------------------------------------------
   목적:
   - 보시온 장터 상품을 사찰전용홈페이지처럼 2줄 가로 스크롤로 노출
   - 보시온 랜딩 상품 영역도 동일한 2줄 규칙 적용
   - 모바일은 기존처럼 세로 리스트 유지
   ========================================================= */


/* =========================================================
   1) 데스크탑/태블릿: 장터 상품 2줄 가로 스크롤
   ========================================================= */

@media (min-width: 768px) {
  .bosion-market-scroll-row {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(2, minmax(0, 132px)) !important;
    grid-auto-columns: minmax(300px, calc((100% - 32px) / 3)) !important;
    grid-template-columns: none !important;
    gap: 14px 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 13px !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  .bosion-market-product-card {
    width: 100% !important;
    min-width: 0 !important;
    height: 132px !important;
    min-height: 132px !important;
    flex: none !important;
    display: grid !important;
    grid-template-columns: 140px minmax(0, 1fr) !important;
    scroll-snap-align: start !important;
  }

  .bosion-market-product-card__img {
    width: 140px !important;
    height: 132px !important;
  }

  .bosion-market-product-card__body {
    min-height: 132px !important;
    height: 132px !important;
  }
}


/* =========================================================
   2) 데스크탑/태블릿: 랜딩 상품 영역 2줄 가로 스크롤
   ---------------------------------------------------------
   랜딩 코드에서 아래 계열 클래스 중 하나를 쓰면 자동 적용됨:
   - bosion-landing-product-grid
   - bosion-home-product-grid
   - bosion-main-product-grid
   - bosion-product-grid
   - bosion-front-product-grid-h
   - bosion-front-product-grid-v
   ========================================================= */

@media (min-width: 768px) {
  .bosion-landing-product-grid,
  .bosion-home-product-grid,
  .bosion-main-product-grid,
  .bosion-product-grid,
  .bosion-front-product-grid-h,
  .bosion-front-product-grid-v {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(2, minmax(0, 132px)) !important;
    grid-auto-columns: minmax(300px, calc((100% - 32px) / 3)) !important;
    grid-template-columns: none !important;
    gap: 14px 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 13px !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  .bosion-landing-product-grid::-webkit-scrollbar,
  .bosion-home-product-grid::-webkit-scrollbar,
  .bosion-main-product-grid::-webkit-scrollbar,
  .bosion-product-grid::-webkit-scrollbar,
  .bosion-front-product-grid-h::-webkit-scrollbar,
  .bosion-front-product-grid-v::-webkit-scrollbar,
  .bosion-market-scroll-row::-webkit-scrollbar {
    height: 8px !important;
  }

  .bosion-landing-product-grid::-webkit-scrollbar-thumb,
  .bosion-home-product-grid::-webkit-scrollbar-thumb,
  .bosion-main-product-grid::-webkit-scrollbar-thumb,
  .bosion-product-grid::-webkit-scrollbar-thumb,
  .bosion-front-product-grid-h::-webkit-scrollbar-thumb,
  .bosion-front-product-grid-v::-webkit-scrollbar-thumb,
  .bosion-market-scroll-row::-webkit-scrollbar-thumb {
    background: #C8B79C !important;
    border-radius: 999px !important;
  }

  .bosion-landing-product-grid::-webkit-scrollbar-track,
  .bosion-home-product-grid::-webkit-scrollbar-track,
  .bosion-main-product-grid::-webkit-scrollbar-track,
  .bosion-product-grid::-webkit-scrollbar-track,
  .bosion-front-product-grid-h::-webkit-scrollbar-track,
  .bosion-front-product-grid-v::-webkit-scrollbar-track,
  .bosion-market-scroll-row::-webkit-scrollbar-track {
    background: #F4EBDD !important;
    border-radius: 999px !important;
  }
}


/* =========================================================
   3) 랜딩 상품 카드가 장터/사찰홈 카드 클래스를 쓰는 경우 높이 통일
   ========================================================= */

@media (min-width: 768px) {
  .bosion-landing-product-grid .bosion-market-product-card,
  .bosion-home-product-grid .bosion-market-product-card,
  .bosion-main-product-grid .bosion-market-product-card,
  .bosion-product-grid .bosion-market-product-card,
  .bosion-landing-product-grid .bosion-front-product-card-h,
  .bosion-home-product-grid .bosion-front-product-card-h,
  .bosion-main-product-grid .bosion-front-product-card-h,
  .bosion-product-grid .bosion-front-product-card-h,
  .bosion-landing-product-grid .bosion-front-product-card-v,
  .bosion-home-product-grid .bosion-front-product-card-v,
  .bosion-main-product-grid .bosion-front-product-card-v,
  .bosion-product-grid .bosion-front-product-card-v {
    width: 100% !important;
    min-width: 0 !important;
    height: 132px !important;
    min-height: 132px !important;
    flex: none !important;
    scroll-snap-align: start !important;
  }
}


/* =========================================================
   4) 모바일: 장터/랜딩 상품은 기존 세로 리스트 유지
   ========================================================= */

@media (max-width: 767px) {
  .bosion-market-scroll-row,
  .bosion-landing-product-grid,
  .bosion-home-product-grid,
  .bosion-main-product-grid,
  .bosion-product-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .bosion-market-product-card {
    width: 100% !important;
    flex: 0 0 auto !important;
  }
}


/* =========================================================
   [BOSION CSS 17] v58 최종 복구
   ---------------------------------------------------------
   반영:
   1) 랜딩 페이지 CSS 분리 복구
   2) 랜딩/장터 상품 웹·태블릿 2줄 노출
   3) 장터 카테고리 상세 메뉴 제거 기준: 4탭 + 검색바 양끝 배치
   4) 사찰전용홈 스님소개 overflow/3중 구조 보정
   5) 모바일 스님소개: 사진 좌측, 인사말 우측
   ========================================================= */


/* =========================================================
   0) 공통 변수
   ========================================================= */

:root {
  --bh-bg: #F3EDE2;
  --bh-surface: #FFFFFF;
  --bh-text: #3A2720;
  --bh-body: #333333;
  --bh-muted: #6F6258;
  --bh-gold: #C9A24D;
  --bh-green: #4E6B5C;
  --bh-border: #E6D8BF;
  --bh-border2: #E9DDC9;
  --bh-shadow: 0 10px 28px rgba(58, 39, 32, .06);
}


/* =========================================================
   1) 보시온 랜딩 기본
   ========================================================= */

.bosion-home,
.bosion-home * {
  box-sizing: border-box !important;
}

.bosion-home {
  width: min(1200px, calc(100vw - 32px)) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
  color: var(--bh-text) !important;
}

.bosion-home a {
  text-decoration: none !important;
}

.bosion-home-hero {
  position: relative !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  padding: 42px 54px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: var(--bh-shadow) !important;
}

.bosion-home-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(35, 24, 18, .72) 0%, rgba(35, 24, 18, .52) 34%, rgba(35, 24, 18, .20) 64%, rgba(35, 24, 18, .08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .20) 0%, rgba(0, 0, 0, 0) 48%) !important;
  pointer-events: none !important;
}

.bosion-home-hero__content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 660px !important;
  color: #fff !important;
}

.bosion-home-hero__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 14px !important;
  margin-bottom: 16px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(201, 162, 77, .86) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
}

.bosion-home-hero h1 {
  margin: 0 0 14px !important;
  font-size: 44px !important;
  line-height: 1.16 !important;
  font-weight: 900 !important;
  letter-spacing: -.065em !important;
  color: #fff !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .25) !important;
}

.bosion-home-hero p {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, .94) !important;
  word-break: keep-all !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .24) !important;
}

.bosion-home-hero__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

.bosion-home-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  border: 0 !important;
  background: var(--bh-gold) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.bosion-home-btn:hover {
  background: var(--bh-green) !important;
  color: #fff !important;
}

.bosion-home-btn--line {
  background: rgba(255, 255, 255, .88) !important;
  color: #3A2720 !important;
  border: 1px solid rgba(255, 255, 255, .58) !important;
}

.bosion-home-search {
  position: relative !important;
  z-index: 8 !important;
  width: calc(100% - 64px) !important;
  max-width: 1120px !important;
  margin: -34px auto 0 !important;
  padding: 16px 20px !important;
  background: #fff !important;
  border: 1px solid var(--bh-border2) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 36px rgba(58, 39, 32, .13) !important;
}

.bosion-home-search__inner {
  display: grid !important;
  grid-template-columns: 230px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: center !important;
}

.bosion-home-search__titlebox {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  padding-right: 18px !important;
  border-right: 1px solid #EFE4D2 !important;
}

.bosion-home-search__icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FFF6E6 !important;
  color: #B8862E !important;
  border: 1px solid #EBD9B8 !important;
  font-size: 22px !important;
}

.bosion-home-search__title {
  margin: 0 0 4px !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: -.045em !important;
  color: var(--bh-text) !important;
}

.bosion-home-search__desc {
  margin: 0 !important;
  color: var(--bh-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.bosion-home-search__form {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 142px !important;
  gap: 8px !important;
  align-items: center !important;
}

.bosion-home-search select {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid var(--bh-border) !important;
  border-radius: 11px !important;
  padding: 0 13px !important;
  background: #fff !important;
  color: var(--bh-text) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.bosion-home-section {
  margin-top: 24px !important;
  padding: 22px !important;
  background: var(--bh-surface) !important;
  border: 1px solid var(--bh-border2) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(58, 39, 32, .045) !important;
}

.bosion-home-section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.bosion-home-section-title {
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: -.045em !important;
  color: var(--bh-text) !important;
}

.bosion-home-section-desc {
  margin: 5px 0 0 !important;
  color: var(--bh-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.bosion-home-empty {
  padding: 24px 16px !important;
  border: 1px dashed var(--bh-border) !important;
  border-radius: 16px !important;
  background: #FFFDF8 !important;
  text-align: center !important;
  color: var(--bh-muted) !important;
  font-size: 14px !important;
}


/* 추천 사찰 */
.bosion-home-temple-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.bosion-home-temple-card {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 258px !important;
  height: 258px !important;
  border: 1px solid var(--bh-border2) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(58, 39, 32, .045) !important;
}

.bosion-home-temple-card__img {
  display: block !important;
  width: 100% !important;
  height: 142px !important;
  min-height: 142px !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #F6F0E6 !important;
}

.bosion-home-temple-card__body {
  flex: 1 1 auto !important;
  min-height: 116px !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.bosion-home-temple-card h3 {
  margin: 0 0 7px !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  color: var(--bh-text) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.bosion-home-temple-card p {
  margin: 0 0 9px !important;
  color: var(--bh-muted) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.bosion-home-temple-services {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  margin-top: auto !important;
  overflow: hidden !important;
}

.bosion-home-temple-service-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 23px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: #F8EEDB !important;
  color: #9A6B20 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}


/* 랜딩 게시판 */
.bosion-home-board-box {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bosion-home-tabs {
  display: flex !important;
  gap: 0 !important;
  margin: 0 0 12px !important;
  padding-bottom: 2px !important;
  border-bottom: 1px solid #F0E6D7 !important;
  overflow-x: auto !important;
}

.bosion-home-tab-btn {
  flex: 0 0 auto !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--bh-muted) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.bosion-home-tab-btn.is-active {
  border-bottom-color: var(--bh-gold) !important;
  color: var(--bh-text) !important;
}

.bosion-home-tab-panel {
  display: none !important;
  padding: 14px !important;
  border: 1px solid var(--bh-border2) !important;
  border-radius: 16px !important;
  background: #fff !important;
}

.bosion-home-tab-panel.is-active {
  display: block !important;
}

.bosion-home-board-list {
  display: grid !important;
  gap: 0 !important;
}

.bosion-home-board-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-height: 42px !important;
  padding: 9px 0 !important;
  border-bottom: 1px solid #F0E6D7 !important;
}

.bosion-home-board-item:last-child {
  border-bottom: 0 !important;
}

.bosion-home-board-item a {
  min-width: 0 !important;
  color: var(--bh-text) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.bosion-home-board-date {
  flex: 0 0 auto !important;
  color: var(--bh-muted) !important;
  font-size: 12px !important;
}


/* =========================================================
   2) 랜딩 상품 2줄 노출
   ========================================================= */

@media (min-width: 768px) {
  .bosion-home-section-prayer .bosion-home-product-row,
  .bosion-home-section-market .bosion-home-product-row,
  .bosion-home-section-prayer .bosion-home-grid-3,
  .bosion-home-section-market .bosion-home-grid-5 {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(2, minmax(0, 132px)) !important;
    grid-auto-columns: minmax(300px, calc((100% - 32px) / 3)) !important;
    grid-template-columns: none !important;
    gap: 14px 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 13px !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  .bosion-home-section-prayer .bosion-home-product-card,
  .bosion-home-section-market .bosion-home-market-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 132px !important;
    min-height: 132px !important;
    flex: none !important;
    scroll-snap-align: start !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid var(--bh-border2) !important;
  }

  .bosion-home-section-prayer .bosion-home-product-card__link,
  .bosion-home-section-market .bosion-home-market-card__link {
    display: grid !important;
    grid-template-columns: 140px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 132px !important;
    min-height: 132px !important;
    padding: 10px !important;
    color: inherit !important;
    text-decoration: none !important;
  }

  .bosion-home-section-prayer .bosion-home-product-card__img,
  .bosion-home-section-market .bosion-home-market-card__img {
    width: 140px !important;
    min-width: 140px !important;
    height: 112px !important;
    aspect-ratio: auto !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    object-position: center !important;
    background: #F6F0E6 !important;
  }

  .bosion-home-section-prayer .bosion-home-product-card__body,
  .bosion-home-section-market .bosion-home-market-card__body {
    min-width: 0 !important;
    min-height: 112px !important;
    height: 112px !important;
    padding: 0 2px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .bosion-home-product-card__title,
  .bosion-home-market-card__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 0 5px !important;
    color: var(--bh-text) !important;
    font-size: 17px !important;
    line-height: 1.22 !important;
    font-weight: 900 !important;
  }

  .bosion-home-product-card__meta,
  .bosion-home-market-card__seller {
    margin: 0 0 6px !important;
    color: #8A6426 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .bosion-home-product-card__price,
  .bosion-home-market-card__price {
    color: #111 !important;
    font-size: 19px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
  }
}


/* =========================================================
   3) 장터: 4탭 + 검색바
   ========================================================= */

.bosion-market-category-tabs,
.bosion-market-tabs:not(.bosion-market-primary-tabs) {
  display: none !important;
}

.bosion-market-primary-row {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

@media (min-width: 768px) {
  .bosion-market-primary-tabs {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(58, 39, 32, .035) !important;
  }

  .bosion-market-primary-tabs button {
    flex: 0 0 auto !important;
    min-width: 96px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-right: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #7B5724 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }

  .bosion-market-primary-tabs button:last-child {
    border-right: 0 !important;
  }

  .bosion-market-primary-tabs button.is-active,
  .bosion-market-primary-tabs button:hover {
    background: var(--bs-gold, #C9A24D) !important;
    color: #fff !important;
  }

  .bosion-market-primary-row .bosion-market-search {
    flex: 0 0 340px !important;
    width: 340px !important;
    max-width: 340px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .bosion-market-primary-row .bosion-market-search form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 72px !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .bosion-market-primary-row .bosion-market-search input {
    height: 42px !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    padding: 0 14px !important;
    background: #fff !important;
    color: var(--bs-text, #3A2720) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 18px rgba(58, 39, 32, .035) !important;
  }

  .bosion-market-primary-row .bosion-market-search .bosion-market-btn {
    width: 72px !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }

  .bosion-market-section[data-market-panel] {
    display: none !important;
  }

  .bosion-market-section[data-market-panel].is-active {
    display: block !important;
  }
}


/* =========================================================
   4) 장터/랜딩 상품 2줄: 장터 확정
   ========================================================= */

@media (min-width: 768px) {
  .bosion-market-scroll-row {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(2, minmax(0, 132px)) !important;
    grid-auto-columns: minmax(300px, calc((100% - 32px) / 3)) !important;
    grid-template-columns: none !important;
    gap: 14px 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 13px !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  .bosion-market-product-card {
    width: 100% !important;
    min-width: 0 !important;
    height: 132px !important;
    min-height: 132px !important;
    flex: none !important;
    display: grid !important;
    grid-template-columns: 140px minmax(0, 1fr) !important;
    scroll-snap-align: start !important;
  }

  .bosion-market-product-card__img {
    width: 140px !important;
    height: 132px !important;
  }

  .bosion-market-product-card__body {
    min-height: 132px !important;
    height: 132px !important;
  }
}


/* =========================================================
   5) 사찰전용홈: 스님소개 2겹 + overflow 방지
   ========================================================= */

body.single-partner .bosion-front-temple-profile-card,
body.single-partner .bosion-front-monk-final-card {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-partner .bosion-front-temple-profile-body,
body.single-partner .bosion-front-monk-final-layout {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-partner .bosion-front-monk-final-left,
body.single-partner .bosion-front-monk-final-right,
body.single-partner .bosion-front-monk-final-greeting,
body.single-partner .bosion-front-monk-final-bio {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.single-partner .bosion-front-monk-final-bio,
body.single-partner .bosion-front-monk-final-bio p,
body.single-partner .bosion-front-monk-final-greeting,
body.single-partner .bosion-front-monk-final-greeting p {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  max-width: 100% !important;
}

@media (min-width: 768px) {
  body.single-partner .bosion-front-monk-final-layout {
    display: grid !important;
    grid-template-columns: minmax(160px, .42fr) minmax(0, .58fr) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  body.single-partner .bosion-front-monk-final-left,
  body.single-partner .bosion-front-monk-final-right,
  body.single-partner .bosion-front-temple-profile-left,
  body.single-partner .bosion-front-temple-history {
    padding: 12px !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    background: #fff !important;
  }

  body.single-partner .bosion-front-monk-final-right {
    display: flex !important;
    flex-direction: column !important;
  }

  body.single-partner .bosion-front-monk-final-bio {
    flex: 1 1 auto !important;
  }

  body.single-partner .bosion-front-monk-final-consult {
    margin-top: auto !important;
  }
}


/* 모바일 스님소개: 사진 좌측, 인사말 우측 */
@media (max-width: 767px) {
  body.single-partner .bosion-front-monk-final-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.single-partner .bosion-front-monk-final-left {
    display: grid !important;
    grid-template-columns: 116px minmax(0, 1fr) !important;
    grid-template-areas:
      "photo greeting"
      "name  greeting" !important;
    gap: 8px 10px !important;
    align-items: start !important;
    padding: 10px !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    background: #FFFBF4 !important;
  }

  body.single-partner .bosion-front-monk-final-photo {
    grid-area: photo !important;
    width: 116px !important;
    max-width: 116px !important;
    height: 116px !important;
    margin: 0 !important;
    border-radius: 13px !important;
  }

  body.single-partner .bosion-front-monk-final-name {
    grid-area: name !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    margin: 0 !important;
  }

  body.single-partner .bosion-front-monk-final-greeting {
    grid-area: greeting !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px !important;
    border-radius: 13px !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  body.single-partner .bosion-front-monk-final-greeting strong,
  body.single-partner .bosion-front-monk-final-bio strong {
    font-size: 14px !important;
    margin-bottom: 5px !important;
  }

  body.single-partner .bosion-front-monk-final-greeting p,
  body.single-partner .bosion-front-monk-final-bio p {
    font-size: 13px !important;
    line-height: 1.58 !important;
  }

  body.single-partner .bosion-front-monk-final-right {
    padding: 10px !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  body.single-partner .bosion-front-monk-final-bio {
    padding: 10px !important;
    border-radius: 13px !important;
    overflow: hidden !important;
  }
}


/* =========================================================
   6) 모바일 조정: 랜딩/장터
   ========================================================= */

@media (max-width: 767px) {
  .bosion-home {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
  }

  .bosion-home-hero {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    padding: 20px 18px !important;
    border-radius: 0 0 16px 16px !important;
    align-items: flex-end !important;
    background-position: center right !important;
  }

  .bosion-home-hero h1 {
    font-size: 29px !important;
    line-height: 1.12 !important;
    margin-bottom: 8px !important;
  }

  .bosion-home-hero p {
    font-size: 14px !important;
    line-height: 1.52 !important;
  }

  .bosion-home-search {
    width: calc(100% - 12px) !important;
    margin: 10px auto 0 !important;
    padding: 13px 12px !important;
    border-radius: 16px !important;
  }

  .bosion-home-search__inner {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .bosion-home-search__titlebox {
    border-right: 0 !important;
    padding-right: 0 !important;
  }

  .bosion-home-search__form {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .bosion-home-temple-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .bosion-home-section {
    margin-top: 14px !important;
    padding: 14px 12px !important;
    border-radius: 16px !important;
  }

  .bosion-home-section-title {
    font-size: 22px !important;
  }

  .bosion-home-section-prayer .bosion-home-product-row,
  .bosion-home-section-market .bosion-home-product-row,
  .bosion-home-section-prayer .bosion-home-grid-3,
  .bosion-home-section-market .bosion-home-grid-5 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .bosion-market-primary-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .bosion-market-primary-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    width: 100% !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    border-bottom: 1px solid #E9DDC9 !important;
    background: #FFF8EA !important;
    scrollbar-width: none !important;
  }

  .bosion-market-primary-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .bosion-market-primary-tabs button {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    min-height: 44px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--bs-text, #3A2720) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  .bosion-market-primary-tabs button.is-active {
    border-bottom-color: var(--bs-gold, #C9A24D) !important;
  }

  .bosion-market-primary-row .bosion-market-search {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 13px !important;
    background: #fff !important;
  }

  .bosion-market-primary-row .bosion-market-search form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 70px !important;
    gap: 7px !important;
  }

  .bosion-market-section[data-market-panel] {
    display: none !important;
  }

  .bosion-market-section[data-market-panel].is-active {
    display: block !important;
  }
}

/* =========================================================
   [BOSION CSS 18] 사찰 스님소개/랜딩 모바일 최종 보정 v59
   ---------------------------------------------------------
   반영:
   1) 사찰전용홈페이지 스님소개 내용이 컨테이너 밖으로 밀리는 문제 보정
   2) 모바일 스님소개: 사진/성함 좌측, 인사말 우측, 약력은 아래 카드
   3) 랜딩 모바일 보시온 소식 탭: 1줄 고정, 좌우스크롤 제거
   4) 랜딩 모바일 상품카드: 너무 큰 카드 → compact 가로형 카드
   ========================================================= */


/* =========================================================
   1) 사찰전용홈페이지: 스님소개 컨테이너 넘침 방지
   ========================================================= */

body.single-partner .bosion-front-intro-section--monk,
body.single-partner .bosion-front-intro-section--monk * {
  box-sizing: border-box !important;
}

body.single-partner .bosion-front-intro-section--monk {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.single-partner .bosion-front-monk-final-card,
body.single-partner .bosion-front-monk-final-layout,
body.single-partner .bosion-front-monk-final-left,
body.single-partner .bosion-front-monk-final-right,
body.single-partner .bosion-front-monk-final-greeting,
body.single-partner .bosion-front-monk-final-bio {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.single-partner .bosion-front-monk-final-layout {
  align-items: stretch !important;
}

body.single-partner .bosion-front-monk-final-left,
body.single-partner .bosion-front-monk-final-right {
  min-width: 0 !important;
}

body.single-partner .bosion-front-monk-final-right {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

body.single-partner .bosion-front-monk-final-bio {
  flex: 0 1 auto !important;
}

body.single-partner .bosion-front-monk-final-bio p,
body.single-partner .bosion-front-monk-final-greeting p {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

body.single-partner .bosion-front-monk-final-consult {
  flex: 0 0 auto !important;
  margin-top: auto !important;
}


/* 데스크탑: 스님소개 카드 안쪽을 살짝 더 안정화 */
@media (min-width: 768px) {
  body.single-partner .bosion-front-intro-sections {
    align-items: start !important;
  }

  body.single-partner .bosion-front-intro-section--monk {
    align-self: start !important;
  }

  body.single-partner .bosion-front-monk-final-layout {
    grid-template-columns: minmax(150px, .40fr) minmax(0, .60fr) !important;
    gap: 10px !important;
  }

  body.single-partner .bosion-front-monk-final-left,
  body.single-partner .bosion-front-monk-final-right {
    padding: 12px !important;
  }

  body.single-partner .bosion-front-monk-final-photo {
    width: 128px !important;
    max-width: 128px !important;
    height: 128px !important;
  }

  body.single-partner .bosion-front-monk-final-name {
    font-size: 19px !important;
  }

  body.single-partner .bosion-front-monk-final-greeting p,
  body.single-partner .bosion-front-monk-final-bio p {
    font-size: 12.8px !important;
    line-height: 1.55 !important;
  }
}


/* =========================================================
   2) 모바일 스님소개: 사진 좌측 / 인사말 우측
   ========================================================= */

@media (max-width: 767px) {
  body.single-partner .bosion-front-monk-final-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.single-partner .bosion-front-monk-final-left {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    grid-template-areas:
      "photo greeting"
      "name  greeting" !important;
    align-items: start !important;
    gap: 8px 10px !important;
    padding: 10px !important;
  }

  body.single-partner .bosion-front-monk-final-photo {
    grid-area: photo !important;
    width: 104px !important;
    max-width: 104px !important;
    height: 104px !important;
    margin: 0 !important;
    border-radius: 13px !important;
  }

  body.single-partner .bosion-front-monk-final-name {
    grid-area: name !important;
    width: 104px !important;
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  body.single-partner .bosion-front-monk-final-greeting {
    grid-area: greeting !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px !important;
    align-self: stretch !important;
  }

  body.single-partner .bosion-front-monk-final-greeting strong,
  body.single-partner .bosion-front-monk-final-bio strong {
    margin-bottom: 5px !important;
    font-size: 13.5px !important;
    line-height: 1.3 !important;
  }

  body.single-partner .bosion-front-monk-final-greeting p,
  body.single-partner .bosion-front-monk-final-bio p {
    font-size: 12.8px !important;
    line-height: 1.52 !important;
    letter-spacing: -0.035em !important;
  }

  body.single-partner .bosion-front-monk-final-right {
    padding: 10px !important;
  }

  body.single-partner .bosion-front-monk-final-bio {
    padding: 10px !important;
  }

  body.single-partner .bosion-front-monk-final-consult {
    width: 100% !important;
    min-height: 40px !important;
    margin-top: 8px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 390px) {
  body.single-partner .bosion-front-monk-final-left {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 7px 9px !important;
  }

  body.single-partner .bosion-front-monk-final-photo {
    width: 92px !important;
    max-width: 92px !important;
    height: 92px !important;
  }

  body.single-partner .bosion-front-monk-final-name {
    width: 92px !important;
    font-size: 16px !important;
  }

  body.single-partner .bosion-front-monk-final-greeting p,
  body.single-partner .bosion-front-monk-final-bio p {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }
}


/* =========================================================
   3) 랜딩 모바일: 보시온 소식 탭 1줄 고정 / 좌우스크롤 제거
   ========================================================= */

@media (max-width: 767px) {
  body .bosion-home .bosion-home-board-unified-section .bosion-home-tabs,
  body .bosion-home .bosion-home-tabs--unified {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    border-bottom: 1px solid #F0E6D7 !important;
    scrollbar-width: none !important;
  }

  body .bosion-home .bosion-home-tabs--unified::-webkit-scrollbar {
    display: none !important;
  }

  body .bosion-home .bosion-home-tabs--unified .bosion-home-tab-btn {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 0 2px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.06em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  body .bosion-home .bosion-home-board-unified-section .bosion-home-tab-panel {
    padding: 12px !important;
  }
}


/* =========================================================
   4) 랜딩 모바일 상품카드 compact 가로형
   ========================================================= */

@media (max-width: 767px) {
  body .bosion-home .bosion-home-section-prayer .bosion-home-grid-3,
  body .bosion-home .bosion-home-section-market .bosion-home-grid-5,
  body .bosion-home .bosion-home-product-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card {
    width: 100% !important;
    min-height: 112px !important;
    height: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__link,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__link {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 112px !important;
    height: 112px !important;
    padding: 0 !important;
    align-items: stretch !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__img,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__img {
    width: 112px !important;
    min-width: 112px !important;
    height: 112px !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__body,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__body {
    min-width: 0 !important;
    min-height: 112px !important;
    height: 112px !important;
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__title,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__title {
    display: -webkit-box !important;
    margin: 0 0 5px !important;
    color: var(--bh-text, #3A2720) !important;
    font-size: 16px !important;
    line-height: 1.24 !important;
    font-weight: 900 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__meta,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__seller {
    margin: 0 0 5px !important;
    color: #8A6426 !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__price,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__price {
    margin: 0 !important;
    color: #111111 !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
  }
}

@media (max-width: 390px) {
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__link,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__link {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    min-height: 104px !important;
    height: 104px !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__img,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__img {
    width: 100px !important;
    min-width: 100px !important;
    height: 104px !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__body,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__body {
    min-height: 104px !important;
    height: 104px !important;
    padding: 9px 10px !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__title,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__title {
    font-size: 15px !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__price,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__price {
    font-size: 15.5px !important;
  }
}

/* =========================================================
   [BOSION CSS 19] 모바일 상품카드/탭메뉴 장터 기준 통일 v60
   ---------------------------------------------------------
   최종 기준:
   1) 모바일의 모든 가로형 상품카드 = 보시온 장터 모바일 카드 크기
      - 카드 높이: 154px
      - 이미지 영역: 좌측 47%
      - 텍스트 영역: 우측 53%
      - 390px 이하: 카드 높이 146px, 이미지 영역 46%

   2) 모바일의 모든 탭메뉴 = 보시온 장터 탭메뉴 크기
      - 높이: 44px
      - 글자: 14px / 900
      - 선택 상태: 골드 하단선
      - 가로 1줄 스크롤형
   ========================================================= */


/* =========================================================
   1) 모바일 탭메뉴 전체 통일
   ========================================================= */

@media (max-width: 767px) {
  body.single-partner .bosion-front-quick,
  body.single-partner .bosion-front-post-tabs,
  body .bosion-home .bosion-home-tabs,
  body .bosion-home .bosion-home-tabs--unified,
  body .bosion-home .bosion-home-mobile-tabs,
  .bosion-market-primary-tabs,
  .bosion-market-mobile-primary-tabs,
  .bosion-market-mobile-section-tabs,
  .bosion-tab-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-bottom: 1px solid #E9DDC9 !important;
    border-radius: 0 !important;
    background: #FFF8EA !important;
    box-shadow: none !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body.single-partner .bosion-front-quick::-webkit-scrollbar,
  body.single-partner .bosion-front-post-tabs::-webkit-scrollbar,
  body .bosion-home .bosion-home-tabs::-webkit-scrollbar,
  body .bosion-home .bosion-home-tabs--unified::-webkit-scrollbar,
  body .bosion-home .bosion-home-mobile-tabs::-webkit-scrollbar,
  .bosion-market-primary-tabs::-webkit-scrollbar,
  .bosion-market-mobile-primary-tabs::-webkit-scrollbar,
  .bosion-market-mobile-section-tabs::-webkit-scrollbar,
  .bosion-tab-menu::-webkit-scrollbar {
    display: none !important;
  }

  body.single-partner .bosion-front-quick button,
  body.single-partner .bosion-front-quick a,
  body.single-partner .bosion-front-post-tab-btn,
  body .bosion-home .bosion-home-tab-btn,
  body .bosion-home .bosion-home-mobile-tab-btn,
  .bosion-market-primary-tabs button,
  .bosion-market-mobile-primary-tabs button,
  .bosion-market-mobile-section-tabs button,
  .bosion-tab-menu button,
  .bosion-tab-menu a {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: max-content !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--bs-text, #3A2720) !important;
    box-shadow: none !important;
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    cursor: pointer !important;
  }

  body.single-partner .bosion-front-quick button strong,
  body.single-partner .bosion-front-quick a strong {
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body.single-partner .bosion-front-quick button.is-active,
  body.single-partner .bosion-front-quick a.is-active,
  body.single-partner .bosion-front-post-tab-btn.is-active,
  body .bosion-home .bosion-home-tab-btn.is-active,
  body .bosion-home .bosion-home-mobile-tab-btn.is-active,
  .bosion-market-primary-tabs button.is-active,
  .bosion-market-mobile-primary-tabs button.is-active,
  .bosion-market-mobile-section-tabs button.is-active,
  .bosion-tab-menu button.is-active,
  .bosion-tab-menu a.is-active {
    background: transparent !important;
    border-bottom-color: var(--bs-gold, #C9A24D) !important;
    color: var(--bs-text, #3A2720) !important;
  }
}


/* =========================================================
   2) 모바일 상품카드 전체 통일: 보시온 장터 카드 기준
   ========================================================= */

@media (max-width: 767px) {

  /* 상품 리스트 컨테이너는 모바일에서 세로 리스트 */
  .bosion-market-scroll-row,
  body .bosion-home .bosion-home-section-prayer .bosion-home-grid-3,
  body .bosion-home .bosion-home-section-market .bosion-home-grid-5,
  body .bosion-home .bosion-home-product-row,
  body.single-partner .bosion-front-product-grid-h,
  body.single-partner .bosion-front-product-grid-v,
  body.single-partner #bosion-prayer .bosion-front-product-grid-h,
  body.single-partner #bosion-market .bosion-front-product-grid-v {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    grid-template-rows: none !important;
    grid-auto-columns: auto !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  /* 장터 / 사찰전용홈 상품카드 */
  .bosion-market-product-card,
  body.single-partner .bosion-front-product-card-h,
  body.single-partner .bosion-front-product-card-v,
  body.single-partner #bosion-prayer .bosion-front-product-card-h,
  body.single-partner #bosion-market .bosion-front-product-card-v {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 154px !important;
    min-height: 154px !important;
    display: grid !important;
    grid-template-columns: 47% minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    padding: 0 !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    overflow: hidden !important;
    color: var(--bs-text, #3A2720) !important;
    text-decoration: none !important;
  }

  /* 랜딩 상품카드 */
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 154px !important;
    min-height: 154px !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__link,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__link {
    display: grid !important;
    grid-template-columns: 47% minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    height: 154px !important;
    min-height: 154px !important;
    padding: 0 !important;
    align-items: stretch !important;
    color: inherit !important;
    text-decoration: none !important;
  }

  /* 이미지 영역 */
  .bosion-market-product-card__img,
  body.single-partner .bosion-front-product-card-h__image,
  body.single-partner .bosion-front-product-card-v__image-wrap,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__image,
  body.single-partner #bosion-market .bosion-front-product-card-v__image-wrap,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__img,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__img {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 154px !important;
    min-height: 154px !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    background: #F6F0E6 !important;
    overflow: hidden !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  body.single-partner .bosion-front-product-card-h__image img,
  body.single-partner .bosion-front-product-card-v__image,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__image img,
  body.single-partner #bosion-market .bosion-front-product-card-v__image {
    display: block !important;
    width: 100% !important;
    height: 154px !important;
    min-height: 154px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
  }

  /* 텍스트 영역 */
  .bosion-market-product-card__body,
  body.single-partner .bosion-front-product-card-h__body,
  body.single-partner .bosion-front-product-card-v__body,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__body,
  body.single-partner #bosion-market .bosion-front-product-card-v__body,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__body,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__body {
    min-width: 0 !important;
    width: 100% !important;
    height: 154px !important;
    min-height: 154px !important;
    padding: 8px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    overflow: hidden !important;
  }

  /* 상품명 */
  .bosion-market-product-card__title,
  body.single-partner .bosion-front-product-card-h__title,
  body.single-partner .bosion-front-product-card-v__title,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__title,
  body.single-partner #bosion-market .bosion-front-product-card-v__title,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__title,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__title {
    display: -webkit-box !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    color: var(--bs-text, #3A2720) !important;
    font-size: 20px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
    letter-spacing: -0.045em !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* 판매처/사찰명 */
  .bosion-market-product-card__seller,
  body.single-partner .bosion-front-product-card-h__seller,
  body.single-partner .bosion-front-product-card-v__seller,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__seller,
  body.single-partner #bosion-market .bosion-front-product-card-v__seller,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__meta,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__seller {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    color: #8A6426 !important;
    font-size: 15px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* 가격 */
  .bosion-market-product-card__price,
  body.single-partner .bosion-front-product-card-h__price,
  body.single-partner .bosion-front-product-card-v__price,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__price,
  body.single-partner #bosion-market .bosion-front-product-card-v__price,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__price,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__price {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #111111 !important;
    font-size: 23px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }
}


/* =========================================================
   3) 아주 좁은 모바일 상품카드: 장터 기준 축소값
   ========================================================= */

@media (max-width: 390px) {
  .bosion-market-product-card,
  body.single-partner .bosion-front-product-card-h,
  body.single-partner .bosion-front-product-card-v,
  body.single-partner #bosion-prayer .bosion-front-product-card-h,
  body.single-partner #bosion-market .bosion-front-product-card-v,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__link,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__link {
    height: 146px !important;
    min-height: 146px !important;
  }

  .bosion-market-product-card,
  body.single-partner .bosion-front-product-card-h,
  body.single-partner .bosion-front-product-card-v,
  body.single-partner #bosion-prayer .bosion-front-product-card-h,
  body.single-partner #bosion-market .bosion-front-product-card-v,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__link,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__link {
    grid-template-columns: 46% minmax(0, 1fr) !important;
  }

  .bosion-market-product-card__img,
  body.single-partner .bosion-front-product-card-h__image,
  body.single-partner .bosion-front-product-card-v__image-wrap,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__image,
  body.single-partner #bosion-market .bosion-front-product-card-v__image-wrap,
  body.single-partner .bosion-front-product-card-h__image img,
  body.single-partner .bosion-front-product-card-v__image,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__image img,
  body.single-partner #bosion-market .bosion-front-product-card-v__image,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__img,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__img {
    height: 146px !important;
    min-height: 146px !important;
  }

  .bosion-market-product-card__body,
  body.single-partner .bosion-front-product-card-h__body,
  body.single-partner .bosion-front-product-card-v__body,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__body,
  body.single-partner #bosion-market .bosion-front-product-card-v__body,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__body,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__body {
    height: 146px !important;
    min-height: 146px !important;
    padding: 7px 9px !important;
  }

  .bosion-market-product-card__title,
  body.single-partner .bosion-front-product-card-h__title,
  body.single-partner .bosion-front-product-card-v__title,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__title,
  body.single-partner #bosion-market .bosion-front-product-card-v__title,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__title,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__title {
    font-size: 19px !important;
  }

  .bosion-market-product-card__seller,
  body.single-partner .bosion-front-product-card-h__seller,
  body.single-partner .bosion-front-product-card-v__seller,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__seller,
  body.single-partner #bosion-market .bosion-front-product-card-v__seller,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__meta,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__seller {
    font-size: 14px !important;
  }

  .bosion-market-product-card__price,
  body.single-partner .bosion-front-product-card-h__price,
  body.single-partner .bosion-front-product-card-v__price,
  body.single-partner #bosion-prayer .bosion-front-product-card-h__price,
  body.single-partner #bosion-market .bosion-front-product-card-v__price,
  body .bosion-home .bosion-home-section-prayer .bosion-home-product-card__price,
  body .bosion-home .bosion-home-section-market .bosion-home-market-card__price {
    font-size: 22px !important;
  }
}

/* =========================================================
   [BOSION CSS 21] 사찰전용홈 컨테이너 패딩/사찰소식 최적화 v62
   ---------------------------------------------------------
   반영:
   1) 사찰전용홈 웹 화면: 섹션/내부카드 패딩 기준 통일
   2) 사찰전용홈 모바일 화면: 사찰소개 기준으로 각 컨테이너 패딩 최적화
   3) 사찰소식 게시판: 2중 컨테이너 느낌 제거 → 1개 컨테이너처럼 정리
   ========================================================= */


/* =========================================================
   1) 사찰전용홈 공통: 컨테이너 규격 안정화
   ========================================================= */

body.single-partner .bosion-front-wrap,
body.single-partner .bosion-front-wrap * {
  box-sizing: border-box !important;
}

body.single-partner .bosion-front-section {
  overflow: hidden !important;
}

body.single-partner .bosion-front-section-head {
  min-width: 0 !important;
}

body.single-partner .bosion-front-section-head h2,
body.single-partner .bosion-front-section-head p {
  min-width: 0 !important;
  word-break: keep-all !important;
}


/* =========================================================
   2) 웹/태블릿: 각 섹션별 내부 패딩 통일
   ========================================================= */

@media (min-width: 768px) {

  /* 바깥 섹션 패딩 통일 */
  body.single-partner .bosion-front-section,
  body.single-partner .bosion-front-intro-sections .bosion-front-section,
  body.single-partner .bosion-front-main-layout .bosion-front-section,
  body.single-partner .bosion-front-main-side .bosion-front-section,
  body.single-partner .bosion-front-side-stack .bosion-front-section {
    padding: 16px !important;
    border-radius: 17px !important;
  }

  body.single-partner .bosion-front-section-head {
    margin-bottom: 10px !important;
  }

  body.single-partner .bosion-front-section-head h2 {
    font-size: 22px !important;
    line-height: 1.28 !important;
  }

  body.single-partner .bosion-front-section-head p {
    margin-top: 4px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* 사찰소개 / 스님소개 내부 카드 패딩 통일 */
  body.single-partner .bosion-front-temple-profile-left,
  body.single-partner .bosion-front-temple-detail,
  body.single-partner .bosion-front-temple-history,
  body.single-partner .bosion-front-monk-final-left,
  body.single-partner .bosion-front-monk-final-right,
  body.single-partner .bosion-front-monk-final-greeting,
  body.single-partner .bosion-front-monk-final-bio,
  body.single-partner .bosion-front-member-card,
  body.single-partner .bosion-front-card {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  body.single-partner .bosion-front-temple-profile-body,
  body.single-partner .bosion-front-monk-final-layout,
  body.single-partner .bosion-front-intro-sections {
    gap: 12px !important;
  }

  body.single-partner .bosion-front-main-layout.bosion-front-news-side-layout {
    gap: 20px !important;
  }

  body.single-partner .bosion-front-main-side,
  body.single-partner .bosion-front-side-stack {
    gap: 14px !important;
  }

  /* 이미지/텍스트 영역 높이 안정화 */
  body.single-partner .bosion-front-intro-main-img {
    height: 154px !important;
  }

  body.single-partner .bosion-front-monk-final-photo {
    width: 124px !important;
    max-width: 124px !important;
    height: 124px !important;
  }

  body.single-partner .bosion-front-monk-final-right,
  body.single-partner .bosion-front-monk-final-left {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.single-partner .bosion-front-monk-final-bio,
  body.single-partner .bosion-front-monk-final-greeting {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  body.single-partner .bosion-front-monk-final-greeting p,
  body.single-partner .bosion-front-monk-final-bio p {
    font-size: 12.8px !important;
    line-height: 1.55 !important;
    max-height: none !important;
    overflow-wrap: break-word !important;
  }
}


/* =========================================================
   3) 모바일: 사찰소개 기준으로 각 컨테이너 패딩 최적화
   ========================================================= */

@media (max-width: 767px) {

  /* 모바일 섹션 바깥 패딩 */
  body.single-partner .bosion-front-section,
  body.single-partner .bosion-front-intro-sections .bosion-front-section,
  body.single-partner .bosion-front-main-layout .bosion-front-section,
  body.single-partner .bosion-front-main-side .bosion-front-section,
  body.single-partner .bosion-front-side-stack .bosion-front-section {
    padding: 12px 10px !important;
    border-radius: 15px !important;
  }

  body.single-partner .bosion-front-section-head {
    margin-bottom: 8px !important;
  }

  body.single-partner .bosion-front-section-head h2 {
    font-size: 22px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.05em !important;
  }

  body.single-partner .bosion-front-section-head p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  /* 모바일 내부 카드 패딩: 사찰소개 기준으로 통일 */
  body.single-partner .bosion-front-temple-profile-left,
  body.single-partner .bosion-front-temple-detail,
  body.single-partner .bosion-front-temple-history,
  body.single-partner .bosion-front-monk-final-left,
  body.single-partner .bosion-front-monk-final-right,
  body.single-partner .bosion-front-monk-final-greeting,
  body.single-partner .bosion-front-monk-final-bio,
  body.single-partner .bosion-front-member-card,
  body.single-partner .bosion-front-card {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  body.single-partner .bosion-front-temple-profile-body,
  body.single-partner .bosion-front-monk-final-layout,
  body.single-partner .bosion-front-intro-sections,
  body.single-partner .bosion-front-main-side,
  body.single-partner .bosion-front-side-stack {
    gap: 8px !important;
  }

  body.single-partner .bosion-front-intro-main-img {
    height: 164px !important;
    border-radius: 13px !important;
  }

  body.single-partner .bosion-front-temple-detail h3,
  body.single-partner .bosion-front-temple-history h3 {
    margin-bottom: 6px !important;
    font-size: 18px !important;
    line-height: 1.28 !important;
  }

  body.single-partner .bosion-front-temple-detail p,
  body.single-partner .bosion-front-temple-history p {
    font-size: 13.5px !important;
    line-height: 1.56 !important;
  }

  /* 모바일 스님소개: 넘침 방지 + 사찰소개와 같은 밀도 */
  body.single-partner .bosion-front-monk-final-left {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    grid-template-areas:
      "photo greeting"
      "name  greeting" !important;
    gap: 8px 9px !important;
    align-items: start !important;
  }

  body.single-partner .bosion-front-monk-final-photo {
    grid-area: photo !important;
    width: 96px !important;
    max-width: 96px !important;
    height: 96px !important;
    margin: 0 !important;
    border-radius: 13px !important;
  }

  body.single-partner .bosion-front-monk-final-name {
    grid-area: name !important;
    width: 96px !important;
    font-size: 16px !important;
    line-height: 1.24 !important;
    text-align: center !important;
  }

  body.single-partner .bosion-front-monk-final-greeting {
    grid-area: greeting !important;
    min-width: 0 !important;
    align-self: stretch !important;
  }

  body.single-partner .bosion-front-monk-final-greeting strong,
  body.single-partner .bosion-front-monk-final-bio strong {
    margin-bottom: 5px !important;
    font-size: 13.5px !important;
    line-height: 1.28 !important;
  }

  body.single-partner .bosion-front-monk-final-greeting p,
  body.single-partner .bosion-front-monk-final-bio p {
    font-size: 12.8px !important;
    line-height: 1.5 !important;
    letter-spacing: -0.04em !important;
    overflow-wrap: break-word !important;
  }

  body.single-partner .bosion-front-monk-final-consult {
    min-height: 40px !important;
    margin-top: 8px !important;
  }
}


/* =========================================================
   4) 사찰소식 게시판: 2중 컨테이너 제거
   ---------------------------------------------------------
   바깥 섹션 하나만 컨테이너처럼 보이고,
   내부 탭 패널/리스트는 border 박스를 만들지 않게 정리
   ========================================================= */

body.single-partner #bosion-posts .bosion-front-post-panel,
body.single-partner .bosion-front-post-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-partner #bosion-posts .bosion-front-board-list,
body.single-partner .bosion-front-board-list {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

body.single-partner #bosion-posts .bosion-front-board-row,
body.single-partner .bosion-front-board-row {
  min-height: 56px !important;
  padding: 11px 4px !important;
  border-bottom: 1px solid #F0E6D7 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

body.single-partner #bosion-posts .bosion-front-board-row:first-child,
body.single-partner .bosion-front-board-row:first-child {
  border-top: 1px solid #F0E6D7 !important;
}

body.single-partner #bosion-posts .bosion-front-board-row:hover,
body.single-partner .bosion-front-board-row:hover,
body.single-partner #bosion-posts .bosion-front-board-row.is-current,
body.single-partner .bosion-front-board-row.is-current {
  background: #FFF8EA !important;
}

body.single-partner #bosion-posts .bosion-front-board-tools,
body.single-partner .bosion-front-board-tools {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid #F0E6D7 !important;
}

body.single-partner #bosion-posts .bosion-front-board-tools--bottom,
body.single-partner .bosion-front-board-tools--bottom {
  padding-top: 12px !important;
  border-top: 1px solid #F0E6D7 !important;
}


/* 상세 글도 바깥 섹션 안에서 또 다른 큰 박스처럼 보이지 않게 정리 */
body.single-partner #bosion-posts .bosion-front-board-detail,
body.single-partner .bosion-front-board-detail {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-partner #bosion-posts .bosion-front-board-detail-content,
body.single-partner .bosion-front-board-detail-content {
  padding: 12px 0 !important;
}


/* =========================================================
   5) 모바일 사찰소식 게시판 최적화
   ========================================================= */

@media (max-width: 767px) {
  body.single-partner #bosion-posts .bosion-front-post-tabs,
  body.single-partner .bosion-front-post-tabs {
    margin-bottom: 8px !important;
  }

  body.single-partner #bosion-posts .bosion-front-board-row,
  body.single-partner .bosion-front-board-row {
    min-height: 54px !important;
    padding: 10px 2px !important;
    gap: 8px !important;
  }

  body.single-partner #bosion-posts .bosion-front-board-title strong,
  body.single-partner .bosion-front-board-title strong {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  body.single-partner #bosion-posts .bosion-front-board-title em,
  body.single-partner .bosion-front-board-title em {
    display: none !important;
  }

  body.single-partner #bosion-posts .bosion-front-board-row time,
  body.single-partner .bosion-front-board-row time {
    font-size: 12px !important;
  }

  body.single-partner #bosion-posts .bosion-front-board-search input,
  body.single-partner .bosion-front-board-search input {
    min-height: 38px !important;
  }

  body.single-partner #bosion-posts .bosion-front-board-search button,
  body.single-partner .bosion-front-board-search button,
  body.single-partner #bosion-posts .bosion-front-board-write summary,
  body.single-partner .bosion-front-board-write summary,
  body.single-partner #bosion-posts .bosion-front-board-login,
  body.single-partner .bosion-front-board-login {
    min-height: 38px !important;
  }
}


/* =========================================================
   6) 좁은 모바일 추가 압축
   ========================================================= */

@media (max-width: 390px) {
  body.single-partner .bosion-front-section,
  body.single-partner .bosion-front-intro-sections .bosion-front-section,
  body.single-partner .bosion-front-main-layout .bosion-front-section,
  body.single-partner .bosion-front-main-side .bosion-front-section,
  body.single-partner .bosion-front-side-stack .bosion-front-section {
    padding: 10px 8px !important;
  }

  body.single-partner .bosion-front-monk-final-left {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  body.single-partner .bosion-front-monk-final-photo {
    width: 88px !important;
    max-width: 88px !important;
    height: 88px !important;
  }

  body.single-partner .bosion-front-monk-final-name {
    width: 88px !important;
    font-size: 15px !important;
  }
}


/* [BOSION CLEAN] CSS 22~34 소개영역 중복 보정 블록 제거됨 */

/* =========================================================
   [BOSION CSS 38] 랜딩 모바일 히어로 배경 가림 완화 v79
   ---------------------------------------------------------
   반영:
   1) 모바일 랜딩 히어로의 어두운 오버레이 완화
   2) 배경 산/사찰 이미지가 더 잘 보이도록 조정
   3) 텍스트 가독성은 text-shadow로 유지
   4) 사찰전용홈/장터 히어로는 건드리지 않음
   ========================================================= */

@media (max-width: 767px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero::before,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home::before {
    background:
      linear-gradient(90deg, rgba(20, 14, 10, .44) 0%, rgba(20, 14, 10, .26) 46%, rgba(20, 14, 10, .06) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .02) 62%) !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero h1 {
    text-shadow:
      0 3px 12px rgba(0, 0, 0, .42),
      0 1px 2px rgba(0, 0, 0, .32) !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero p {
    text-shadow:
      0 2px 10px rgba(0, 0, 0, .38),
      0 1px 2px rgba(0, 0, 0, .28) !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__eyebrow {
    box-shadow: 0 3px 12px rgba(0, 0, 0, .16) !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__actions .bosion-home-btn,
  body .bosion-home.bosion-page-wrap--home .bosion-home-btn {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .14) !important;
  }
}

/* 더 좁은 모바일에서는 글자가 겹치지 않도록 아주 약간만 어둡게 */
@media (max-width: 390px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero::before,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home::before {
    background:
      linear-gradient(90deg, rgba(20, 14, 10, .48) 0%, rgba(20, 14, 10, .30) 48%, rgba(20, 14, 10, .08) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, .20) 0%, rgba(0, 0, 0, .03) 62%) !important;
  }
}

/* =========================================================
   [BOSION CSS 39] 랜딩 히어로 문구 2줄 보정 v80
   ---------------------------------------------------------
   반영:
   1) 히어로 제목을 2줄로 고정
      - 마음은 가까이,
      - 정성은 깊게
   2) 히어로 한줄소개도 2줄로 고정
      - 사찰의 기도·공양·상담·장터를
      - 보시온에서 편하게 만나보세요.
   3) v77에서 모바일 h1 br을 숨겼던 규칙을 해제
   ========================================================= */

body .bosion-home.bosion-page-wrap--home .bosion-home-hero h1 br,
body .bosion-home.bosion-page-wrap--home .bosion-home-hero p br {
  display: block !important;
}

@media (max-width: 767px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__content {
    max-width: 100% !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero h1 {
    max-width: 100% !important;
    margin-bottom: 8px !important;
    font-size: 27px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.072em !important;
    word-break: keep-all !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero h1 br {
    display: block !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero p {
    max-width: 100% !important;
    font-size: 12.8px !important;
    line-height: 1.46 !important;
    letter-spacing: -0.045em !important;
    word-break: keep-all !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero p br {
    display: block !important;
  }
}

@media (max-width: 390px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero h1 {
    font-size: 25px !important;
    line-height: 1.12 !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero p {
    font-size: 12px !important;
    line-height: 1.44 !important;
  }
}

/* =========================================================
   [BOSION CSS 40] 장터/사찰홈 히어로 오버레이 이전버전 복귀 v82
   ---------------------------------------------------------
   반영:
   1) v81에서 추가했던 장터/사찰전용홈 히어로 오버레이 완화 규칙 제거
   2) 보시온 장터 히어로 오버레이는 v80 이전 CSS 규칙으로 복귀
   3) 사찰전용홈 히어로 오버레이는 v80 이전 CSS 규칙으로 복귀
   4) 보시온 랜딩 히어로 2줄 문구/모바일 오버레이 규칙은 유지
   ========================================================= */

/* =========================================================
   [BOSION CSS 41] 랜딩 히어로 버튼/사찰찾기 배너 정렬 v83
   ---------------------------------------------------------
   반영:
   1) 데스크탑 히어로의 '장터 보기' 버튼이 사찰찾기 배너에 가려지는 문제 보정
   2) 사찰찾기 배너의 '조건에 맞는 사찰을 찾아보세요.' 문구가 1줄로 보이게 조정
   3) 배너 전체 너비는 유지하고, 좌측 안내영역/필터/버튼 너비만 미세 조정
   4) 장터/사찰전용홈 히어로 오버레이는 v82 기준 그대로 유지
   ========================================================= */


/* =========================================================
   1) 데스크탑: 히어로 버튼을 사찰찾기 배너보다 위로 올림
   ========================================================= */

@media (min-width: 768px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__content {
    transform: translateY(-16px) !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__actions {
    margin-top: 14px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__actions .bosion-home-btn,
  body .bosion-home.bosion-page-wrap--home .bosion-home-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 17px !important;
  }
}


/* =========================================================
   2) 데스크탑: 사찰찾기 배너 문구 1줄 유지
   ========================================================= */

@media (min-width: 1025px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-search__inner {
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-search__titlebox {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding-right: 14px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-search__icon {
    width: 46px !important;
    height: 46px !important;
    font-size: 21px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-search__desc {
    white-space: nowrap !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.035em !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-search__form {
    grid-template-columns:
      minmax(108px, 1fr)
      minmax(108px, 1fr)
      minmax(108px, 1fr)
      minmax(108px, 1fr)
      132px !important;
    gap: 7px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-search select {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-search__form .bosion-home-btn {
    min-width: 132px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* =========================================================
   3) 태블릿: 버튼 겹침만 완화, 검색폼은 세로 안정 유지
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__content {
    transform: translateY(-12px) !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__actions {
    margin-top: 12px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-search__desc {
    white-space: nowrap !important;
  }
}


/* =========================================================
   4) 모바일: 기존 안정 기준 유지
   ========================================================= */

@media (max-width: 767px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__content {
    transform: none !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-search__desc {
    white-space: normal !important;
  }
}



/* =========================================================
   [P1][소개] 01. 보시온 소개 페이지 CSS v6
   ---------------------------------------------------------
   사용 위치:
   외모 > 사용자 정의하기 > 추가 CSS

   연결 코드:
   [P1][소개] 01. 보시온 소개 페이지 공통 UI v6

   반영:
   - PHP 코드 안의 <style> 제거
   - 소개 페이지 전용 CSS로 분리
   - 히어로 제목: 보시는 가볍게, / 공덕은 깊게
   - 히어로 버튼: 입점신청 + 회원가입
   - 모바일 히어로 높이 260px 기준
   ========================================================= */


/* =========================================================
   1) 소개 페이지 기본값
   ========================================================= */

.bosion-intro-page {
  --bs-bg: #F3EDE2;
  --bs-surface: #FFFFFF;
  --bs-text: #3A2720;
  --bs-body: #333333;
  --bs-muted: #6F6258;
  --bs-gold: #C9A24D;
  --bs-gold2: #D4A25F;
  --bs-green: #4E6B5C;
  --bs-border: #E6D8BF;
  --bs-border2: #E9DDC9;
  --bs-radius: 18px;
  --bs-shadow: 0 10px 28px rgba(58, 39, 32, .06);

  width: min(1200px, calc(100vw - 32px));
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--bs-text);
}

.bosion-intro-page,
.bosion-intro-page * {
  box-sizing: border-box;
}

.bosion-intro-page a {
  text-decoration: none;
}


/* =========================================================
   2) 히어로
   ========================================================= */

.bosion-intro-page .bosion-hero {
  width: 100%;
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 42px 48px;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .96) 0%, rgba(255, 250, 240, .80) 42%, rgba(255, 250, 240, .22) 100%),
    linear-gradient(135deg, #F8EEDB 0%, #E6D8BF 45%, #B9C7B6 100%);
  box-shadow: var(--bs-shadow);
}

.bosion-intro-page .bosion-hero.has-bg {
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.bosion-intro-page .bosion-intro-hero.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(255, 250, 240, .98) 0%,
      rgba(255, 250, 240, .92) 34%,
      rgba(255, 250, 240, .62) 58%,
      rgba(255, 250, 240, .16) 100%
    );
  pointer-events: none;
}

.bosion-intro-page .bosion-intro-hero.has-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  z-index: 1;
  background: linear-gradient(0deg, rgba(58, 39, 32, .13), rgba(58, 39, 32, 0));
  pointer-events: none;
}

.bosion-intro-page .bosion-hero__content {
  position: relative;
  z-index: 2;
  max-width: 590px;
}

.bosion-intro-page .bosion-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #8A6426;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(201, 162, 77, .36);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
}

.bosion-intro-page .bosion-hero h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.06em;
  color: var(--bs-text);
  word-break: keep-all;
}

.bosion-intro-page .bosion-hero p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #4E4038;
  word-break: keep-all;
}

.bosion-intro-page .bosion-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}


/* =========================================================
   3) 공통 버튼
   ========================================================= */

.bosion-intro-page .bosion-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: var(--bs-gold);
  color: #FFFFFF !important;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.bosion-intro-page .bosion-btn:hover {
  background: var(--bs-green);
  border-color: var(--bs-green);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.bosion-intro-page .bosion-btn--sub {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(201, 162, 77, .72);
  color: #7A5A22 !important;
}

.bosion-intro-page .bosion-btn--sub:hover {
  background: var(--bs-green);
  border-color: var(--bs-green);
  color: #FFFFFF !important;
}


/* =========================================================
   4) 섹션 공통
   ========================================================= */

.bosion-intro-page .bosion-section {
  margin-top: 24px;
  padding: 22px;
  background: var(--bs-surface);
  border: 1px solid var(--bs-border2);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(58, 39, 32, .045);
}

.bosion-intro-page .bosion-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.bosion-intro-page .bosion-section-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -.045em;
}

.bosion-intro-page .bosion-section-desc {
  margin: 4px 0 0;
  color: var(--bs-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bosion-intro-page .bosion-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bosion-intro-page .bosion-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bosion-intro-page .bosion-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bosion-intro-page .bosion-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}


/* =========================================================
   5) 가치 카드
   ========================================================= */

.bosion-intro-page .bosion-value-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--bs-border2);
  border-radius: 16px;
  background: #FFFFFF;
}

.bosion-intro-page .bosion-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFF8EA;
  color: #C9A24D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  flex: 0 0 auto;
}

.bosion-intro-page .bosion-value-card h3,
.bosion-intro-page .bosion-service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.bosion-intro-page .bosion-value-card p,
.bosion-intro-page .bosion-service-card p {
  margin: 0;
  color: var(--bs-muted);
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}


/* =========================================================
   6) 서비스 카드
   ========================================================= */

.bosion-intro-page .bosion-service-card {
  border: 1px solid var(--bs-border2);
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(58, 39, 32, .035);
}

.bosion-intro-page .bosion-service-card__img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  background: #F8EEDB;
}

.bosion-intro-page .bosion-service-card__body {
  padding: 14px;
}

.bosion-intro-page .bosion-service-card__titleline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bosion-intro-page .bosion-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #C9A24D;
}

.bosion-intro-page .bosion-service-card__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.bosion-intro-page .bosion-service-card__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #D4A25F;
  margin: 0 0 12px 36px;
  border-radius: 999px;
}


/* =========================================================
   7) 변화/통계
   ========================================================= */

.bosion-intro-page .bosion-change {
  background: linear-gradient(135deg, #FFFDF8, #F8EEDB);
}

.bosion-intro-page .bosion-change .bosion-grid-4 {
  margin-top: 18px;
}

.bosion-intro-page .bosion-stat-card {
  padding: 18px;
  border: 1px solid var(--bs-border2);
  border-radius: 16px;
  background: #FFFFFF;
  text-align: center;
}

.bosion-intro-page .bosion-stat-card strong {
  display: block;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--bs-text);
  margin-bottom: 5px;
}

.bosion-intro-page .bosion-stat-card span {
  color: var(--bs-muted);
  font-size: 14px;
}


/* =========================================================
   8) 하단 CTA
   ========================================================= */

.bosion-intro-page .bosion-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #FFF8EA;
}

.bosion-intro-page .bosion-cta h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.04em;
}

.bosion-intro-page .bosion-cta p {
  margin: 0;
  color: var(--bs-muted);
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
}

.bosion-intro-page .bosion-cta__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}


/* =========================================================
   9) 태블릿
   ========================================================= */

@media (max-width: 1024px) {
  .bosion-intro-page .bosion-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bosion-intro-page .bosion-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bosion-intro-page .bosion-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bosion-intro-page .bosion-hero {
    height: 300px;
    padding: 34px 36px;
  }

  .bosion-intro-page .bosion-hero h1 {
    font-size: 36px;
  }
}


/* =========================================================
   10) 모바일
   ========================================================= */

@media (max-width: 767px) {
  .bosion-intro-page {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
  }

  .bosion-intro-page .bosion-hero {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    padding: 22px 18px 20px;
    border-radius: 16px;
    align-items: flex-end;
  }

  .bosion-intro-page .bosion-intro-hero.has-bg {
    background-position: center right;
  }

  .bosion-intro-page .bosion-intro-hero.has-bg::before {
    background:
      linear-gradient(0deg,
        rgba(255, 250, 240, .98) 0%,
        rgba(255, 250, 240, .94) 38%,
        rgba(255, 250, 240, .58) 72%,
        rgba(255, 250, 240, .18) 100%
      );
  }

  .bosion-intro-page .bosion-hero__content {
    max-width: 100%;
  }

  .bosion-intro-page .bosion-hero__eyebrow {
    min-height: 25px;
    padding: 0 11px;
    font-size: 11px;
    margin-bottom: 10px;
  }

  .bosion-intro-page .bosion-hero h1 {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: -.07em;
  }

  .bosion-intro-page .bosion-hero p {
    font-size: 13px;
    line-height: 1.48;
  }

  .bosion-intro-page .bosion-hero__actions {
    gap: 8px;
    margin-top: 12px;
  }

  .bosion-intro-page .bosion-btn {
    min-height: 36px;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
  }

  .bosion-intro-page .bosion-section {
    margin-top: 14px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  .bosion-intro-page .bosion-section-head {
    margin-bottom: 12px;
  }

  .bosion-intro-page .bosion-section-title {
    font-size: 22px;
  }

  .bosion-intro-page .bosion-grid-5,
  .bosion-intro-page .bosion-grid-4,
  .bosion-intro-page .bosion-grid-3,
  .bosion-intro-page .bosion-grid-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bosion-intro-page .bosion-value-card {
    padding: 15px;
  }

  .bosion-intro-page .bosion-value-icon {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .bosion-intro-page .bosion-service-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 132px;
  }

  .bosion-intro-page .bosion-service-card__img {
    height: 132px;
  }

  .bosion-intro-page .bosion-service-card__body {
    padding: 14px 13px;
  }

  .bosion-intro-page .bosion-service-card h3 {
    font-size: 17px;
    margin-bottom: 0;
  }

  .bosion-intro-page .bosion-service-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .bosion-intro-page .bosion-service-card__titleline {
    margin-bottom: 7px;
  }

  .bosion-intro-page .bosion-service-card__bar {
    margin-left: 36px;
    margin-bottom: 9px;
  }

  .bosion-intro-page .bosion-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .bosion-intro-page .bosion-cta__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .bosion-intro-page .bosion-cta .bosion-btn {
    width: 100%;
  }
}


/* =========================================================
   11) 좁은 모바일
   ========================================================= */

@media (max-width: 390px) {
  .bosion-intro-page .bosion-hero {
    height: 248px;
    min-height: 248px;
    max-height: 248px;
    padding: 20px 16px 18px;
  }

  .bosion-intro-page .bosion-hero h1 {
    font-size: 25px;
    line-height: 1.12;
  }

  .bosion-intro-page .bosion-hero p {
    font-size: 12.4px;
    line-height: 1.44;
  }

  .bosion-intro-page .bosion-hero__actions {
    margin-top: 10px;
  }

  .bosion-intro-page .bosion-btn {
    min-height: 34px;
    height: 34px;
    padding: 0 12px;
    font-size: 12.5px;
  }

  .bosion-intro-page .bosion-service-card {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 122px;
  }

  .bosion-intro-page .bosion-service-card__img {
    height: 122px;
  }
}

/* =========================================================
   [P1][소개] 02. 보시온 소개 모바일 히어로 높이 통일 v86
   ---------------------------------------------------------
   반영:
   1) 보시온 소개 모바일 히어로 높이를 다른 페이지 기준과 동일하게 230px로 통일
   2) 좁은 모바일에서도 230px 유지
   3) 230px 안에 제목/설명/입점신청/회원가입 버튼이 들어오도록 문구 크기와 여백 보정
   4) 데스크탑/태블릿 소개 히어로는 기존 v6 기준 유지
   ========================================================= */

@media (max-width: 767px) {
  .bosion-intro-page .bosion-hero {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    padding: 18px 16px 16px !important;
    border-radius: 15px !important;
    align-items: flex-end !important;
  }

  .bosion-intro-page .bosion-hero__eyebrow {
    min-height: 23px !important;
    height: 23px !important;
    padding: 0 10px !important;
    margin-bottom: 8px !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
  }

  .bosion-intro-page .bosion-hero h1 {
    margin-bottom: 7px !important;
    font-size: 25px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.072em !important;
  }

  .bosion-intro-page .bosion-hero p {
    font-size: 12.4px !important;
    line-height: 1.42 !important;
    letter-spacing: -0.035em !important;
  }

  .bosion-intro-page .bosion-hero__actions {
    gap: 7px !important;
    margin-top: 10px !important;
  }

  .bosion-intro-page .bosion-hero__actions .bosion-btn,
  .bosion-intro-page .bosion-btn {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
  }
}

@media (max-width: 390px) {
  .bosion-intro-page .bosion-hero {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    padding: 17px 14px 15px !important;
  }

  .bosion-intro-page .bosion-hero h1 {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }

  .bosion-intro-page .bosion-hero p {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .bosion-intro-page .bosion-hero__actions {
    margin-top: 9px !important;
  }

  .bosion-intro-page .bosion-hero__actions .bosion-btn,
  .bosion-intro-page .bosion-btn {
    min-height: 33px !important;
    height: 33px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }
}

/* =========================================================
   [P1][랜딩] 02. 보시온 랜딩 계절형 히어로 정리 v87
   ---------------------------------------------------------
   반영:
   1) 보시온 랜딩 히어로는 계절 배경을 살리는 전용 스타일로 유지
   2) 소개/장터/사찰홈처럼 밝은 한지톤으로 완전히 덮지 않음
   3) 좌측 텍스트 영역 중심으로만 어두운 그라데이션 적용
   4) 제목/설명은 흰색 계열 유지
   5) 높이/버튼/탭메뉴 리듬은 기존 보시온 규칙 유지
   ========================================================= */


/* =========================================================
   1) 랜딩 히어로: 계절 이미지 강조형
   ========================================================= */

body .bosion-home.bosion-page-wrap--home .bosion-home-hero,
body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home {
  position: relative !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}


/* 좌측 글자 영역만 어둡게, 우측/중앙 이미지는 최대한 살림 */
body .bosion-home.bosion-page-wrap--home .bosion-home-hero::before,
body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg,
      rgba(20, 14, 10, .60) 0%,
      rgba(20, 14, 10, .46) 28%,
      rgba(20, 14, 10, .22) 52%,
      rgba(20, 14, 10, .06) 78%,
      rgba(20, 14, 10, .02) 100%
    ),
    linear-gradient(0deg,
      rgba(0, 0, 0, .20) 0%,
      rgba(0, 0, 0, .04) 56%,
      rgba(0, 0, 0, .00) 100%
    ) !important;
  pointer-events: none !important;
}

body .bosion-home.bosion-page-wrap--home .bosion-home-hero__content {
  position: relative !important;
  z-index: 2 !important;
}

body .bosion-home.bosion-page-wrap--home .bosion-home-hero h1,
body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home h1 {
  color: #FFFFFF !important;
  text-shadow:
    0 3px 14px rgba(0, 0, 0, .42),
    0 1px 3px rgba(0, 0, 0, .36) !important;
}

body .bosion-home.bosion-page-wrap--home .bosion-home-hero p,
body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home p {
  color: rgba(255, 255, 255, .96) !important;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, .38),
    0 1px 2px rgba(0, 0, 0, .30) !important;
}


/* =========================================================
   2) 데스크탑: 첫 화면 강조 유지
   ========================================================= */

@media (min-width: 1025px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
    padding: 48px 56px !important;
    border-radius: 18px !important;
    align-items: center !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__content {
    max-width: 560px !important;
    transform: translateY(-10px) !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero h1 {
    font-size: 44px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.07em !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero p {
    max-width: 420px !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
    font-weight: 800 !important;
  }
}


/* =========================================================
   3) 모바일: 계절 배경을 살리되 글자 가독성 확보
   ========================================================= */

@media (max-width: 767px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    padding: 18px 16px 16px !important;
    border-radius: 15px !important;
    align-items: flex-end !important;
    background-position: center center !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero::before,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home::before {
    background:
      linear-gradient(90deg,
        rgba(20, 14, 10, .64) 0%,
        rgba(20, 14, 10, .48) 42%,
        rgba(20, 14, 10, .18) 76%,
        rgba(20, 14, 10, .04) 100%
      ),
      linear-gradient(0deg,
        rgba(0, 0, 0, .24) 0%,
        rgba(0, 0, 0, .06) 58%,
        rgba(0, 0, 0, .00) 100%
      ) !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__content {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__eyebrow {
    min-height: 23px !important;
    height: 23px !important;
    padding: 0 10px !important;
    margin-bottom: 8px !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    background: #C9A24D !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, .22) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .16) !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero h1 {
    max-width: 100% !important;
    margin-bottom: 7px !important;
    font-size: 25px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.072em !important;
    word-break: keep-all !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero p {
    max-width: 100% !important;
    font-size: 12.4px !important;
    line-height: 1.42 !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    word-break: keep-all !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__actions {
    gap: 7px !important;
    margin-top: 10px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__actions .bosion-home-btn,
  body .bosion-home.bosion-page-wrap--home .bosion-home-btn {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 13px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    font-weight: 900 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .14) !important;
  }
}


/* =========================================================
   4) 좁은 모바일
   ========================================================= */

@media (max-width: 390px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    padding: 17px 14px 15px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero h1 {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero p {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__actions {
    margin-top: 9px !important;
  }

  body .bosion-home.bosion-page-wrap--home .bosion-home-hero__actions .bosion-home-btn,
  body .bosion-home.bosion-page-wrap--home .bosion-home-btn {
    min-height: 33px !important;
    height: 33px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}

/* =========================================================
   [BOSION CSS 43] 전체 페이지 히어로 높이 최종 통일 v88
   ---------------------------------------------------------
   운영 기준:
   - 데스크탑: 340px
   - 태블릿: 280px
   - 모바일: 230px

   적용 대상:
   - 보시온 랜딩
   - 보시온 소개
   - 보시온 장터
   - 사찰전용홈페이지

   주의:
   - 랜딩 히어로의 계절형 배경/흰 글자 스타일은 유지
   - 소개/장터/사찰홈의 기존 오버레이 스타일은 유지
   - 높이만 최종 통일
   ========================================================= */


/* =========================================================
   1) 데스크탑 340px
   ========================================================= */

@media (min-width: 1025px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home,
  .bosion-intro-page .bosion-hero,
  body .bosion-market .bosion-market-hero,
  body .bosion-market-page .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-page-hero,
  body.single-partner .bosion-front-hero,
  body.single-partner .bosion-partner-hero,
  body.single-partner .bosion-temple-hero,
  body.single-partner .bosion-page-hero {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
  }
}


/* =========================================================
   2) 태블릿 280px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home,
  .bosion-intro-page .bosion-hero,
  body .bosion-market .bosion-market-hero,
  body .bosion-market-page .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-page-hero,
  body.single-partner .bosion-front-hero,
  body.single-partner .bosion-partner-hero,
  body.single-partner .bosion-temple-hero,
  body.single-partner .bosion-page-hero {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
  }

  body.single-partner .bosion-front-hero,
  body.single-partner .bosion-partner-hero,
  body.single-partner .bosion-temple-hero,
  body.single-partner .bosion-page-hero,
  body .bosion-market .bosion-market-hero,
  body .bosion-market-page .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-page-hero,
  .bosion-intro-page .bosion-hero {
    padding: 30px 32px !important;
  }
}


/* =========================================================
   3) 모바일 230px
   ========================================================= */

@media (max-width: 767px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home,
  .bosion-intro-page .bosion-hero,
  body .bosion-market .bosion-market-hero,
  body .bosion-market-page .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-page-hero,
  body.single-partner .bosion-front-hero,
  body.single-partner .bosion-partner-hero,
  body.single-partner .bosion-temple-hero,
  body.single-partner .bosion-page-hero {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }

  body.single-partner .bosion-front-hero,
  body.single-partner .bosion-partner-hero,
  body.single-partner .bosion-temple-hero,
  body.single-partner .bosion-page-hero,
  body .bosion-market .bosion-market-hero,
  body .bosion-market-page .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-page-hero,
  .bosion-intro-page .bosion-hero {
    padding: 18px 16px !important;
    border-radius: 15px !important;
  }
}


/* =========================================================
   4) 좁은 모바일도 230px 유지
   ========================================================= */

@media (max-width: 390px) {
  body .bosion-home.bosion-page-wrap--home .bosion-home-hero,
  body .bosion-home.bosion-page-wrap--home .bosion-page-hero--home,
  .bosion-intro-page .bosion-hero,
  body .bosion-market .bosion-market-hero,
  body .bosion-market-page .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-market-hero,
  body .bosion-page-wrap--market .bosion-page-hero,
  body.single-partner .bosion-front-hero,
  body.single-partner .bosion-partner-hero,
  body.single-partner .bosion-temple-hero,
  body.single-partner .bosion-page-hero {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }
}

/* =========================================================
   [BOSION CSS 44-FINAL] WooCommerce 장바구니/결제 최종 정리 v104-RESTORE
   ---------------------------------------------------------
   복구 기준:
   - 랜딩/장터/사찰홈 디자인 CSS는 v102-r1 전체본 기준으로 복구
   - 장바구니/결제 개선 CSS는 v103 개선본만 분리 반영
   - 기존 v89~v102 WooCommerce 중복 구간 제거
   ========================================================= */

/* v103 WooCommerce 개선 구간 시작 */
/* =========================================================
   [BOSION CSS 44-FINAL] WooCommerce 장바구니/결제 최종 정리 v103
   ---------------------------------------------------------
   목적:
   - 기존 WooCommerce 보정 CSS는 이 섹션 하나로 통합
   - 웹 장바구니/결제 폭 1100px 기준
   - 모바일 장바구니/결제는 보시온 장터 모바일처럼 좌우 여백 최소화
   ========================================================= */

/* ------------------------------
   1) 공통 폭/초기화
------------------------------ */

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received {
  background: #F3EDE2 !important;
}

body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content,
body.woocommerce-order-received .site-content {
  padding-top: 0 !important;
}

body.woocommerce-cart .site-content .ast-container,
body.woocommerce-checkout .site-content .ast-container,
body.woocommerce-order-received .site-content .ast-container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.woocommerce-cart.ast-separate-container .ast-article-single,
body.woocommerce-checkout.ast-separate-container .ast-article-single,
body.woocommerce-order-received.ast-separate-container .ast-article-single,
body.woocommerce-cart .ast-article-single,
body.woocommerce-checkout .ast-article-single,
body.woocommerce-order-received .ast-article-single {
  background: transparent !important;
  padding-top: 0 !important;
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-order-received .entry-content {
  width: min(1100px, calc(100vw - 24px)) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-order-received .entry-content > .woocommerce {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 12px 0 34px !important;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
  color: #3A2720 !important;
}

body.woocommerce-cart .entry-content *,
body.woocommerce-checkout .entry-content *,
body.woocommerce-order-received .entry-content * {
  box-sizing: border-box !important;
}

/* ------------------------------
   2) 상단 안내 카드
------------------------------ */

.bosion-wc-intro {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 18px 22px !important;
  border: 1px solid #E9DDC9 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #FFFDF9 0%, #FFF8EA 100%) !important;
  box-shadow: 0 8px 24px rgba(58, 39, 32, .045) !important;
}

.bosion-wc-kicker {
  margin: 0 0 5px !important;
  color: #A87825 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  letter-spacing: .06em !important;
}

.bosion-wc-intro h1 {
  margin: 0 0 5px !important;
  color: #3A2720 !important;
  font-size: 27px !important;
  line-height: 1.24 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

.bosion-wc-intro p:not(.bosion-wc-kicker) {
  margin: 0 !important;
  color: #5F5147 !important;
  font-size: 14.5px !important;
  line-height: 1.52 !important;
  font-weight: 700 !important;
  word-break: keep-all !important;
}

.bosion-wc-intro-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 15px !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  border: 1px solid #E2D2B9 !important;
  color: #7A5A22 !important;
  font-size: 13.5px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* ------------------------------
   3) 공통 버튼/알림/입력
------------------------------ */

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-order-received .woocommerce-message,
body.woocommerce-order-received .woocommerce-info,
body.woocommerce-order-received .woocommerce-error {
  border-radius: 14px !important;
  border-top: 0 !important;
  border: 1px solid #E9DDC9 !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  box-shadow: 0 6px 18px rgba(58, 39, 32, .035) !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout #place_order {
  width: 100% !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 44px !important;
  text-align: center !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-checkout #place_order:hover {
  background: #B88C2E !important;
  color: #FFFFFF !important;
}

body.woocommerce-cart button[name="update_cart"] {
  min-height: 38px !important;
  padding: 0 16px !important;
  border: 1px solid #E8D5B5 !important;
  border-radius: 10px !important;
  background: #EAD7A3 !important;
  color: #3A2720 !important;
  font-size: 13.5px !important;
  font-weight: 900 !important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container,
body.woocommerce-checkout .select2-container .select2-selection--single {
  width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 11px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .select2-container .select2-selection--single {
  display: flex !important;
  align-items: center !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 12px !important;
  padding-right: 28px !important;
  color: #3A2720 !important;
  line-height: 42px !important;
}

body.woocommerce-checkout textarea {
  height: auto !important;
  min-height: 88px !important;
  padding: 11px 12px !important;
}

body.woocommerce-checkout .form-row label {
  margin-bottom: 5px !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body.woocommerce-checkout #billing_address_2_field label,
body.woocommerce-checkout #shipping_address_2_field label {
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  display: block !important;
  margin-bottom: 5px !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

/* ------------------------------
   4) 장바구니 웹 2열
------------------------------ */

@media (min-width: 900px) {
  body.woocommerce-cart .entry-content > .woocommerce:not(:has(.bosion-cart-layout-grid)) {
    display: grid !important;
    grid-template-columns: minmax(0, 786px) 300px !important;
    gap: 12px 14px !important;
    align-items: start !important;
  }

  body.woocommerce-cart .entry-content > .woocommerce:has(.bosion-cart-layout-grid) {
    display: block !important;
  }

  body.woocommerce-cart .bosion-cart-layout-grid {
    width: 100% !important;
    max-width: 1100px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 786px) 300px !important;
    gap: 12px 14px !important;
    align-items: start !important;
  }

  body.woocommerce-cart .bosion-wc-intro,
  body.woocommerce-cart .woocommerce-notices-wrapper,
  body.woocommerce-cart .woocommerce-message,
  body.woocommerce-cart .woocommerce-info,
  body.woocommerce-cart .woocommerce-error {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  body.woocommerce-cart form.woocommerce-cart-form {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  body.woocommerce-cart .cart-collaterals {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 !important;
    float: none !important;
  }
}

body.woocommerce-cart form.woocommerce-cart-form {
  padding: 10px !important;
  border: 1px solid #E9DDC9 !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(58, 39, 32, .045) !important;
  overflow-x: auto !important;
}

body.woocommerce-cart table.shop_table {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
}

body.woocommerce-cart table.shop_table th {
  padding: 10px 8px !important;
  background: #FFF8EA !important;
  color: #7A5A22 !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  text-align: center !important;
  border-bottom: 1px solid #E9DDC9 !important;
}

body.woocommerce-cart table.shop_table td {
  padding: 11px 8px !important;
  color: #333333 !important;
  font-size: 14px !important;
  vertical-align: middle !important;
  border-top: 1px solid #EFE5D2 !important;
}

body.woocommerce-cart table.shop_table .product-name a {
  color: #3A2720 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.woocommerce-cart .product-thumbnail img {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  object-fit: cover !important;
  border: 1px solid #EFE5D2 !important;
  border-radius: 10px !important;
}

body.woocommerce-cart .quantity input.qty {
  width: 58px !important;
  height: 38px !important;
  min-height: 38px !important;
  border: 1px solid #E8D5B5 !important;
  border-radius: 10px !important;
  text-align: center !important;
  font-weight: 900 !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 16px !important;
  border: 1px solid #E8D5B5 !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(58, 39, 32, .045) !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals h2 {
  margin: 0 0 12px !important;
  color: #3A2720 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

/* ------------------------------
   5) 결제 웹 2열
------------------------------ */

@media (min-width: 900px) {
  body.woocommerce-checkout form.checkout {
    width: 100% !important;
    max-width: 1100px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 760px) 300px !important;
    gap: 12px 14px !important;
    align-items: start !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout #customer_details {
    display: contents !important;
  }

  body.woocommerce-checkout #customer_details .col-1 {
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout #customer_details .col-2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    margin: 10px 0 8px !important;
    padding: 0 !important;
    color: #3A2720 !important;
    font-size: 23px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    letter-spacing: -0.045em !important;
  }

  body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 3 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 12px !important;
    align-items: start !important;
  }

  body.woocommerce-checkout #billing_email_field,
  body.woocommerce-checkout #shipping_email_field {
    grid-column: 1 / -1 !important;
  }
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .bosion-checkout-prayer-target,
body.woocommerce-checkout .bosion-prayer-target-box,
body.woocommerce-checkout #order_review {
  padding: 16px !important;
  border: 1px solid #E9DDC9 !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(58, 39, 32, .045) !important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3 {
  margin: 0 0 14px !important;
  color: #3A2720 !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  margin-bottom: 12px !important;
}

body.woocommerce-checkout table.shop_table {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #E9DDC9 !important;
  border-radius: 12px !important;
  border-collapse: collapse !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
}

body.woocommerce-checkout table.shop_table th {
  padding: 10px 9px !important;
  background: #FFF8EA !important;
  color: #7A5A22 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  border-bottom: 1px solid #E9DDC9 !important;
}

body.woocommerce-checkout table.shop_table td {
  padding: 10px 9px !important;
  color: #333333 !important;
  font-size: 13px !important;
  border-top: 1px solid #EFE5D2 !important;
}

/* 기도대상자 테이블은 카드 안에서만 가로스크롤 */
body.woocommerce-checkout .bosion-checkout-prayer-target,
body.woocommerce-checkout .bosion-prayer-target-box,
body.woocommerce-checkout [class*="prayer-target"] {
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target table,
body.woocommerce-checkout .bosion-prayer-target-box table,
body.woocommerce-checkout [class*="prayer-target"] table {
  width: 100% !important;
  min-width: 620px !important;
  border-collapse: collapse !important;
}

/* ------------------------------
   6) 주문완료
------------------------------ */

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  margin-bottom: 20px !important;
  color: #3A2720 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .wc-bacs-bank-details,
body.woocommerce-order-received .woocommerce-bacs-bank-details,
body.woocommerce-order-received .woocommerce-customer-details address {
  padding: 16px !important;
  border: 1px solid #E8D5B5 !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  color: #333333 !important;
}

/* ------------------------------
   7) 모바일 공통: 왼쪽/오른쪽 여백 동시 제거
------------------------------ */

@media (max-width: 767px) {
  body.woocommerce-cart,
  body.woocommerce-checkout,
  body.woocommerce-order-received {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background: #F3EDE2 !important;
  }

  body.woocommerce-cart #page,
  body.woocommerce-checkout #page,
  body.woocommerce-order-received #page,
  body.woocommerce-cart .site,
  body.woocommerce-checkout .site,
  body.woocommerce-order-received .site,
  body.woocommerce-cart #content,
  body.woocommerce-checkout #content,
  body.woocommerce-order-received #content,
  body.woocommerce-cart .site-content,
  body.woocommerce-checkout .site-content,
  body.woocommerce-order-received .site-content,
  body.woocommerce-cart .site-content .ast-container,
  body.woocommerce-checkout .site-content .ast-container,
  body.woocommerce-order-received .site-content .ast-container,
  body.woocommerce-cart .content-area,
  body.woocommerce-checkout .content-area,
  body.woocommerce-order-received .content-area,
  body.woocommerce-cart #primary,
  body.woocommerce-checkout #primary,
  body.woocommerce-order-received #primary,
  body.woocommerce-cart main.site-main,
  body.woocommerce-checkout main.site-main,
  body.woocommerce-order-received main.site-main,
  body.woocommerce-cart article,
  body.woocommerce-checkout article,
  body.woocommerce-order-received article,
  body.woocommerce-cart .ast-article-single,
  body.woocommerce-checkout .ast-article-single,
  body.woocommerce-order-received .ast-article-single {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart.ast-separate-container .ast-article-single,
  body.woocommerce-checkout.ast-separate-container .ast-article-single,
  body.woocommerce-order-received.ast-separate-container .ast-article-single {
    padding: 0 !important;
  }

  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-order-received .entry-content {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  body.woocommerce-cart .entry-content > .woocommerce,
  body.woocommerce-checkout .entry-content > .woocommerce,
  body.woocommerce-order-received .entry-content > .woocommerce {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 4px 10px !important;
    overflow-x: hidden !important;
  }

  body.woocommerce-cart .bosion-wc-intro,
  body.woocommerce-checkout .bosion-wc-intro,
  body.woocommerce-order-received .bosion-wc-intro {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    margin: 4px 0 8px !important;
    padding: 13px 12px !important;
    border-radius: 13px !important;
    box-shadow: none !important;
  }

  body.woocommerce-cart .bosion-wc-intro {
    display: block !important;
  }

  body.woocommerce-cart .bosion-wc-intro-link,
  body.woocommerce-checkout .bosion-wc-intro-link {
    margin-top: 12px !important;
    min-height: 38px !important;
  }

  body.woocommerce-cart .bosion-wc-intro h1,
  body.woocommerce-checkout .bosion-wc-intro h1 {
    font-size: 25px !important;
    line-height: 1.18 !important;
  }
}

/* ------------------------------
   8) 모바일 장바구니 카드형
------------------------------ */

@media (max-width: 767px) {
  body.woocommerce-cart .entry-content > .woocommerce,
  body.woocommerce-cart .bosion-cart-layout-grid {
    display: block !important;
  }

  body.woocommerce-cart form.woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart-collaterals .cart_totals {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.woocommerce-cart form.woocommerce-cart-form {
    padding: 8px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  body.woocommerce-cart table.shop_table {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.woocommerce-cart table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-cart table.shop_table tbody,
  body.woocommerce-cart table.shop_table tr,
  body.woocommerce-cart table.shop_table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) 28px !important;
    grid-template-areas:
      "thumb name remove"
      "thumb price remove"
      "thumb qty remove"
      "thumb subtotal remove" !important;
    gap: 4px 10px !important;
    align-items: center !important;
    min-height: 106px !important;
    margin: 0 0 8px !important;
    padding: 9px !important;
    border: 1px solid #E9DDC9 !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td {
    width: auto !important;
    max-width: 100% !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: left !important;
  }

  body.woocommerce-cart table.shop_table_responsive tr td::before,
  body.woocommerce-cart table.shop_table tr.cart_item td::before {
    display: none !important;
    content: none !important;
  }

  body.woocommerce-cart td.product-thumbnail {
    grid-area: thumb !important;
  }

  body.woocommerce-cart td.product-thumbnail img,
  body.woocommerce-cart .product-thumbnail img {
    width: 82px !important;
    height: 82px !important;
    max-width: 82px !important;
    object-fit: cover !important;
    border-radius: 11px !important;
  }

  body.woocommerce-cart td.product-name {
    grid-area: name !important;
    min-width: 0 !important;
  }

  body.woocommerce-cart td.product-name a {
    display: block !important;
    color: #3A2720 !important;
    font-size: 16px !important;
    line-height: 1.24 !important;
    font-weight: 900 !important;
    letter-spacing: -0.045em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.woocommerce-cart td.product-price {
    grid-area: price !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  body.woocommerce-cart td.product-quantity {
    grid-area: qty !important;
  }

  body.woocommerce-cart td.product-subtotal {
    grid-area: subtotal !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  body.woocommerce-cart td.product-remove {
    grid-area: remove !important;
    align-self: start !important;
    justify-self: end !important;
  }

  body.woocommerce-cart td.product-remove a {
    width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #FFF8EA !important;
    color: #B88C2E !important;
    font-size: 17px !important;
    line-height: 1 !important;
  }

  body.woocommerce-cart .quantity input.qty {
    width: 58px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  body.woocommerce-cart table.shop_table tr td.actions .coupon {
    display: none !important;
  }

  body.woocommerce-cart button[name="update_cart"] {
    width: 100% !important;
    min-height: 44px !important;
    margin-top: 2px !important;
    border-radius: 12px !important;
  }

  body.woocommerce-cart .cart-collaterals {
    margin-top: 8px !important;
  }

  body.woocommerce-cart .cart-collaterals .cart_totals {
    padding: 14px 12px !important;
    border-radius: 15px !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    min-height: 46px !important;
    line-height: 46px !important;
    font-size: 16px !important;
  }
}

/* ------------------------------
   9) 모바일 결제 풀폭
------------------------------ */

@media (max-width: 767px) {
  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout #customer_details .col-2,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    display: block !important;
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    clear: both !important;
    position: static !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout .bosion-checkout-prayer-target,
  body.woocommerce-checkout .bosion-prayer-target-box,
  body.woocommerce-checkout #order_review {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    margin: 0 0 8px !important;
    padding: 12px !important;
    border-radius: 15px !important;
  }

  body.woocommerce-checkout #order_review_heading {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    margin: 10px 0 8px !important;
    padding: 0 2px !important;
    color: #3A2720 !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  body.woocommerce-checkout .form-row,
  body.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout .form-row-last,
  body.woocommerce-checkout .form-row-wide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
  }

  body.woocommerce-checkout input.input-text,
  body.woocommerce-checkout textarea,
  body.woocommerce-checkout select,
  body.woocommerce-checkout .select2-container,
  body.woocommerce-checkout .select2-container .select2-selection--single {
    min-height: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
  }

  body.woocommerce-checkout textarea {
    height: auto !important;
    min-height: 92px !important;
  }
}

/* ------------------------------
   10) 390px 이하 추가 압축
------------------------------ */

@media (max-width: 390px) {
  body.woocommerce-cart .entry-content > .woocommerce,
  body.woocommerce-checkout .entry-content > .woocommerce {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  body.woocommerce-cart .bosion-wc-intro,
  body.woocommerce-checkout .bosion-wc-intro,
  body.woocommerce-cart form.woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart-collaterals .cart_totals,
  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout #customer_details .col-2,
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout .bosion-checkout-prayer-target,
  body.woocommerce-checkout .bosion-prayer-target-box,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #order_review_heading {
    width: calc(100vw - 6px) !important;
    max-width: calc(100vw - 6px) !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item {
    grid-template-columns: 74px minmax(0, 1fr) 26px !important;
    gap: 4px 9px !important;
    padding: 8px !important;
  }

  body.woocommerce-cart td.product-thumbnail img,
  body.woocommerce-cart .product-thumbnail img {
    width: 74px !important;
    height: 74px !important;
    max-width: 74px !important;
  }

  body.woocommerce-cart td.product-name a {
    font-size: 15.5px !important;
  }
}


/* =========================================================
   [BOSION CSS 44-FINAL] WooCommerce 장바구니/결제 보정 v105
   ---------------------------------------------------------
   기준:
   - v104 전체복구본 유지
   - 랜딩/장터/사찰홈 디자인은 건드리지 않음
   - 장바구니/결제 Elementor 최상단 컨테이너 여백 보정
   - 결제 청구 상세 필드 배열 고정
   - 기도대상자 테이블 표시 보정
   - 결제 진행하기 버튼 높이 보정
   ========================================================= */


/* =========================================================
   1) 장바구니/결제 페이지 안의 Elementor wrapper 여백 제거
   - 장바구니/결제 페이지만 적용
   ========================================================= */

body.woocommerce-cart .elementor,
body.woocommerce-checkout .elementor,
body.woocommerce-cart .elementor-section,
body.woocommerce-checkout .elementor-section,
body.woocommerce-cart .elementor-container,
body.woocommerce-checkout .elementor-container,
body.woocommerce-cart .elementor-column,
body.woocommerce-checkout .elementor-column,
body.woocommerce-cart .elementor-widget-wrap,
body.woocommerce-checkout .elementor-widget-wrap,
body.woocommerce-cart .elementor-widget-container,
body.woocommerce-checkout .elementor-widget-container,
body.woocommerce-cart .elementor-shortcode,
body.woocommerce-checkout .elementor-shortcode,
body.woocommerce-cart .e-con,
body.woocommerce-checkout .e-con,
body.woocommerce-cart .e-con-inner,
body.woocommerce-checkout .e-con-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  body.woocommerce-cart .elementor,
  body.woocommerce-checkout .elementor,
  body.woocommerce-cart .elementor-section,
  body.woocommerce-checkout .elementor-section,
  body.woocommerce-cart .elementor-container,
  body.woocommerce-checkout .elementor-container,
  body.woocommerce-cart .elementor-column,
  body.woocommerce-checkout .elementor-column,
  body.woocommerce-cart .elementor-widget-wrap,
  body.woocommerce-checkout .elementor-widget-wrap,
  body.woocommerce-cart .elementor-widget-container,
  body.woocommerce-checkout .elementor-widget-container,
  body.woocommerce-cart .elementor-shortcode,
  body.woocommerce-checkout .elementor-shortcode,
  body.woocommerce-cart .e-con,
  body.woocommerce-checkout .e-con,
  body.woocommerce-cart .e-con-inner,
  body.woocommerce-checkout .e-con-inner {
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
  }
}


/* =========================================================
   2) 데스크톱/태블릿 장바구니 버튼 높이 정상화
   ========================================================= */

body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 14px 0 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}


/* =========================================================
   3) 결제 청구 상세 내용 필드 배열 고정
   ========================================================= */

@media (min-width: 768px) {
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
    align-items: start !important;
  }

  body.woocommerce-checkout #billing_last_name_field {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.woocommerce-checkout #billing_first_name_field {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body.woocommerce-checkout #billing_country_field {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  body.woocommerce-checkout #billing_postcode_field {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  body.woocommerce-checkout #billing_address_1_field {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  body.woocommerce-checkout #billing_address_2_field {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }

  body.woocommerce-checkout #billing_city_field {
    grid-column: 1 !important;
    grid-row: 4 !important;
  }

  body.woocommerce-checkout #billing_phone_field {
    grid-column: 2 !important;
    grid-row: 4 !important;
  }

  body.woocommerce-checkout #billing_email_field {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
  }
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
  min-width: 0 !important;
  align-self: start !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row label {
  display: block !important;
  min-height: 17px !important;
}


/* =========================================================
   4) 결제 기도대상자 정보 테이블 웹 표시 보정
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-prayer-target,
body.woocommerce-checkout .bosion-prayer-target-box,
body.woocommerce-checkout [class*="prayer-target"] {
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target table,
body.woocommerce-checkout .bosion-prayer-target-box table,
body.woocommerce-checkout [class*="prayer-target"] table {
  width: 100% !important;
  min-width: 680px !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target th,
body.woocommerce-checkout .bosion-checkout-prayer-target td,
body.woocommerce-checkout .bosion-prayer-target-box th,
body.woocommerce-checkout .bosion-prayer-target-box td,
body.woocommerce-checkout [class*="prayer-target"] th,
body.woocommerce-checkout [class*="prayer-target"] td {
  padding: 8px 6px !important;
  vertical-align: middle !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target input,
body.woocommerce-checkout .bosion-checkout-prayer-target select,
body.woocommerce-checkout .bosion-prayer-target-box input,
body.woocommerce-checkout .bosion-prayer-target-box select,
body.woocommerce-checkout [class*="prayer-target"] input,
body.woocommerce-checkout [class*="prayer-target"] select {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 8px !important;
  font-size: 13px !important;
  border-radius: 9px !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target button,
body.woocommerce-checkout .bosion-prayer-target-box button,
body.woocommerce-checkout [class*="prayer-target"] button {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}


/* =========================================================
   5) 모바일 장바구니/결제 좌측 공백 최종 보정
   - 100vw 강제 대신 Elementor wrapper를 0으로 정리한 뒤
     실제 콘텐츠는 width:100% 기준으로 맞춤
   ========================================================= */

@media (max-width: 767px) {
  body.woocommerce-cart,
  body.woocommerce-checkout {
    overflow-x: hidden !important;
  }

  body.woocommerce-cart #page,
  body.woocommerce-checkout #page,
  body.woocommerce-cart .site,
  body.woocommerce-checkout .site,
  body.woocommerce-cart #content,
  body.woocommerce-checkout #content,
  body.woocommerce-cart .site-content,
  body.woocommerce-checkout .site-content,
  body.woocommerce-cart .site-content .ast-container,
  body.woocommerce-checkout .site-content .ast-container,
  body.woocommerce-cart #primary,
  body.woocommerce-checkout #primary,
  body.woocommerce-cart main.site-main,
  body.woocommerce-checkout main.site-main,
  body.woocommerce-cart .ast-article-single,
  body.woocommerce-checkout .ast-article-single,
  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  body.woocommerce-cart .entry-content > .woocommerce,
  body.woocommerce-checkout .entry-content > .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 2px 10px !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  body.woocommerce-cart .bosion-wc-intro,
  body.woocommerce-checkout .bosion-wc-intro,
  body.woocommerce-cart form.woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart-collaterals .cart_totals,
  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout #customer_details .col-2,
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout .bosion-checkout-prayer-target,
  body.woocommerce-checkout .bosion-prayer-target-box,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.woocommerce-cart .bosion-wc-intro,
  body.woocommerce-checkout .bosion-wc-intro {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    border-radius: 0 0 14px 14px !important;
  }

  body.woocommerce-cart form.woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals .cart_totals,
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout .bosion-checkout-prayer-target,
  body.woocommerce-checkout .bosion-prayer-target-box,
  body.woocommerce-checkout #order_review {
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 13px !important;
  }

  body.woocommerce-cart form.woocommerce-cart-form {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
  body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button,
  body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 1 !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  body.woocommerce-checkout #billing_last_name_field {
    order: 1 !important;
  }

  body.woocommerce-checkout #billing_first_name_field {
    order: 2 !important;
  }

  body.woocommerce-checkout #billing_country_field {
    order: 3 !important;
  }

  body.woocommerce-checkout #billing_address_1_field {
    order: 4 !important;
  }

  body.woocommerce-checkout #billing_address_2_field {
    order: 5 !important;
  }

  body.woocommerce-checkout #billing_city_field {
    order: 6 !important;
  }

  body.woocommerce-checkout #billing_phone_field {
    order: 7 !important;
  }

  body.woocommerce-checkout #billing_postcode_field {
    order: 8 !important;
  }

  body.woocommerce-checkout #billing_email_field {
    order: 9 !important;
  }

  body.woocommerce-checkout .bosion-checkout-prayer-target table,
  body.woocommerce-checkout .bosion-prayer-target-box table,
  body.woocommerce-checkout [class*="prayer-target"] table {
    min-width: 660px !important;
  }
}


/* =========================================================
   [BOSION CSS 44-FINAL] 결제 기도대상자 정보 UI 정리 v106
   ---------------------------------------------------------
   목적:
   - 기도대상자 테이블 중간 안내문 행을 숨겨 흐름 정리
   - 수정/삭제 버튼을 한 줄 2열로 배치
   - 하단 계정 저장 체크박스 크기/정렬 보정
   - 장바구니/결제 외 다른 페이지 영향 없음
   ========================================================= */


/* =========================================================
   1) 기도대상자 정보 박스 기본 정리
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-prayer-target,
body.woocommerce-checkout .bosion-prayer-target-box,
body.woocommerce-checkout [class*="prayer-target"] {
  border-radius: 16px !important;
  background: #FFFFFF !important;
  border: 1px solid #E9DDC9 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target p,
body.woocommerce-checkout .bosion-prayer-target-box p,
body.woocommerce-checkout [class*="prayer-target"] p {
  margin: 0 0 12px !important;
  color: #4A4A4A !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
  word-break: keep-all !important;
}


/* =========================================================
   2) 기도대상자 테이블: 더 조밀하고 정돈된 형태
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-prayer-target table,
body.woocommerce-checkout .bosion-prayer-target-box table,
body.woocommerce-checkout [class*="prayer-target"] table {
  width: 100% !important;
  min-width: 700px !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target table th,
body.woocommerce-checkout .bosion-prayer-target-box table th,
body.woocommerce-checkout [class*="prayer-target"] table th {
  padding: 10px 6px !important;
  background: #FFF8EA !important;
  color: #3A2720 !important;
  border-right: 1px solid #E6D8BF !important;
  border-bottom: 1px solid #E6D8BF !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target table td,
body.woocommerce-checkout .bosion-prayer-target-box table td,
body.woocommerce-checkout [class*="prayer-target"] table td {
  padding: 8px 6px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  border-right: 1px solid #E6D8BF !important;
  border-bottom: 1px solid #E6D8BF !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-align: center !important;
  vertical-align: middle !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target table th:last-child,
body.woocommerce-checkout .bosion-prayer-target-box table th:last-child,
body.woocommerce-checkout [class*="prayer-target"] table th:last-child,
body.woocommerce-checkout .bosion-checkout-prayer-target table td:last-child,
body.woocommerce-checkout .bosion-prayer-target-box table td:last-child,
body.woocommerce-checkout [class*="prayer-target"] table td:last-child {
  border-right: 0 !important;
}


/* =========================================================
   3) 중간 안내문 행 숨김
   - "이번 주문 대상자 리스트"
   - "저장한 대상자가 아래에 누적됩니다"
   ========================================================= */

/*
 * 기도대상자 입력행과 저장된 대상자 목록 사이에 있는
 * colspan 안내 행은 화면 흐름을 끊으므로 숨깁니다.
 */
body.woocommerce-checkout .bosion-checkout-prayer-target table td[colspan],
body.woocommerce-checkout .bosion-prayer-target-box table td[colspan],
body.woocommerce-checkout [class*="prayer-target"] table td[colspan] {
  display: none !important;
}

/*
 * 혹시 안내문이 div/p 형태로 출력되는 경우까지 보정합니다.
 */
body.woocommerce-checkout .bosion-prayer-target-list-title,
body.woocommerce-checkout .bosion-prayer-target-list-guide,
body.woocommerce-checkout .bosion-prayer-list-title,
body.woocommerce-checkout .bosion-prayer-list-guide,
body.woocommerce-checkout [class*="prayer-target"] .target-list-title,
body.woocommerce-checkout [class*="prayer-target"] .target-list-guide {
  display: none !important;
}


/* =========================================================
   4) 입력칸 높이/간격 정리
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-prayer-target input,
body.woocommerce-checkout .bosion-checkout-prayer-target select,
body.woocommerce-checkout .bosion-prayer-target-box input,
body.woocommerce-checkout .bosion-prayer-target-box select,
body.woocommerce-checkout [class*="prayer-target"] input,
body.woocommerce-checkout [class*="prayer-target"] select {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 9px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 9px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  line-height: 40px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}


/* =========================================================
   5) 저장/수정/삭제 버튼 정리
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-prayer-target button,
body.woocommerce-checkout .bosion-prayer-target-box button,
body.woocommerce-checkout [class*="prayer-target"] button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 9px !important;
  border: 1px solid #C9A24D !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

/* 관리 칸 안의 수정/삭제 버튼을 한 줄 2열로 */
body.woocommerce-checkout .bosion-checkout-prayer-target td:last-child,
body.woocommerce-checkout .bosion-prayer-target-box td:last-child,
body.woocommerce-checkout [class*="prayer-target"] td:last-child {
  white-space: nowrap !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target td:last-child button,
body.woocommerce-checkout .bosion-prayer-target-box td:last-child button,
body.woocommerce-checkout [class*="prayer-target"] td:last-child button,
body.woocommerce-checkout .bosion-checkout-prayer-target td:last-child a,
body.woocommerce-checkout .bosion-prayer-target-box td:last-child a,
body.woocommerce-checkout [class*="prayer-target"] td:last-child a {
  width: calc(50% - 3px) !important;
  min-width: 46px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 2px !important;
  padding: 0 6px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

/* 삭제 버튼은 흰색 보조 버튼 */
body.woocommerce-checkout .bosion-checkout-prayer-target td:last-child button:nth-child(2),
body.woocommerce-checkout .bosion-prayer-target-box td:last-child button:nth-child(2),
body.woocommerce-checkout [class*="prayer-target"] td:last-child button:nth-child(2),
body.woocommerce-checkout .bosion-checkout-prayer-target td:last-child a:nth-child(2),
body.woocommerce-checkout .bosion-prayer-target-box td:last-child a:nth-child(2),
body.woocommerce-checkout [class*="prayer-target"] td:last-child a:nth-child(2) {
  background: #FFFFFF !important;
  color: #8A5E1A !important;
  border: 1px solid #E6D8BF !important;
}


/* =========================================================
   6) 입력 초기화 버튼/안내문 정리
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-prayer-target .bosion-prayer-reset,
body.woocommerce-checkout .bosion-prayer-target-box .bosion-prayer-reset,
body.woocommerce-checkout [class*="prayer-target"] .bosion-prayer-reset {
  margin-top: 10px !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target .bosion-prayer-reset button,
body.woocommerce-checkout .bosion-prayer-target-box .bosion-prayer-reset button,
body.woocommerce-checkout [class*="prayer-target"] .bosion-prayer-reset button {
  width: auto !important;
  min-width: 92px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 13px !important;
  background: #FFFFFF !important;
  color: #8A5E1A !important;
  border: 1px solid #D4A25F !important;
}


/* =========================================================
   7) 하단 계정 저장 체크박스 정렬/크기 보정
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-prayer-target input[type="checkbox"],
body.woocommerce-checkout .bosion-prayer-target-box input[type="checkbox"],
body.woocommerce-checkout [class*="prayer-target"] input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  margin: 0 7px 0 0 !important;
  padding: 0 !important;
  border-radius: 3px !important;
  vertical-align: middle !important;
  transform: none !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-target label,
body.woocommerce-checkout .bosion-prayer-target-box label,
body.woocommerce-checkout [class*="prayer-target"] label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 !important;
  color: #3A2720 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  word-break: keep-all !important;
}

/*
 * 체크박스가 별도 div/p에 담겨 있는 경우, 아래쪽에서 동떨어지지 않게 카드형으로 정리.
 */
body.woocommerce-checkout .bosion-checkout-prayer-target .bosion-save-target-row,
body.woocommerce-checkout .bosion-prayer-target-box .bosion-save-target-row,
body.woocommerce-checkout [class*="prayer-target"] .bosion-save-target-row {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #E9DDC9 !important;
  border-radius: 11px !important;
  background: #FFFDF7 !important;
}


/* =========================================================
   8) 모바일: 테이블 가독성 유지 + 여백 압축
   ========================================================= */

@media (max-width: 767px) {
  body.woocommerce-checkout .bosion-checkout-prayer-target,
  body.woocommerce-checkout .bosion-prayer-target-box,
  body.woocommerce-checkout [class*="prayer-target"] {
    padding: 12px 10px !important;
  }

  body.woocommerce-checkout .bosion-checkout-prayer-target p,
  body.woocommerce-checkout .bosion-prayer-target-box p,
  body.woocommerce-checkout [class*="prayer-target"] p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  body.woocommerce-checkout .bosion-checkout-prayer-target table,
  body.woocommerce-checkout .bosion-prayer-target-box table,
  body.woocommerce-checkout [class*="prayer-target"] table {
    min-width: 640px !important;
  }

  body.woocommerce-checkout .bosion-checkout-prayer-target table th,
  body.woocommerce-checkout .bosion-prayer-target-box table th,
  body.woocommerce-checkout [class*="prayer-target"] table th,
  body.woocommerce-checkout .bosion-checkout-prayer-target table td,
  body.woocommerce-checkout .bosion-prayer-target-box table td,
  body.woocommerce-checkout [class*="prayer-target"] table td {
    padding: 7px 5px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .bosion-checkout-prayer-target input,
  body.woocommerce-checkout .bosion-checkout-prayer-target select,
  body.woocommerce-checkout .bosion-prayer-target-box input,
  body.woocommerce-checkout .bosion-prayer-target-box select,
  body.woocommerce-checkout [class*="prayer-target"] input,
  body.woocommerce-checkout [class*="prayer-target"] select {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 7px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .bosion-checkout-prayer-target button,
  body.woocommerce-checkout .bosion-prayer-target-box button,
  body.woocommerce-checkout [class*="prayer-target"] button {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .bosion-checkout-prayer-target label,
  body.woocommerce-checkout .bosion-prayer-target-box label,
  body.woocommerce-checkout [class*="prayer-target"] label {
    font-size: 13px !important;
  }
}


/* =========================================================
   [BOSION CSS 44-FINAL] 결제 기도대상자 내계정형 UI v107
   ---------------------------------------------------------
   기준:
   - v106 전체 CSS 유지
   - 결제화면 기도대상자 입력 UI를 내계정 기도대상자 화면과 같은 흐름으로 정리
   - 기능/저장 로직은 건드리지 않고 UI만 정리
   ========================================================= */


/* =========================================================
   1) 결제 기도대상자 카드 상단 정리
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-prayer-target {
  padding: 18px 18px 16px !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  border: 1px solid #E6D8BF !important;
  box-shadow: 0 8px 24px rgba(58, 39, 32, .035) !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-head {
  margin: 0 0 14px !important;
  padding: 0 !important;
  border-bottom: 0 !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-head .bosion-wc-kicker,
body.woocommerce-checkout .bosion-checkout-prayer-target .bosion-wc-kicker {
  display: inline-block !important;
  margin: 0 0 4px !important;
  color: #9B6F23 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-head h3 {
  margin: 0 0 8px !important;
  color: #3A2720 !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em !important;
}

body.woocommerce-checkout .bosion-checkout-prayer-head p:not(.bosion-wc-kicker) {
  margin: 0 !important;
  color: #4A4A4A !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 650 !important;
  word-break: keep-all !important;
}


/* =========================================================
   2) 입력 테이블: 내계정형 단일 입력행
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-table-wrap {
  width: 100% !important;
  margin: 0 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border: 1px solid #DCCDB6 !important;
  border-radius: 15px !important;
  background: #FFFFFF !important;
}

body.woocommerce-checkout .bosion-checkout-target-table {
  width: 100% !important;
  min-width: 760px !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  background: #FFFFFF !important;
}

body.woocommerce-checkout .bosion-checkout-target-table thead th {
  height: 44px !important;
  padding: 10px 9px !important;
  background: #FFF8EA !important;
  color: #7A4F13 !important;
  border-right: 1px solid #DCCDB6 !important;
  border-bottom: 1px solid #DCCDB6 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody td {
  height: 64px !important;
  padding: 9px 9px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  border-right: 1px solid #DCCDB6 !important;
  border-bottom: 1px solid #E6D8BF !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-align: left !important;
  vertical-align: middle !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:last-child,
body.woocommerce-checkout .bosion-checkout-target-table td:last-child {
  border-right: 0 !important;
}

/* 컬럼 폭: 성명/불러오기, 관계, 생년월일, 달력, 간지, 축문, 저장 */
body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(1),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(1) { width: 160px !important; }

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(2),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(2) { width: 115px !important; }

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(3),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(3) { width: 130px !important; }

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(4),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(4) { width: 92px !important; }

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(5),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(5) { width: 105px !important; }

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(6),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(6) { width: 120px !important; }

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(7),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(7) { width: 82px !important; text-align:center !important; }


/* =========================================================
   3) 입력칸/셀렉트/저장 버튼 compact 정리
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-table input.input-text,
body.woocommerce-checkout .bosion-checkout-target-table input[type="text"],
body.woocommerce-checkout .bosion-checkout-target-table select,
body.woocommerce-checkout .bosion-checkout-target-table .bosion-target-direct-label {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #E0CFAF !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  line-height: 40px !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .bosion-checkout-target-table select {
  padding-right: 26px !important;
}

body.woocommerce-checkout .bosion-target-save-btn,
body.woocommerce-checkout .bosion-checkout-target-table button,
body.woocommerce-checkout .bosion-checkout-target-table input[type="button"],
body.woocommerce-checkout .bosion-checkout-target-table input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #C9A24D !important;
  border-radius: 10px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}


/* =========================================================
   4) 입력 테이블과 저장 목록 사이 안내문 제거
   ========================================================= */

body.woocommerce-checkout .bosion-target-list-title-row,
body.woocommerce-checkout .bosion-checkout-target-table tr.bosion-target-list-title-row,
body.woocommerce-checkout .bosion-checkout-target-table td[colspan],
body.woocommerce-checkout .bosion-checkout-target-list-head,
body.woocommerce-checkout .bosion-checkout-target-list-head span,
body.woocommerce-checkout .bosion-checkout-target-list-head em {
  display: none !important;
}


/* =========================================================
   5) 이번 주문 대상자 목록: 내계정 하단 리스트형
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-list {
  width: 100% !important;
  margin: 12px 0 0 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border: 1px solid #DCCDB6 !important;
  border-radius: 15px !important;
  background: #FFFFFF !important;
}

body.woocommerce-checkout .bosion-checkout-target-list table {
  width: 100% !important;
  min-width: 760px !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

body.woocommerce-checkout .bosion-checkout-target-list th {
  height: 44px !important;
  padding: 10px 9px !important;
  background: #FFF8EA !important;
  color: #7A4F13 !important;
  border-right: 1px solid #DCCDB6 !important;
  border-bottom: 1px solid #DCCDB6 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

body.woocommerce-checkout .bosion-checkout-target-list td {
  height: 52px !important;
  padding: 9px 9px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  border-right: 1px solid #DCCDB6 !important;
  border-bottom: 1px solid #E6D8BF !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  vertical-align: middle !important;
}

body.woocommerce-checkout .bosion-checkout-target-list tbody tr:nth-child(odd) td {
  background: #FAFAFA !important;
}

body.woocommerce-checkout .bosion-checkout-target-list th:last-child,
body.woocommerce-checkout .bosion-checkout-target-list td:last-child {
  border-right: 0 !important;
}

/* 목록 컬럼 폭 */
body.woocommerce-checkout .bosion-checkout-target-list th:nth-child(1),
body.woocommerce-checkout .bosion-checkout-target-list td:nth-child(1) { width: 150px !important; }

body.woocommerce-checkout .bosion-checkout-target-list th:nth-child(2),
body.woocommerce-checkout .bosion-checkout-target-list td:nth-child(2) { width: 105px !important; }

body.woocommerce-checkout .bosion-checkout-target-list th:nth-child(3),
body.woocommerce-checkout .bosion-checkout-target-list td:nth-child(3) { width: 120px !important; }

body.woocommerce-checkout .bosion-checkout-target-list th:nth-child(4),
body.woocommerce-checkout .bosion-checkout-target-list td:nth-child(4) { width: 80px !important; }

body.woocommerce-checkout .bosion-checkout-target-list th:nth-child(5),
body.woocommerce-checkout .bosion-checkout-target-list td:nth-child(5) { width: 85px !important; }

body.woocommerce-checkout .bosion-checkout-target-list th:nth-child(6),
body.woocommerce-checkout .bosion-checkout-target-list td:nth-child(6) { width: 105px !important; }

body.woocommerce-checkout .bosion-checkout-target-list th:nth-child(7),
body.woocommerce-checkout .bosion-checkout-target-list td:nth-child(7) { width: 118px !important; }


/* =========================================================
   6) 목록 수정/삭제 버튼 한 줄 배치
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-list td:last-child {
  white-space: nowrap !important;
  text-align: left !important;
}

body.woocommerce-checkout .bosion-target-edit-btn,
body.woocommerce-checkout .bosion-target-delete-btn,
body.woocommerce-checkout .bosion-checkout-target-list td:last-child button,
body.woocommerce-checkout .bosion-checkout-target-list td:last-child a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 3px 0 0 !important;
  padding: 0 8px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.woocommerce-checkout .bosion-target-edit-btn,
body.woocommerce-checkout .bosion-checkout-target-list td:last-child button:first-child,
body.woocommerce-checkout .bosion-checkout-target-list td:last-child a:first-child {
  background: #C9A24D !important;
  color: #FFFFFF !important;
  border: 1px solid #C9A24D !important;
}

body.woocommerce-checkout .bosion-target-delete-btn,
body.woocommerce-checkout .bosion-checkout-target-list td:last-child button:nth-child(2),
body.woocommerce-checkout .bosion-checkout-target-list td:last-child a:nth-child(2) {
  background: #FFFFFF !important;
  color: #8A5E1A !important;
  border: 1px solid #E0CFAF !important;
}


/* =========================================================
   7) 입력 초기화 / 안내문 / 계정 저장 체크박스 정리
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-actions,
body.woocommerce-checkout .bosion-checkout-target-actions--v6,
body.woocommerce-checkout .bosion-checkout-target-actions--v9 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #E9DDC9 !important;
  border-radius: 12px !important;
  background: #FFFDF7 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .bosion-target-reset-btn,
body.woocommerce-checkout .bosion-checkout-target-actions button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 88px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 13px !important;
  border-radius: 9px !important;
  border: 1px solid #D4A25F !important;
  background: #FFFFFF !important;
  color: #8A5E1A !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.woocommerce-checkout .bosion-checkout-target-actions p,
body.woocommerce-checkout .bosion-checkout-target-actions--v6 p,
body.woocommerce-checkout .bosion-checkout-target-actions--v9 p {
  margin: 0 !important;
  color: #5F554D !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  word-break: keep-all !important;
}

body.woocommerce-checkout .bosion-prayer-target-save-line {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #E9DDC9 !important;
  border-radius: 12px !important;
  background: #FFFDF7 !important;
  color: #3A2720 !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout .bosion-prayer-target-save-line input[type="checkbox"],
body.woocommerce-checkout .bosion-checkout-prayer-target input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  flex: 0 0 15px !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}


/* =========================================================
   8) 모바일: 장터형 좌우 여백 압축 + 테이블 가로스크롤 유지
   ========================================================= */

@media (max-width: 767px) {
  body.woocommerce-checkout .bosion-checkout-prayer-target {
    padding: 12px 10px !important;
    border-radius: 14px !important;
  }

  body.woocommerce-checkout .bosion-checkout-prayer-head h3 {
    font-size: 22px !important;
  }

  body.woocommerce-checkout .bosion-checkout-prayer-head p:not(.bosion-wc-kicker) {
    font-size: 13px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-table {
    min-width: 720px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-list table {
    min-width: 720px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-table thead th,
  body.woocommerce-checkout .bosion-checkout-target-list th {
    height: 40px !important;
    padding: 8px 7px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-table tbody td,
  body.woocommerce-checkout .bosion-checkout-target-list td {
    height: 48px !important;
    padding: 7px 7px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-table input.input-text,
  body.woocommerce-checkout .bosion-checkout-target-table input[type="text"],
  body.woocommerce-checkout .bosion-checkout-target-table select,
  body.woocommerce-checkout .bosion-checkout-target-table .bosion-target-direct-label {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 7px !important;
    font-size: 12px !important;
    line-height: 36px !important;
  }

  body.woocommerce-checkout .bosion-target-save-btn,
  body.woocommerce-checkout .bosion-checkout-target-table button {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-actions,
  body.woocommerce-checkout .bosion-checkout-target-actions--v6,
  body.woocommerce-checkout .bosion-checkout-target-actions--v9 {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 9px 10px !important;
  }

  body.woocommerce-checkout .bosion-target-reset-btn,
  body.woocommerce-checkout .bosion-checkout-target-actions button {
    width: 88px !important;
    min-width: 88px !important;
    height: 34px !important;
    min-height: 34px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-actions p,
  body.woocommerce-checkout .bosion-checkout-target-actions--v6 p,
  body.woocommerce-checkout .bosion-checkout-target-actions--v9 p,
  body.woocommerce-checkout .bosion-prayer-target-save-line {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
}


/* =========================================================
   [BOSION CSS 44-FINAL] 결제 기도대상자 테이블 정밀 보정 v108
   ---------------------------------------------------------
   기준:
   - v107 전체 CSS 유지
   - 기도대상자 입력행과 목록행 구분 강화
   - 열 폭 축소
   - 성명/불러오기 입력칸 높이 어긋남 보정
   - 모바일 입력초기화 설명글 줄바꿈 보정
   ========================================================= */


/* =========================================================
   1) 기도대상자 테이블 전체 폭 축소
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-table,
body.woocommerce-checkout .bosion-checkout-prayer-target table,
body.woocommerce-checkout .bosion-prayer-target-box table,
body.woocommerce-checkout [class*="prayer-target"] table {
  min-width: 630px !important;
  table-layout: fixed !important;
}

/* 입력 테이블 컬럼 폭: 성명, 관계, 생년월일, 달력, 간지, 축문, 저장 */
body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(1),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(1),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(1),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(1),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(1),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(1) {
  width: 112px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(2),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(2),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(2),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(2),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(2),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(2) {
  width: 82px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(3),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(3),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(3),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(3),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(3),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(3) {
  width: 100px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(4),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(4),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(4),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(4),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(4),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(4) {
  width: 72px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(5),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(5),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(5),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(5),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(5),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(5) {
  width: 76px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(6),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(6),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(6),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(6),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(6),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(6) {
  width: 90px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(7),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(7),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(7),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(7),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(7),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(7) {
  width: 70px !important;
  text-align: center !important;
}


/* =========================================================
   2) 입력행과 대상자 목록행 구분
   - 첫 번째 행: 입력/불러오기 행
   - 두 번째 행부터: 저장된 대상자 목록
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:first-child td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:first-child td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:first-child td,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:first-child td {
  background: #FFFDF7 !important;
  border-bottom: 2px solid #D4A25F !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(n+2) td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(n+2) td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(n+2) td,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(n+2) td {
  background: #FFFFFF !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(n+3) td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(n+3) td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(n+3) td,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(n+3) td {
  background: #FAFAFA !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(even):nth-child(n+2) td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(even):nth-child(n+2) td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(even):nth-child(n+2) td,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(even):nth-child(n+2) td {
  background: #F8F8F8 !important;
}

/* 목록 첫 행 위에 진한 구분선 */
body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(2) td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(2) td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(2) td,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(2) td {
  border-top: 3px solid #E6D8BF !important;
}


/* =========================================================
   3) 성명/불러오기 칸 높이 어긋남 보정
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-table td,
body.woocommerce-checkout .bosion-checkout-prayer-target table td,
body.woocommerce-checkout .bosion-prayer-target-box table td,
body.woocommerce-checkout [class*="prayer-target"] table td {
  vertical-align: middle !important;
}

body.woocommerce-checkout .bosion-checkout-target-table input,
body.woocommerce-checkout .bosion-checkout-target-table select,
body.woocommerce-checkout .bosion-checkout-prayer-target table input,
body.woocommerce-checkout .bosion-checkout-prayer-target table select,
body.woocommerce-checkout .bosion-prayer-target-box table input,
body.woocommerce-checkout .bosion-prayer-target-box table select,
body.woocommerce-checkout [class*="prayer-target"] table input,
body.woocommerce-checkout [class*="prayer-target"] table select {
  display: block !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 7px !important;
  line-height: 38px !important;
  font-size: 12.5px !important;
  border-radius: 9px !important;
  box-sizing: border-box !important;
}

/* 성명/불러오기 칸은 4자 이름 기준으로 더 작게 */
body.woocommerce-checkout .bosion-checkout-target-table td:first-child input,
body.woocommerce-checkout .bosion-checkout-target-table td:first-child select,
body.woocommerce-checkout .bosion-checkout-prayer-target table td:first-child input,
body.woocommerce-checkout .bosion-checkout-prayer-target table td:first-child select,
body.woocommerce-checkout .bosion-prayer-target-box table td:first-child input,
body.woocommerce-checkout .bosion-prayer-target-box table td:first-child select,
body.woocommerce-checkout [class*="prayer-target"] table td:first-child input,
body.woocommerce-checkout [class*="prayer-target"] table td:first-child select {
  max-width: 96px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 저장 버튼도 입력칸과 높이 통일 */
body.woocommerce-checkout .bosion-checkout-target-table button,
body.woocommerce-checkout .bosion-checkout-prayer-target table button,
body.woocommerce-checkout .bosion-prayer-target-box table button,
body.woocommerce-checkout [class*="prayer-target"] table button {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 8px !important;
  line-height: 1 !important;
  font-size: 12.5px !important;
  border-radius: 9px !important;
}


/* =========================================================
   4) 목록행 수정/삭제 버튼 한 줄 유지
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(n+2) td:last-child,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(n+2) td:last-child,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(n+2) td:last-child,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(n+2) td:last-child {
  white-space: nowrap !important;
  text-align: center !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(n+2) td:last-child button,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(n+2) td:last-child button,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(n+2) td:last-child button,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(n+2) td:last-child button,
body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(n+2) td:last-child a,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(n+2) td:last-child a,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(n+2) td:last-child a,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(n+2) td:last-child a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 30px !important;
  min-height: 30px !important;
  margin: 0 2px !important;
  padding: 0 5px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
}


/* =========================================================
   5) 입력 초기화 영역 모바일 줄바꿈 보정
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-actions,
body.woocommerce-checkout .bosion-checkout-target-actions--v6,
body.woocommerce-checkout .bosion-checkout-target-actions--v9 {
  align-items: center !important;
}

body.woocommerce-checkout .bosion-checkout-target-actions p,
body.woocommerce-checkout .bosion-checkout-target-actions--v6 p,
body.woocommerce-checkout .bosion-checkout-target-actions--v9 p {
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

@media (max-width: 767px) {
  body.woocommerce-checkout .bosion-checkout-target-table,
  body.woocommerce-checkout .bosion-checkout-prayer-target table,
  body.woocommerce-checkout .bosion-prayer-target-box table,
  body.woocommerce-checkout [class*="prayer-target"] table {
    min-width: 620px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-actions,
  body.woocommerce-checkout .bosion-checkout-target-actions--v6,
  body.woocommerce-checkout .bosion-checkout-target-actions--v9 {
    display: grid !important;
    grid-template-columns: 86px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 10px !important;
  }

  body.woocommerce-checkout .bosion-target-reset-btn,
  body.woocommerce-checkout .bosion-checkout-target-actions button,
  body.woocommerce-checkout .bosion-checkout-target-actions--v6 button,
  body.woocommerce-checkout .bosion-checkout-target-actions--v9 button {
    width: 86px !important;
    min-width: 86px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-actions p,
  body.woocommerce-checkout .bosion-checkout-target-actions--v6 p,
  body.woocommerce-checkout .bosion-checkout-target-actions--v9 p {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }
}


/* =========================================================
   [BOSION CSS 44-FINAL] 결제 기도대상자/본문폭 보정 v109
   ---------------------------------------------------------
   기준:
   - v108 전체 CSS 유지
   - 입력행/목록행 구분 방식을 두꺼운 선 대신 배경+좌측 포인트로 변경
   - 기도대상자 테이블 행높이 축소
   - 성명/불러오기 칸 높이/폭 재정렬
   - 결제 본문 좌측 컨테이너 확장
   - 모바일 입력초기화 안내문을 버튼 아래 전체폭으로 배치
   ========================================================= */


/* =========================================================
   1) 결제 웹 본문 폭 재조정
   - 상단 결제하기 박스 폭과 본문 폭을 더 가깝게 맞춤
   - 좌측 청구/기도대상자 영역을 조금 더 넓힘
   ========================================================= */

@media (min-width: 900px) {
  body.woocommerce-checkout form.checkout {
    max-width: 1100px !important;
    grid-template-columns: minmax(0, 790px) 296px !important;
    gap: 12px 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.woocommerce-checkout #customer_details .col-1 {
    width: 100% !important;
    max-width: 790px !important;
  }

  body.woocommerce-checkout #customer_details .col-2,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #order_review_heading {
    max-width: 296px !important;
  }
}


/* =========================================================
   2) 기도대상자 테이블 폭/행높이 compact 재정리
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-prayer-target {
  padding: 14px 14px 13px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table,
body.woocommerce-checkout .bosion-checkout-prayer-target table,
body.woocommerce-checkout .bosion-prayer-target-box table,
body.woocommerce-checkout [class*="prayer-target"] table {
  min-width: 610px !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body.woocommerce-checkout .bosion-checkout-target-table thead th,
body.woocommerce-checkout .bosion-checkout-prayer-target table thead th,
body.woocommerce-checkout .bosion-prayer-target-box table thead th,
body.woocommerce-checkout [class*="prayer-target"] table thead th {
  height: 34px !important;
  padding: 7px 6px !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody td,
body.woocommerce-checkout [class*="prayer-target"] table tbody td {
  height: 44px !important;
  padding: 6px 6px !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
  vertical-align: middle !important;
  text-align: center !important;
}


/* =========================================================
   3) 입력행/목록행 구분 방식 변경
   - 기존 두꺼운 구분선 제거
   - 입력행: 연한 아이보리 배경
   - 목록행: 좌측 골드 포인트 + 줄무늬
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:first-child td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:first-child td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:first-child td,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:first-child td {
  background: #FFFDF7 !important;
  border-bottom: 1px solid #DCCDB6 !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(2) td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(2) td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(2) td,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(2) td {
  border-top: 0 !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(n+2) td:first-child,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(n+2) td:first-child,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(n+2) td:first-child,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(n+2) td:first-child {
  border-left: 4px solid #D4A25F !important;
  font-weight: 900 !important;
  text-align: left !important;
  padding-left: 8px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(n+2) td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(n+2) td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(n+2) td,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(n+2) td {
  background: #FFFFFF !important;
}

body.woocommerce-checkout .bosion-checkout-target-table tbody tr:nth-child(even):nth-child(n+2) td,
body.woocommerce-checkout .bosion-checkout-prayer-target table tbody tr:nth-child(even):nth-child(n+2) td,
body.woocommerce-checkout .bosion-prayer-target-box table tbody tr:nth-child(even):nth-child(n+2) td,
body.woocommerce-checkout [class*="prayer-target"] table tbody tr:nth-child(even):nth-child(n+2) td {
  background: #FAFAFA !important;
}


/* =========================================================
   4) 컬럼 폭 재조정
   - 성명은 4자 기준으로 축소
   - 생년월일/축문은 필요한 만큼만 확보
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(1),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(1),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(1),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(1),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(1),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(1) {
  width: 94px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(2),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(2),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(2),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(2),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(2),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(2) {
  width: 78px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(3),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(3),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(3),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(3),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(3),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(3) {
  width: 96px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(4),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(4),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(4),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(4),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(4),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(4) {
  width: 64px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(5),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(5),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(5),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(5),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(5),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(5) {
  width: 68px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(6),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(6),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(6),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(6),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(6),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(6) {
  width: 86px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table th:nth-child(7),
body.woocommerce-checkout .bosion-checkout-target-table td:nth-child(7),
body.woocommerce-checkout .bosion-checkout-prayer-target table th:nth-child(7),
body.woocommerce-checkout .bosion-checkout-prayer-target table td:nth-child(7),
body.woocommerce-checkout .bosion-prayer-target-box table th:nth-child(7),
body.woocommerce-checkout .bosion-prayer-target-box table td:nth-child(7) {
  width: 62px !important;
}


/* =========================================================
   5) 입력칸 높이/폭 재보정
   - 성명/불러오기 칸이 다른 항목과 어긋나는 문제 해결
   ========================================================= */

body.woocommerce-checkout .bosion-checkout-target-table input,
body.woocommerce-checkout .bosion-checkout-target-table select,
body.woocommerce-checkout .bosion-checkout-prayer-target table input,
body.woocommerce-checkout .bosion-checkout-prayer-target table select,
body.woocommerce-checkout .bosion-prayer-target-box table input,
body.woocommerce-checkout .bosion-prayer-target-box table select,
body.woocommerce-checkout [class*="prayer-target"] table input,
body.woocommerce-checkout [class*="prayer-target"] table select {
  display: block !important;
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  margin: 0 auto !important;
  padding: 0 6px !important;
  font-size: 12px !important;
  line-height: 34px !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .bosion-checkout-target-table td:first-child input,
body.woocommerce-checkout .bosion-checkout-target-table td:first-child select,
body.woocommerce-checkout .bosion-checkout-prayer-target table td:first-child input,
body.woocommerce-checkout .bosion-checkout-prayer-target table td:first-child select,
body.woocommerce-checkout .bosion-prayer-target-box table td:first-child input,
body.woocommerce-checkout .bosion-prayer-target-box table td:first-child select,
body.woocommerce-checkout [class*="prayer-target"] table td:first-child input,
body.woocommerce-checkout [class*="prayer-target"] table td:first-child select {
  max-width: 78px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  line-height: 34px !important;
}

body.woocommerce-checkout .bosion-checkout-target-table button,
body.woocommerce-checkout .bosion-checkout-prayer-target table button,
body.woocommerce-checkout .bosion-prayer-target-box table button,
body.woocommerce-checkout [class*="prayer-target"] table button {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 6px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
}


/* =========================================================
   6) 모바일 입력초기화 안내문: 버튼 아래 전체폭 배치
   ========================================================= */

@media (max-width: 767px) {
  body.woocommerce-checkout .bosion-checkout-target-actions,
  body.woocommerce-checkout .bosion-checkout-target-actions--v6,
  body.woocommerce-checkout .bosion-checkout-target-actions--v9 {
    display: block !important;
    width: 100% !important;
    padding: 9px 10px !important;
  }

  body.woocommerce-checkout .bosion-target-reset-btn,
  body.woocommerce-checkout .bosion-checkout-target-actions button,
  body.woocommerce-checkout .bosion-checkout-target-actions--v6 button,
  body.woocommerce-checkout .bosion-checkout-target-actions--v9 button {
    display: inline-flex !important;
    width: auto !important;
    min-width: 86px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 0 7px !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-actions p,
  body.woocommerce-checkout .bosion-checkout-target-actions--v6 p,
  body.woocommerce-checkout .bosion-checkout-target-actions--v9 p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  body.woocommerce-checkout .bosion-checkout-target-table,
  body.woocommerce-checkout .bosion-checkout-prayer-target table,
  body.woocommerce-checkout .bosion-prayer-target-box table,
  body.woocommerce-checkout [class*="prayer-target"] table {
    min-width: 610px !important;
  }
}


/* =========================================================
   [BOSION CSS 44-FINAL] 모바일 기도대상자 입력초기화 제거 v110
   ---------------------------------------------------------
   기준:
   - v109 전체 CSS 유지
   - 모바일/웹 모두 결제 기도대상자 영역의 '입력 초기화' 안내 박스 제거
   - 하단 '내 계정에도 저장/갱신하기' 체크박스는 유지
   ========================================================= */

/*
 * 입력 초기화 버튼과 설명글은 모바일에서 폭이 좁아지면
 * 문장이 세로처럼 깨져 보이므로 운영용에서는 제거합니다.
 * 사용자는 성명 칸에서 다른 대상자를 선택하거나 직접 다시 입력하면 됩니다.
 */
body.woocommerce-checkout .bosion-checkout-target-actions,
body.woocommerce-checkout .bosion-checkout-target-actions--v6,
body.woocommerce-checkout .bosion-checkout-target-actions--v9,
body.woocommerce-checkout .bosion-target-reset-row,
body.woocommerce-checkout .bosion-target-reset-wrap {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* 혹시 버튼만 따로 남는 경우까지 제거 */
body.woocommerce-checkout .bosion-target-reset-btn {
  display: none !important;
}

/* 입력초기화 영역 제거 후 계정 저장 체크박스를 위쪽으로 자연스럽게 붙임 */
body.woocommerce-checkout .bosion-prayer-target-save-line {
  margin-top: 10px !important;
}

/* 모바일에서는 저장 체크박스 박스를 더 낮고 단정하게 */
@media (max-width: 767px) {
  body.woocommerce-checkout .bosion-prayer-target-save-line {
    margin-top: 8px !important;
    padding: 9px 10px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
}

/* =========================================================
   [BOSION CSS 51-CLEAN] 내계정 대시보드 단일 레이아웃 v25
   ---------------------------------------------------------
   정리 기준:
   - 사용자 정의 CSS 사용 금지, 보시온 전용 플러그인 CSS에서만 관리
   - 내계정 관련 CSS는 이 블록 하나로만 관리
   - v51: Elementor/Hello 테마 기준 상단 여백 재보정
   - PC: 헤더 바로 아래 2~4px 체감 간격 / 1200px / 좌측 메뉴 240px / 본문 자동
   - 모바일: 헤더 바로 아래 2~4px 체감 간격 / 상단 가로 메뉴 / 본문 100% 풀폭
   - 마이홈 최근활동은 2중 카드 제거, 개별 카드 그리드로 구성
   ========================================================= */

body.woocommerce-account {
  --bosion-account-bg: #F3EDE2;
  --bosion-account-surface: #FFFFFF;
  --bosion-account-surface-soft: #FFFCF6;
  --bosion-account-soft: #FFF8EA;
  --bosion-account-text: #3A2720;
  --bosion-account-body: #4A4A4A;
  --bosion-account-muted: #6F6258;
  --bosion-account-gold: #C9A24D;
  --bosion-account-gold-deep: #9B6F23;
  --bosion-account-green: #4E6B5C;
  --bosion-account-border: #E6D8BF;
  --bosion-account-border-soft: #F0E6D5;
  background: var(--bosion-account-bg);
  color: var(--bosion-account-text);
}

body.woocommerce-account #page,
body.woocommerce-account .site,
body.woocommerce-account #content,
body.woocommerce-account .site-content,
body.woocommerce-account #primary,
body.woocommerce-account .content-area,
body.woocommerce-account main,
body.woocommerce-account .site-main,
body.woocommerce-account article,
body.woocommerce-account .entry-content,
body.woocommerce-account .page-content,
body.woocommerce-account .elementor,
body.woocommerce-account .elementor-section,
body.woocommerce-account .elementor-container,
body.woocommerce-account .elementor-column,
body.woocommerce-account .elementor-widget-wrap,
body.woocommerce-account .elementor-widget,
body.woocommerce-account .elementor-widget-shortcode,
body.woocommerce-account .elementor-widget-container,
body.woocommerce-account .elementor-shortcode {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.woocommerce-account .site-content .content-area,
body.woocommerce-account .site-content .entry-content,
body.woocommerce-account .elementor-section.elementor-section-boxed > .elementor-container,
body.woocommerce-account .elementor-container,
body.woocommerce-account .elementor-widget-container {
  max-width: none !important;
}

body.woocommerce-account .entry-title {
  max-width: 1200px;
  margin: 0 auto 10px;
  padding: 0 16px;
  color: var(--bosion-account-text);
  font-weight: 900;
  letter-spacing: -0.04em;
}

body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-account .woocommerce {
  width: min(1200px, calc(100vw - 32px));
  max-width: 1200px;
  margin: 2px auto 0;
  padding: 0 0 42px;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  box-sizing: border-box;
}

body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce * {
  box-sizing: border-box;
}

body.woocommerce-account .woocommerce::after,
body.woocommerce-account .woocommerce .col2-set::before,
body.woocommerce-account .woocommerce .col2-set::after {
  content: none;
  display: none;
}

/* 로그아웃 상태의 내계정: 좌측 메뉴형 레이아웃을 적용하지 않음 */
body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce,
body.woocommerce-account:not(.logged-in) .woocommerce {
  display: block !important;
  width: min(960px, calc(100vw - 32px));
  max-width: 960px;
  margin: 2px auto 42px !important;
  padding: 0 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set .u-column1,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set .u-column2 {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 22px;
  border: 1px solid var(--bosion-account-border);
  border-radius: 18px;
  background: var(--bosion-account-surface);
  box-shadow: 0 8px 24px rgba(58, 39, 32, 0.045);
}

body.woocommerce-account:not(.logged-in) #customer_login h2,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set h2 {
  margin: 0 0 14px;
  color: var(--bosion-account-text);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .form-row {
  width: 100% !important;
  float: none !important;
  margin: 0 0 12px !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce button.button,
body.woocommerce-account:not(.logged-in) .woocommerce input.button {
  min-height: 42px;
}

body.bosion-myaccount-dashboard-page .woocommerce-MyAccount-content > p:first-of-type,
body.bosion-myaccount-dashboard-page .woocommerce-MyAccount-content > p:nth-of-type(2) {
  display: none;
}

@media (min-width: 769px) {
  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  body.woocommerce-account .woocommerce-notices-wrapper,
  body.woocommerce-account .woocommerce-message,
  body.woocommerce-account .woocommerce-info,
  body.woocommerce-account .woocommerce-error {
    grid-column: 1 / -1;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation {
    grid-column: 1;
    width: 240px;
    float: none;
    margin: 0;
    padding: 0;
    position: sticky;
    top: 92px;
    align-self: start;
  }

  body.woocommerce-account .woocommerce-MyAccount-content {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    float: none;
    margin: 0;
  }
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--bosion-account-border);
  border-radius: 18px;
  background: var(--bosion-account-surface);
  box-shadow: 0 8px 24px rgba(58, 39, 32, 0.045);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  border-bottom: 1px solid var(--bosion-account-border-soft);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 13px;
  border-radius: 12px;
  color: var(--bosion-account-text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-decoration: none;
  word-break: keep-all;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--bosion-account-soft);
  color: var(--bosion-account-gold-deep);
}

body.woocommerce-account .woocommerce-MyAccount-content {
  min-height: 420px;
  padding: 24px;
  border: 1px solid var(--bosion-account-border);
  border-radius: 18px;
  background: var(--bosion-account-surface);
  box-shadow: 0 8px 24px rgba(58, 39, 32, 0.045);
  overflow: visible;
}

body.woocommerce-account .woocommerce-MyAccount-content > * {
  max-width: 100%;
}

body.woocommerce-account .woocommerce-MyAccount-content h1,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content h4,
body.woocommerce-account .woocommerce-MyAccount-content legend {
  color: var(--bosion-account-text);
  letter-spacing: -0.04em;
  word-break: keep-all;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content legend {
  margin-top: 0;
}

body.woocommerce-account .woocommerce table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

body.woocommerce-account .woocommerce form,
body.woocommerce-account .woocommerce-address-fields,
body.woocommerce-account .woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce-address-fields__field-wrapper {
  width: 100%;
  max-width: 100%;
}

body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce input[type="tel"],
body.woocommerce-account .woocommerce textarea,
body.woocommerce-account .woocommerce select {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--bosion-account-border);
  border-radius: 10px;
  background: var(--bosion-account-surface);
  color: var(--bosion-account-text);
  font-size: 14px;
  box-shadow: none;
}

body.woocommerce-account .woocommerce textarea {
  min-height: 130px;
  line-height: 1.6;
  resize: vertical;
}

body.woocommerce-account .woocommerce form .form-row-first,
body.woocommerce-account .woocommerce form .form-row-last {
  width: calc(50% - 8px);
}

body.woocommerce-account .woocommerce form .form-row-first {
  margin-right: 16px;
}

body.woocommerce-account .woocommerce form .form-row-last {
  margin-right: 0;
}

body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce input.button,
body.woocommerce-account .bosion-account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--bosion-account-gold);
  border-radius: 11px;
  background: var(--bosion-account-gold);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}

body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce input.button:hover,
body.woocommerce-account .bosion-account-button:hover {
  border-color: var(--bosion-account-green);
  background: var(--bosion-account-green);
  color: #FFFFFF;
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
  width: 100%;
  max-width: 100%;
  margin-bottom: 14px;
  border-radius: 14px;
}

/* 주소 관리: 배송/청구 주소를 같은 높이와 같은 폭으로 고정 */
body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .woocommerce .col2-set.addresses,
body.woocommerce-account .woocommerce .col2-set {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .woocommerce .col2-set .col-1,
body.woocommerce-account .woocommerce .col2-set .col-2 {
  width: 100%;
  max-width: 100%;
  float: none;
  margin: 0;
}

body.woocommerce-account .woocommerce-Address {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--bosion-account-border-soft);
  border-radius: 15px;
  background: var(--bosion-account-surface-soft);
}

body.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 {
  margin: 0;
}

/* 마이홈 상단 */
body.woocommerce-account .bosion-myaccount-top {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

body.woocommerce-account .bosion-myaccount-unified-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 19px 20px;
  border: 1px solid var(--bosion-account-border);
  border-radius: 18px;
  background: linear-gradient(135deg, #FFFDF9 0%, var(--bosion-account-soft) 100%);
  box-shadow: 0 10px 24px rgba(58, 39, 32, 0.045);
}

body.woocommerce-account .bosion-myaccount-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bosion-account-gold);
  color: #FFFFFF;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(120, 82, 32, 0.16);
}

body.woocommerce-account .bosion-myaccount-kicker {
  margin: 0 0 5px;
  color: var(--bosion-account-gold-deep);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

body.woocommerce-account .bosion-myaccount-unified-card h1 {
  margin: 0 0 5px;
  color: var(--bosion-account-text);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.045em;
}

body.woocommerce-account .bosion-myaccount-unified-desc {
  margin: 0 0 8px;
  color: #5F5147;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  word-break: keep-all;
}

body.woocommerce-account .bosion-myaccount-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--bosion-account-muted);
  font-size: 12px;
  line-height: 1.4;
}

body.woocommerce-account .bosion-myaccount-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--bosion-account-border-soft);
  border-radius: 999px;
  background: var(--bosion-account-surface);
}

body.woocommerce-account .bosion-myaccount-partner-btn,
body.woocommerce-account .bosion-prayer-mini-row a,
body.woocommerce-account .bosion-hub-card-head a,
body.woocommerce-account .bosion-target-form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--bosion-account-gold);
  border-radius: 10px;
  background: var(--bosion-account-gold);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

body.woocommerce-account .bosion-myaccount-partner-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--bosion-account-text);
  border-color: var(--bosion-account-text);
  font-size: 14px;
}

body.woocommerce-account .bosion-myaccount-partner-btn--outline {
  background: var(--bosion-account-surface);
  border-color: var(--bosion-account-border);
  color: var(--bosion-account-text);
}

body.woocommerce-account .bosion-myaccount-message,
body.woocommerce-account .bosion-hub-card,
body.woocommerce-account .bosion-favorites-box,
body.woocommerce-account .bosion-mind-note-card {
  border: 1px solid var(--bosion-account-border);
  background: var(--bosion-account-surface);
}

body.woocommerce-account .bosion-myaccount-message {
  padding: 15px 18px;
  border-radius: 16px;
}

body.woocommerce-account .bosion-myaccount-message strong {
  display: block;
  color: var(--bosion-account-text);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

body.woocommerce-account .bosion-myaccount-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.woocommerce-account .bosion-myaccount-summary-card {
  display: block;
  min-height: 104px;
  padding: 15px 14px;
  border: 1px solid var(--bosion-account-border);
  border-radius: 15px;
  background: var(--bosion-account-surface);
  color: var(--bosion-account-text);
  text-decoration: none;
}

body.woocommerce-account .bosion-myaccount-summary-card span,
body.woocommerce-account .bosion-hub-card h4 {
  display: block;
  color: #7C4E24;
  font-size: 12px;
  font-weight: 900;
}

body.woocommerce-account .bosion-myaccount-summary-card span {
  margin-bottom: 8px;
}

body.woocommerce-account .bosion-myaccount-summary-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--bosion-account-text);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 900;
}

body.woocommerce-account .bosion-myaccount-summary-card em {
  display: block;
  color: var(--bosion-account-muted);
  font-size: 12px;
  line-height: 1.4;
  font-style: normal;
}

/* 마이홈 최근활동: 외곽 2중 카드 제거, 개별 카드만 사용 */
body.woocommerce-account .bosion-activity-section,
body.woocommerce-account .bosion-hub-section {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-account .bosion-activity-head,
body.woocommerce-account .bosion-hub-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 0;
}

body.woocommerce-account .bosion-activity-head h2,
body.woocommerce-account .bosion-hub-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 900;
}

body.woocommerce-account .bosion-activity-head p,
body.woocommerce-account .bosion-hub-head p,
body.woocommerce-account .bosion-hub-card-head p {
  margin: 0;
  color: var(--bosion-account-muted);
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

body.woocommerce-account .bosion-activity-grid,
body.woocommerce-account .bosion-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 12px;
}

body.woocommerce-account .bosion-hub-card {
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
}

body.woocommerce-account .bosion-favorites-card {
  grid-column: 1 / -1;
}

body.woocommerce-account .bosion-hub-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

body.woocommerce-account .bosion-hub-card-head h2,
body.woocommerce-account .bosion-hub-card-head h3,
body.woocommerce-account .bosion-hub-card-head h4 {
  margin: 0;
  color: var(--bosion-account-text);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
}

body.woocommerce-account .bosion-prayer-mini-list,
body.woocommerce-account .bosion-target-preview-list,
body.woocommerce-account .bosion-favorite-list,
body.woocommerce-account .bosion-note-list {
  display: grid;
  gap: 8px;
}

body.woocommerce-account .bosion-prayer-mini-row,
body.woocommerce-account .bosion-target-preview-item,
body.woocommerce-account .bosion-favorite-item,
body.woocommerce-account .bosion-note-item {
  min-width: 0;
  border: 1px solid var(--bosion-account-border-soft);
  border-radius: 14px;
  background: var(--bosion-account-surface-soft);
}

body.woocommerce-account .bosion-prayer-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

body.woocommerce-account .bosion-prayer-mini-main b,
body.woocommerce-account .bosion-target-preview-item b,
body.woocommerce-account .bosion-favorite-item b,
body.woocommerce-account .bosion-note-item__main b {
  display: block;
  margin-bottom: 4px;
  color: var(--bosion-account-text);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.woocommerce-account .bosion-prayer-mini-main span,
body.woocommerce-account .bosion-target-preview-item span,
body.woocommerce-account .bosion-favorite-item span,
body.woocommerce-account .bosion-note-item__main em,
body.woocommerce-account .bosion-note-item__excerpt {
  display: block;
  color: var(--bosion-account-muted);
  font-size: 12.5px;
  line-height: 1.45;
  font-style: normal;
}

body.woocommerce-account .bosion-prayer-mini-main em {
  color: var(--bosion-account-gold-deep);
  font-style: normal;
  font-weight: 900;
}

body.woocommerce-account .bosion-target-preview-item,
body.woocommerce-account .bosion-favorite-item {
  display: block;
  padding: 12px;
  color: var(--bosion-account-text);
  text-decoration: none;
}

body.woocommerce-account .bosion-favorites-grid {
  display: grid;
  gap: 12px;
}

body.woocommerce-account .bosion-favorites-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.woocommerce-account .bosion-favorites-box {
  min-width: 0;
  padding: 14px;
  border-radius: 15px;
}

body.woocommerce-account .bosion-favorites-box h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--bosion-account-text);
}

body.woocommerce-account .bosion-empty-box,
body.woocommerce-account .bosion-note-empty,
body.woocommerce-account .bosion-target-empty-cell {
  padding: 18px 14px;
  border-radius: 14px;
  background: var(--bosion-account-soft);
  color: var(--bosion-account-muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  word-break: keep-all;
}

body.woocommerce-account .bosion-myaccount-endpoint {
  width: 100%;
  min-width: 0;
}

/* 기도대상자 관리 */
body.woocommerce-account .bosion-target-card {
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-account .bosion-target-card .bosion-hub-card-head {
  display: block;
  margin-bottom: 14px;
}

body.woocommerce-account .bosion-target-card .bosion-hub-card-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

body.woocommerce-account .bosion-target-input-grid {
  display: grid;
  grid-template-columns: minmax(120px, 1.05fr) minmax(120px, 1.05fr) minmax(140px, 1.15fr) 94px 120px 76px;
  gap: 8px;
  align-items: end;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--bosion-account-border);
  border-radius: 14px;
  background: var(--bosion-account-surface-soft);
}

body.woocommerce-account .bosion-target-input-field {
  min-width: 0;
}

body.woocommerce-account .bosion-target-input-field label {
  display: block;
  margin: 0 0 5px;
  color: var(--bosion-account-gold-deep);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

body.woocommerce-account .bosion-target-input-field input,
body.woocommerce-account .bosion-target-input-field select {
  min-height: 38px;
  padding: 0 9px;
  font-size: 13px;
}

body.woocommerce-account .bosion-target-input-action .button {
  width: 100%;
  min-height: 38px;
  padding: 0 8px;
}

body.woocommerce-account .bosion-target-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.woocommerce-account .bosion-target-saved-wrap {
  margin-top: 14px;
}

body.woocommerce-account .bosion-target-table {
  width: 100%;
  min-width: 660px;
  table-layout: fixed;
  border: 1px solid var(--bosion-account-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bosion-account-surface);
}

body.woocommerce-account .bosion-target-table th,
body.woocommerce-account .bosion-target-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--bosion-account-border-soft);
  color: var(--bosion-account-text);
  font-size: 13px;
  line-height: 1.35;
  vertical-align: middle;
  text-align: left;
  white-space: nowrap;
}

body.woocommerce-account .bosion-target-table th:nth-child(1),
body.woocommerce-account .bosion-target-table td:nth-child(1) { width: 18%; }
body.woocommerce-account .bosion-target-table th:nth-child(2),
body.woocommerce-account .bosion-target-table td:nth-child(2) { width: 17%; }
body.woocommerce-account .bosion-target-table th:nth-child(3),
body.woocommerce-account .bosion-target-table td:nth-child(3) { width: 25%; }
body.woocommerce-account .bosion-target-table th:nth-child(4),
body.woocommerce-account .bosion-target-table td:nth-child(4) { width: 12%; }
body.woocommerce-account .bosion-target-table th:nth-child(5),
body.woocommerce-account .bosion-target-table td:nth-child(5) { width: 14%; }
body.woocommerce-account .bosion-target-table th:nth-child(6),
body.woocommerce-account .bosion-target-table td:nth-child(6) { width: 14%; }

body.woocommerce-account .bosion-target-table th {
  background: var(--bosion-account-soft);
  color: var(--bosion-account-gold-deep);
  font-weight: 900;
}

body.woocommerce-account .bosion-target-table tr:last-child td {
  border-bottom: 0;
}

body.woocommerce-account .bosion-target-delete-form {
  margin: 0;
}

body.woocommerce-account .bosion-target-delete-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #D9C6A8;
  border-radius: 9px;
  background: #FFFFFF;
  color: #7B3E2F;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

/* 내 마음노트 */
body.woocommerce-account .bosion-mind-note-account {
  color: var(--bosion-account-text);
}

body.woocommerce-account .bosion-mind-note-account h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 900;
}

body.woocommerce-account .bosion-note-desc {
  margin: 0 0 16px;
  color: var(--bosion-account-muted);
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

body.woocommerce-account .bosion-mind-note-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: start;
}

body.woocommerce-account .bosion-mind-note-card {
  padding: 18px;
  border-radius: 18px;
}

body.woocommerce-account .bosion-mind-note-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
}

body.woocommerce-account .bosion-mind-note-account label {
  display: block;
  margin: 0 0 6px;
  color: var(--bosion-account-text);
  font-size: 13px;
  font-weight: 900;
}

body.woocommerce-account .bosion-note-row {
  margin-bottom: 12px;
}

body.woocommerce-account .bosion-note-warning,
body.woocommerce-account .bosion-note-msg,
body.woocommerce-account .bosion-note-editing-banner,
body.woocommerce-account .bosion-note-public-fixed {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--bosion-account-border);
  border-radius: 14px;
  background: var(--bosion-account-soft);
  color: #5C5048;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
  word-break: keep-all;
}

body.woocommerce-account .bosion-note-editing-banner,
body.woocommerce-account .bosion-note-public-fixed strong {
  color: var(--bosion-account-text);
  font-weight: 900;
}

body.woocommerce-account .bosion-note-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

body.woocommerce-account .bosion-note-cancel {
  background: #FFFFFF !important;
  border-color: var(--bosion-account-border) !important;
  color: var(--bosion-account-text) !important;
}

body.woocommerce-account .bosion-note-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

body.woocommerce-account .bosion-note-item.is-editing {
  border-color: var(--bosion-account-gold);
  background: var(--bosion-account-soft);
}

body.woocommerce-account .bosion-note-item__main {
  min-width: 0;
}

body.woocommerce-account .bosion-note-item__excerpt {
  margin: 0 0 5px;
  color: var(--bosion-account-body);
  font-weight: 700;
}

body.woocommerce-account .bosion-note-item__side {
  display: flex;
  gap: 6px;
  align-items: center;
}

body.woocommerce-account .bosion-note-item__side form {
  width: auto;
  margin: 0;
}

body.woocommerce-account .bosion-note-item__side i {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--bosion-account-soft);
  color: #8A5C16;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

body.woocommerce-account .bosion-note-item__side .button,
body.woocommerce-account .bosion-mind-note-account .button.is-small,
body.woocommerce-account .bosion-mind-note-account button.is-small {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12px;
}

/* 관심 체크 공통 버튼 */
.bosion-favorite-toggle-form {
  margin: 0;
}

.bosion-favorite-toggle,
.bosion-favorite-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--bosion-account-border, #E6D8BF);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--bosion-account-text, #3A2720);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(58, 39, 32, 0.08);
  cursor: pointer;
}

.bosion-favorite-toggle.is-active {
  border-color: var(--bosion-account-gold, #C9A24D);
  background: var(--bosion-account-gold, #C9A24D);
  color: #FFFFFF;
}

.bosion-favorite-toggle__icon {
  margin-right: 4px;
  font-size: 15px;
  line-height: 1;
}

.woocommerce ul.products li.product {
  position: relative;
}

.woocommerce ul.products li.product .bosion-favorite-toggle-form,
.bosion-card .bosion-favorite-toggle-form,
.bosion-partner-card .bosion-favorite-toggle-form,
.bosion-product-card .bosion-favorite-toggle-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
}

@media (max-width: 1024px) {
  body.woocommerce-account .bosion-myaccount-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-account .bosion-activity-grid,
  body.woocommerce-account .bosion-hub-grid,
  body.woocommerce-account .bosion-favorites-grid--three,
  body.woocommerce-account .bosion-mind-note-grid {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .bosion-myaccount-unified-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  body.woocommerce-account .bosion-myaccount-partner-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.woocommerce-account .bosion-target-input-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.woocommerce-account .bosion-target-input-action {
    grid-column: 3;
  }
}

@media (max-width: 768px) {
  body.woocommerce-account .entry-title {
    padding: 0 8px;
    margin-bottom: 8px;
  }

  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .woocommerce {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 0;
    padding: 0 6px 26px;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    float: none;
    margin: 0 0 8px;
    padding: 0;
    position: static;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px;
    border-radius: 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
    border-bottom: 0;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li a {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    background: #F8F3EA;
    font-size: 14px;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--bosion-account-gold);
    color: #FFFFFF;
  }

  body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    float: none;
    margin: 0;
    padding: 14px 10px 18px;
    border-radius: 16px;
    overflow: hidden;
  }

  body.woocommerce-account .woocommerce form .form-row-first,
  body.woocommerce-account .woocommerce form .form-row-last,
  body.woocommerce-account .woocommerce form .form-row {
    width: 100%;
    margin-right: 0;
    float: none;
  }

  body.woocommerce-account .woocommerce-Addresses,
  body.woocommerce-account .woocommerce .col2-set.addresses,
  body.woocommerce-account .woocommerce .col2-set {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.woocommerce-account .woocommerce-Address {
    min-height: 0;
    padding: 14px;
  }

  body.woocommerce-account .bosion-myaccount-top {
    gap: 10px;
    margin-bottom: 16px;
  }

  body.woocommerce-account .bosion-myaccount-unified-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
  }

  body.woocommerce-account .bosion-myaccount-avatar {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  body.woocommerce-account .bosion-myaccount-unified-card h1 {
    font-size: 20px;
  }

  body.woocommerce-account .bosion-myaccount-unified-desc {
    font-size: 13px;
    line-height: 1.45;
  }

  body.woocommerce-account .bosion-myaccount-meta {
    display: none;
  }

  body.woocommerce-account .bosion-myaccount-message {
    padding: 12px;
  }

  body.woocommerce-account .bosion-myaccount-message strong {
    font-size: 15px;
    line-height: 1.45;
  }

  body.woocommerce-account .bosion-myaccount-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.woocommerce-account .bosion-myaccount-summary-card {
    min-height: 88px;
    padding: 12px 10px;
  }

  body.woocommerce-account .bosion-myaccount-summary-card strong {
    font-size: 20px;
  }

  body.woocommerce-account .bosion-activity-section,
  body.woocommerce-account .bosion-hub-section {
    gap: 10px;
  }

  body.woocommerce-account .bosion-activity-head,
  body.woocommerce-account .bosion-hub-head {
    display: block;
  }

  body.woocommerce-account .bosion-activity-head h2,
  body.woocommerce-account .bosion-hub-head h2 {
    font-size: 19px;
  }

  body.woocommerce-account .bosion-hub-card,
  body.woocommerce-account .bosion-mind-note-card,
  body.woocommerce-account .bosion-favorites-box {
    padding: 12px;
    border-radius: 15px;
  }

  body.woocommerce-account .bosion-hub-card-head {
    align-items: center;
  }

  body.woocommerce-account .bosion-prayer-mini-row {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .bosion-prayer-mini-row a {
    width: 100%;
  }

  body.woocommerce-account .bosion-target-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  body.woocommerce-account .bosion-target-input-field--birth,
  body.woocommerce-account .bosion-target-input-action {
    grid-column: 1 / -1;
  }

  body.woocommerce-account .bosion-target-input-field label {
    font-size: 11px;
  }

  body.woocommerce-account .bosion-target-input-field input,
  body.woocommerce-account .bosion-target-input-field select {
    min-height: 40px;
    font-size: 13px;
  }

  body.woocommerce-account .bosion-target-input-action .button {
    min-height: 42px;
  }

  body.woocommerce-account .bosion-target-table {
    min-width: 620px;
  }

  body.woocommerce-account .bosion-target-table th,
  body.woocommerce-account .bosion-target-table td {
    padding: 8px 7px;
    font-size: 12px;
  }

  body.woocommerce-account .bosion-mind-note-account h2,
  body.woocommerce-account .bosion-target-card .bosion-hub-card-head h2 {
    font-size: 22px;
  }

  body.woocommerce-account .bosion-note-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .bosion-note-form-actions .button {
    width: 100%;
  }

  body.woocommerce-account .bosion-note-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.woocommerce-account .bosion-note-item__excerpt {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.woocommerce-account .bosion-note-item__side {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6px;
  }

  body.woocommerce-account .bosion-note-item__side i {
    margin-right: auto;
  }

  body.woocommerce-account .bosion-note-item__side .button,
  body.woocommerce-account .bosion-note-item__side button.button {
    flex: 0 0 auto;
    min-width: 62px;
    padding: 0 8px;
  }

  /* 모바일 주문내역: 표를 카드로 재구성 */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders thead {
    display: none;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody,
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tr {
    display: block;
    width: 100%;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tr {
    position: relative;
    margin: 0 0 12px;
    padding: 13px 13px 12px;
    border: 1px solid var(--bosion-account-border);
    border-radius: 16px;
    background: #FFFCF6;
    box-shadow: 0 3px 10px rgba(58, 39, 32, 0.035);
    overflow: hidden;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tr::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--bosion-account-gold);
    opacity: .75;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    width: 100%;
    min-height: 0;
    padding: 8px 0;
    border: 0;
    color: var(--bosion-account-text);
    font-size: 13px;
    line-height: 1.45;
    text-align: right;
    word-break: keep-all;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td::before {
    content: attr(data-title);
    grid-column: 1;
    color: var(--bosion-account-gold-deep);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
    text-align: left;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td > *,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td > * {
    justify-self: end;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-number {
    padding: 0 0 9px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--bosion-account-border-soft);
    font-size: 15px;
    font-weight: 900;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-number::before {
    color: var(--bosion-account-muted);
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-total,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-total {
    flex-wrap: wrap;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-total .woocommerce-Price-amount,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-total .woocommerce-Price-amount,
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-total .amount,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-total .amount {
    display: inline-block;
    margin-left: 4px;
    color: var(--bosion-account-text);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions {
    margin-top: 7px;
    padding-top: 11px;
    border-top: 1px solid var(--bosion-account-border-soft);
    align-items: center;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions::before {
    align-self: center;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions a.button,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions a.button {
    flex: 0 0 auto;
    min-width: 76px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 13px;
  }
}


@media (max-width: 768px) {
  body.woocommerce-account.logged-in .entry-content > .woocommerce,
  body.woocommerce-account.logged-in .woocommerce {
    margin-top: 6px !important;
  }

  body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce,
  body.woocommerce-account:not(.logged-in) .woocommerce {
    width: calc(100vw - 20px) !important;
    max-width: none;
    margin: 6px auto 28px !important;
  }

  body.woocommerce-account:not(.logged-in) #customer_login,
  body.woocommerce-account:not(.logged-in) .u-columns.col2-set {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
  body.woocommerce-account:not(.logged-in) #customer_login .u-column2,
  body.woocommerce-account:not(.logged-in) .u-columns.col2-set .u-column1,
  body.woocommerce-account:not(.logged-in) .u-columns.col2-set .u-column2 {
    padding: 16px 14px;
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .woocommerce {
    padding-left: 5px;
    padding-right: 5px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content {
    padding-left: 9px;
    padding-right: 9px;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li a {
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }

  body.woocommerce-account .bosion-myaccount-summary-card em {
    display: none;
  }

  body.woocommerce-account .bosion-note-item__side {
    gap: 5px;
  }

  body.woocommerce-account .bosion-note-item__side i {
    padding: 0 7px;
    font-size: 10px;
  }

  body.woocommerce-account .bosion-note-item__side .button,
  body.woocommerce-account .bosion-note-item__side button.button {
    min-width: 56px;
    font-size: 11px;
  }
}

/* =========================================================
   [BOSION CSS 200] 보시온 소개 마음 해우소 히어로 v19
   ---------------------------------------------------------
   통합 기준:
   - 기존 전체 CSS는 그대로 유지
   - 보시온 소개 페이지 안의 마음 해우소는 히어로형 소개 섹션만 출력
   - 신도 고민 게시글 목록은 보시온 소개가 아니라 랜딩페이지 게시판에서 처리
   ========================================================= */

/* 보시온 소개: 마음 해우소 히어로 섹션 */
.bosion-intro-page .bosion-haewuso-hero-section,
.bosion-haewuso-hero-section,
.bosion-haewuso-hero-section * {
  box-sizing: border-box !important;
}

.bosion-intro-page .bosion-haewuso-hero-section {
  position: relative !important;
  overflow: hidden !important;
  min-height: 340px !important;
  padding: 42px 46px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 24px !important;
  background:
    linear-gradient(90deg, rgba(255,248,234,.98) 0%, rgba(255,248,234,.92) 42%, rgba(255,248,234,.62) 64%, rgba(255,248,234,.20) 100%),
    url("https://bosion.org/wp-content/uploads/2026/06/mind-haewuso.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  box-shadow: 0 14px 36px rgba(58,39,32,.06) !important;
}

.bosion-haewuso-hero-inner {
  position: relative !important;
  z-index: 1 !important;
  max-width: 680px !important;
}

.bosion-haewuso-kicker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  margin: 0 0 18px !important;
  padding: 0 18px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.88) !important;
  color: #9B6F23 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .09em !important;
  white-space: nowrap !important;
}

.bosion-haewuso-hero-section h2 {
  margin: 0 0 18px !important;
  color: #3A2720 !important;
  font-size: 42px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em !important;
  word-break: keep-all !important;
}

.bosion-haewuso-hero-section p {
  margin: 0 !important;
  color: #4A3A31 !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
  font-weight: 800 !important;
  word-break: keep-all !important;
}

.bosion-haewuso-today-line {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 12px !important;
  margin-top: 18px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(230,216,191,.95) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.82) !important;
}

.bosion-haewuso-today-line span {
  color: #9B6F23 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.bosion-haewuso-today-line strong {
  color: #3A2720 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
  word-break: keep-all !important;
}

.bosion-haewuso-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

.bosion-haewuso-safe {
  max-width: 640px !important;
  margin-top: 16px !important;
  color: #6F6257 !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  font-weight: 700 !important;
  word-break: keep-all !important;
}

@media (max-width: 767px) {
  .bosion-intro-page .bosion-haewuso-hero-section {
    min-height: 220px !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
    padding: 18px 20px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 0 20px 20px !important;
    box-shadow: none !important;
    background:
      linear-gradient(90deg, rgba(255,248,234,.98) 0%, rgba(255,248,234,.88) 60%, rgba(255,248,234,.36) 100%),
      url("https://bosion.org/wp-content/uploads/2026/06/mind-haewuso.png") !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .bosion-haewuso-hero-inner {
    max-width: 330px !important;
  }

  .bosion-haewuso-kicker {
    min-height: 26px !important;
    margin-bottom: 8px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
    letter-spacing: .06em !important;
  }

  .bosion-haewuso-hero-section h2 {
    max-width: 310px !important;
    margin-bottom: 8px !important;
    font-size: 25px !important;
    line-height: 1.14 !important;
  }

  .bosion-haewuso-hero-section p {
    max-width: 330px !important;
    font-size: 12.8px !important;
    line-height: 1.48 !important;
    font-weight: 700 !important;
  }

  .bosion-haewuso-today-line {
    display: none !important;
  }

  .bosion-haewuso-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .bosion-haewuso-actions .bosion-btn {
    min-height: 36px !important;
    padding: 0 9px !important;
    border-radius: 11px !important;
    font-size: 13px !important;
  }

  .bosion-haewuso-safe {
    display: none !important;
  }


}

/* =========================================================
   [BOSION CSS 121-CLEAN] 게시판 UI 통합 정리본 v63
   ---------------------------------------------------------
   정리 기준:
   - 기존 [BOSION CSS 121~133] 게시판 관련 누적 보정 제거
   - 사찰홈 게시판: 탭/목록/상세/댓글/검색/글쓰기 UI를 한 블록으로 통합
   - 작성일 / 🙏 / 💬 / 👁 는 목록 행 오른쪽 끝에 고정
   - 행사일정/자원봉사 보조정보는 제목 아래에 표시
   - 상세보기 하단: 좌측 공감/공유, 우측 수정/삭제
   - 법우 가입 카드: 1개 컨테이너 기준
   ========================================================= */

/* ---------------------------------------------------------
   1) 사찰홈 게시판: 탭 표시 안정화
   --------------------------------------------------------- */
body.single-partner .bosion-front-post-box,
body.single-partner .bosion-front-post-box * {
  box-sizing: border-box !important;
}

body.single-partner .bosion-front-post-box .bosion-front-post-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border-bottom: 1px solid #F0E6D7 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
}

body.single-partner .bosion-front-post-box .bosion-front-post-tab-btn {
  flex: 0 0 auto !important;
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #6F6258 !important;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

body.single-partner .bosion-front-post-box .bosion-front-post-tab-btn.is-active,
body.single-partner .bosion-front-post-box .bosion-front-post-tab-btn:hover {
  color: #3A2720 !important;
  border-bottom-color: #C9A24D !important;
  background: transparent !important;
}

body.single-partner .bosion-front-post-box .bosion-front-post-panel {
  display: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-partner .bosion-front-post-box .bosion-front-post-panel.is-active {
  display: block !important;
}

/* ---------------------------------------------------------
   2) 사찰홈 게시글 목록: 1행형 + 우측 메타 고정
   --------------------------------------------------------- */
body.single-partner .bosion-front-post-box .bosion-front-board-list {
  display: block !important;
  width: 100% !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-row {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #EFE3D0 !important;
  background: transparent !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-row:last-child {
  border-bottom: 0 !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-row.is-current,
body.single-partner .bosion-front-post-box .bosion-front-board-row:hover {
  background: #FFF8EA !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-open {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: start !important;
  gap: 18px !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 12px 14px !important;
  border: 0 !important;
  background: transparent !important;
  color: #3A2720 !important;
  text-decoration: none !important;
  text-align: left !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-title strong {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 20px !important;
  line-height: 20px !important;
  color: #3A2720 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-title-meta,
body.single-partner .bosion-front-post-box .bosion-front-board-title em {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 17px !important;
  line-height: 17px !important;
  color: #7A604A !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-meta-icons {
  justify-self: end !important;
  align-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 9px !important;
  min-width: max-content !important;
  margin: 2px 0 0 auto !important;
  padding: 0 !important;
  color: #5B4637 !important;
  font-size: 12px !important;
  line-height: 20px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-meta-icons time,
body.single-partner .bosion-front-post-box .bosion-front-board-meta-icons span {
  display: inline-flex !important;
  align-items: center !important;
  height: 20px !important;
  line-height: 20px !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

/* ---------------------------------------------------------
   3) 사찰홈 게시글 상세/댓글
   --------------------------------------------------------- */
body.single-partner .bosion-front-post-box .bosion-front-board-detail[hidden] {
  display: none !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-detail,
body.single-partner .bosion-front-post-box .bosion-front-board-detail--inline {
  display: block !important;
  margin: 0 !important;
  padding: 16px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #EFE3D0 !important;
  border-radius: 0 !important;
  background: #FFF8EA !important;
  color: #3A2720 !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-detail-content {
  padding: 14px 0 !important;
  border-top: 1px solid #EADCC5 !important;
  border-bottom: 1px solid #EADCC5 !important;
  color: #333333 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  word-break: keep-all !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-detail-content p {
  margin: 0 0 10px !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-detail-action-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 12px !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-detail-action-left,
body.single-partner .bosion-front-post-box .bosion-front-board-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-manage--inline,
body.single-partner .bosion-front-post-box .bosion-front-board-manage {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin-left: auto !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-actions button,
body.single-partner .bosion-front-post-box .bosion-front-board-actions a,
body.single-partner .bosion-front-post-box .bosion-front-board-manage a,
body.single-partner .bosion-front-post-box .bosion-front-board-manage--inline a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 0 11px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: #7A4F13 !important;
  font-size: 12.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-manage a.danger,
body.single-partner .bosion-front-post-box .bosion-front-board-manage--inline a.danger {
  color: #9B2C2C !important;
}

body.single-partner .bosion-front-post-box .bosion-front-comments {
  margin-top: 16px !important;
}

body.single-partner .bosion-front-post-box .bosion-front-comments h4 {
  margin: 0 0 10px !important;
  color: #3A2720 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body.single-partner .bosion-front-post-box .bosion-front-comment-list {
  display: grid !important;
  gap: 8px !important;
}

body.single-partner .bosion-front-post-box .bosion-front-comment {
  padding: 10px 12px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
}

body.single-partner .bosion-front-post-box .bosion-front-comment-head {
  display: flex !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 6px !important;
}

body.single-partner .bosion-front-post-box .bosion-front-comment-head strong {
  color: #3A2720 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.single-partner .bosion-front-post-box .bosion-front-comment-head time {
  color: #6F6258 !important;
  font-size: 12px !important;
}

body.single-partner .bosion-front-post-box .bosion-front-comment-body {
  color: #333333 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

body.single-partner .bosion-front-post-box .bosion-front-comment-form textarea {
  width: 100% !important;
  min-height: 100px !important;
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-write-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-write-actions button,
body.single-partner .bosion-front-post-box .bosion-front-comment-form button,
body.single-partner .bosion-front-post-box .bosion-front-board-search button,
body.single-partner .bosion-front-post-box .bosion-front-board-write summary {
  min-height: 38px !important;
  padding: 0 15px !important;
  border: 1px solid #C9A24D !important;
  border-radius: 12px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* ---------------------------------------------------------
   4) 행사일정 상세 연계상품 compact 카드
   --------------------------------------------------------- */
.bosion-front-event-product-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 10px 0 14px !important;
  padding: 12px 14px !important;
  border: 1px solid #E1C992 !important;
  border-radius: 14px !important;
  background: #FFF8EA !important;
}

.bosion-front-event-product-info {
  min-width: 0 !important;
}

.bosion-front-event-product-label {
  display: block !important;
  margin-bottom: 4px !important;
  color: #9B6F23 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.bosion-front-event-product-info strong {
  display: inline-block !important;
  margin-right: 8px !important;
  color: #3A2720 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

.bosion-front-event-product-info em {
  display: inline-block !important;
  color: #3A2720 !important;
  font-style: normal !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}

.bosion-front-event-product-card a {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* ---------------------------------------------------------
   5) 검색/페이지네이션/글쓰기
   --------------------------------------------------------- */
body.single-partner .bosion-front-post-box .bosion-front-board-tools,
body.single-partner .bosion-front-post-box .bosion-front-board-tools--bottom {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 14px 0 0 !important;
  padding-top: 14px !important;
  border-top: 1px solid #EFE3D0 !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  width: min(470px, 100%) !important;
  max-width: 470px !important;
  margin: 0 auto !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-search input,
body.single-partner .bosion-front-post-box .bosion-front-board-write-form input,
body.single-partner .bosion-front-post-box .bosion-front-board-write-form textarea {
  width: 100% !important;
  min-height: 38px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-search input {
  padding: 0 12px !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-pagination a,
body.single-partner .bosion-front-post-box .bosion-front-board-pagination span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 0 10px !important;
  border: 1px solid #E2D2B9 !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: #7A5A22 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.single-partner .bosion-front-post-box .bosion-front-board-pagination .is-current {
  border-color: #C9A24D !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
}

/* ---------------------------------------------------------
   6) 법우 가입 카드: 1개 컨테이너형
   --------------------------------------------------------- */
body.single-partner .bosion-front-member-card--single {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 14px !important;
  min-height: 190px !important;
  padding: 20px !important;
  border: 1px solid #E9DDC9 !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(58, 39, 32, .045) !important;
}

body.single-partner .bosion-front-member-card--single .bosion-front-member-copy h3 {
  margin: 0 0 8px !important;
  color: #3A2720 !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body.single-partner .bosion-front-member-card--single .bosion-front-member-copy p {
  margin: 0 !important;
  color: #6F6258 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  word-break: keep-all !important;
}

body.single-partner .bosion-front-member-card--single .bosion-front-member-action {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: auto !important;
}

body.single-partner .bosion-front-member-card--single .bosion-front-member-join-btn {
  min-width: 150px !important;
  min-height: 40px !important;
}

/* ---------------------------------------------------------
   7) 모바일 보정
   --------------------------------------------------------- */
@media (max-width: 767px) {
  body.single-partner .bosion-front-post-box .bosion-front-post-tabs {
    gap: 22px !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    background: #FFF8EA !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-post-tabs::-webkit-scrollbar {
    display: none !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-post-tab-btn {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 2px !important;
    font-size: 14px !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-board-open {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    min-height: 62px !important;
    padding: 9px 10px !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-board-meta-icons {
    justify-self: start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    font-size: 11px !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-board-detail,
  body.single-partner .bosion-front-post-box .bosion-front-board-detail--inline {
    padding: 13px 10px !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-board-detail-action-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-board-detail-action-left,
  body.single-partner .bosion-front-post-box .bosion-front-board-manage--inline,
  body.single-partner .bosion-front-post-box .bosion-front-board-manage {
    width: 100% !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-board-manage--inline,
  body.single-partner .bosion-front-post-box .bosion-front-board-manage {
    justify-content: flex-end !important;
  }

  .bosion-front-event-product-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .bosion-front-event-product-card a {
    width: 100% !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-board-tools,
  body.single-partner .bosion-front-post-box .bosion-front-board-tools--bottom {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-board-search {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.single-partner .bosion-front-post-box .bosion-front-board-write summary {
    width: 100% !important;
  }

  body.single-partner .bosion-front-member-card--single {
    min-height: 0 !important;
    padding: 16px !important;
  }

  body.single-partner .bosion-front-member-card--single .bosion-front-member-action {
    justify-content: stretch !important;
  }

  body.single-partner .bosion-front-member-card--single .bosion-front-member-join-btn {
    width: 100% !important;
  }
}




/* =========================================================
   [BOSION CSS 53-CLEAN] 랜딩 보시온 소식/히어로 CTA 안정화 v53
   ---------------------------------------------------------
   목적:
   - 보시온 소식 목록을 사찰소식 게시판처럼 1행 구조로 정리
   - 제목은 좌측, 작성일/공감/댓글/조회수는 우측 끝 배치
   - 상세 열림 화면도 같은 제목/메타 헤더 구조 유지
   - 히어로 CTA 3종 버튼을 사찰전용홈 히어로 버튼 톤으로 통일
   - PC에서 모바일 섹션 탭이 히어로 아래에 노출되는 문제 제거
   - 게시글 상세는 기본 접힘 유지, 클릭/댓글 후 선택 게시글만 열림
   - 모바일 히어로 CTA는 3개 버튼 1줄 배치
   - 기존 랜딩 게시판 v51/v122/v123 중복 블록 제거 후 단일 블록 적용
   ========================================================= */

/* 1) 히어로 CTA 버튼 3종 */
/* 데스크톱에서는 모바일 섹션 탭을 완전히 숨깁니다. */
@media (min-width: 768px) {
  body .bosion-home .bosion-home-mobile-section-tabs,
  body .bosion-home nav.bosion-home-mobile-section-tabs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
}

body .bosion-home .bosion-home-hero__actions--three {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-top: 20px !important;
}

body .bosion-home .bosion-home-hero__actions--three .bosion-home-hero-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: 14px !important;
  border: 1px solid transparent !important;
  box-shadow: 0 8px 20px rgba(58, 39, 32, 0.10) !important;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease !important;
}

body .bosion-home .bosion-home-hero__actions--three .bosion-home-hero-btn:hover {
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

body .bosion-home .bosion-home-hero-btn--gold {
  background: #D4A25F !important;
  border-color: #D4A25F !important;
  color: #FFFFFF !important;
}

body .bosion-home .bosion-home-hero-btn--gold:hover {
  background: #4E6B5C !important;
  border-color: #4E6B5C !important;
  color: #FFFFFF !important;
}

body .bosion-home .bosion-home-hero-btn--white {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #8A6426 !important;
}

body .bosion-home .bosion-home-hero-btn--white:hover {
  background: #F8F1E6 !important;
  border-color: #F8F1E6 !important;
  color: #3A2720 !important;
}

body .bosion-home .bosion-home-hero-btn--outline {
  background: rgba(255,255,255,0.86) !important;
  border-color: #D4A25F !important;
  color: #8A6426 !important;
}

body .bosion-home .bosion-home-hero-btn--outline:hover {
  background: #D4A25F !important;
  border-color: #D4A25F !important;
  color: #FFFFFF !important;
}

/* 2) 보시온 소식 탭/목록 공통 */
body .bosion-home .bosion-home-board-unified-section,
body .bosion-home .bosion-home-board-unified-section * {
  box-sizing: border-box !important;
}

body .bosion-home .bosion-home-board-box--unified,
body .bosion-home .bosion-home-board-unified-section .bosion-home-tab-panel {
  overflow: visible !important;
}

body .bosion-home .bosion-home-board-unified-section .bosion-home-tabs,
body .bosion-home .bosion-home-tabs--unified {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border-bottom: 1px solid #E9DDC9 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}

body .bosion-home .bosion-home-tabs--unified::-webkit-scrollbar {
  display: none !important;
}

body .bosion-home .bosion-home-tabs--unified .bosion-home-tab-btn,
body .bosion-home .bosion-home-board-unified-section .bosion-home-tab-btn {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #5B5148 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

body .bosion-home .bosion-home-tabs--unified .bosion-home-tab-btn.is-active,
body .bosion-home .bosion-home-tabs--unified .bosion-home-tab-btn:hover,
body .bosion-home .bosion-home-board-unified-section .bosion-home-tab-btn.is-active,
body .bosion-home .bosion-home-board-unified-section .bosion-home-tab-btn:hover {
  color: #3A2720 !important;
  border-bottom-color: #C9A24D !important;
}

body .bosion-home .bosion-home-board-unified-section .bosion-home-board-list,
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-list {
  display: block !important;
  width: 100% !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
}

/* 3) 목록: 제목 좌측 / 메타 우측 끝 */
body .bosion-home .bosion-home-board-unified-section .bosion-home-board-item,
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-item {
  display: block !important;
  width: 100% !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #F0E6D7 !important;
  background: #FFFFFF !important;
}

body .bosion-home .bosion-home-board-unified-section .bosion-home-board-item:last-of-type,
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-item:last-of-type {
  border-bottom: 0 !important;
}

body .bosion-home .bosion-home-board-unified-section .bosion-home-board-item:hover,
body .bosion-home .bosion-home-board-unified-section .bosion-home-board-item:has(.bosion-home-board-open[aria-expanded="true"]),
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-item:hover,
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-item:has(.bosion-home-board-open[aria-expanded="true"]) {
  background: #FFF8EA !important;
}

body .bosion-home .bosion-home-board-unified-section .bosion-home-board-open,
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-open {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: center !important;
  gap: 18px !important;
  width: 100% !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 13px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #3A2720 !important;
  text-align: left !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

body .bosion-home .bosion-home-board-unified-section .bosion-home-board-open-main,
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-open-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 4px !important;
  min-width: 0 !important;
}

body .bosion-home .bosion-home-board-unified-section .bosion-home-board-title-text,
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-title-text {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #3A2720 !important;
  font-size: 16px !important;
  line-height: 1.34 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

body .bosion-home .bosion-home-board-unified-section .bosion-home-board-source,
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-source {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #8A6426 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body .bosion-home .bosion-home-board-meta-icons {
  justify-self: end !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #5B4637 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-home .bosion-home-board-meta-icons time {
  display: inline-flex !important;
  align-items: center !important;
  color: #5B4637 !important;
  font-size: inherit !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-home .bosion-home-board-meta-icon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  color: #3A2720 !important;
  white-space: nowrap !important;
}

body .bosion-home .bosion-home-board-meta-icon b {
  color: #3A2720 !important;
  font-size: inherit !important;
  font-weight: 900 !important;
}

body .bosion-home .bosion-home-board-meta-emoji {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.1em !important;
}

/* 4) 상세: 사찰소식형 상단 카드 */
body .bosion-home .bosion-home-board-detail[hidden] {
  display: none !important;
}

body .bosion-home .bosion-home-board-unified-section .bosion-home-board-detail,
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-detail {
  display: block !important;
  margin: -1px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #F0E6D7 !important;
  background: #FFF8EA !important;
}

body .bosion-home .bosion-home-board-detail-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 74px !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid #E9DDC9 !important;
  background: #FFF8EA !important;
}

body .bosion-home .bosion-home-board-detail-titlebox {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 5px !important;
  min-width: 0 !important;
}

body .bosion-home .bosion-home-board-detail-title {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  color: #3A2720 !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

body .bosion-home .bosion-home-board-detail-body {
  padding: 20px !important;
  border-bottom: 1px solid #E9DDC9 !important;
  background: #FFF8EA !important;
  color: #333333 !important;
  font-size: 15px !important;
  line-height: 1.76 !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

body .bosion-home .bosion-home-board-detail-body p {
  margin: 0 0 12px !important;
}

body .bosion-home .bosion-home-board-detail-body p:last-child {
  margin-bottom: 0 !important;
}

body .bosion-home .bosion-home-board-action-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid #E9DDC9 !important;
  background: #FFF8EA !important;
}

body .bosion-home .bosion-home-board-action-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

body .bosion-home .bosion-home-board-like-form {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .bosion-home .bosion-home-board-like-btn,
body .bosion-home .bosion-home-board-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: #8A6426 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

body .bosion-home .bosion-home-board-like-btn:hover,
body .bosion-home .bosion-home-board-share-btn:hover {
  background: #C9A24D !important;
  border-color: #C9A24D !important;
  color: #FFFFFF !important;
}

body .bosion-home .bosion-home-board-like-btn:disabled {
  opacity: .72 !important;
  cursor: default !important;
}

body .bosion-home .bosion-home-comments {
  padding: 18px 20px 20px !important;
  background: #FFF8EA !important;
}

body .bosion-home .bosion-home-comments h4 {
  margin: 0 0 12px !important;
  color: #3A2720 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

body .bosion-home .bosion-home-comment-list {
  display: grid !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
}

body .bosion-home .bosion-home-comment {
  margin-left: 0 !important;
  padding: 14px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
}

body .bosion-home .bosion-home-comment-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

body .bosion-home .bosion-home-comment-head strong {
  color: #3A2720 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body .bosion-home .bosion-home-comment-head time {
  color: #8A7A6B !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body .bosion-home .bosion-home-comment-body {
  color: #333333 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

body .bosion-home .bosion-home-comment-form {
  display: grid !important;
  gap: 10px !important;
}

body .bosion-home .bosion-home-comment-form textarea {
  width: 100% !important;
  min-height: 116px !important;
  padding: 14px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  resize: vertical !important;
}

body .bosion-home .bosion-home-comment-form button,
body .bosion-home .bosion-home-comment-login {
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body .bosion-home .bosion-home-empty.small {
  margin: 0 0 14px !important;
  padding: 18px !important;
  border: 1px dashed #E6D8BF !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  text-align: center !important;
}

/* 상세글은 기본적으로 반드시 접혀 있어야 합니다.
   위쪽의 상세 카드 display:block 규칙보다 뒤에 두어 hidden 속성을 우선합니다. */
body .bosion-home .bosion-home-board-unified-section .bosion-home-board-detail[hidden],
body .bosion-home .bosion-home-board-box--unified .bosion-home-board-detail[hidden],
body .bosion-home [data-bosion-home-board-detail][hidden] {
  display: none !important;
}


/* 5) 검색/페이지네이션 */
body .bosion-home .bosion-home-board-search-note {
  margin: 0 0 12px !important;
  padding: 12px 14px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 12px !important;
  background: #FFF8EA !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body .bosion-home .bosion-home-board-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin: 18px 0 14px !important;
}

body .bosion-home .bosion-home-board-pagination a,
body .bosion-home .bosion-home-board-pagination span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 10px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: #8A6426 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body .bosion-home .bosion-home-board-pagination span.is-current,
body .bosion-home .bosion-home-board-pagination .is-current {
  background: #C9A24D !important;
  border-color: #C9A24D !important;
  color: #FFFFFF !important;
}

body .bosion-home .bosion-home-board-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 10px !important;
  width: min(760px, 100%) !important;
  margin: 0 auto !important;
}

body .bosion-home .bosion-home-board-search input[type="search"] {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body .bosion-home .bosion-home-board-search button,
body .bosion-home .bosion-home-board-search .bosion-home-board-reset {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  min-width: 72px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body .bosion-home .bosion-home-board-search .bosion-home-board-reset {
  background: #FFFFFF !important;
  border: 1px solid #E6D8BF !important;
  color: #8A6426 !important;
}

/* 6) 게시물관리 탭 추가 필드 안정화 유지 */
body .bosion-post-manage .bosion-post-extra.is-extra-active,
body .bosion-post-manage .bosion-post-extra[style*="display: grid"] {
  display: grid !important;
}

body .bosion-post-manage .bosion-post-extra--event,
body .bosion-post-manage .bosion-post-extra--volunteer {
  clear: both !important;
}

body .bosion-post-manage .bosion-post-extra small {
  color: #8A7A6B !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

@media (max-width: 767px) {
  body .bosion-home .bosion-home-mobile-section-tabs,
  body .bosion-home nav.bosion-home-mobile-section-tabs {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-x: auto !important;
  }

  body .bosion-home .bosion-home-hero__actions--three {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px !important;
  }

  body .bosion-home .bosion-home-hero__actions--three .bosion-home-hero-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 39px !important;
    padding: 0 6px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    letter-spacing: -0.07em !important;
  }

  body .bosion-home .bosion-home-board-unified-section .bosion-home-board-open,
  body .bosion-home .bosion-home-board-box--unified .bosion-home-board-open,
  body .bosion-home .bosion-home-board-detail-head {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    min-height: 0 !important;
    padding: 12px 12px !important;
  }

  body .bosion-home .bosion-home-board-meta-icons {
    justify-self: start !important;
    gap: 7px !important;
    font-size: 12px !important;
  }

  body .bosion-home .bosion-home-board-title-text,
  body .bosion-home .bosion-home-board-detail-title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 15px !important;
  }

  body .bosion-home .bosion-home-board-detail-body,
  body .bosion-home .bosion-home-comments {
    padding: 14px 12px !important;
  }

  body .bosion-home .bosion-home-board-action-row {
    padding: 12px !important;
  }

  body .bosion-home .bosion-home-board-search {
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: 100% !important;
  }

  body .bosion-home .bosion-home-board-search .bosion-home-board-reset {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}


/* =========================================================
   [BOSION CSS 125-CLEAN] 기도·공양 전용 페이지 v2
   목적:
   - /prayer-offering/ 전용 페이지 CSS만 추가
   - 랜딩 우측 추천 배치 CSS는 포함하지 않음
   - 보시온 장터 기준 PC/모바일 히어로 높이와 모바일 폭 규칙 반영
   ========================================================= */

body .bosion-prayer-page {
  width: min(1200px, calc(100vw - 24px)) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 0 60px !important;
  color: #3A2720 !important;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
  overflow: visible !important;
}

body .bosion-prayer-page * {
  box-sizing: border-box !important;
}

body .bosion-prayer-hero {
  width: 100% !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  margin: 0 0 22px !important;
  padding: 42px 48px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 0 0 18px 18px !important;
  background:
    linear-gradient(135deg, rgba(58,39,32,0.76), rgba(120,80,35,0.34)),
    linear-gradient(135deg, #6F4A2C, #D4A25F) !important;
  color: #FFFFFF !important;
  overflow: hidden !important;
}

body .bosion-prayer-hero span {
  display: block !important;
  margin: 0 0 8px !important;
  color: #F3E3B5 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
}

body .bosion-prayer-hero h1 {
  margin: 0 0 14px !important;
  color: #FFFFFF !important;
  font-size: 42px !important;
  line-height: 1.14 !important;
  font-weight: 900 !important;
  letter-spacing: -0.06em !important;
}

body .bosion-prayer-hero p {
  max-width: 620px !important;
  margin: 0 !important;
  color: rgba(255,255,255,0.93) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  font-weight: 600 !important;
  word-break: keep-all !important;
}

body .bosion-prayer-guide,
body .bosion-prayer-filter-section,
body .bosion-prayer-empty {
  width: 100% !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(58, 39, 32, 0.05) !important;
}

body .bosion-prayer-guide {
  padding: 20px 22px !important;
  margin: 0 0 16px !important;
}

body .bosion-prayer-guide strong {
  display: block !important;
  margin: 0 0 6px !important;
  color: #3A2720 !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

body .bosion-prayer-guide p {
  margin: 0 !important;
  color: #6D5A4D !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  font-weight: 600 !important;
  word-break: keep-all !important;
}

body .bosion-prayer-filter-section {
  padding: 18px !important;
  margin: 0 0 22px !important;
}

body .bosion-prayer-search {
  display: grid !important;
  grid-template-columns: 1.45fr repeat(4, minmax(120px, 1fr)) auto auto !important;
  gap: 10px !important;
  align-items: end !important;
}

body .bosion-prayer-search label {
  display: block !important;
  margin: 0 0 6px !important;
  color: #6D5A4D !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-search input,
body .bosion-prayer-search select {
  width: 100% !important;
  height: 43px !important;
  min-height: 43px !important;
  padding: 0 12px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 11px !important;
  background: #FFFDF8 !important;
  color: #3A2720 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  outline: none !important;
}

body .bosion-prayer-search input:focus,
body .bosion-prayer-search select:focus {
  border-color: #C9A24D !important;
  box-shadow: 0 0 0 3px rgba(201,162,77,0.13) !important;
}

body .bosion-prayer-search button,
body .bosion-prayer-search__reset {
  height: 43px !important;
  min-height: 43px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

body .bosion-prayer-search__reset {
  background: #F5EAD8 !important;
  color: #3A2720 !important;
}

body .bosion-prayer-search button:hover {
  background: #B88C2E !important;
  color: #FFFFFF !important;
}

body .bosion-prayer-search__reset:hover {
  background: #EEDCBF !important;
  color: #3A2720 !important;
}

body .bosion-prayer-result-head {
  width: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 0 0 14px !important;
}

body .bosion-prayer-result-head h2 {
  margin: 0 0 4px !important;
  color: #3A2720 !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

body .bosion-prayer-result-head p {
  margin: 0 !important;
  color: #6D5A4D !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

body .bosion-prayer-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body .bosion-prayer-card {
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(58, 39, 32, 0.05) !important;
}

body .bosion-prayer-card__img {
  position: relative !important;
  display: block !important;
  aspect-ratio: 4 / 3 !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
  text-decoration: none !important;
}

body .bosion-prayer-card__img img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform 0.25s ease !important;
}

body .bosion-prayer-card:hover .bosion-prayer-card__img img {
  transform: scale(1.04) !important;
}

body .bosion-prayer-card__status {
  position: absolute !important;
  left: 12px !important;
  top: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: rgba(58,39,32,0.78) !important;
  color: #FFFFFF !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__status.is-open {
  background: rgba(78,107,92,0.92) !important;
}

body .bosion-prayer-card__body {
  padding: 16px !important;
}

body .bosion-prayer-card__temple {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
  color: #8A6426 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__temple span {
  color: #8B7A68 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body .bosion-prayer-card h3 {
  margin: 0 0 10px !important;
  color: #3A2720 !important;
  font-size: 18px !important;
  line-height: 1.38 !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

body .bosion-prayer-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

body .bosion-prayer-card h3 a:hover {
  color: #8A6426 !important;
}

body .bosion-prayer-card__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 0 10px !important;
}

body .bosion-prayer-card__chips span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__period {
  min-height: 42px !important;
  margin: 0 0 12px !important;
  color: #6D5A4D !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
}

body .bosion-prayer-card__foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding-top: 12px !important;
  border-top: 1px solid #F0E3D1 !important;
}

body .bosion-prayer-card__foot strong {
  color: #3A2720 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-card__foot a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-card__foot a:hover {
  background: #B88C2E !important;
  color: #FFFFFF !important;
}

body .bosion-prayer-pagination {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 24px 0 0 !important;
}

body .bosion-prayer-pagination a,
body .bosion-prayer-pagination span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid #E6D8BF !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-empty {
  padding: 34px 18px !important;
  color: #6D5A4D !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

@media (max-width: 1100px) {
  body .bosion-prayer-search {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body .bosion-prayer-search__keyword {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-prayer-hero {
    padding: 32px 30px !important;
  }

  body .bosion-prayer-hero h1 {
    font-size: 36px !important;
  }

  body .bosion-prayer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body .bosion-prayer-page {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 6px 46px !important;
    overflow: hidden !important;
  }

  body .bosion-prayer-hero {
    width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    margin: 0 0 10px !important;
    padding: 18px 16px !important;
    border-radius: 0 0 15px 15px !important;
    align-items: flex-end !important;
  }

  body .bosion-prayer-hero span {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    margin-bottom: 7px !important;
    min-height: 24px !important;
  }

  body .bosion-prayer-hero h1 {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin: 0 0 6px !important;
  }

  body .bosion-prayer-hero p {
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.44 !important;
  }

  body .bosion-prayer-guide,
  body .bosion-prayer-filter-section {
    border-radius: 13px !important;
    padding: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-shadow: none !important;
  }

  body .bosion-prayer-result-head,
  body .bosion-prayer-grid,
  body .bosion-prayer-pagination,
  body .bosion-prayer-empty {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body .bosion-prayer-result-head {
    display: block !important;
  }

  body .bosion-prayer-result-head h2 {
    font-size: 22px !important;
  }

  body .bosion-prayer-search {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  body .bosion-prayer-search button,
  body .bosion-prayer-search__reset {
    width: 100% !important;
  }

  body .bosion-prayer-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body .bosion-prayer-card {
    border-radius: 15px !important;
    box-shadow: none !important;
  }

  body .bosion-prayer-card__body {
    padding: 14px !important;
  }

  body .bosion-prayer-card h3 {
    font-size: 17px !important;
  }

  body .bosion-prayer-card__foot {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body .bosion-prayer-card__foot a {
    width: 100% !important;
  }
}

/* =========================================================
   [BOSION CSS 126-CLEAN] 기도·공양 전용 페이지 v3
   - 히어로 배경 이미지 적용
   - 사찰 기도 동참 안내형 레이아웃
   - compact 상품카드
   - 목적별/테마별 섹션
   ========================================================= */

body .bosion-prayer-page {
  width: min(1200px, calc(100vw - 24px)) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 0 60px !important;
  color: #3A2720 !important;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
  overflow: visible !important;
}

body .bosion-prayer-page * {
  box-sizing: border-box !important;
}

body .bosion-prayer-hero {
  width: 100% !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  margin: 0 0 22px !important;
  padding: 42px 48px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 0 0 18px 18px !important;
  background-image:
    linear-gradient(135deg, rgba(44,29,21,0.78), rgba(106,72,38,0.40)),
    url("https://bosion.org/wp-content/uploads/2026/06/bosion_pray_hero.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  color: #FFFFFF !important;
  overflow: hidden !important;
}

body .bosion-prayer-hero span {
  display: block !important;
  margin: 0 0 8px !important;
  color: #F3E3B5 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
}

body .bosion-prayer-hero h1 {
  margin: 0 0 14px !important;
  color: #FFFFFF !important;
  font-size: 42px !important;
  line-height: 1.14 !important;
  font-weight: 900 !important;
  letter-spacing: -0.06em !important;
}

body .bosion-prayer-hero p {
  max-width: 620px !important;
  margin: 0 !important;
  color: rgba(255,255,255,0.94) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  font-weight: 700 !important;
  word-break: keep-all !important;
}

body .bosion-prayer-guide,
body .bosion-prayer-filter-section,
body .bosion-prayer-empty,
body .bosion-prayer-theme-section {
  width: 100% !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(58, 39, 32, 0.05) !important;
}

body .bosion-prayer-guide {
  padding: 20px 22px !important;
  margin: 0 0 18px !important;
}

body .bosion-prayer-guide strong {
  display: block !important;
  margin: 0 0 6px !important;
  color: #3A2720 !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

body .bosion-prayer-guide p {
  margin: 0 !important;
  color: #6D5A4D !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  font-weight: 600 !important;
  word-break: keep-all !important;
}

body .bosion-prayer-section-titlebox {
  margin: 0 0 14px !important;
}

body .bosion-prayer-section-titlebox span {
  display: block !important;
  margin: 0 0 4px !important;
  color: #A47A33 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
}

body .bosion-prayer-section-titlebox h2 {
  margin: 0 0 6px !important;
  color: #3A2720 !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: -0.06em !important;
}

body .bosion-prayer-section-titlebox p {
  margin: 0 !important;
  color: #6D5A4D !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 600 !important;
}

body .bosion-prayer-themes {
  margin: 0 0 22px !important;
}

body .bosion-prayer-theme-section {
  padding: 18px !important;
  margin: 0 0 14px !important;
  background: #FFFDF8 !important;
}

body .bosion-prayer-theme-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 0 0 14px !important;
}

body .bosion-prayer-theme-head h3 {
  margin: 0 0 4px !important;
  color: #3A2720 !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

body .bosion-prayer-theme-head p {
  margin: 0 !important;
  color: #6D5A4D !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
}

body .bosion-prayer-theme-head a {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid #E6D8BF !important;
  background: #FFFFFF !important;
  color: #8A6426 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body .bosion-prayer-theme-grid,
body .bosion-prayer-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body .bosion-prayer-filter-section {
  padding: 18px !important;
  margin: 0 0 22px !important;
}

body .bosion-prayer-section-titlebox--search {
  margin-bottom: 12px !important;
}

body .bosion-prayer-section-titlebox--search h2 {
  font-size: 22px !important;
}

body .bosion-prayer-search {
  display: grid !important;
  grid-template-columns: 1.35fr repeat(4, minmax(116px, 1fr)) auto auto !important;
  gap: 10px !important;
  align-items: end !important;
}

body .bosion-prayer-search label {
  display: block !important;
  margin: 0 0 6px !important;
  color: #6D5A4D !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-search input,
body .bosion-prayer-search select {
  width: 100% !important;
  height: 43px !important;
  min-height: 43px !important;
  padding: 0 12px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 11px !important;
  background: #FFFDF8 !important;
  color: #3A2720 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  outline: none !important;
}

body .bosion-prayer-search input:focus,
body .bosion-prayer-search select:focus {
  border-color: #C9A24D !important;
  box-shadow: 0 0 0 3px rgba(201,162,77,0.13) !important;
}

body .bosion-prayer-search button,
body .bosion-prayer-search__reset {
  height: 43px !important;
  min-height: 43px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

body .bosion-prayer-search__reset {
  background: #F5EAD8 !important;
  color: #3A2720 !important;
}

body .bosion-prayer-search button:hover {
  background: #B88C2E !important;
  color: #FFFFFF !important;
}

body .bosion-prayer-search__reset:hover {
  background: #EEDCBF !important;
  color: #3A2720 !important;
}

body .bosion-prayer-result-head {
  width: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 0 0 14px !important;
}

body .bosion-prayer-result-head h2 {
  margin: 0 0 4px !important;
  color: #3A2720 !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

body .bosion-prayer-result-head p {
  margin: 0 !important;
  color: #6D5A4D !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

body .bosion-prayer-card {
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(58, 39, 32, 0.045) !important;
}

body .bosion-prayer-card__img {
  position: relative !important;
  display: block !important;
  aspect-ratio: 4 / 2.7 !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
  text-decoration: none !important;
}

body .bosion-prayer-card__img img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform 0.25s ease !important;
}

body .bosion-prayer-card:hover .bosion-prayer-card__img img {
  transform: scale(1.04) !important;
}

body .bosion-prayer-card__status {
  position: absolute !important;
  left: 10px !important;
  top: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 25px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(58,39,32,0.78) !important;
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__status.is-open {
  background: rgba(78,107,92,0.92) !important;
}

body .bosion-prayer-card__body {
  padding: 13px !important;
}

body .bosion-prayer-card__temple {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 6px !important;
  color: #8A6426 !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__temple span {
  color: #8B7A68 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
}

body .bosion-prayer-card h3 {
  margin: 0 0 8px !important;
  color: #3A2720 !important;
  font-size: 16px !important;
  line-height: 1.34 !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

body .bosion-prayer-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

body .bosion-prayer-card h3 a:hover {
  color: #8A6426 !important;
}

body .bosion-prayer-card__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin: 0 0 8px !important;
}

body .bosion-prayer-card__chips span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 23px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__period {
  min-height: 38px !important;
  margin: 0 0 10px !important;
  color: #6D5A4D !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

body .bosion-prayer-card__foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding-top: 10px !important;
  border-top: 1px solid #F0E3D1 !important;
}

body .bosion-prayer-card__foot strong {
  color: #3A2720 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-card__foot a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 11px !important;
  border-radius: 10px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-card__foot a:hover {
  background: #B88C2E !important;
  color: #FFFFFF !important;
}

body .bosion-prayer-pagination {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 24px 0 0 !important;
}

body .bosion-prayer-pagination a,
body .bosion-prayer-pagination span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid #E6D8BF !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-empty {
  padding: 34px 18px !important;
  color: #6D5A4D !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

@media (max-width: 1180px) {
  body .bosion-prayer-theme-grid,
  body .bosion-prayer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body .bosion-prayer-search {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body .bosion-prayer-search__keyword {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-prayer-hero {
    padding: 32px 30px !important;
  }

  body .bosion-prayer-hero h1 {
    font-size: 36px !important;
  }

  body .bosion-prayer-theme-grid,
  body .bosion-prayer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body .bosion-prayer-page {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 6px 46px !important;
    overflow: hidden !important;
  }

  body .bosion-prayer-hero {
    width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    margin: 0 0 10px !important;
    padding: 18px 16px !important;
    border-radius: 0 0 15px 15px !important;
    align-items: flex-end !important;
    background-position: center center !important;
  }

  body .bosion-prayer-hero span {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    margin-bottom: 7px !important;
    min-height: 24px !important;
  }

  body .bosion-prayer-hero h1 {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin: 0 0 6px !important;
  }

  body .bosion-prayer-hero p {
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.44 !important;
  }

  body .bosion-prayer-guide,
  body .bosion-prayer-filter-section,
  body .bosion-prayer-theme-section {
    border-radius: 13px !important;
    padding: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-shadow: none !important;
  }

  body .bosion-prayer-section-titlebox h2 {
    font-size: 22px !important;
  }

  body .bosion-prayer-theme-head {
    display: block !important;
  }

  body .bosion-prayer-theme-head a {
    margin-top: 10px !important;
  }

  body .bosion-prayer-result-head,
  body .bosion-prayer-theme-grid,
  body .bosion-prayer-grid,
  body .bosion-prayer-pagination,
  body .bosion-prayer-empty {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body .bosion-prayer-result-head {
    display: block !important;
  }

  body .bosion-prayer-result-head h2 {
    font-size: 22px !important;
  }

  body .bosion-prayer-search {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  body .bosion-prayer-search button,
  body .bosion-prayer-search__reset {
    width: 100% !important;
  }

  body .bosion-prayer-theme-grid,
  body .bosion-prayer-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body .bosion-prayer-card {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    border-radius: 15px !important;
    box-shadow: none !important;
  }

  body .bosion-prayer-card__img {
    width: 112px !important;
    height: 100% !important;
    min-height: 142px !important;
    aspect-ratio: auto !important;
  }

  body .bosion-prayer-card__body {
    padding: 12px !important;
  }

  body .bosion-prayer-card h3 {
    font-size: 15.5px !important;
    margin-bottom: 7px !important;
  }

  body .bosion-prayer-card__period {
    min-height: 0 !important;
    margin-bottom: 8px !important;
  }

  body .bosion-prayer-card__foot {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 7px !important;
  }

  body .bosion-prayer-card__foot a {
    width: 100% !important;
  }
}

/* =========================================================
   [BOSION CSS 127-CLEAN] 기도·공양 전용 페이지 v4
   - 안내문 컨테이너 삭제 기준
   - 검색 영역 히어로 바로 아래 배치
   - compact 카드 / PC 4열 2행 검색 결과
   - 모바일 2열 세로형 카드
   - 히어로 배경 이미지 cover 풀사이즈
   ========================================================= */

body .bosion-prayer-page {
  width: min(1200px, calc(100vw - 24px)) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 0 56px !important;
  color: #3A2720 !important;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif !important;
  overflow: visible !important;
}

body .bosion-prayer-page * {
  box-sizing: border-box !important;
}

body .bosion-prayer-hero {
  width: 100% !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  margin: 0 0 16px !important;
  padding: 42px 48px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 0 0 18px 18px !important;
  background-image:
    linear-gradient(135deg, rgba(35,23,16,0.50), rgba(68,43,24,0.26)),
    url("https://bosion.org/wp-content/uploads/2026/06/bosion_pray_hero.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #FFFFFF !important;
  overflow: hidden !important;
}

body .bosion-prayer-hero span {
  display: block !important;
  margin: 0 0 8px !important;
  color: #F3E3B5 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
}

body .bosion-prayer-hero h1 {
  margin: 0 0 12px !important;
  color: #FFFFFF !important;
  font-size: 42px !important;
  line-height: 1.14 !important;
  font-weight: 900 !important;
  letter-spacing: -0.06em !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.22) !important;
}

body .bosion-prayer-hero p {
  max-width: 620px !important;
  margin: 0 !important;
  color: rgba(255,255,255,0.95) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-weight: 700 !important;
  word-break: keep-all !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.22) !important;
}

/* 삭제 대상 안내문 컨테이너가 혹시 남아도 숨김 */
body .bosion-prayer-guide {
  display: none !important;
}

body .bosion-prayer-filter-section,
body .bosion-prayer-empty,
body .bosion-prayer-theme-section {
  width: 100% !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(58, 39, 32, 0.045) !important;
}

body .bosion-prayer-filter-section {
  padding: 16px !important;
  margin: 0 0 18px !important;
}

body .bosion-prayer-section-titlebox {
  margin: 0 0 12px !important;
}

body .bosion-prayer-section-titlebox span {
  display: block !important;
  margin: 0 0 4px !important;
  color: #A47A33 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
}

body .bosion-prayer-section-titlebox h2 {
  margin: 0 0 5px !important;
  color: #3A2720 !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

body .bosion-prayer-section-titlebox p {
  margin: 0 !important;
  color: #6D5A4D !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
}

body .bosion-prayer-search {
  display: grid !important;
  grid-template-columns: 1.35fr repeat(4, minmax(110px, 1fr)) auto auto !important;
  gap: 8px !important;
  align-items: end !important;
}

body .bosion-prayer-search label {
  display: block !important;
  margin: 0 0 5px !important;
  color: #6D5A4D !important;
  font-size: 11.5px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-search input,
body .bosion-prayer-search select {
  width: 100% !important;
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 10px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 10px !important;
  background: #FFFDF8 !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  outline: none !important;
}

body .bosion-prayer-search input:focus,
body .bosion-prayer-search select:focus {
  border-color: #C9A24D !important;
  box-shadow: 0 0 0 3px rgba(201,162,77,0.13) !important;
}

body .bosion-prayer-search button,
body .bosion-prayer-search__reset {
  height: 39px !important;
  min-height: 39px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 13px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

body .bosion-prayer-search__reset {
  background: #F5EAD8 !important;
  color: #3A2720 !important;
}

body .bosion-prayer-result-head {
  width: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 12px !important;
}

body .bosion-prayer-result-head h2 {
  margin: 0 0 3px !important;
  color: #3A2720 !important;
  font-size: 22px !important;
  line-height: 1.32 !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

body .bosion-prayer-result-head p {
  margin: 0 !important;
  color: #6D5A4D !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

body .bosion-prayer-grid,
body .bosion-prayer-theme-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

/* 검색 결과는 8개 = 4열 x 2행 */
body .bosion-prayer-grid--search {
  margin-bottom: 0 !important;
}

body .bosion-prayer-card {
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 13px rgba(58, 39, 32, 0.04) !important;
}

body .bosion-prayer-card__img {
  position: relative !important;
  display: block !important;
  aspect-ratio: 4 / 2.45 !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
  text-decoration: none !important;
}

body .bosion-prayer-card__img img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform 0.25s ease !important;
}

body .bosion-prayer-card:hover .bosion-prayer-card__img img {
  transform: scale(1.035) !important;
}

body .bosion-prayer-card__status {
  position: absolute !important;
  left: 8px !important;
  top: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 23px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: rgba(58,39,32,0.78) !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__status.is-open {
  background: rgba(78,107,92,0.92) !important;
}

body .bosion-prayer-card__body {
  padding: 11px !important;
}

body .bosion-prayer-card__temple {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 5px !important;
  color: #8A6426 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__temple span {
  color: #8B7A68 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body .bosion-prayer-card h3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 39px !important;
  margin: 0 0 7px !important;
  color: #3A2720 !important;
  font-size: 14.5px !important;
  line-height: 1.34 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body .bosion-prayer-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

body .bosion-prayer-card__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin: 0 0 7px !important;
}

body .bosion-prayer-card__chips span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 21px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 10.8px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__period {
  margin: 0 0 8px !important;
  color: #6D5A4D !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  min-height: 0 !important;
}

body .bosion-prayer-card__foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 7px !important;
  padding-top: 8px !important;
  border-top: 1px solid #F0E3D1 !important;
}

body .bosion-prayer-card__foot strong {
  color: #3A2720 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-card__foot a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 31px !important;
  padding: 0 9px !important;
  border-radius: 9px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 11.8px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-pagination {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 20px 0 22px !important;
}

body .bosion-prayer-pagination a,
body .bosion-prayer-pagination span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  border: 1px solid #E6D8BF !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-themes {
  margin: 8px 0 22px !important;
}

body .bosion-prayer-theme-section {
  padding: 16px !important;
  margin: 0 0 14px !important;
  background: #FFFDF8 !important;
}

body .bosion-prayer-theme-head {
  display: block !important;
  margin: 0 0 12px !important;
}

body .bosion-prayer-theme-head h3 {
  margin: 0 0 4px !important;
  color: #3A2720 !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

body .bosion-prayer-theme-head p {
  margin: 0 !important;
  color: #6D5A4D !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

body .bosion-prayer-theme-head a {
  display: none !important;
}

body .bosion-prayer-empty {
  padding: 30px 16px !important;
  color: #6D5A4D !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

@media (max-width: 1180px) {
  body .bosion-prayer-grid,
  body .bosion-prayer-theme-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body .bosion-prayer-search {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body .bosion-prayer-search__keyword {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-prayer-hero {
    padding: 32px 30px !important;
  }

  body .bosion-prayer-hero h1 {
    font-size: 36px !important;
  }

  body .bosion-prayer-grid,
  body .bosion-prayer-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body .bosion-prayer-page {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 6px 42px !important;
    overflow: hidden !important;
  }

  body .bosion-prayer-hero {
    width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    margin: 0 0 10px !important;
    padding: 18px 16px !important;
    border-radius: 0 0 15px 15px !important;
    align-items: flex-end !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  body .bosion-prayer-hero span {
    font-size: 10.5px !important;
    margin-bottom: 7px !important;
  }

  body .bosion-prayer-hero h1 {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin: 0 0 6px !important;
  }

  body .bosion-prayer-hero p {
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.44 !important;
  }

  body .bosion-prayer-filter-section,
  body .bosion-prayer-theme-section {
    border-radius: 13px !important;
    padding: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-shadow: none !important;
  }

  body .bosion-prayer-section-titlebox h2 {
    font-size: 20px !important;
  }

  body .bosion-prayer-search {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body .bosion-prayer-search button,
  body .bosion-prayer-search__reset {
    width: 100% !important;
  }

  body .bosion-prayer-result-head {
    display: block !important;
    margin-bottom: 10px !important;
  }

  body .bosion-prayer-result-head h2 {
    font-size: 20px !important;
  }

  body .bosion-prayer-grid,
  body .bosion-prayer-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .bosion-prayer-card {
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  body .bosion-prayer-card__img {
    aspect-ratio: 1 / 0.78 !important;
  }

  body .bosion-prayer-card__body {
    padding: 9px !important;
  }

  body .bosion-prayer-card__status {
    left: 6px !important;
    top: 6px !important;
    min-height: 21px !important;
    padding: 0 7px !important;
    font-size: 10.5px !important;
  }

  body .bosion-prayer-card__temple {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 11.5px !important;
  }

  body .bosion-prayer-card__temple span {
    display: none !important;
  }

  body .bosion-prayer-card h3 {
    min-height: 36px !important;
    font-size: 13.2px !important;
    line-height: 1.34 !important;
    margin-bottom: 6px !important;
  }

  body .bosion-prayer-card__chips {
    max-height: 24px !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
  }

  body .bosion-prayer-card__chips span {
    min-height: 20px !important;
    padding: 0 6px !important;
    font-size: 10.5px !important;
  }

  body .bosion-prayer-card__period {
    display: none !important;
  }

  body .bosion-prayer-card__foot {
    display: block !important;
    padding-top: 7px !important;
  }

  body .bosion-prayer-card__foot strong {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 11.5px !important;
  }

  body .bosion-prayer-card__foot a {
    width: 100% !important;
    min-height: 30px !important;
    font-size: 11.5px !important;
  }

  body .bosion-prayer-theme-section {
    margin-bottom: 10px !important;
  }

  body .bosion-prayer-theme-head h3 {
    font-size: 17px !important;
  }

  body .bosion-prayer-theme-head p {
    font-size: 12px !important;
  }
}

/* =========================================================
   [BOSION CSS 129-PATCH] 기도·공양 페이지 v5 모바일/히어로 보정
   - 히어로 이미지 전경 전체 노출
   - 모바일 검색 2열 compact
   - 모바일 상품카드 1.5개 노출 가로 스크롤
   ========================================================= */

/* 히어로 배경: 이미지가 잘리지 않도록 contain 기준 */
body .bosion-prayer-hero {
  background-color: #8A6A46 !important;
  background-image:
    linear-gradient(90deg, rgba(35,23,16,0.48), rgba(35,23,16,0.15), rgba(35,23,16,0.04)),
    url("https://bosion.org/wp-content/uploads/2026/06/bosion_pray_hero.png") !important;
  background-size: 100% 100%, contain !important;
  background-position: center center, center center !important;
  background-repeat: no-repeat, no-repeat !important;
}

/* 상품 설명/기간은 카드 높이 최적화를 위해 숨김 */
body .bosion-prayer-card__period {
  display: none !important;
}

/* 섹션 더보기 링크 혹시 남아도 숨김 */
body .bosion-prayer-theme-head a {
  display: none !important;
}

/* 모바일 전용 */
@media (max-width: 767px) {
  body .bosion-prayer-hero {
    background-size: 100% 100%, contain !important;
    background-position: center center, center center !important;
    background-repeat: no-repeat, no-repeat !important;
  }

  /* 검색필드: 세로 1열 펼침 대신 2열 compact */
  body .bosion-prayer-search {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .bosion-prayer-search__keyword {
    grid-column: 1 / -1 !important;
  }

  body .bosion-prayer-search label {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }

  body .bosion-prayer-search input,
  body .bosion-prayer-search select {
    height: 37px !important;
    min-height: 37px !important;
    padding: 0 9px !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
  }

  body .bosion-prayer-search button,
  body .bosion-prayer-search__reset {
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
  }

  /* 모바일 상품카드: 세로형 1.5개 보이는 가로 스크롤 */
  body .bosion-prayer-grid,
  body .bosion-prayer-theme-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 6px 4px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-prayer-grid::-webkit-scrollbar,
  body .bosion-prayer-theme-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-prayer-card {
    flex: 0 0 66vw !important;
    width: 66vw !important;
    min-width: 66vw !important;
    max-width: 66vw !important;
    display: block !important;
    border-radius: 13px !important;
    scroll-snap-align: start !important;
  }

  body .bosion-prayer-card__img {
    width: 100% !important;
    aspect-ratio: 4 / 2.75 !important;
  }

  body .bosion-prayer-card__body {
    padding: 10px !important;
  }

  body .bosion-prayer-card__temple {
    display: flex !important;
    margin-bottom: 5px !important;
    font-size: 11.8px !important;
  }

  body .bosion-prayer-card__temple span {
    display: inline !important;
    font-size: 10.8px !important;
  }

  body .bosion-prayer-card h3 {
    min-height: 36px !important;
    font-size: 14px !important;
    line-height: 1.32 !important;
    margin-bottom: 6px !important;
  }

  body .bosion-prayer-card__chips {
    max-height: 23px !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
  }

  body .bosion-prayer-card__period {
    display: none !important;
  }

  body .bosion-prayer-card__foot {
    display: block !important;
    padding-top: 7px !important;
  }

  body .bosion-prayer-card__foot strong {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 11.8px !important;
  }

  body .bosion-prayer-card__foot a {
    width: 100% !important;
    min-height: 31px !important;
    font-size: 11.8px !important;
  }
}

/* =========================================================
   [BOSION CSS 130-PATCH] 기도·공양 페이지 v6 5열/섹션카운트/hero1
   - 히어로 배경: bosion_pray_hero1.png
   - PC 검색결과 5열 × 2행
   - 목적별 섹션 우측 카운트/화살표
   - 상품카드 더 compact
   ========================================================= */

body .bosion-prayer-hero {
  background-color: #8A6A46 !important;
  background-image:
    linear-gradient(90deg, rgba(35,23,16,0.48), rgba(35,23,16,0.14), rgba(35,23,16,0.04)),
    url("https://bosion.org/wp-content/uploads/2026/06/bosion_pray_hero1.png") !important;
  background-size: 100% 100%, contain !important;
  background-position: center center, center center !important;
  background-repeat: no-repeat, no-repeat !important;
}

/* PC: 검색결과 5열 compact */
@media (min-width: 1181px) {
  body .bosion-prayer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .bosion-prayer-theme-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-prayer-theme-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-prayer-theme-grid .bosion-prayer-card {
    flex: 0 0 calc((100% - 48px) / 5) !important;
    width: calc((100% - 48px) / 5) !important;
    min-width: calc((100% - 48px) / 5) !important;
    max-width: calc((100% - 48px) / 5) !important;
  }
}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1180px) {
  body .bosion-prayer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body .bosion-prayer-theme-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* 상품카드 PC/공통 compact */
body .bosion-prayer-card {
  border-radius: 13px !important;
}

body .bosion-prayer-card__img {
  aspect-ratio: 4 / 2.55 !important;
}

body .bosion-prayer-card__body {
  padding: 10px !important;
}

body .bosion-prayer-card__temple {
  margin-bottom: 4px !important;
  font-size: 11.5px !important;
}

body .bosion-prayer-card__temple span {
  font-size: 10.5px !important;
}

body .bosion-prayer-card h3 {
  min-height: 36px !important;
  font-size: 13.7px !important;
  line-height: 1.32 !important;
  margin-bottom: 6px !important;
}

body .bosion-prayer-card__chips {
  max-height: 22px !important;
  overflow: hidden !important;
  margin-bottom: 6px !important;
}

body .bosion-prayer-card__chips span {
  min-height: 20px !important;
  padding: 0 6px !important;
  font-size: 10.3px !important;
}

body .bosion-prayer-card__period {
  display: none !important;
}

body .bosion-prayer-card__foot {
  display: block !important;
  padding-top: 7px !important;
}

body .bosion-prayer-card__foot strong {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 11.5px !important;
}

body .bosion-prayer-card__foot a {
  width: 100% !important;
  min-height: 30px !important;
  font-size: 11.5px !important;
}

/* 섹션 헤더: 쿠팡식 카운팅 구조만 참고 */
body .bosion-prayer-theme-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

body .bosion-prayer-theme-controls {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  flex: 0 0 auto !important;
}

body .bosion-prayer-theme-count {
  color: #3A2720 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-theme-count em {
  font-style: normal !important;
  color: #6D5A4D !important;
}

body .bosion-prayer-theme-arrow {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  font-size: 23px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(58,39,32,0.05) !important;
}

body .bosion-prayer-theme-arrow:hover {
  border-color: #C9A24D !important;
  background: #FFF9EC !important;
  color: #8A6426 !important;
}

body .bosion-prayer-theme-arrow:disabled {
  opacity: 0.35 !important;
  cursor: default !important;
}

/* 모바일: 섹션은 1.5개 노출 가로 스크롤, 화살표는 숨김 */
@media (max-width: 767px) {
  body .bosion-prayer-hero {
    background-size: 100% 100%, contain !important;
    background-position: center center, center center !important;
    background-repeat: no-repeat, no-repeat !important;
  }

  body .bosion-prayer-theme-head {
    display: block !important;
  }

  body .bosion-prayer-theme-controls {
    display: none !important;
  }

  body .bosion-prayer-grid,
  body .bosion-prayer-theme-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 6px 4px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-prayer-grid::-webkit-scrollbar,
  body .bosion-prayer-theme-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-prayer-card,
  body .bosion-prayer-theme-grid .bosion-prayer-card {
    flex: 0 0 66vw !important;
    width: 66vw !important;
    min-width: 66vw !important;
    max-width: 66vw !important;
    display: block !important;
    border-radius: 13px !important;
    scroll-snap-align: start !important;
  }
}

/* =========================================================
   [BOSION CSS 131-PATCH] 공통 세로형 상품카드 v7
   - 기도·공양 히어로 cover/center center
   - 모바일 기도·공양 카드 본문 노출 보정
   - 랜딩/사찰홈/장터/기도공양 상품카드 세로형 공통 규격
   - 섹션별 상품진열: PC 5개 기준, 모바일 1.5개 가로 스크롤
   ========================================================= */

/* 1. 기도·공양 히어로: 무조건 cover / center center */
body .bosion-prayer-hero {
  background-image:
    linear-gradient(90deg, rgba(35,23,16,0.48), rgba(35,23,16,0.14), rgba(35,23,16,0.04)),
    url("https://bosion.org/wp-content/uploads/2026/06/bosion_pray_hero1.png") !important;
  background-size: cover, cover !important;
  background-position: center center, center center !important;
  background-repeat: no-repeat, no-repeat !important;
}

/* 2. 공통 상품 섹션 행: PC는 5개 기준 */
body .bosion-prayer-grid,
body .bosion-prayer-theme-grid,
body .bosion-home-product-row,
body .bosion-home-grid-3.bosion-home-product-row,
body .bosion-home-grid-5.bosion-home-product-row,
body .bosion-front-product-grid-h,
body .bosion-front-product-grid-v,
body .bosion-market-scroll-row {
  width: 100% !important;
}

@media (min-width: 1025px) {
  body .bosion-prayer-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .bosion-prayer-theme-grid,
  body .bosion-home-product-row,
  body .bosion-home-grid-3.bosion-home-product-row,
  body .bosion-home-grid-5.bosion-home-product-row,
  body .bosion-front-product-grid-h,
  body .bosion-front-product-grid-v,
  body .bosion-market-scroll-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 4px !important;
  }

  body .bosion-prayer-theme-grid::-webkit-scrollbar,
  body .bosion-home-product-row::-webkit-scrollbar,
  body .bosion-front-product-grid-h::-webkit-scrollbar,
  body .bosion-front-product-grid-v::-webkit-scrollbar,
  body .bosion-market-scroll-row::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

/* 3. 공통 세로형 상품카드 */
body .bosion-prayer-card,
body .bosion-home-product-card,
body .bosion-home-market-card,
body .bosion-front-product-card-h,
body .bosion-front-product-card-v,
body .bosion-market-product-card {
  display: block !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 13px rgba(58, 39, 32, 0.04) !important;
  text-decoration: none !important;
  color: #3A2720 !important;
}

@media (min-width: 1025px) {
  body .bosion-prayer-theme-grid .bosion-prayer-card,
  body .bosion-home-product-row .bosion-home-product-card,
  body .bosion-home-product-row .bosion-home-market-card,
  body .bosion-front-product-grid-h .bosion-front-product-card-h,
  body .bosion-front-product-grid-v .bosion-front-product-card-v,
  body .bosion-market-scroll-row .bosion-market-product-card {
    flex: 0 0 calc((100% - 48px) / 5) !important;
    width: calc((100% - 48px) / 5) !important;
    min-width: calc((100% - 48px) / 5) !important;
    max-width: calc((100% - 48px) / 5) !important;
  }
}

/* 4. 공통 이미지 영역 */
body .bosion-prayer-card__img,
body .bosion-home-product-card__link,
body .bosion-home-market-card__link,
body .bosion-front-product-card-h__image,
body .bosion-front-product-card-v__image-wrap {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 2.35 !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
}

body .bosion-home-product-card__img,
body .bosion-home-market-card__img,
body .bosion-front-product-card-h__image img,
body .bosion-front-product-card-v__image,
body .bosion-market-product-card__img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 2.35 !important;
  object-fit: cover !important;
  background: #F6F0E6 !important;
}

/* 장터 카드는 img가 직접 자식이라 별도 처리 */
body .bosion-market-product-card__img {
  height: auto !important;
}

/* 5. 공통 본문 */
body .bosion-prayer-card__body,
body .bosion-home-product-card__body,
body .bosion-home-market-card__body,
body .bosion-front-product-card-h__body,
body .bosion-front-product-card-v__body,
body .bosion-market-product-card__body {
  display: block !important;
  padding: 10px !important;
  min-height: 0 !important;
}

body .bosion-prayer-card h3,
body .bosion-home-product-card__title,
body .bosion-home-market-card__title,
body .bosion-front-product-card-h__title,
body .bosion-front-product-card-v__title,
body .bosion-market-product-card__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 36px !important;
  margin: 0 0 6px !important;
  color: #3A2720 !important;
  font-size: 13.7px !important;
  line-height: 1.32 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body .bosion-prayer-card__temple,
body .bosion-home-product-card__meta,
body .bosion-home-market-card__seller,
body .bosion-front-product-card-h__seller,
body .bosion-front-product-card-v__seller,
body .bosion-market-product-card__seller {
  display: block !important;
  margin: 0 0 5px !important;
  color: #8A6426 !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body .bosion-prayer-card__period,
body .bosion-home-product-card__desc,
body .bosion-home-market-card__desc {
  display: none !important;
}

body .bosion-prayer-card__price,
body .bosion-prayer-card__foot strong,
body .bosion-home-product-card__price,
body .bosion-home-market-card__price,
body .bosion-front-product-card-h__price,
body .bosion-front-product-card-v__price,
body .bosion-market-product-card__price {
  display: block !important;
  margin: 0 0 6px !important;
  color: #3A2720 !important;
  font-size: 11.8px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__foot {
  display: block !important;
  padding-top: 7px !important;
  border-top: 1px solid #F0E3D1 !important;
}

body .bosion-prayer-card__foot a,
body .bosion-front-product-card-v__add {
  width: 100% !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* 6. 섹션 헤더 카운트/화살표: 기도공양은 실제 동작, 다른 섹션은 구조 유지 */
body .bosion-prayer-theme-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

body .bosion-prayer-theme-controls {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  flex: 0 0 auto !important;
}

body .bosion-prayer-theme-count {
  color: #3A2720 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-theme-count em {
  font-style: normal !important;
  color: #6D5A4D !important;
}

body .bosion-prayer-theme-arrow {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: #3A2720 !important;
  font-size: 23px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(58,39,32,0.05) !important;
}

body .bosion-prayer-theme-arrow:disabled {
  opacity: .35 !important;
  cursor: default !important;
}

/* 7. 모바일: 카드 1.5개 노출, 본문 확실히 보이게 */
@media (max-width: 767px) {
  body .bosion-prayer-hero {
    background-size: cover, cover !important;
    background-position: center center, center center !important;
  }

  body .bosion-prayer-grid,
  body .bosion-prayer-theme-grid,
  body .bosion-home-product-row,
  body .bosion-home-grid-3.bosion-home-product-row,
  body .bosion-home-grid-5.bosion-home-product-row,
  body .bosion-front-product-grid-h,
  body .bosion-front-product-grid-v,
  body .bosion-market-scroll-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 6px 5px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-prayer-grid::-webkit-scrollbar,
  body .bosion-prayer-theme-grid::-webkit-scrollbar,
  body .bosion-home-product-row::-webkit-scrollbar,
  body .bosion-front-product-grid-h::-webkit-scrollbar,
  body .bosion-front-product-grid-v::-webkit-scrollbar,
  body .bosion-market-scroll-row::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-prayer-card,
  body .bosion-home-product-row .bosion-home-product-card,
  body .bosion-home-product-row .bosion-home-market-card,
  body .bosion-front-product-grid-h .bosion-front-product-card-h,
  body .bosion-front-product-grid-v .bosion-front-product-card-v,
  body .bosion-market-scroll-row .bosion-market-product-card {
    flex: 0 0 66vw !important;
    width: 66vw !important;
    min-width: 66vw !important;
    max-width: 66vw !important;
    display: block !important;
    border-radius: 13px !important;
    scroll-snap-align: start !important;
  }

  body .bosion-prayer-card__img,
  body .bosion-home-product-card__link,
  body .bosion-home-market-card__link,
  body .bosion-front-product-card-h__image,
  body .bosion-front-product-card-v__image-wrap {
    width: 100% !important;
    aspect-ratio: 4 / 2.05 !important;
  }

  body .bosion-home-product-card__img,
  body .bosion-home-market-card__img,
  body .bosion-front-product-card-h__image img,
  body .bosion-front-product-card-v__image,
  body .bosion-market-product-card__img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 2.05 !important;
    object-fit: cover !important;
  }

  body .bosion-prayer-card__body,
  body .bosion-home-product-card__body,
  body .bosion-home-market-card__body,
  body .bosion-front-product-card-h__body,
  body .bosion-front-product-card-v__body,
  body .bosion-market-product-card__body {
    display: block !important;
    padding: 10px !important;
  }

  body .bosion-prayer-card h3,
  body .bosion-home-product-card__title,
  body .bosion-home-market-card__title,
  body .bosion-front-product-card-h__title,
  body .bosion-front-product-card-v__title,
  body .bosion-market-product-card__title {
    min-height: 36px !important;
    font-size: 13.5px !important;
    line-height: 1.33 !important;
    margin-bottom: 6px !important;
  }

  body .bosion-prayer-theme-head {
    display: block !important;
  }

  body .bosion-prayer-theme-controls {
    display: none !important;
  }
}

/* =========================================================
   [BOSION CSS 132-PATCH] 기도공양 검색/모바일카드/히어로 v8
   - PC 검색필터 폭 균형 조정
   - 모바일 상품카드 본문 노출 보정
   - 모바일 히어로 우측 불상 보이도록 위치 조정
   ========================================================= */

/* 1. PC 검색바: 필드가 과하게 넓지 않도록 고정폭+버튼 강조 */
@media (min-width: 1025px) {
  body .bosion-prayer-search {
    grid-template-columns:
      minmax(220px, 1fr)
      155px
      155px
      155px
      125px
      136px
      76px !important;
    gap: 9px !important;
    align-items: end !important;
  }

  body .bosion-prayer-search input,
  body .bosion-prayer-search select {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 13px !important;
  }

  body .bosion-prayer-search button {
    min-width: 136px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }

  body .bosion-prayer-search__reset {
    min-width: 76px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }
}

/* 2. 태블릿에서는 3열로 안정 배치 */
@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-prayer-search {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .bosion-prayer-search__keyword {
    grid-column: 1 / -1 !important;
  }
}

/* 3. 모바일 히어로: cover 유지, 우측 불상/공양상 보이게 */
@media (max-width: 767px) {
  body .bosion-prayer-hero {
    background-size: cover, cover !important;
    background-position: center center, 72% center !important;
    background-repeat: no-repeat, no-repeat !important;
  }

  body .bosion-prayer-hero h1,
  body .bosion-prayer-hero p,
  body .bosion-prayer-hero span {
    text-shadow: 0 2px 12px rgba(0,0,0,.34) !important;
  }
}

/* 4. 모바일 검색: 2열 compact 유지, 버튼은 적당히 크게 */
@media (max-width: 767px) {
  body .bosion-prayer-search {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .bosion-prayer-search__keyword {
    grid-column: 1 / -1 !important;
  }

  body .bosion-prayer-search input,
  body .bosion-prayer-search select {
    height: 37px !important;
    min-height: 37px !important;
    font-size: 12.5px !important;
    padding: 0 9px !important;
  }

  body .bosion-prayer-search button,
  body .bosion-prayer-search__reset {
    height: 39px !important;
    min-height: 39px !important;
    font-size: 12.5px !important;
  }
}

/* 5. 모바일 상품카드: 이미지에만 먹히지 않도록 높이 제한 + 본문 강제 노출 */
@media (max-width: 767px) {
  body .bosion-prayer-grid,
  body .bosion-prayer-theme-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-prayer-grid::-webkit-scrollbar,
  body .bosion-prayer-theme-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-prayer-card,
  body .bosion-prayer-theme-grid .bosion-prayer-card,
  body .bosion-prayer-grid .bosion-prayer-card {
    flex: 0 0 66vw !important;
    width: 66vw !important;
    min-width: 66vw !important;
    max-width: 66vw !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 13px !important;
    scroll-snap-align: start !important;
    background: #FFFFFF !important;
  }

  body .bosion-prayer-card__img {
    width: 100% !important;
    height: 118px !important;
    min-height: 118px !important;
    max-height: 118px !important;
    aspect-ratio: auto !important;
    display: block !important;
    overflow: hidden !important;
  }

  body .bosion-prayer-card__img img {
    width: 100% !important;
    height: 118px !important;
    min-height: 118px !important;
    max-height: 118px !important;
    object-fit: cover !important;
    display: block !important;
  }

  body .bosion-prayer-card__body {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 118px !important;
    padding: 9px !important;
    overflow: visible !important;
    background: #FFFFFF !important;
  }

  body .bosion-prayer-card__temple {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin: 0 0 4px !important;
    color: #8A6426 !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
  }

  body .bosion-prayer-card__temple span {
    display: inline !important;
    color: #8B7A68 !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
  }

  body .bosion-prayer-card h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 34px !important;
    margin: 0 0 6px !important;
    color: #3A2720 !important;
    font-size: 13.5px !important;
    line-height: 1.28 !important;
    font-weight: 900 !important;
  }

  body .bosion-prayer-card__chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    max-height: 22px !important;
    overflow: hidden !important;
    margin: 0 0 6px !important;
  }

  body .bosion-prayer-card__chips span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 20px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #F8F0E1 !important;
    color: #8A6426 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body .bosion-prayer-card__period {
    display: none !important;
  }

  body .bosion-prayer-card__foot {
    display: block !important;
    width: 100% !important;
    padding-top: 7px !important;
    border-top: 1px solid #F0E3D1 !important;
  }

  body .bosion-prayer-card__foot strong {
    display: block !important;
    margin: 0 0 6px !important;
    color: #3A2720 !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  body .bosion-prayer-card__foot a {
    width: 100% !important;
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9px !important;
    background: #C9A24D !important;
    color: #FFFFFF !important;
    font-size: 11.5px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }
}

/* =========================================================
   [BOSION CSS 133-PATCH] 기도공양 카드 v9
   - 첨부 예시 기준 compact 세로형 카드
   - 키워드 최대 2개 시각 노출
   - 줄간격/여백 축소
   - 모바일 카드 1.7개 노출
   - 섹션 PC 5개씩 실제 페이징 표시 대응
   ========================================================= */

/* 1. 검색/섹션 카드 공통: 예시 이미지처럼 더 촘촘한 세로형 */
body .bosion-prayer-card {
  border-radius: 13px !important;
  border: 1px solid #E6D8BF !important;
  background: #FFFFFF !important;
  overflow: hidden !important;
  box-shadow: 0 3px 10px rgba(58, 39, 32, 0.035) !important;
}

body .bosion-prayer-card__img {
  aspect-ratio: 4 / 2.15 !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
}

body .bosion-prayer-card__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body .bosion-prayer-card__status {
  left: 8px !important;
  top: 8px !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__body {
  padding: 9px 10px 10px !important;
  background: #FFFFFF !important;
}

body .bosion-prayer-card__temple {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 5px !important;
  margin: 0 0 3px !important;
  color: #8A6426 !important;
  font-size: 11.2px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-card__temple span {
  display: inline !important;
  color: #8B7A68 !important;
  font-size: 10.5px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
}

body .bosion-prayer-card h3 {
  min-height: 31px !important;
  margin: 0 0 7px !important;
  color: #3A2720 !important;
  font-size: 13.6px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body .bosion-prayer-card__chips {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  max-height: 21px !important;
  overflow: hidden !important;
  margin: 0 0 7px !important;
}

/* 키워드는 관련 2개까지만 시각 노출 */
body .bosion-prayer-card__chips span {
  display: none !important;
}

body .bosion-prayer-card__chips span:nth-child(1),
body .bosion-prayer-card__chips span:nth-child(2) {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-card__period {
  display: none !important;
}

body .bosion-prayer-card__foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  padding-top: 7px !important;
  border-top: 1px solid #F0E3D1 !important;
}

body .bosion-prayer-card__foot strong {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #3A2720 !important;
  font-size: 11.6px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-card__foot a {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 90px !important;
  min-height: 29px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 11.2px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* 2. PC: 검색결과 5열, 섹션은 5개씩 실제 페이지 표시 */
@media (min-width: 1025px) {
  body .bosion-prayer-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .bosion-prayer-theme-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  body .bosion-prayer-theme-grid .bosion-prayer-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
  }
}

/* 3. 모바일: 1.7개 노출 + 예시형 세로 카드 */
@media (max-width: 767px) {
  body .bosion-prayer-grid,
  body .bosion-prayer-theme-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-prayer-grid::-webkit-scrollbar,
  body .bosion-prayer-theme-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-prayer-card,
  body .bosion-prayer-grid .bosion-prayer-card,
  body .bosion-prayer-theme-grid .bosion-prayer-card {
    flex: 0 0 58vw !important;
    width: 58vw !important;
    min-width: 58vw !important;
    max-width: 58vw !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    scroll-snap-align: start !important;
  }

  body .bosion-prayer-card__img {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
    aspect-ratio: auto !important;
  }

  body .bosion-prayer-card__img img {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
    object-fit: cover !important;
  }

  body .bosion-prayer-card__body {
    padding: 8px 9px 9px !important;
  }

  body .bosion-prayer-card__temple {
    margin-bottom: 3px !important;
    font-size: 10.8px !important;
  }

  body .bosion-prayer-card__temple span {
    font-size: 10px !important;
  }

  body .bosion-prayer-card h3 {
    min-height: 30px !important;
    margin-bottom: 6px !important;
    font-size: 12.8px !important;
    line-height: 1.18 !important;
  }

  body .bosion-prayer-card__chips {
    gap: 4px !important;
    max-height: 20px !important;
    margin-bottom: 6px !important;
  }

  body .bosion-prayer-card__chips span:nth-child(1),
  body .bosion-prayer-card__chips span:nth-child(2) {
    min-height: 19px !important;
    padding: 0 6px !important;
    font-size: 9.7px !important;
  }

  body .bosion-prayer-card__foot {
    display: block !important;
    padding-top: 6px !important;
  }

  body .bosion-prayer-card__foot strong {
    display: block !important;
    margin: 0 0 6px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
  }

  body .bosion-prayer-card__foot a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 29px !important;
    font-size: 11px !important;
  }
}

/* =========================================================
   [BOSION CSS 134-PATCH] 기도공양 카드/섹션 v10
   - 동참금: 키워드 줄 우측 끝 배치
   - 섹션 1페이지당 정확히 5개만 표시
   - 모바일 히어로 이미지 우측 끝 보이게
   ========================================================= */

/* 동참금 + 키워드 한 줄 */
body .bosion-prayer-card__meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 7px !important;
  min-width: 0 !important;
}

body .bosion-prayer-card__meta-row .bosion-prayer-card__chips {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  max-height: 21px !important;
  overflow: hidden !important;
  margin: 0 !important;
}

body .bosion-prayer-card__meta-row .bosion-prayer-card__chips span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-card__price,
body .bosion-prayer-card__meta-row .bosion-prayer-card__price {
  flex: 0 0 auto !important;
  display: block !important;
  margin: 0 !important;
  color: #3A2720 !important;
  font-size: 11.4px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-prayer-card__foot {
  display: block !important;
  width: 100% !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body .bosion-prayer-card__foot strong {
  display: none !important;
}

body .bosion-prayer-card__foot a {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* 섹션 페이지 전환: 숨김 클래스가 기존 display:block!important보다 우선 */
body .bosion-prayer-theme-grid .bosion-prayer-card.is-hidden-page,
body .bosion-prayer-card.is-hidden-page {
  display: none !important;
}

/* PC 섹션: 1행 5개 고정 */
@media (min-width: 1025px) {
  body .bosion-prayer-theme-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 12px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  body .bosion-prayer-theme-grid .bosion-prayer-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
  }

  body .bosion-prayer-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* 모바일: 우측 끝 히어로 + 1.7개 카드 */
@media (max-width: 767px) {
  body .bosion-prayer-hero {
    background-size: cover, cover !important;
    background-position: center center, right center !important;
    background-repeat: no-repeat, no-repeat !important;
  }

  body .bosion-prayer-grid,
  body .bosion-prayer-theme-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-prayer-grid::-webkit-scrollbar,
  body .bosion-prayer-theme-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-prayer-card,
  body .bosion-prayer-grid .bosion-prayer-card,
  body .bosion-prayer-theme-grid .bosion-prayer-card {
    flex: 0 0 58vw !important;
    width: 58vw !important;
    min-width: 58vw !important;
    max-width: 58vw !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    scroll-snap-align: start !important;
  }

  body .bosion-prayer-card__body {
    padding: 8px 9px 9px !important;
  }

  body .bosion-prayer-card__meta-row {
    gap: 5px !important;
    margin-bottom: 6px !important;
  }

  body .bosion-prayer-card__meta-row .bosion-prayer-card__chips {
    gap: 4px !important;
  }

  body .bosion-prayer-card__meta-row .bosion-prayer-card__chips span {
    min-height: 19px !important;
    padding: 0 6px !important;
    font-size: 9.5px !important;
  }

  body .bosion-prayer-card__price,
  body .bosion-prayer-card__meta-row .bosion-prayer-card__price {
    font-size: 10.2px !important;
    letter-spacing: -0.04em !important;
  }

  body .bosion-prayer-card__foot a {
    min-height: 29px !important;
    font-size: 11px !important;
  }
}

/* =========================================================
   [BOSION CSS 135-PATCH] 기도공양 UX v11
   - 모바일 상세조건 접기/펼치기
   - 검색조건 칩
   - 정렬 옵션
   - 상품 5개 미만 섹션 빈 여백 완화
   - 섹션/검색 제목 흐름 정리
   ========================================================= */

/* 검색 폼: 상단 검색어+버튼, 하단 조건 */
body .bosion-prayer-search {
  display: block !important;
}

body .bosion-prayer-search__top {
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) 150px !important;
  gap: 9px !important;
  align-items: end !important;
}

body .bosion-prayer-search__advanced {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) 86px !important;
  gap: 9px !important;
  align-items: end !important;
  margin-top: 9px !important;
}

body .bosion-prayer-search__toggle {
  display: none !important;
}

body .bosion-prayer-search__submit,
body .bosion-prayer-search button.bosion-prayer-search__submit {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

body .bosion-prayer-search__reset {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
}

/* 검색 조건 칩 */
body .bosion-prayer-active-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
  margin: -4px 0 18px !important;
  padding: 0 2px !important;
}

body .bosion-prayer-active-filters__label {
  color: #6D5A4D !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body .bosion-prayer-active-chip,
body .bosion-prayer-active-reset {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  border: 1px solid #E6D8BF !important;
  background: #FFFDF8 !important;
  color: #3A2720 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body .bosion-prayer-active-chip b {
  margin-left: 5px !important;
  color: #8A6426 !important;
}

body .bosion-prayer-active-reset {
  background: #F5EAD8 !important;
  color: #6D4B2E !important;
}

/* 결과 헤더 + 정렬 */
body .bosion-prayer-result-head {
  align-items: center !important;
}

body .bosion-prayer-sort {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex: 0 0 auto !important;
}

body .bosion-prayer-sort label {
  color: #6D5A4D !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body .bosion-prayer-sort select {
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 28px 0 10px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 9px !important;
  background: #FFFDF8 !important;
  color: #3A2720 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

/* 상품 수가 적은 섹션은 빈 공간이 커 보이지 않도록 */
body .bosion-prayer-theme-section {
  padding-bottom: 14px !important;
}

/* 모바일 */
@media (max-width: 767px) {
  body .bosion-prayer-search__top {
    grid-template-columns: 1fr 104px !important;
    gap: 8px !important;
  }

  body .bosion-prayer-search__keyword label {
    display: none !important;
  }

  body .bosion-prayer-search__toggle {
    display: inline-flex !important;
    grid-column: 1 / -1 !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    min-height: 36px !important;
    border: 1px solid #E6D8BF !important;
    border-radius: 9px !important;
    background: #FFFDF8 !important;
    color: #6D4B2E !important;
    font-size: 12.5px !important;
    font-weight: 900 !important;
  }

  body .bosion-prayer-search__advanced {
    display: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  body .bosion-prayer-search.is-open .bosion-prayer-search__advanced {
    display: grid !important;
  }

  body .bosion-prayer-search__advanced .bosion-prayer-search__reset {
    grid-column: 1 / -1 !important;
  }

  body .bosion-prayer-result-head {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  body .bosion-prayer-result-head h2 {
    font-size: 18px !important;
  }

  body .bosion-prayer-result-head p {
    font-size: 12px !important;
  }

  body .bosion-prayer-sort {
    display: block !important;
  }

  body .bosion-prayer-sort label {
    display: none !important;
  }

  body .bosion-prayer-sort select {
    width: 104px !important;
    height: 32px !important;
    min-height: 32px !important;
    font-size: 11.5px !important;
  }

  body .bosion-prayer-active-filters {
    margin: -2px 0 14px !important;
    gap: 6px !important;
  }

  body .bosion-prayer-active-filters__label {
    width: 100% !important;
    font-size: 11.5px !important;
  }

  body .bosion-prayer-active-chip,
  body .bosion-prayer-active-reset {
    min-height: 26px !important;
    padding: 0 9px !important;
    font-size: 11.5px !important;
  }
}

/* =========================================================
   [BOSION CSS 136-PATCH] 기도공양 검색필터 v12
   - PC: 검색필터를 이전처럼 1줄 배치
   - 모바일: 상세조건 열기 유지
   - 모바일: 검색어 입력란 + 찾기 버튼 1줄 배치
   ========================================================= */

/* PC: nested wrapper를 풀어서 전체 검색필드를 한 줄로 배치 */
@media (min-width: 1025px) {
  body .bosion-prayer-search {
    display: grid !important;
    grid-template-columns:
      minmax(210px, 1.2fr)
      135px
      135px
      150px
      110px
      132px
      72px !important;
    gap: 8px !important;
    align-items: end !important;
  }

  body .bosion-prayer-search__top,
  body .bosion-prayer-search__advanced {
    display: contents !important;
  }

  body .bosion-prayer-search__toggle {
    display: none !important;
  }

  body .bosion-prayer-search__keyword {
    grid-column: auto !important;
    min-width: 0 !important;
  }

  body .bosion-prayer-search__advanced > input[type="hidden"] {
    display: none !important;
  }

  body .bosion-prayer-search label {
    display: block !important;
    margin: 0 0 5px !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  body .bosion-prayer-search input,
  body .bosion-prayer-search select {
    height: 40px !important;
    min-height: 40px !important;
    width: 100% !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }

  body .bosion-prayer-search__submit,
  body .bosion-prayer-search button.bosion-prayer-search__submit {
    width: 100% !important;
    min-width: 132px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
  }

  body .bosion-prayer-search__reset {
    width: 100% !important;
    min-width: 72px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
  }
}

/* 태블릿: 너무 길면 2줄이 자연스럽게 보이도록 */
@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-prayer-search {
    display: block !important;
  }

  body .bosion-prayer-search__top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 140px !important;
    gap: 8px !important;
    align-items: end !important;
  }

  body .bosion-prayer-search__toggle {
    display: none !important;
  }

  body .bosion-prayer-search__advanced {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 78px !important;
    gap: 8px !important;
    align-items: end !important;
    margin-top: 8px !important;
  }
}

/* 모바일: 상세조건 열기 유지, 검색어 + 찾기 버튼은 한 줄 */
@media (max-width: 767px) {
  body .bosion-prayer-search {
    display: block !important;
  }

  body .bosion-prayer-search__top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 96px !important;
    gap: 7px !important;
    align-items: end !important;
  }

  body .bosion-prayer-search__keyword {
    min-width: 0 !important;
  }

  body .bosion-prayer-search__keyword label {
    display: none !important;
  }

  body .bosion-prayer-search__keyword input {
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 12.5px !important;
    border-radius: 9px !important;
  }

  body .bosion-prayer-search__submit,
  body .bosion-prayer-search button.bosion-prayer-search__submit {
    width: 96px !important;
    min-width: 96px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  body .bosion-prayer-search__toggle {
    display: inline-flex !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    margin-top: 7px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #E6D8BF !important;
    border-radius: 9px !important;
    background: #FFFDF8 !important;
    color: #6D4B2E !important;
    font-size: 12.5px !important;
    font-weight: 900 !important;
  }

  body .bosion-prayer-search__advanced {
    display: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  body .bosion-prayer-search.is-open .bosion-prayer-search__advanced {
    display: grid !important;
  }

  body .bosion-prayer-search__advanced select,
  body .bosion-prayer-search__advanced input {
    height: 37px !important;
    min-height: 37px !important;
    font-size: 12.3px !important;
    border-radius: 9px !important;
  }

  body .bosion-prayer-search__advanced .bosion-prayer-search__reset {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
  }
}

/* =========================================================
   [BOSION CSS 137-PATCH] 기도공양 검색정리 v13
   - 검색어 제거 / 접수상태 제거
   - PC: 목적·지역·사찰·찾기·초기화 1줄
   - 모바일: 목적/지역 2열, 사찰 1열, 버튼 2열
   ========================================================= */

body .bosion-prayer-search--simple {
  display: grid !important;
  grid-template-columns: 180px 180px minmax(180px, 1fr) 142px 86px !important;
  gap: 9px !important;
  align-items: end !important;
}

body .bosion-prayer-search--simple .bosion-prayer-search__field {
  min-width: 0 !important;
}

body .bosion-prayer-search--simple label {
  display: block !important;
  margin: 0 0 5px !important;
  color: #6D5A4D !important;
  font-size: 11.5px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-search--simple select {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 10px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 10px !important;
  background: #FFFDF8 !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body .bosion-prayer-search--simple .bosion-prayer-search__submit {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

body .bosion-prayer-search--simple .bosion-prayer-search__reset {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  background: #F5EAD8 !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* 이전 상세조건 토글 구조 숨김 */
body .bosion-prayer-search--simple .bosion-prayer-search__toggle,
body .bosion-prayer-search--simple .bosion-prayer-search__top,
body .bosion-prayer-search--simple .bosion-prayer-search__advanced {
  display: none !important;
}

/* 현재 조건 칩은 목적/지역/사찰만 자연스럽게 */
body .bosion-prayer-active-filters {
  margin-top: -2px !important;
}

/* 모바일 */
@media (max-width: 767px) {
  body .bosion-prayer-search--simple {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__purpose {
    grid-column: 1 / 2 !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__region {
    grid-column: 2 / 3 !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__temple {
    grid-column: 1 / -1 !important;
  }

  body .bosion-prayer-search--simple label {
    margin-bottom: 4px !important;
    font-size: 11px !important;
  }

  body .bosion-prayer-search--simple select {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__submit,
  body .bosion-prayer-search--simple .bosion-prayer-search__reset {
    height: 39px !important;
    min-height: 39px !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
  }
}

/* 작은 태블릿 */
@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-prayer-search--simple {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 130px 80px !important;
  }
}

/* =========================================================
   [BOSION CSS 138-PATCH] 기도공양 세부지역 v14
   - 검색필터 세부지역 추가
   - PC: 목적/지역/세부지역/사찰/찾기/초기화 1줄
   - 모바일: 버튼 2개를 화면에 맞게 1줄 최적화
   ========================================================= */

body .bosion-prayer-search--simple {
  display: grid !important;
  grid-template-columns: 145px 145px 145px minmax(190px, 1fr) 132px 76px !important;
  gap: 8px !important;
  align-items: end !important;
}

body .bosion-prayer-search--simple .bosion-prayer-search__field {
  min-width: 0 !important;
}

body .bosion-prayer-search--simple label {
  display: block !important;
  margin: 0 0 5px !important;
  color: #6D5A4D !important;
  font-size: 11.5px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

body .bosion-prayer-search--simple select {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 9px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 10px !important;
  background: #FFFDF8 !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body .bosion-prayer-search--simple .bosion-prayer-search__submit {
  width: 100% !important;
  min-width: 132px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

body .bosion-prayer-search--simple .bosion-prayer-search__reset {
  width: 100% !important;
  min-width: 76px !important;
  height: 40px !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px !important;
  border-radius: 10px !important;
  background: #F5EAD8 !important;
  color: #3A2720 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* 모바일 최적화 */
@media (max-width: 767px) {
  body .bosion-prayer-search--simple {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__purpose {
    grid-column: 1 / 2 !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__region {
    grid-column: 2 / 3 !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__sub {
    grid-column: 1 / 2 !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__temple {
    grid-column: 2 / 3 !important;
  }

  body .bosion-prayer-search--simple label {
    margin-bottom: 4px !important;
    font-size: 11px !important;
  }

  body .bosion-prayer-search--simple select {
    height: 37px !important;
    min-height: 37px !important;
    padding: 0 8px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__submit,
  body .bosion-prayer-search--simple .bosion-prayer-search__reset {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 9px !important;
    font-size: 12.2px !important;
  }
}

/* 작은 태블릿 */
@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-prayer-search--simple {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 126px 76px !important;
  }
}

/* =========================================================
   [BOSION CSS 139-PATCH] 기도공양 검색컨테이너 v15
   - PC 검색필터 폭 재조정
   - 결과 영역을 검색 컨테이너 안에서 자연스럽게 표시
   - 목적별 안내 타이틀 삭제 후 섹션 간격 보정
   - 모바일 찾기/초기화 버튼 동일 너비
   ========================================================= */

/* 1. PC 검색필터: 사찰 선택란 과도한 확장 방지 */
@media (min-width: 1025px) {
  body .bosion-prayer-search--simple {
    display: grid !important;
    grid-template-columns: 145px 145px 145px 220px 136px 80px !important;
    gap: 8px !important;
    align-items: end !important;
    justify-content: start !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__temple {
    width: 220px !important;
    max-width: 220px !important;
  }

  body .bosion-prayer-search--simple select {
    height: 40px !important;
    min-height: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 12.8px !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__submit {
    width: 136px !important;
    min-width: 136px !important;
    max-width: 136px !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__reset {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
  }
}

/* 2. 조건 결과를 검색 컨테이너 안쪽 하위 영역으로 정리 */
body .bosion-prayer-search-results {
  margin-top: 22px !important;
  padding-top: 18px !important;
  border-top: 1px solid #EFE2CF !important;
}

body .bosion-prayer-filter-section .bosion-prayer-result-head {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body .bosion-prayer-filter-section .bosion-prayer-result-head h2 {
  margin: 0 !important;
}

body .bosion-prayer-filter-section .bosion-prayer-result-head p {
  margin: 4px 0 0 !important;
}

body .bosion-prayer-filter-section .bosion-prayer-active-filters {
  margin: 0 0 14px !important;
}

body .bosion-prayer-filter-section .bosion-prayer-grid--search {
  margin-top: 0 !important;
}

/* 3. 목적별 섹션은 타이틀이 사라진 만큼 위 간격만 살짝 */
body .bosion-prayer-themes {
  margin-top: 18px !important;
}

body .bosion-prayer-themes > .bosion-prayer-section-titlebox {
  display: none !important;
}

/* 4. 모바일 버튼 너비 동일화 */
@media (max-width: 767px) {
  body .bosion-prayer-search--simple {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__purpose {
    grid-column: 1 / 2 !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__region {
    grid-column: 2 / 3 !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__sub {
    grid-column: 1 / 2 !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__temple {
    grid-column: 2 / 3 !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__submit {
    grid-column: 1 / 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  body .bosion-prayer-search--simple .bosion-prayer-search__reset {
    grid-column: 2 / 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  body .bosion-prayer-search-results {
    margin-top: 16px !important;
    padding-top: 15px !important;
  }

  body .bosion-prayer-filter-section .bosion-prayer-result-head {
    margin-bottom: 9px !important;
  }

  body .bosion-prayer-themes {
    margin-top: 14px !important;
  }
}

/* 5. 태블릿은 전체 폭 안에서 무리 없이 */
@media (min-width: 768px) and (max-width: 1024px) {
  body .bosion-prayer-search--simple {
    grid-template-columns: 1fr 1fr 1fr 1.2fr 126px 78px !important;
    gap: 8px !important;
  }
}

/* =========================================================
   [BOSION CSS 140-STABLE] 공통 상품카드 구조 stable-v01
   적용 방식:
   - 기존 가로형 카드 CSS를 억지로 덮지 않음
   - PHP에서 새 공통 클래스(bosion-u-product-*)로 출력되는 카드만 대상으로 함
   - 랜딩 / 사찰홈 / 장터 상품카드 안정화
   ========================================================= */

/* 공통 상품 그리드 */
body .bosion-u-product-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* 상품 수가 5개 미만이어도 카드가 과하게 커지지 않도록 */
body .bosion-u-product-grid .bosion-u-product-card {
  min-width: 0 !important;
}

/* 공통 카드 */
body .bosion-u-product-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(58, 39, 32, 0.035) !important;
  color: #3A2720 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body .bosion-u-product-card__link {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  color: inherit !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

/* 이미지 영역 */
body .bosion-u-product-card__image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
  box-sizing: border-box !important;
}

body .bosion-u-product-card__image img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* 본문 */
body .bosion-u-product-card__body {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 9px 10px 10px !important;
  background: #FFFFFF !important;
  box-sizing: border-box !important;
}

body .bosion-u-product-card__seller {
  display: block !important;
  margin: 0 0 5px !important;
  color: #8A6426 !important;
  font-size: 11.2px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body .bosion-u-product-card__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 32px !important;
  margin: 0 0 7px !important;
  color: #3A2720 !important;
  font-size: 13.8px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body .bosion-u-product-card__price {
  display: block !important;
  margin: 0 !important;
  padding-top: 7px !important;
  border-top: 1px solid #F0E3D1 !important;
  color: #3A2720 !important;
  font-size: 11.7px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

/* 모바일: 한 줄에 1.7개 정도 보이게 */
@media (max-width: 767px) {
  body .bosion-u-product-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-u-product-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-u-product-grid .bosion-u-product-card {
    flex: 0 0 58vw !important;
    width: 58vw !important;
    min-width: 58vw !important;
    max-width: 58vw !important;
    scroll-snap-align: start !important;
  }

  body .bosion-u-product-card__image,
  body .bosion-u-product-card__image img {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }

  body .bosion-u-product-card__body {
    padding: 8px 9px 9px !important;
  }

  body .bosion-u-product-card__seller {
    font-size: 10.8px !important;
    margin-bottom: 5px !important;
  }

  body .bosion-u-product-card__title {
    min-height: 31px !important;
    font-size: 13.2px !important;
    line-height: 1.17 !important;
  }

  body .bosion-u-product-card__price {
    font-size: 11.2px !important;
  }
}

/* 아주 좁은 모바일 */
@media (max-width: 380px) {
  body .bosion-u-product-grid .bosion-u-product-card {
    flex-basis: 60vw !important;
    width: 60vw !important;
    min-width: 60vw !important;
    max-width: 60vw !important;
  }
}

/* =========================================================
   [BOSION CSS 141-STABLE] 기도·공양 검색 버튼 동일폭 보정
   - 기존 v10 PHP 구조 기준
   ========================================================= */
@media (max-width: 767px) {
  body .bosion-prayer-page #bosion-prayer-search form.bosion-prayer-search--simple {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body .bosion-prayer-page #bosion-prayer-search form.bosion-prayer-search--simple > button.bosion-prayer-search__submit,
  body .bosion-prayer-page #bosion-prayer-search form.bosion-prayer-search--simple > a.bosion-prayer-search__reset {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    margin: 0 !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  body .bosion-prayer-page #bosion-prayer-search form.bosion-prayer-search--simple > button.bosion-prayer-search__submit {
    grid-column: 1 / 2 !important;
  }

  body .bosion-prayer-page #bosion-prayer-search form.bosion-prayer-search--simple > a.bosion-prayer-search__reset {
    grid-column: 2 / 3 !important;
  }
}

/* =========================================================
   [BOSION CSS 142-STABLE] 랜딩 상품카드 페이지형 v19
   - 보시온 랜딩 상품카드를 기도·공양 카드 기준으로 정리
   - PC: 1페이지 5개 / 우측 상단 페이지수+좌우 버튼
   - 모바일: 가로 스크롤, 카드 1.7개 노출
   ========================================================= */

/* 캐러셀 컨테이너 */
body .bosion-home .bosion-u-product-carousel {
  display: block !important;
  width: 100% !important;
  margin-top: 10px !important;
}

body .bosion-home .bosion-u-product-carousel__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 32px !important;
  margin: -4px 0 8px !important;
}

body .bosion-home .bosion-u-product-carousel__controls {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: auto !important;
}

body .bosion-home .bosion-u-product-carousel__count {
  display: inline-flex !important;
  align-items: center !important;
  color: #3A2720 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-home .bosion-u-product-carousel__count b,
body .bosion-home .bosion-u-product-carousel__count em {
  font-style: normal !important;
  font-weight: 900 !important;
}

body .bosion-home .bosion-u-product-carousel__arrow {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: #8A6426 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

body .bosion-home .bosion-u-product-carousel__arrow:disabled {
  opacity: 0.35 !important;
  cursor: default !important;
}

body .bosion-home .bosion-u-product-carousel__viewport {
  width: 100% !important;
  overflow: visible !important;
}

/* 페이지 숨김 */
body .bosion-home .bosion-u-product-card.is-hidden-page {
  display: none !important;
}

/* 랜딩 상품 그리드: 기도·공양 페이지와 같은 5개 1열 */
@media (min-width: 1025px) {
  body .bosion-home .bosion-u-product-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
    overflow: visible !important;
    padding: 0 !important;
  }
}

/* 랜딩 상품카드: 기도·공양 카드 규격 */
body .bosion-home .bosion-u-product-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(58, 39, 32, 0.035) !important;
  color: #3A2720 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body .bosion-home .bosion-u-product-card__link {
  display: block !important;
  width: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}

body .bosion-home .bosion-u-product-card__image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
}

body .bosion-home .bosion-u-product-card__image img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  object-fit: cover !important;
  object-position: center center !important;
}

body .bosion-home .bosion-u-product-card__badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 21px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: rgba(78,107,92,0.94) !important;
  color: #FFFFFF !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-home .bosion-u-product-card__body {
  display: block !important;
  padding: 9px 10px 10px !important;
  background: #FFFFFF !important;
}

body .bosion-home .bosion-u-product-card__seller {
  display: block !important;
  margin: 0 0 4px !important;
  color: #8A6426 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body .bosion-home .bosion-u-product-card__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 32px !important;
  margin: 0 0 7px !important;
  color: #3A2720 !important;
  font-size: 13.6px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body .bosion-home .bosion-u-product-card__meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin: 0 0 7px !important;
}

body .bosion-home .bosion-u-product-card__chips {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 5px !important;
  overflow: hidden !important;
}

body .bosion-home .bosion-u-product-card__chips span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-home .bosion-u-product-card__price {
  flex: 0 0 auto !important;
  display: block !important;
  color: #3A2720 !important;
  font-size: 11.4px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-home .bosion-u-product-card__button {
  width: 100% !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
}

/* 모바일 */
@media (max-width: 767px) {
  body .bosion-home .bosion-u-product-carousel__head {
    margin: -2px 0 8px !important;
  }

  body .bosion-home .bosion-u-product-carousel__arrow {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }

  body .bosion-home .bosion-u-product-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-home .bosion-u-product-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-home .bosion-u-product-card {
    flex: 0 0 58vw !important;
    width: 58vw !important;
    min-width: 58vw !important;
    max-width: 58vw !important;
    scroll-snap-align: start !important;
  }

  body .bosion-home .bosion-u-product-card__image,
  body .bosion-home .bosion-u-product-card__image img {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }

  body .bosion-home .bosion-u-product-card__body {
    padding: 8px 9px 9px !important;
  }

  body .bosion-home .bosion-u-product-card__seller {
    font-size: 10.6px !important;
  }

  body .bosion-home .bosion-u-product-card__title {
    min-height: 31px !important;
    font-size: 13.1px !important;
    line-height: 1.17 !important;
  }

  body .bosion-home .bosion-u-product-card__chips span {
    min-height: 19px !important;
    padding: 0 6px !important;
    font-size: 9.5px !important;
  }

  body .bosion-home .bosion-u-product-card__price {
    font-size: 10.2px !important;
    letter-spacing: -0.04em !important;
  }

  body .bosion-home .bosion-u-product-card__button {
    min-height: 29px !important;
    font-size: 11px !important;
  }
}

/* =========================================================
   [BOSION CSS 143-STABLE] 랜딩 해우소/상품정렬 v20
   - 보시온 소식 2열: 마음 해우소 + 소식
   - 상품 섹션 컨트롤을 제목 행에 배치
   - 상품카드 가격/버튼 하단 정렬
   - 모바일 사찰찾기 UI를 기도·공양 검색 UI 기준으로 정리
   ========================================================= */

/* 1. 보시온 소식: 좌측 해우소 / 우측 소식 */
body .bosion-home-community-layout {
  display: grid !important;
  grid-template-columns: 0.72fr 1.28fr !important;
  gap: 16px !important;
  align-items: stretch !important;
}

body .bosion-home-community-side {
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
}

body .bosion-home-mind-card,
body .bosion-home-recommend-box {
  border: 1px solid #E6D8BF !important;
  border-radius: 14px !important;
  background: #FFFDF8 !important;
  padding: 18px !important;
  box-shadow: 0 3px 10px rgba(58,39,32,0.035) !important;
}

body .bosion-home-mini-kicker {
  display: block !important;
  margin-bottom: 6px !important;
  color: #8A6426 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

body .bosion-home-mind-card h2 {
  margin: 0 0 8px !important;
  color: #3A2720 !important;
  font-size: 23px !important;
  line-height: 1.22 !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em !important;
}

body .bosion-home-mind-card p {
  margin: 0 0 14px !important;
  color: #6A5A4B !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
}

body .bosion-home-mind-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

body .bosion-home-mind-actions .bosion-home-btn {
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
}

body .bosion-home-recommend-box h3 {
  margin: 0 0 10px !important;
  color: #3A2720 !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body .bosion-home-recommend-box a {
  display: block !important;
  padding: 11px 0 !important;
  border-top: 1px solid #EFE2CF !important;
  color: inherit !important;
  text-decoration: none !important;
}

body .bosion-home-recommend-box a:first-of-type {
  border-top: 0 !important;
  padding-top: 0 !important;
}

body .bosion-home-recommend-box strong {
  display: block !important;
  margin-bottom: 3px !important;
  color: #3A2720 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body .bosion-home-recommend-box span {
  display: block !important;
  color: #76685A !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}

body .bosion-home-news-main {
  min-width: 0 !important;
}

body .bosion-home-news-main .bosion-home-section-head {
  margin-bottom: 12px !important;
}

/* 2. 상품 섹션: 제목 행에 전체보기/페이지/화살표 */
body .bosion-home-section-head--product {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body .bosion-u-product-section-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  margin-top: 2px !important;
}

body .bosion-u-product-view-all {
  min-height: 30px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 999px !important;
  background: #FFFDF8 !important;
  color: #8A6426 !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body .bosion-home .bosion-u-product-carousel {
  margin-top: 0 !important;
}

body .bosion-home .bosion-u-product-carousel__head {
  display: none !important;
}

body .bosion-home .bosion-u-product-carousel__controls {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

body .bosion-home .bosion-u-product-carousel__count {
  min-width: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #3A2720 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-home .bosion-u-product-carousel__arrow {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
}

/* 3. 상품카드 가격/버튼 높이 정렬 */
body .bosion-home .bosion-u-product-card__link {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

body .bosion-home .bosion-u-product-card__body {
  flex: 1 1 auto !important;
  min-height: 132px !important;
  display: flex !important;
  flex-direction: column !important;
}

body .bosion-home .bosion-u-product-card__title {
  min-height: 32px !important;
  margin-bottom: 7px !important;
}

body .bosion-home .bosion-u-product-card__meta-row {
  margin-top: auto !important;
  min-height: 22px !important;
  align-items: center !important;
}

body .bosion-home .bosion-u-product-card__price {
  min-width: 52px !important;
  text-align: right !important;
}

body .bosion-home .bosion-u-product-card__button {
  margin-top: 8px !important;
  flex: 0 0 auto !important;
}

/* 4. 모바일 사찰찾기: 기도·공양 검색 UI 기준 */
@media (max-width: 767px) {
  body .bosion-home-search {
    margin-top: 10px !important;
  }

  body .bosion-home-search__inner {
    padding: 12px !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    border: 1px solid #E6D8BF !important;
    box-shadow: 0 3px 10px rgba(58,39,32,0.035) !important;
  }

  body .bosion-home-search__icon {
    display: none !important;
  }

  body .bosion-home-search__titlebox {
    margin: 0 0 10px !important;
  }

  body .bosion-home-search__titlebox::before {
    content: "사찰 목적과 지역으로 찾기" !important;
    display: block !important;
    margin-bottom: 4px !important;
    color: #8A6426 !important;
    font-size: 11.3px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  body .bosion-home-search__title {
    margin: 0 !important;
    color: #3A2720 !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    letter-spacing: -0.055em !important;
  }

  body .bosion-home-search__desc {
    display: none !important;
  }

  body .bosion-home-search__form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body .bosion-home-search__form select {
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    border: 1px solid #E6D8BF !important;
    border-radius: 9px !important;
    background: #FFFDF8 !important;
    color: #3A2720 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    box-sizing: border-box !important;
  }

  body .bosion-home-search__form select[name="activity"] {
    grid-column: 1 / 2 !important;
  }

  body .bosion-home-search__form select[name="region"] {
    grid-column: 2 / 3 !important;
  }

  body .bosion-home-search__form select[name="sub_region"] {
    grid-column: 1 / 2 !important;
  }

  body .bosion-home-search__form select[name="partner_url"] {
    grid-column: 2 / 3 !important;
  }

  body .bosion-home-search__form .bosion-home-btn,
  body .bosion-home-search__form button[type="submit"] {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    font-weight: 900 !important;
  }

  body .bosion-home-community-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body .bosion-home-mind-card,
  body .bosion-home-recommend-box {
    padding: 14px !important;
    border-radius: 13px !important;
  }

  body .bosion-home-mind-card h2 {
    font-size: 19px !important;
  }

  body .bosion-home-mind-card p {
    font-size: 12.8px !important;
    margin-bottom: 12px !important;
  }

  body .bosion-home-section-head--product {
    align-items: flex-start !important;
    margin-bottom: 10px !important;
  }

  body .bosion-u-product-section-actions {
    gap: 6px !important;
  }

  body .bosion-u-product-view-all {
    min-height: 28px !important;
    padding: 0 9px !important;
    font-size: 10.8px !important;
  }

  body .bosion-home .bosion-u-product-carousel__count {
    min-width: 26px !important;
    font-size: 11px !important;
  }

  body .bosion-home .bosion-u-product-carousel__arrow {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }

  body .bosion-home .bosion-u-product-card__body {
    min-height: 128px !important;
  }
}

/* =========================================================
   [BOSION CSS 144-STABLE] 랜딩 소식좌측/검색폭 v21
   - 보시온 소식 컨테이너 좌측 배치
   - 마음 해우소 컨테이너 별도 분리
   - 모바일 사찰찾기 컨테이너 좌우 여백 최적화
   ========================================================= */

/* 1. 보시온 소식 + 마음 해우소: 별도 컨테이너 2열 */
body .bosion-home-news-haewuso-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body .bosion-home-news-haewuso-row > .bosion-home-section {
  margin: 0 !important;
  min-width: 0 !important;
}

body .bosion-home-news-section {
  order: 1 !important;
}

body .bosion-home-haewuso-section {
  order: 2 !important;
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
}

body .bosion-home-haewuso-section .bosion-home-mind-card,
body .bosion-home-haewuso-section .bosion-home-recommend-box {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .bosion-home-haewuso-section .bosion-home-mind-card {
  border-bottom: 1px solid #EFE2CF !important;
  padding-bottom: 14px !important;
}

body .bosion-home-haewuso-section .bosion-home-recommend-box {
  padding-top: 2px !important;
}

body .bosion-home-news-section .bosion-home-board-box {
  margin-top: 0 !important;
}

/* 이전 v20의 내부 2열 레이아웃 영향 제거 */
body .bosion-home-community-layout {
  display: contents !important;
}

/* 2. 모바일: 보시온 소식 먼저, 마음 해우소 다음 */
@media (max-width: 767px) {
  body .bosion-home-news-haewuso-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 0 14px !important;
  }

  body .bosion-home-news-section {
    order: 1 !important;
  }

  body .bosion-home-haewuso-section {
    order: 2 !important;
  }

  body .bosion-home-haewuso-section .bosion-home-mind-card {
    padding-bottom: 12px !important;
  }
}

/* 3. 모바일 사찰찾기 컨테이너 좌우 여백 최적화 */
@media (max-width: 767px) {
  body .bosion-home #bosion-temple-search.bosion-home-search {
    width: calc(100% + 20px) !important;
    max-width: calc(100% + 20px) !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
    margin-top: 10px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__form select,
  body .bosion-home #bosion-temple-search .bosion-home-search__form button {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   [BOSION CSS 145-STABLE] 랜딩 소식/해우소 높이 v22
   - 마음 해우소 우측 컨테이너가 보시온 소식 높이만큼 늘어나는 현상 보정
   - 보시온 소식 좌측 / 마음 해우소 우측 독립 컨테이너 유지
   - 모바일 사찰찾기 폭 보정 재강화
   ========================================================= */

/* 우측 마음 해우소 컨테이너 높이 늘어남 방지 */
body .bosion-home-news-haewuso-row {
  align-items: start !important;
}

body .bosion-home-news-haewuso-row > .bosion-home-section,
body .bosion-home-haewuso-section {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
}

body .bosion-home-haewuso-section {
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
}

/* 해우소 안쪽 박스는 각각 독립된 카드처럼 보이게 */
body .bosion-home-haewuso-section .bosion-home-mind-card,
body .bosion-home-haewuso-section .bosion-home-recommend-box {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 14px !important;
  background: #FFFDF8 !important;
  box-shadow: 0 3px 10px rgba(58,39,32,0.035) !important;
  box-sizing: border-box !important;
}

body .bosion-home-haewuso-section .bosion-home-mind-card {
  border-bottom: 1px solid #E6D8BF !important;
}

/* 보시온 소식 컨테이너는 좌측에서 안정적으로 */
body .bosion-home-news-section {
  align-self: start !important;
}

/* 모바일 사찰찾기 컨테이너 폭 재보정 */
@media (max-width: 767px) {
  body .bosion-home #bosion-temple-search.bosion-home-search {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: calc(50% - 50vw + 10px) !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }

  body .bosion-home-haewuso-section .bosion-home-mind-card,
  body .bosion-home-haewuso-section .bosion-home-recommend-box {
    padding: 14px !important;
    border-radius: 13px !important;
  }
}

/* =========================================================
   [BOSION CSS 146-STABLE] 랜딩 간격/모바일검색 v23
   - 보시온 소식 라인과 위 컨테이너 간격 정렬
   - 모바일 사찰찾기 제목/설명 순서 정상화
   - 모바일 필터/버튼 너비 균일화
   ========================================================= */

/* 1. 추천 사찰 아래 → 보시온 소식/해우소 라인 간격 정렬 */
body .bosion-home #bosion-home-temples {
  margin-bottom: 18px !important;
}

body .bosion-home-news-haewuso-row {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  padding-top: 0 !important;
  align-items: start !important;
}

body .bosion-home-news-haewuso-row > .bosion-home-section {
  margin-top: 0 !important;
}

/* 보시온 소식과 해우소의 상단 라인을 정확히 맞춤 */
body .bosion-home-news-section,
body .bosion-home-haewuso-section {
  align-self: start !important;
  margin-top: 0 !important;
}

body .bosion-home-news-section .bosion-home-section-head,
body .bosion-home-haewuso-section .bosion-home-mind-card {
  margin-top: 0 !important;
}

/* 2. 모바일 사찰찾기: 제목 → 설명 → 필터 순서 정상화 */
@media (max-width: 767px) {
  body .bosion-home #bosion-temple-search.bosion-home-search {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 12px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  /* 이전 CSS에서 제목 앞에 나오던 설명 문구 제거 */
  body .bosion-home #bosion-temple-search .bosion-home-search__titlebox::before {
    content: none !important;
    display: none !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__icon {
    display: none !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__titlebox {
    display: block !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__titlebox > div {
    display: block !important;
    width: 100% !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__title {
    display: block !important;
    margin: 0 0 4px !important;
    color: #3A2720 !important;
    font-size: 20px !important;
    line-height: 1.22 !important;
    font-weight: 900 !important;
    letter-spacing: -0.055em !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__desc {
    display: block !important;
    margin: 0 !important;
    color: #6A5A4B !important;
    font-size: 12.3px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
  }

  /* 필터 2열 균일 배치 */
  body .bosion-home #bosion-temple-search .bosion-home-search__form {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__form select[name="activity"] {
    grid-column: 1 / 2 !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__form select[name="region"] {
    grid-column: 2 / 3 !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__form select[name="sub_region"] {
    grid-column: 1 / 2 !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__form select[name="partner_url"] {
    grid-column: 2 / 3 !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__form select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    border: 1px solid #E6D8BF !important;
    border-radius: 9px !important;
    background: #FFFDF8 !important;
    color: #3A2720 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    box-sizing: border-box !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__form .bosion-home-btn,
  body .bosion-home #bosion-temple-search .bosion-home-search__form button[type="submit"] {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }
}

/* =========================================================
   [BOSION CSS 147-STABLE] 모바일 사찰찾기 아이콘 제거 v24
   - 모바일 사찰찾기 제목 위 아이콘/타원 장식 제거
   ========================================================= */

@media (max-width: 767px) {
  body .bosion-home #bosion-temple-search .bosion-home-search__icon,
  body .bosion-home #bosion-temple-search .bosion-home-search__titlebox .bosion-home-search__icon {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__titlebox,
  body .bosion-home #bosion-temple-search .bosion-home-search__titlebox > div {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__titlebox::before,
  body .bosion-home #bosion-temple-search .bosion-home-search__titlebox::after,
  body .bosion-home #bosion-temple-search .bosion-home-search__title::before,
  body .bosion-home #bosion-temple-search .bosion-home-search__title::after {
    content: none !important;
    display: none !important;
  }

  body .bosion-home #bosion-temple-search .bosion-home-search__titlebox {
    margin-bottom: 10px !important;
    padding-top: 0 !important;
  }
}

/* =========================================================
   [BOSION CSS 148-STABLE] 장터 상품카드 v25
   - 보시온 장터 상품카드를 기도·공양 카드 기준으로 통일
   - 섹션 제목 행 우측에 페이지수/좌우버튼 배치
   - PC 1페이지 5개 1열
   - 모바일도 5개 단위 페이지 유지
   ========================================================= */

/* 장터 섹션 헤더 */
body .bosion-market-page .bosion-market-section-head--product {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body .bosion-market-page .bosion-market-product-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: 0 0 auto !important;
  margin-top: 2px !important;
}

body .bosion-market-page .bosion-market-product-count {
  min-width: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #3A2720 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .bosion-market-page .bosion-market-product-count b,
body .bosion-market-page .bosion-market-product-count em {
  font-style: normal !important;
  font-weight: 900 !important;
}

body .bosion-market-page .bosion-market-product-arrow {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: #8A6426 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  padding: 0 !important;
}

body .bosion-market-page .bosion-market-product-arrow:disabled {
  opacity: 0.35 !important;
  cursor: default !important;
}

/* 장터 상품 그리드 */
body .bosion-market-page .bosion-market-product-carousel,
body .bosion-market-page .bosion-market-product-carousel__viewport {
  width: 100% !important;
  overflow: visible !important;
}

body .bosion-market-page .bosion-u-product-grid,
body .bosion-market-page .bosion-market-scroll-row.bosion-u-product-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body .bosion-market-page .bosion-u-product-card.is-hidden-page {
  display: none !important;
}

/* 장터 상품카드 */
body .bosion-market-page .bosion-u-product-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(58,39,32,0.035) !important;
  color: #3A2720 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body .bosion-market-page .bosion-u-product-card__link {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body .bosion-market-page .bosion-u-product-card__image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
}

body .bosion-market-page .bosion-u-product-card__image img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body .bosion-market-page .bosion-u-product-card__body {
  flex: 1 1 auto !important;
  min-height: 132px !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 9px 10px 10px !important;
  background: #FFFFFF !important;
  box-sizing: border-box !important;
}

body .bosion-market-page .bosion-u-product-card__seller {
  display: block !important;
  margin: 0 0 4px !important;
  color: #8A6426 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body .bosion-market-page .bosion-u-product-card__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 32px !important;
  margin: 0 0 7px !important;
  color: #3A2720 !important;
  font-size: 13.6px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body .bosion-market-page .bosion-u-product-card__meta-row {
  margin-top: auto !important;
  min-height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-bottom: 0 !important;
}

body .bosion-market-page .bosion-u-product-card__chips {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 5px !important;
  overflow: hidden !important;
}

body .bosion-market-page .bosion-u-product-card__chips span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-market-page .bosion-u-product-card__price {
  flex: 0 0 auto !important;
  min-width: 52px !important;
  display: block !important;
  color: #3A2720 !important;
  font-size: 11.4px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

body .bosion-market-page .bosion-u-product-card__button {
  width: 100% !important;
  min-height: 30px !important;
  margin-top: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

/* 모바일 */
@media (max-width: 767px) {
  body .bosion-market-page .bosion-market-section-head--product {
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  body .bosion-market-page .bosion-market-section-title {
    font-size: 19px !important;
    line-height: 1.25 !important;
  }

  body .bosion-market-page .bosion-market-section-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  body .bosion-market-page .bosion-market-product-actions {
    gap: 5px !important;
  }

  body .bosion-market-page .bosion-market-product-count {
    min-width: 26px !important;
    font-size: 11px !important;
  }

  body .bosion-market-page .bosion-market-product-arrow {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }

  body .bosion-market-page .bosion-u-product-grid,
  body .bosion-market-page .bosion-market-scroll-row.bosion-u-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body .bosion-market-page .bosion-u-product-card__image,
  body .bosion-market-page .bosion-u-product-card__image img {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }

  body .bosion-market-page .bosion-u-product-card__body {
    min-height: 128px !important;
    padding: 8px 9px 9px !important;
  }

  body .bosion-market-page .bosion-u-product-card__seller {
    font-size: 10.6px !important;
  }

  body .bosion-market-page .bosion-u-product-card__title {
    min-height: 31px !important;
    font-size: 13px !important;
    line-height: 1.17 !important;
  }

  body .bosion-market-page .bosion-u-product-card__chips span {
    min-height: 19px !important;
    padding: 0 6px !important;
    font-size: 9.5px !important;
  }

  body .bosion-market-page .bosion-u-product-card__price {
    min-width: 44px !important;
    font-size: 10.2px !important;
    letter-spacing: -0.04em !important;
  }

  body .bosion-market-page .bosion-u-product-card__button {
    min-height: 29px !important;
    font-size: 11px !important;
  }
}

/* =========================================================
   [BOSION CSS 149-STABLE] 장터 2줄 잔재 제거 v26
   - 이전 장터 2줄 가로스크롤 CSS(grid-auto-flow/2행/132px)가
     새 상품카드 구조를 잘라먹는 문제 수정
   - PC/모바일 모두 상품카드 높이를 자동으로 복구
   ========================================================= */

/* 이전 2줄 가로스크롤 잔재 강제 해제 */
body .bosion-market-page [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid,
body .bosion-market-page .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid,
body .bosion-market-page .bosion-market-scroll-row.bosion-u-product-grid {
  display: grid !important;
  grid-auto-flow: row !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  grid-auto-columns: auto !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* PC: 한 줄 5개, 카드 높이 자동 */
@media (min-width: 768px) {
  body .bosion-market-page [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page .bosion-market-scroll-row.bosion-u-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* 카드/링크/이미지/본문 높이 자동 복구 */
body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card,
body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  align-self: stretch !important;
}

body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card__link,
body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card__link {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
}

body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card__image,
body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card__image img,
body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card__image,
body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card__image img {
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
}

body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card__body,
body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card__body {
  height: auto !important;
  min-height: 132px !important;
  max-height: none !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
}

/* 모바일: 2열 유지하되 잘림 방지 */
@media (max-width: 767px) {
  body .bosion-market-page [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page .bosion-market-scroll-row.bosion-u-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card__image,
  body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card__image img,
  body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card__image,
  body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card__image img {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }

  body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card__body,
  body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card__body {
    min-height: 128px !important;
  }
}

/* =========================================================
   [BOSION CSS 150-STABLE] 장터 모바일 1줄 v27
   - 모바일 장터 상품이 2~3행으로 떨어지는 문제 수정
   - 모바일에서는 한 줄 가로 스크롤로만 노출
   - 페이지 버튼은 기존대로 5개 단위 페이지 유지
   ========================================================= */

@media (max-width: 767px) {
  body .bosion-market-page [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page .bosion-market-scroll-row.bosion-u-product-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-auto-flow: initial !important;
    grid-auto-rows: auto !important;
    grid-auto-columns: auto !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }

  body .bosion-market-page [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid::-webkit-scrollbar,
  body .bosion-market-page .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid::-webkit-scrollbar,
  body .bosion-market-page .bosion-market-scroll-row.bosion-u-product-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card,
  body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card {
    flex: 0 0 58vw !important;
    width: 58vw !important;
    min-width: 58vw !important;
    max-width: 58vw !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    scroll-snap-align: start !important;
  }

  body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card.is-hidden-page,
  body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card.is-hidden-page {
    display: none !important;
  }

  body .bosion-market-page .bosion-market-product-carousel__viewport {
    overflow: visible !important;
    width: 100% !important;
  }
}

@media (max-width: 380px) {
  body .bosion-market-page [data-bosion-market-carousel] .bosion-u-product-card,
  body .bosion-market-page .bosion-market-product-carousel .bosion-u-product-card {
    flex-basis: 60vw !important;
    width: 60vw !important;
    min-width: 60vw !important;
    max-width: 60vw !important;
  }
}

/* =========================================================
   [BOSION CSS 151-STABLE] 사찰소식 게시판 compact v28
   - 사찰전용홈페이지 사찰소식 게시판을 보시온 소식처럼 낮고 정돈된 높이로 조정
   - 게시글 목록/상세/검색/페이지네이션 여백 축소
   ========================================================= */

/* 사찰소식 섹션 전체 간격 */
body .bosion-front-wrap #bosion-posts {
  padding: 18px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-section-head {
  margin-bottom: 10px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-section-head h2 {
  margin-bottom: 4px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-section-head p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

/* 탭 줄 간격 축소 */
body .bosion-front-wrap #bosion-posts .bosion-front-post-box {
  gap: 8px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-post-tabs {
  min-height: 36px !important;
  gap: 6px !important;
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
  border-bottom: 1px solid #E6D8BF !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-post-tab-btn {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  border-radius: 9px 9px 0 0 !important;
}

/* 패널 여백 축소 */
body .bosion-front-wrap #bosion-posts .bosion-front-post-panel {
  padding: 10px !important;
  border-radius: 13px !important;
}

/* 게시글 목록을 보시온 소식처럼 compact */
body .bosion-front-wrap #bosion-posts .bosion-front-board-list {
  border-radius: 13px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-row {
  min-height: 44px !important;
  padding: 7px 10px !important;
  gap: 10px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-open {
  min-height: 30px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  width: 100% !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-title {
  gap: 1px !important;
  min-width: 0 !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-title strong {
  font-size: 13.5px !important;
  line-height: 1.28 !important;
  min-height: 0 !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-title em,
body .bosion-front-wrap #bosion-posts .bosion-front-board-submeta,
body .bosion-front-wrap #bosion-posts .bosion-front-board-meta {
  font-size: 11.5px !important;
  line-height: 1.25 !important;
  color: #76685A !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-stats {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  color: #8A6426 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-row time {
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

/* 열린 상세 내용도 과하게 높아지지 않게 정리 */
body .bosion-front-wrap #bosion-posts .bosion-front-board-detail {
  margin: 8px 0 10px !important;
  padding: 12px !important;
  border-radius: 13px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-detail-head {
  margin-bottom: 8px !important;
  gap: 8px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-detail-title,
body .bosion-front-wrap #bosion-posts .bosion-front-board-detail h3 {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-detail-content,
body .bosion-front-wrap #bosion-posts .bosion-front-board-detail-body {
  font-size: 13.5px !important;
  line-height: 1.65 !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-back,
body .bosion-front-wrap #bosion-posts .bosion-front-board-manage a,
body .bosion-front-wrap #bosion-posts .bosion-front-board-like-form button {
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 9px !important;
  font-size: 11.5px !important;
  border-radius: 8px !important;
}

/* 검색/글쓰기 하단 도구 compact */
body .bosion-front-wrap #bosion-posts .bosion-front-board-tools {
  margin-top: 10px !important;
  gap: 8px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-search {
  gap: 7px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-search input[type="search"] {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-search button,
body .bosion-front-wrap #bosion-posts .bosion-front-board-write summary,
body .bosion-front-wrap #bosion-posts .bosion-front-board-login {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
}

/* 페이지네이션 compact */
body .bosion-front-wrap #bosion-posts .bosion-front-board-pagination {
  margin-top: 10px !important;
  gap: 5px !important;
}

body .bosion-front-wrap #bosion-posts .bosion-front-board-pagination a,
body .bosion-front-wrap #bosion-posts .bosion-front-board-pagination span {
  min-width: 28px !important;
  height: 28px !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

/* 모바일에서도 높이 과다 방지 */
@media (max-width: 767px) {
  body .bosion-front-wrap #bosion-posts {
    padding: 14px !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-section-head {
    margin-bottom: 8px !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-section-head h2 {
    font-size: 20px !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-section-head p {
    font-size: 12px !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-post-tabs {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    scrollbar-width: none !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-post-tabs::-webkit-scrollbar {
    display: none !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-post-tab-btn {
    flex: 0 0 auto !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-post-panel {
    padding: 8px !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-board-row {
    min-height: 42px !important;
    padding: 7px 9px !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-board-title strong {
    font-size: 13px !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-board-stats {
    display: none !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-board-tools {
    grid-template-columns: 1fr !important;
  }

  body .bosion-front-wrap #bosion-posts .bosion-front-board-search {
    grid-template-columns: minmax(0, 1fr) 66px !important;
  }
}

/* =========================================================
   [BOSION CSS 152-STABLE] 사찰전용 상품카드 v29
   - 사찰전용홈페이지 기도·공양/사찰장터 상품카드를 랜딩·장터와 같은 규격으로 정리
   - 이전 2줄/낮은 행높이 CSS 잔재 제거
   - PC: 5개 1열 / 모바일: 1줄 가로 스크롤
   ========================================================= */

/* 상품 섹션 제목행 + 페이지 버튼 */
body.single-partner .bosion-front-section-head--product,
body .bosion-front-wrap .bosion-front-section-head--product {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body.single-partner .bosion-front-product-actions,
body .bosion-front-wrap .bosion-front-product-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: 0 0 auto !important;
  margin-top: 2px !important;
}

body.single-partner .bosion-front-product-count,
body .bosion-front-wrap .bosion-front-product-count {
  min-width: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #3A2720 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body.single-partner .bosion-front-product-count b,
body.single-partner .bosion-front-product-count em,
body .bosion-front-wrap .bosion-front-product-count b,
body .bosion-front-wrap .bosion-front-product-count em {
  font-style: normal !important;
  font-weight: 900 !important;
}

body.single-partner .bosion-front-product-arrow,
body .bosion-front-wrap .bosion-front-product-arrow {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: #8A6426 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  padding: 0 !important;
}

body.single-partner .bosion-front-product-arrow:disabled,
body .bosion-front-wrap .bosion-front-product-arrow:disabled {
  opacity: .35 !important;
  cursor: default !important;
}

/* 이전 프론트 상품 그리드 잔재 제거 */
body.single-partner .bosion-front-product-carousel .bosion-u-product-grid,
body.single-partner .bosion-front-product-carousel .bosion-front-product-grid-h,
body.single-partner .bosion-front-product-carousel .bosion-front-product-grid-v,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-grid,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-front-product-grid-h,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-front-product-grid-v {
  display: grid !important;
  grid-auto-flow: row !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  grid-auto-columns: auto !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  body.single-partner .bosion-front-product-carousel .bosion-u-product-grid,
  body.single-partner .bosion-front-product-carousel .bosion-front-product-grid-h,
  body.single-partner .bosion-front-product-carousel .bosion-front-product-grid-v,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-grid,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-front-product-grid-h,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-front-product-grid-v {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card.is-hidden-page,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card.is-hidden-page {
  display: none !important;
}

/* 상품카드 공통 */
body.single-partner .bosion-front-product-carousel .bosion-u-product-card,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(58,39,32,.035) !important;
  color: #3A2720 !important;
  box-sizing: border-box !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__link,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__link {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  color: inherit !important;
  text-decoration: none !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__image,
body.single-partner .bosion-front-product-carousel .bosion-u-product-card__image img,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__image,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__image img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  object-fit: cover !important;
  object-position: center center !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__image,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__image {
  position: relative !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__badge,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 2 !important;
  min-height: 21px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: rgba(78,107,92,.94) !important;
  color: #fff !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__body,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__body {
  flex: 1 1 auto !important;
  min-height: 132px !important;
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 9px 10px 10px !important;
  background: #FFFFFF !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__seller,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__seller {
  display: block !important;
  margin: 0 0 4px !important;
  color: #8A6426 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__title,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 32px !important;
  margin: 0 0 7px !important;
  color: #3A2720 !important;
  font-size: 13.6px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__meta-row,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__meta-row {
  margin-top: auto !important;
  min-height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__chips,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__chips {
  display: flex !important;
  min-width: 0 !important;
  gap: 5px !important;
  overflow: hidden !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__chips span,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__chips span {
  min-height: 20px !important;
  padding: 0 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__price,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__price {
  flex: 0 0 auto !important;
  min-width: 52px !important;
  display: block !important;
  color: #3A2720 !important;
  font-size: 11.4px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

body.single-partner .bosion-front-product-carousel .bosion-u-product-card__button,
body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__button {
  width: 100% !important;
  min-height: 30px !important;
  margin-top: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  background: #C9A24D !important;
  color: #fff !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

/* 모바일: 1줄 가로 스크롤 */
@media (max-width: 767px) {
  body.single-partner .bosion-front-section-head--product,
  body .bosion-front-wrap .bosion-front-section-head--product {
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  body.single-partner .bosion-front-product-count,
  body .bosion-front-wrap .bosion-front-product-count {
    min-width: 26px !important;
    font-size: 11px !important;
  }

  body.single-partner .bosion-front-product-arrow,
  body .bosion-front-wrap .bosion-front-product-arrow {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }

  body.single-partner .bosion-front-product-carousel .bosion-u-product-grid,
  body.single-partner .bosion-front-product-carousel .bosion-front-product-grid-h,
  body.single-partner .bosion-front-product-carousel .bosion-front-product-grid-v,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-grid,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-front-product-grid-h,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-front-product-grid-v {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 10px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body.single-partner .bosion-front-product-carousel .bosion-u-product-grid::-webkit-scrollbar,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-grid::-webkit-scrollbar {
    display: none !important;
  }

  body.single-partner .bosion-front-product-carousel .bosion-u-product-card,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card {
    flex: 0 0 58vw !important;
    width: 58vw !important;
    min-width: 58vw !important;
    max-width: 58vw !important;
    scroll-snap-align: start !important;
  }

  body.single-partner .bosion-front-product-carousel .bosion-u-product-card__image,
  body.single-partner .bosion-front-product-carousel .bosion-u-product-card__image img,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__image,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__image img {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }

  body.single-partner .bosion-front-product-carousel .bosion-u-product-card__body,
  body .bosion-front-wrap .bosion-front-product-carousel .bosion-u-product-card__body {
    min-height: 128px !important;
    padding: 8px 9px 9px !important;
  }
}

/* =========================================================
   [BOSION CSS 153-STABLE] 사찰전용 상품카드 동일규격 v30
   - 사찰전용홈 상품카드를 랜딩/장터와 같은 카드 규격으로 강제 통일
   - PC: 섹션별 5개 1줄
   - 모바일: 섹션별 한 줄 가로 스크롤
   - 이전 2줄/낮은 높이/가로형 카드 잔재를 마지막에서 재정리
   ========================================================= */

/* 사찰전용 상품 섹션 여백 */
body.single-partner #bosion-prayer.bosion-front-product-section,
body.single-partner #bosion-market.bosion-front-product-section,
body .bosion-front-wrap #bosion-prayer.bosion-front-product-section,
body .bosion-front-wrap #bosion-market.bosion-front-product-section {
  overflow: hidden !important;
}

/* 제목 행 우측 페이지 버튼 */
body.single-partner #bosion-prayer .bosion-front-section-head--product,
body.single-partner #bosion-market .bosion-front-section-head--product,
body .bosion-front-wrap #bosion-prayer .bosion-front-section-head--product,
body .bosion-front-wrap #bosion-market .bosion-front-section-head--product {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body.single-partner .bosion-front-product-actions,
body .bosion-front-wrap .bosion-front-product-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: 0 0 auto !important;
  margin-top: 2px !important;
}

/* 그리드/스크롤 잔재 제거 */
body.single-partner #bosion-prayer .bosion-front-product-carousel,
body.single-partner #bosion-market .bosion-front-product-carousel,
body.single-partner #bosion-prayer .bosion-front-product-carousel__viewport,
body.single-partner #bosion-market .bosion-front-product-carousel__viewport,
body .bosion-front-wrap #bosion-prayer .bosion-front-product-carousel,
body .bosion-front-wrap #bosion-market .bosion-front-product-carousel,
body .bosion-front-wrap #bosion-prayer .bosion-front-product-carousel__viewport,
body .bosion-front-wrap #bosion-market .bosion-front-product-carousel__viewport {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body.single-partner #bosion-prayer .bosion-u-product-grid,
body.single-partner #bosion-market .bosion-u-product-grid,
body.single-partner #bosion-prayer .bosion-front-product-grid-h,
body.single-partner #bosion-market .bosion-front-product-grid-v,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-grid,
body .bosion-front-wrap #bosion-market .bosion-u-product-grid,
body .bosion-front-wrap #bosion-prayer .bosion-front-product-grid-h,
body .bosion-front-wrap #bosion-market .bosion-front-product-grid-v {
  display: grid !important;
  grid-auto-flow: row !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  grid-auto-columns: auto !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  body.single-partner #bosion-prayer .bosion-u-product-grid,
  body.single-partner #bosion-market .bosion-u-product-grid,
  body.single-partner #bosion-prayer .bosion-front-product-grid-h,
  body.single-partner #bosion-market .bosion-front-product-grid-v,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-grid,
  body .bosion-front-wrap #bosion-market .bosion-u-product-grid,
  body .bosion-front-wrap #bosion-prayer .bosion-front-product-grid-h,
  body .bosion-front-wrap #bosion-market .bosion-front-product-grid-v {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* 숨김 페이지 */
body.single-partner #bosion-prayer .bosion-u-product-card.is-hidden-page,
body.single-partner #bosion-market .bosion-u-product-card.is-hidden-page,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card.is-hidden-page,
body .bosion-front-wrap #bosion-market .bosion-u-product-card.is-hidden-page {
  display: none !important;
}

/* 카드 자체를 랜딩/장터 카드와 동일하게 */
body.single-partner #bosion-prayer .bosion-u-product-card,
body.single-partner #bosion-market .bosion-u-product-card,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card,
body .bosion-front-wrap #bosion-market .bosion-u-product-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(58,39,32,.035) !important;
  color: #3A2720 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__link,
body.single-partner #bosion-market .bosion-u-product-card__link,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__link,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__link {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  color: inherit !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__image,
body.single-partner #bosion-market .bosion-u-product-card__image,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__image,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__image img,
body.single-partner #bosion-market .bosion-u-product-card__image img,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__image img,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__image img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  aspect-ratio: auto !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__body,
body.single-partner #bosion-market .bosion-u-product-card__body,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__body,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__body {
  flex: 1 1 auto !important;
  min-height: 132px !important;
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 9px 10px 10px !important;
  background: #FFFFFF !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__seller,
body.single-partner #bosion-market .bosion-u-product-card__seller,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__seller,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__seller {
  display: block !important;
  margin: 0 0 4px !important;
  color: #8A6426 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__title,
body.single-partner #bosion-market .bosion-u-product-card__title,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__title,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 32px !important;
  margin: 0 0 7px !important;
  color: #3A2720 !important;
  font-size: 13.6px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__meta-row,
body.single-partner #bosion-market .bosion-u-product-card__meta-row,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__meta-row,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__meta-row {
  margin-top: auto !important;
  min-height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__chips,
body.single-partner #bosion-market .bosion-u-product-card__chips,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__chips,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__chips {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 5px !important;
  overflow: hidden !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__chips span,
body.single-partner #bosion-market .bosion-u-product-card__chips span,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__chips span,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__chips span {
  min-height: 20px !important;
  padding: 0 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__price,
body.single-partner #bosion-market .bosion-u-product-card__price,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__price,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__price {
  flex: 0 0 auto !important;
  min-width: 52px !important;
  display: block !important;
  color: #3A2720 !important;
  font-size: 11.4px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

body.single-partner #bosion-prayer .bosion-u-product-card__button,
body.single-partner #bosion-market .bosion-u-product-card__button,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__button,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__button {
  width: 100% !important;
  min-height: 30px !important;
  margin-top: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  background: #C9A24D !important;
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

/* 모바일: 섹션별 한 줄 배치 */
@media (max-width: 767px) {
  body.single-partner #bosion-prayer .bosion-u-product-grid,
  body.single-partner #bosion-market .bosion-u-product-grid,
  body.single-partner #bosion-prayer .bosion-front-product-grid-h,
  body.single-partner #bosion-market .bosion-front-product-grid-v,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-grid,
  body .bosion-front-wrap #bosion-market .bosion-u-product-grid,
  body .bosion-front-wrap #bosion-prayer .bosion-front-product-grid-h,
  body .bosion-front-wrap #bosion-market .bosion-front-product-grid-v {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-auto-flow: initial !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body.single-partner #bosion-prayer .bosion-u-product-grid::-webkit-scrollbar,
  body.single-partner #bosion-market .bosion-u-product-grid::-webkit-scrollbar,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-grid::-webkit-scrollbar,
  body .bosion-front-wrap #bosion-market .bosion-u-product-grid::-webkit-scrollbar {
    display: none !important;
  }

  body.single-partner #bosion-prayer .bosion-u-product-card,
  body.single-partner #bosion-market .bosion-u-product-card,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-card,
  body .bosion-front-wrap #bosion-market .bosion-u-product-card {
    flex: 0 0 58vw !important;
    width: 58vw !important;
    min-width: 58vw !important;
    max-width: 58vw !important;
    scroll-snap-align: start !important;
  }

  body.single-partner #bosion-prayer .bosion-u-product-card__image,
  body.single-partner #bosion-market .bosion-u-product-card__image,
  body.single-partner #bosion-prayer .bosion-u-product-card__image img,
  body.single-partner #bosion-market .bosion-u-product-card__image img,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__image,
  body .bosion-front-wrap #bosion-market .bosion-u-product-card__image,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__image img,
  body .bosion-front-wrap #bosion-market .bosion-u-product-card__image img {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }

  body.single-partner #bosion-prayer .bosion-u-product-card__body,
  body.single-partner #bosion-market .bosion-u-product-card__body,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__body,
  body .bosion-front-wrap #bosion-market .bosion-u-product-card__body {
    min-height: 128px !important;
    padding: 8px 9px 9px !important;
  }

  body.single-partner #bosion-prayer .bosion-u-product-card__title,
  body.single-partner #bosion-market .bosion-u-product-card__title,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__title,
  body .bosion-front-wrap #bosion-market .bosion-u-product-card__title {
    font-size: 13px !important;
    min-height: 31px !important;
  }
}

/* =========================================================
   [BOSION CSS 154-STABLE] 상품카드 이미지 cover 안정화 v32
   기준: v30 복원 + 이미지 영역만 개선
   - 카드 너비/노출 개수는 유지
   - PC 5개 1줄 유지
   - 모바일 섹션별 한 줄 가로 스크롤 유지
   - 이미지는 contain이 아니라 cover로 통일감 있게 표시
   ========================================================= */

/* 상품카드 이미지 영역: 카드 너비는 그대로 두고 이미지만 더 크게 */
body .bosion-u-product-card__image,
body .bosion-prayer-card__img {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 156px !important;
  min-height: 156px !important;
  max-height: 156px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
  border-bottom: 1px solid #F1E5D3 !important;
  box-sizing: border-box !important;
}

/* 상품 이미지는 cover: 카드마다 꽉 차고 통일감 있게 */
body .bosion-u-product-card__image img,
body .bosion-prayer-card__img img,
body .bosion-prayer-card__img > img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #F6F0E6 !important;
  aspect-ratio: auto !important;
  box-sizing: border-box !important;
}

/* 랜딩 / 장터 / 사찰전용홈 상품카드에 우선 적용 */
body .bosion-home .bosion-u-product-card__image,
body .bosion-market-page .bosion-u-product-card__image,
body.single-partner #bosion-prayer .bosion-u-product-card__image,
body.single-partner #bosion-market .bosion-u-product-card__image,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__image,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__image {
  height: 156px !important;
  min-height: 156px !important;
  max-height: 156px !important;
  padding: 0 !important;
  background: #F6F0E6 !important;
}

body .bosion-home .bosion-u-product-card__image img,
body .bosion-market-page .bosion-u-product-card__image img,
body.single-partner #bosion-prayer .bosion-u-product-card__image img,
body.single-partner #bosion-market .bosion-u-product-card__image img,
body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__image img,
body .bosion-front-wrap #bosion-market .bosion-u-product-card__image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* 카드 본문은 높이를 줄이지 않고, 버튼까지 안정적으로 보이게 */
body .bosion-u-product-card__body {
  min-height: 128px !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body .bosion-u-product-card__title {
  -webkit-line-clamp: 2 !important;
}

/* 접수중 배지는 이미지 안쪽 여백 없이 좌상단 고정 */
body .bosion-u-product-card__badge {
  top: 8px !important;
  left: 8px !important;
}

/* 모바일: 한 줄 가로 스크롤은 유지하고 이미지 높이만 적정화 */
@media (max-width: 767px) {
  body .bosion-u-product-card__image,
  body .bosion-prayer-card__img,
  body .bosion-home .bosion-u-product-card__image,
  body .bosion-market-page .bosion-u-product-card__image,
  body.single-partner #bosion-prayer .bosion-u-product-card__image,
  body.single-partner #bosion-market .bosion-u-product-card__image,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__image,
  body .bosion-front-wrap #bosion-market .bosion-u-product-card__image {
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    padding: 0 !important;
  }

  body .bosion-u-product-card__image img,
  body .bosion-prayer-card__img img,
  body .bosion-home .bosion-u-product-card__image img,
  body .bosion-market-page .bosion-u-product-card__image img,
  body.single-partner #bosion-prayer .bosion-u-product-card__image img,
  body.single-partner #bosion-market .bosion-u-product-card__image img,
  body .bosion-front-wrap #bosion-prayer .bosion-u-product-card__image img,
  body .bosion-front-wrap #bosion-market .bosion-u-product-card__image img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  body .bosion-u-product-card__body {
    min-height: 124px !important;
  }
}

/* =========================================================
   [BOSION CSS 155-STABLE] 랜딩탭/장터카드 최종 보정 v33
   - 모바일 랜딩 상단 탭에서 선택한 섹션만 보이도록 후순위 CSS로 고정
   - 장터 상품카드 이미지/카드 규격을 랜딩 상품카드와 같은 느낌으로 재정리
   ========================================================= */

/* 1) 모바일 랜딩 섹션 탭: 선택 섹션만 표시 */
@media (max-width: 767px) {
  body .bosion-home[data-bosion-home] .bosion-home-mobile-panel,
  body .bosion-home[data-bosion-home] section.bosion-home-mobile-panel,
  body .bosion-home[data-bosion-home] div.bosion-home-mobile-panel,
  body .bosion-home[data-bosion-home] .bosion-home-news-haewuso-row.bosion-home-mobile-panel {
    display: none !important;
  }

  body .bosion-home[data-bosion-home] .bosion-home-mobile-panel.is-home-mobile-active,
  body .bosion-home[data-bosion-home] section.bosion-home-mobile-panel.is-home-mobile-active {
    display: block !important;
  }

  body .bosion-home[data-bosion-home] .bosion-home-news-haewuso-row.bosion-home-mobile-panel.is-home-mobile-active {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body .bosion-home[data-bosion-home] .bosion-home-mobile-section-tabs button.is-active {
    border-bottom-color: #C9A24D !important;
    color: #3A2720 !important;
  }
}

/* 2) 장터 상품카드: PC 5개 / 모바일 1줄 유지 */
body .bosion-market-page.bosion-page-wrap--market .bosion-market-product-carousel,
body .bosion-market-page.bosion-page-wrap--market [data-bosion-market-carousel],
body .bosion-market-page.bosion-page-wrap--market .bosion-market-product-carousel__viewport {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-market-scroll-row.bosion-u-product-grid,
body .bosion-market-page.bosion-page-wrap--market [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid,
body .bosion-market-page.bosion-page-wrap--market .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid {
  display: grid !important;
  grid-auto-flow: row !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  grid-auto-columns: auto !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  body .bosion-market-page.bosion-page-wrap--market .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page.bosion-page-wrap--market [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page.bosion-page-wrap--market .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* 3) 장터 상품카드: 랜딩 상품카드와 같은 세로형 밀도 */
body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  border: 1px solid #E6D8BF !important;
  border-radius: 13px !important;
  background: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(58,39,32,.035) !important;
  box-sizing: border-box !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__link {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  color: inherit !important;
  text-decoration: none !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 156px !important;
  min-height: 156px !important;
  max-height: 156px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #F6F0E6 !important;
  border-bottom: 1px solid #F1E5D3 !important;
  box-sizing: border-box !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__image img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #F6F0E6 !important;
  aspect-ratio: auto !important;
  box-sizing: border-box !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__body {
  flex: 1 1 auto !important;
  min-height: 126px !important;
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 9px 10px 10px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__seller {
  display: block !important;
  margin: 0 0 4px !important;
  color: #8A6426 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 32px !important;
  margin: 0 0 7px !important;
  color: #3A2720 !important;
  font-size: 13.6px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__meta-row {
  margin-top: auto !important;
  min-height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__chips span {
  min-height: 20px !important;
  padding: 0 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: #F8F0E1 !important;
  color: #8A6426 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__price {
  flex: 0 0 auto !important;
  min-width: 52px !important;
  color: #3A2720 !important;
  font-size: 11.4px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__button {
  width: 100% !important;
  min-height: 30px !important;
  margin-top: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  background: #C9A24D !important;
  color: #fff !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

/* 4) 모바일 장터: 한 줄 가로 스크롤 + cover 이미지 */
@media (max-width: 767px) {
  body .bosion-market-page.bosion-page-wrap--market .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page.bosion-page-wrap--market [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page.bosion-page-wrap--market .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-market-page.bosion-page-wrap--market .bosion-market-scroll-row.bosion-u-product-grid::-webkit-scrollbar {
    display: none !important;
  }

  body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card {
    flex: 0 0 58vw !important;
    width: 58vw !important;
    min-width: 58vw !important;
    max-width: 58vw !important;
    scroll-snap-align: start !important;
  }

  body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__image {
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
  }

  body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__image img {
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card__body {
    min-height: 124px !important;
    padding: 8px 9px 9px !important;
  }
}


/* [BOSION CLEAN] 소개영역 누적 보정 블록 제거됨 */

/* [BOSION CLEAN] 소개영역 누적 보정 블록 제거됨 */
/* =========================================================
   [BOSION CSS 160-STABLE] 장터 상품 2행 10개 페이지 v39
   - PC 장터: 페이지당 최대 10개 = 5열 x 2행
   - 3행 이상 노출 방지
   - JS 페이지 전환용 .is-hidden-page 강제 적용
   - 모바일은 기존 한 줄 가로 스크롤 유지
   ========================================================= */

/* 페이지에서 숨긴 상품은 반드시 숨김 */
body .bosion-market-page.bosion-page-wrap--market .bosion-u-product-card.is-hidden-page {
  display: none !important;
}

/* PC: 장터 상품 그리드는 5열 x 2행까지만 보이게 */
@media (min-width: 768px) {
  body .bosion-market-page.bosion-page-wrap--market .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page.bosion-page-wrap--market [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page.bosion-page-wrap--market .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    grid-template-rows: none !important;
    gap: 12px !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  body .bosion-market-page.bosion-page-wrap--market .bosion-market-product-carousel,
  body .bosion-market-page.bosion-page-wrap--market [data-bosion-market-carousel],
  body .bosion-market-page.bosion-page-wrap--market .bosion-market-product-carousel__viewport {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* 모바일은 섹션별 한 줄 가로 스크롤 유지 */
@media (max-width: 767px) {
  body .bosion-market-page.bosion-page-wrap--market .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page.bosion-page-wrap--market [data-bosion-market-carousel] .bosion-market-scroll-row.bosion-u-product-grid,
  body .bosion-market-page.bosion-page-wrap--market .bosion-market-product-carousel .bosion-market-scroll-row.bosion-u-product-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 8px 6px 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body .bosion-market-page.bosion-page-wrap--market .bosion-market-scroll-row.bosion-u-product-grid::-webkit-scrollbar {
    display: none !important;
  }
}


/* [BOSION CLEAN] 소개영역 누적 보정 블록 제거됨 */

/* [BOSION CLEAN] 소개영역 누적 보정 블록 제거됨 */

/* [BOSION CLEAN] 소개영역 누적 보정 블록 제거됨 */

/* =========================================================
   [BOSION CSS 170-CLEAN] 사찰소개/스님소개 최종 단일 규칙 v44
   ---------------------------------------------------------
   목적:
   - 과거 누적된 사찰소개/스님소개 보정 CSS를 제거하고
   - 이 블록 하나로 최종 배치/높이/글자 기준을 통일
   ========================================================= */

/* PC: 소개영역 2열 */
@media (min-width: 768px) {
  body.single-partner #bosion-intro.bosion-front-intro-sections,
  body .bosion-front-wrap #bosion-intro.bosion-front-intro-sections {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 16px !important;
    margin-top: 18px !important;
  }

  body.single-partner #bosion-intro > .bosion-front-intro-section,
  body .bosion-front-wrap #bosion-intro > .bosion-front-intro-section {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: 392px !important;
    min-height: 392px !important;
    max-height: 392px !important;
    padding: 22px !important;
    border-radius: 18px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-section-head,
  body .bosion-front-wrap #bosion-intro .bosion-front-section-head {
    flex: 0 0 auto !important;
    margin: 0 0 13px !important;
    padding: 0 !important;
  }

  body.single-partner #bosion-intro .bosion-front-section-head h2,
  body .bosion-front-wrap #bosion-intro .bosion-front-section-head h2 {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    letter-spacing: -0.045em !important;
  }

  body.single-partner #bosion-intro .bosion-front-section-head p,
  body .bosion-front-wrap #bosion-intro .bosion-front-section-head p {
    display: none !important;
  }

  /* 사찰소개 내부 */
  body.single-partner #bosion-intro .bosion-front-intro-section--temple .bosion-front-temple-profile-body,
  body .bosion-front-wrap #bosion-intro .bosion-front-intro-section--temple .bosion-front-temple-profile-body {
    flex: 1 1 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, .42fr) minmax(0, .58fr) !important;
    gap: 12px !important;
    align-items: stretch !important;
    height: 306px !important;
    min-height: 306px !important;
    max-height: 306px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-temple-profile-left,
  body .bosion-front-wrap #bosion-intro .bosion-front-temple-profile-left {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 148px 148px !important;
    gap: 10px !important;
    align-items: stretch !important;
    height: 306px !important;
    min-height: 306px !important;
    max-height: 306px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-intro-main-img,
  body .bosion-front-wrap #bosion-intro .bosion-front-intro-main-img {
    display: block !important;
    width: 100% !important;
    height: 148px !important;
    min-height: 148px !important;
    max-height: 148px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 13px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-temple-detail,
  body .bosion-front-wrap #bosion-intro .bosion-front-temple-detail {
    height: 148px !important;
    min-height: 148px !important;
    max-height: 148px !important;
    padding: 12px !important;
    margin: 0 !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 13px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-temple-history,
  body .bosion-front-wrap #bosion-intro .bosion-front-temple-history {
    height: 306px !important;
    min-height: 306px !important;
    max-height: 306px !important;
    padding: 12px !important;
    margin: 0 !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 13px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* 스님소개 제목 우측 버튼 */
  body.single-partner #bosion-intro .bosion-front-intro-section--monk .bosion-front-section-head,
  body .bosion-front-wrap #bosion-intro .bosion-front-intro-section--monk .bosion-front-section-head {
    padding-right: 128px !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-consult,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-consult {
    position: absolute !important;
    top: 22px !important;
    right: 22px !important;
    z-index: 5 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 13px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9px !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  /* 스님소개 내부: 좌측 사진+인사말 / 우측 약력 */
  body.single-partner #bosion-intro .bosion-front-monk-final-layout,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-layout {
    flex: 1 1 auto !important;
    display: grid !important;
    grid-template-columns: 176px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: stretch !important;
    height: 306px !important;
    min-height: 306px !important;
    max-height: 306px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-left,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-left {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 160px 136px !important;
    gap: 10px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    width: 176px !important;
    min-width: 176px !important;
    max-width: 176px !important;
    height: 306px !important;
    min-height: 306px !important;
    max-height: 306px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-profile-card,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-profile-card {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    padding: 10px !important;
    margin: 0 !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 13px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-photo,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-photo {
    display: block !important;
    flex: 0 0 auto !important;
    width: 114px !important;
    min-width: 114px !important;
    max-width: 114px !important;
    height: 114px !important;
    min-height: 114px !important;
    max-height: 114px !important;
    margin: 0 auto !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-name,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-name {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #3A2720 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-greeting,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-greeting {
    display: block !important;
    width: 100% !important;
    height: 136px !important;
    min-height: 136px !important;
    max-height: 136px !important;
    padding: 12px !important;
    margin: 0 !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 13px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-right,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-right {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 306px !important;
    min-height: 306px !important;
    max-height: 306px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-bio,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-bio {
    display: block !important;
    width: 100% !important;
    height: 306px !important;
    min-height: 306px !important;
    max-height: 306px !important;
    padding: 12px !important;
    margin: 0 !important;
    border: 1px solid var(--bs-border2, #E9DDC9) !important;
    border-radius: 13px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
}

/* 소개영역 글자 기준 통일 */
body.single-partner #bosion-intro .bosion-front-temple-detail p,
body.single-partner #bosion-intro .bosion-front-temple-history p,
body.single-partner #bosion-intro .bosion-front-monk-final-greeting p,
body.single-partner #bosion-intro .bosion-front-monk-final-bio p,
body .bosion-front-wrap #bosion-intro .bosion-front-temple-detail p,
body .bosion-front-wrap #bosion-intro .bosion-front-temple-history p,
body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-greeting p,
body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-bio p {
  margin: 0 !important;
  color: #3A2720 !important;
  font-size: 14.2px !important;
  line-height: 1.62 !important;
  letter-spacing: -0.035em !important;
  font-weight: 400 !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

body.single-partner #bosion-intro .bosion-front-temple-detail h3,
body.single-partner #bosion-intro .bosion-front-temple-history h3,
body.single-partner #bosion-intro .bosion-front-monk-final-greeting strong,
body.single-partner #bosion-intro .bosion-front-monk-final-bio strong,
body .bosion-front-wrap #bosion-intro .bosion-front-temple-detail h3,
body .bosion-front-wrap #bosion-intro .bosion-front-temple-history h3,
body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-greeting strong,
body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-bio strong {
  display: block !important;
  margin: 0 0 7px !important;
  color: #8A6426 !important;
  font-size: 14.2px !important;
  line-height: 1.32 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

/* 모바일: 자연 스크롤 우선 */
@media (max-width: 767px) {
  body.single-partner #bosion-intro.bosion-front-intro-sections,
  body .bosion-front-wrap #bosion-intro.bosion-front-intro-sections {
    display: block !important;
  }

  body.single-partner #bosion-intro > .bosion-front-intro-section,
  body .bosion-front-wrap #bosion-intro > .bosion-front-intro-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 14px !important;
  }

  body.single-partner #bosion-intro .bosion-front-intro-section--monk .bosion-front-section-head,
  body .bosion-front-wrap #bosion-intro .bosion-front-intro-section--monk .bosion-front-section-head {
    padding-right: 0 !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-layout,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-left,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-left {
    display: grid !important;
    grid-template-columns: 118px minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-consult,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-consult {
    position: static !important;
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 8px 0 0 !important;
  }

  body.single-partner #bosion-intro .bosion-front-monk-final-bio,
  body.single-partner #bosion-intro .bosion-front-monk-final-greeting,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-bio,
  body .bosion-front-wrap #bosion-intro .bosion-front-monk-final-greeting {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
