/* ============================================
   여성클리닉 시술 영역 — 피부과 구조 + Rose Gold 장바구니
   ============================================ */

/* Rose Gold 색상 변수 */
:root {
  --woman-rose-gold: #B76E79;
  --woman-rose-gold-light: #D4A5A5;
  --woman-rose-gold-dark: #9A5A64;
  --woman-gold-accent: #D4AF37;
  --woman-cream: #FFF8F5;
  --woman-cream-light: #FFFBF9;
  --woman-glass-bg: rgba(255, 248, 245, 0.7);
  --woman-glass-border: rgba(183, 110, 121, 0.2);
  --woman-danger: #e74c3c;
}

/* ============================================
   1. 시술 섹션 베이스 (흰색 통일)
   ============================================ */
.woman-treatment-section {
  background: #fff;
  padding: 80px 0;
  position: relative;
}
.woman-treatment-container {
  max-width: 1469px;
  margin: 0 auto;
}

/* ============================================
   2. 카드 메뉴 (한정이벤트 / 인기 / 신규)
      ⚠ swiper.css 의 .swiper-wrapper / .swiper-slide 클래스와 충돌 방지 위해
         자체 클래스 woman-card-menu / woman-card-menu-card 사용
   ============================================ */
.woman-card-menu {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 30px 0 24px;
  padding: 6px 8px;
  flex-wrap: wrap;
}
.woman-card-menu-card {
  flex: 0 0 auto;
  width: 140px;
  height: 130px;
  background: #fff;
  border: 1.5px solid #e8e6f3;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  padding: 12px 8px;
}
.woman-card-menu-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.woman-card-menu-card > div {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}
.woman-card-menu-card > div > span:first-child {
  color: var(--woman-rose-gold);
  font-weight: 700;
}
.woman-card-menu-card:hover {
  transform: translateY(-2px);
  border-color: var(--woman-rose-gold);
  box-shadow: 0 6px 18px rgba(183, 110, 121, 0.15);
}
.woman-card-menu-card.active {
  background: linear-gradient(135deg, #fef3f4, #fce7e9);
  border-color: var(--woman-rose-gold);
  box-shadow: 0 4px 14px rgba(183, 110, 121, 0.2);
}
.woman-card-menu-card.active > div {
  color: var(--woman-rose-gold-dark);
  font-weight: 700;
}

/* ============================================
   3. 카테고리 그리드
   ============================================ */
.category-section {
  background: #fff;
  border: 1px solid #f0f0f3;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 20px;
}
.category-tabs-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.category-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #ece9f9;
  border-radius: 10px;
  color: #1d1d1f;
  cursor: pointer;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
  min-width: 0;
  transition: all 0.25s ease;
  line-height: 1.25;
}
.category-link:nth-child(8n+1) { background: #fef3f4; color: var(--woman-rose-gold-dark); }
.category-link:nth-child(8n+2) { background: #eff6ff; color: #1e40af; }
.category-link:nth-child(8n+3) { background: #fdf2f8; color: #9d174d; }
.category-link:nth-child(8n+4) { background: #ecfdf5; color: #065f46; }
.category-link:nth-child(8n+5) { background: #fefce8; color: #854d0e; }
.category-link:nth-child(8n+6) { background: #fff7ed; color: #9a3412; }
.category-link:nth-child(8n+7) { background: #f0f9ff; color: #075985; }
.category-link:nth-child(8n+0) { background: #faf5ff; color: #6b21a8; }
.category-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.category-link.active {
  background: var(--woman-rose-gold) !important;
  color: #fff !important;
  border-color: var(--woman-rose-gold);
  font-weight: 700;
}

/* ============================================
   4. 시술 레이아웃 (좌: 리스트 / 우: 장바구니)
   ============================================ */
.woman-treatment-section .treatment-layout {
  margin-top: 16px;
}
.woman-treatment-section .treatment-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 18px;
  align-items: flex-start;
}
.woman-treatment-section .treatment-list-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 8px 0;
  min-width: 0;
}
.woman-treatment-section .treatment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woman-treatment-section .treatment-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;   /* 피부과 동일 — desc 길어져도 위쪽 정렬 */
  padding: 18px 22px;
  border-bottom: 1px solid #f3f0ff;
  gap: 24px;                 /* info ↔ meta(price+btn-wrap) 간격 확보 */
  /* 재렌더 시 깜빡임 방지를 위해 fadeIn 애니메이션 제거 */
}
.woman-treatment-section .treatment-item:last-child {
  border-bottom: none;
}
.woman-treatment-section .treatment-info {
  flex: 1;
  min-width: 0;
}
.woman-treatment-section .treatment-title {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 6px;
  line-height: 1.4;
}
/* 피부과 동일 — desc 전체 내용 표시 (잘림 제거) */
.woman-treatment-section .treatment-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* 모바일에서만 2줄 말줄임 (피부과 동일) */
@media (max-width: 768px) {
  .woman-treatment-section .treatment-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.woman-treatment-section .treatment-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.woman-treatment-section .treatment-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.woman-treatment-section .treatment-price .percent {
  color: #db2777;
  font-weight: 700;
}
.woman-treatment-section .treatment-price .line-through {
  text-decoration: line-through;
  color: #999;
  font-size: 12px;
}
.woman-treatment-section .treatment-price .discount-price {
  color: #1d1d1f;
  font-weight: 700;
  font-size: 16px;
}
.woman-treatment-section .treatment-price .consultation-needed {
  color: var(--woman-rose-gold);
  font-weight: 600;
  font-size: 13px;
}

/* ============================================
   5. 버튼들 (시술후기 / 상세보기 / 시술담기)
   ============================================ */
.woman-treatment-section .treatment-btn-wrap {
  display: flex;
  gap: 6px;
}
.woman-treatment-section .treatment-btn-wrap button {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  transition: all 0.2s;
}
.woman-treatment-section .treatment-btn-wrap button:hover {
  border-color: var(--woman-rose-gold);
  color: var(--woman-rose-gold);
}
.woman-treatment-section .treatment-add-btn {
  background: linear-gradient(135deg, var(--woman-rose-gold), var(--woman-rose-gold-dark)) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.woman-treatment-section .treatment-add-btn:hover {
  background: linear-gradient(135deg, var(--woman-rose-gold-dark), #7d4750) !important;
  color: #fff !important;
}
.woman-treatment-section .treatment-add-btn.treat-btn-added,
.woman-treatment-section .treatment-add-btn.btn-disabled,
.woman-treatment-section .treatment-add-btn:disabled {
  background: linear-gradient(135deg, #16a085, #0d8a6f) !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.9;
}
.woman-treatment-section .treatment-add-btn.treat-btn-added:hover,
.woman-treatment-section .treatment-add-btn.btn-disabled:hover,
.woman-treatment-section .treatment-add-btn:disabled:hover {
  background: linear-gradient(135deg, #16a085, #0d8a6f) !important;
  transform: none;
}

/* ============================================
   6. 더보기 버튼 (5개씩 페이징)
   ============================================ */
.treat-load-more-wrap {
  text-align: center;
  padding: 18px 0 6px;
}
.treat-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 28px;
  background: #fff;
  border: 1.5px solid #ece9f9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--woman-rose-gold);
  cursor: pointer;
  transition: all 0.2s ease;
}
.treat-load-more-btn:hover {
  background: #fef3f4;
  border-color: var(--woman-rose-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(183, 110, 121, 0.15);
}
.treat-load-more-btn::after {
  content: '▾';
  font-size: 11px;
  margin-left: 2px;
}
.treat-load-more-meta {
  margin-top: 8px;
  font-size: 11px;
  color: #888;
}

/* ============================================
   7. 빈 상태
   ============================================ */
.treatment-empty {
  padding: 60px 20px;
  text-align: center;
  color: #999;
  background: #fafafa;
  border-radius: 12px;
  margin: 12px 0;
}
.treatment-empty .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  filter: grayscale(20%);
}
.treatment-empty .empty-title {
  font-size: 15px;
  font-weight: 700;
  color: #555;
  margin-bottom: 6px;
}
.treatment-empty .empty-desc {
  font-size: 13px;
  color: #999;
}

/* ============================================
   8. 우측 장바구니 (Rose Gold 유지)
   ============================================ */
.woman-treatment-cart-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px;
  border: 1px solid #f0f0f3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
}
.woman-treatment-cart-close {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}
.woman-treatment-cart-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f3;
  font-size: 14px;
  font-weight: 700;
  color: var(--woman-rose-gold-dark);
  margin-bottom: 12px;
}
.woman-treatment-cart-header .cart-icon {
  font-size: 16px;
}
.cart-header-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 50%;
  background: var(--woman-rose-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}
.cart-header-count.has-items {
  animation: cartPulse 0.4s ease;
}
@keyframes cartPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.woman-treatment-cart-list {
  max-height: 531px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
  flex: 1;
}
.woman-treatment-cart-list::-webkit-scrollbar {
  width: 4px;
}
.woman-treatment-cart-list::-webkit-scrollbar-track {
  background: transparent;
}
.woman-treatment-cart-list::-webkit-scrollbar-thumb {
  background: var(--woman-rose-gold-light);
  border-radius: 4px;
}
.woman-treatment-cart-list::-webkit-scrollbar-thumb:hover {
  background: var(--woman-rose-gold);
}
.woman-cart-empty {
  padding: 30px 12px;
  text-align: center;
  color: #c5b0b3;
  font-size: 12px;
}
.woman-cart-empty-icon {
  font-size: 28px;
  margin-bottom: 6px;
  display: block;
}
.woman-cart-item {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid #f0f0f3;
  /* 재렌더 시 깜빡임 방지를 위해 fadeIn 애니메이션 제거 */
}
.woman-cart-item:hover {
  border-color: var(--woman-rose-gold-light);
}
.woman-cart-item-info {
  margin-bottom: 8px;
}
.woman-cart-item-name {
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.woman-cart-item .woman-cnt-wrap {
  display: inline-flex;
  align-items: center;
  background: #fafafa;
  border: 1px solid #e6e6ea;
  border-radius: 4px;
  padding: 2px 6px;
  gap: 6px;
  font-size: 12px;
}
.woman-cart-item .woman-cnt {
  width: 24px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 12px;
  padding: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}
.woman-cart-item .woman-cnt::-webkit-outer-spin-button,
.woman-cart-item .woman-cnt::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.woman-cart-item .woman-cnt-btns {
  display: flex;
  flex-direction: column;
  font-size: 8px;
  user-select: none;
}
.woman-cart-item .woman-cnt-btns button {
  line-height: 1;
  cursor: pointer;
  padding: 1px 2px;
  border: none;
  background: transparent;
  color: var(--woman-rose-gold-dark);
}
.woman-cart-item .woman-cnt-btns button:hover {
  color: var(--woman-rose-gold);
}
.woman-cart-item-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.woman-cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--woman-rose-gold);
  white-space: nowrap;
}
.woman-cart-item-remove {
  background: none;
  border: none;
  color: var(--woman-danger);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
}
.woman-cart-item-remove:hover {
  color: #a93226;
}
.cart-consultation-notice {
  font-size: 11px;
  color: #888;
  padding: 6px 10px;
  background: #fafafa;
  border-radius: 4px;
  margin-top: 6px;
}
.woman-treatment-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #f0f0f3;
  font-size: 13px;
  color: #6b3a40;
}
.woman-treatment-cart-total > span:first-child {
  font-weight: 600;
}
.woman-treatment-cart-sum {
  font-size: 18px;
  font-weight: 700;
  color: var(--woman-rose-gold-dark);
}
.woman-treatment-cart-reserve {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(135deg, var(--woman-rose-gold), var(--woman-rose-gold-dark));
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.woman-treatment-cart-reserve:hover {
  background: linear-gradient(135deg, var(--woman-rose-gold-dark), #7d4750);
}
.woman-treatment-cart-reserve:active {
  transform: translateY(0);
}

/* ============================================
   9. 모바일 카트 보기 버튼 + 백드롭 (모바일 전용)
   ============================================ */
.woman-treatment-cart-show {
  display: none;
}
.woman-cart-backdrop {
  display: none;
}

/* PC: aside 장바구니 숨김 */
.side-menu-cart-li {
  display: none;
}

/* ============================================
   10. 반응형 (모바일)
   ============================================ */
@media (max-width: 1024px) {
  /* 모바일: aside 전체 숨김 (consultation 플로팅으로 대체) */
  body:has(.woman-treatment-section) .aside {
    display: none !important;
  }

  .woman-treatment-section {
    padding: 60px 0 100px;
  }

  /* 카드 메뉴: 가로 스크롤 + 왼쪽 정렬 */
  .woman-card-menu {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  /* 카테고리 그리드: 2열 */
  .category-tabs-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 시술 레이아웃: 1열 (장바구니는 모바일 하단 슬라이드업) */
  .woman-treatment-section .treatment-wrap {
    grid-template-columns: 1fr;
  }

  /* 모바일 장바구니 슬라이드업 */
  .woman-treatment-cart-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    min-width: 100%;
    border-radius: 24px 24px 0 0;
    z-index: 1000;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    max-height: 70vh;
  }
  .woman-treatment-cart-wrap.active {
    transform: translateY(0);
    visibility: visible;
  }
  .woman-treatment-cart-close {
    display: flex;
    width: 32px;
    height: 32px;
    background: rgba(183, 110, 121, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--woman-rose-gold);
  }
  .woman-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
  }
  .woman-cart-backdrop.active {
    display: block;
  }

  /* 모바일 장바구니 보기 버튼 */
  .woman-treatment-cart-show {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 56px;
    background: linear-gradient(135deg, var(--woman-rose-gold) 0%, var(--woman-rose-gold-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 -2px 12px rgba(183, 110, 121, 0.25);
    cursor: pointer;
    transition: background 0.2s;
  }
  .woman-treatment-cart-show:active {
    background: linear-gradient(135deg, var(--woman-rose-gold-dark) 0%, var(--woman-rose-gold) 100%);
  }
  .woman-treatment-cart-show .cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--woman-rose-gold);
    font-size: 12px;
    font-weight: 800;
    padding: 0 6px;
  }
}

@media (max-width: 768px) {
  .woman-treatment-container {
    padding: 0 16px;
  }
  .woman-card-menu-card {
    width: 120px;
    height: 110px;
  }
  .woman-card-menu-card img {
    width: 44px;
    height: 44px;
  }
  .woman-card-menu-card > div {
    font-size: 12px;
  }
  .woman-treatment-section .treatment-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
  .woman-treatment-section .treatment-meta {
    width: 100%;
    align-items: stretch;
  }
  .woman-treatment-section .treatment-price {
    justify-content: flex-end;
  }
  .woman-treatment-section .treatment-btn-wrap {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .woman-card-menu-card {
    width: 108px;
    height: 100px;
  }
  .woman-treatment-section .treatment-btn-wrap button {
    padding: 7px 10px;
    font-size: 11px;
  }
  .category-tabs-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   11. 사이드 메뉴 예약 버튼 (유지)
   ============================================ */
.side-menu-reserve {
  background: linear-gradient(135deg, var(--woman-rose-gold) 0%, var(--woman-rose-gold-dark) 100%) !important;
  border-radius: 12px !important;
}
.side-menu-reserve span {
  color: #fff !important;
}
.side-menu-reserve:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(183, 110, 121, 0.4);
}

/* ============================================
   12. 상세보기 모달 (유지)
   ============================================ */
.woman-treatment-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woman-treatment-detail-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.woman-treatment-detail-modal .modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  max-width: 1092px;
  width: 100%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.woman-treatment-detail-modal .modal-content::-webkit-scrollbar {
  display: none;
}
.woman-treatment-detail-modal .modal-close {
  position: sticky;
  top: 0;
  right: 0;
  display: block;
  margin-left: auto;
  background: rgba(183, 110, 121, 0.8);
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 3;
  padding: 8px 16px;
  transition: background 0.2s ease;
}
.woman-treatment-detail-modal .modal-close:hover {
  background: var(--woman-rose-gold);
}
.woman-treatment-detail-modal .detail-content {
  margin-top: -46px;
  width: 100%;
}
.woman-treatment-detail-modal .detail-content p:not(:has(img), :has(br)) {
  padding: 0px 40px;
}
.woman-treatment-detail-modal .detail-content img {
  max-width: 100%;
  height: auto;
}
.woman-treatment-detail-modal .loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  padding: 40px 20px;
}
.woman-treatment-detail-modal .loading-content {
  text-align: center;
}
.woman-treatment-detail-modal .loading-spinner-container {
  margin-bottom: 20px;
}
.woman-treatment-detail-modal .loading-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}
.woman-treatment-detail-modal .spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid var(--woman-rose-gold);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}
.woman-treatment-detail-modal .spinner-ring:nth-child(1) {
  animation-delay: 0s;
}
.woman-treatment-detail-modal .spinner-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: var(--woman-rose-gold-light);
  animation-delay: 0.2s;
}
.woman-treatment-detail-modal .spinner-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top-color: var(--woman-gold-accent);
  animation-delay: 0.4s;
}
.woman-treatment-detail-modal .loading-message {
  color: #666;
  font-size: 14px;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .woman-treatment-detail-modal .modal-content {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .woman-treatment-detail-modal .modal-content {
    height: 85vh;
  }
  .woman-treatment-detail-modal .detail-content p:not(:has(img), :has(br)) {
    padding: 0px 20px;
  }
}
