/**
 * BeautyTech Lite - Component Styles
 * Cards, Buttons, Forms, Blocks, Widgets, SWELL-style Navigation
 */

/* ========================================
   SWELL-Style Header Navigation
======================================== */

/* A. メニューの基本レイアウト */
.bt-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #f5dbe4;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.bt-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bt-nav-area {
  flex-shrink: 0;
}

/* B. メインメニュー（横並び） */
.bt-global-nav {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.bt-global-nav li {
  position: relative;
  list-style: none;
}

.bt-global-nav>li>a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding-bottom: 6px;
}

.bt-global-nav>li>a:hover {
  color: #C87BA3;
}

/* C. サブメニュー（ドロップダウン） */
.bt-global-nav li ul {
  display: none;
  position: absolute;
  top: 36px;
  left: 0;
  background: #ffffff;
  padding: 12px 0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 10;
}

.bt-global-nav li:hover>ul {
  display: block;
}

.bt-global-nav li ul li a {
  display: block;
  padding: 8px 16px;
  color: #444;
  text-decoration: none;
}

.bt-global-nav li ul li a:hover {
  background: #fbeaf2;
  color: #C87BA3;
}

/* D. サブメニューのマーカー（●）を強制で消す */
.bt-global-nav li,
.bt-global-nav li ul,
.bt-global-nav li ul li {
  list-style: none !important;
}

/* ========================================
   SWELL-Style Category Page Layout
======================================== */

/* ページ全体の横並びレイアウト */
.bt-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
  display: flex;
  gap: 48px;
}

/* メインエリア */
.bt-main {
  flex: 1;
}

/* サイドバー */
.bt-sidebar {
  width: 300px;
}

/* サイドバーのデザイン */
.bt-sidebar-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* カテゴリタイトル */
.bt-category-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}

/* 説明文 */
.bt-category-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
  color: #666;
}

/* 記事リスト */
.bt-post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* 記事のない場合 */
.bt-no-post {
  font-size: 18px;
  font-weight: bold;
  margin-top: 32px;
  text-align: center;
  color: #666;
}

/* サイドバーのカテゴリー一覧 */
.bt-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bt-sidebar-list li {
  margin-bottom: 12px;
}

.bt-sidebar-list a {
  text-decoration: none;
  color: #C87BA3;
  font-weight: 600;
  transition: color 0.2s ease;
}

.bt-sidebar-list a:hover {
  color: #B86992;
}

/* グローバルメニューの2段落ち防止 */
.bt-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

/* ピンクの帯を完全削除 */
.bt-page-header,
.bt-archive-header,
.page-header,
.archive-header {
  display: none !important;
}

/* ========================================
   Mobile Responsive Design
======================================== */

/* タブレット・モバイル：サイドバーを下に */
@media (max-width: 768px) {
  .bt-container {
    flex-direction: column;
    gap: 32px;
    margin: 20px auto;
    padding: 0 16px;
  }

  .bt-sidebar {
    width: 100%;
    order: 2;
  }

  .bt-main {
    order: 1;
  }

  /* 記事リストを1列に */
  .bt-post-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* カテゴリタイトルを小さく */
  .bt-category-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  /* ヘッダーの調整 */
  .bt-header-inner {
    padding: 12px 16px;
  }


  /* ナビゲーションをモバイルで隠す */
  .bt-nav-area .bt-nav-wrapper {
    display: none;
  }
}

/* モバイルメニューのスタイルは mobile-redesign.css に完全移行済み */

/* 小さなモバイル画面（480px以下） */
@media (max-width: 480px) {
  .bt-container {
    margin: 16px auto;
    padding: 0 12px;
    gap: 24px;
  }

  .bt-header-inner {
    padding: 8px 12px;
  }

  /* モバイルメニューコンテンツのスタイルは mobile-redesign.css に移動 */

  .bt-category-title {
    font-size: 20px;
  }

  .bt-sidebar-card {
    padding: 16px;
  }

  .bt-post-list {
    gap: 16px;
  }
}

/* 非常に小さな画面（320px以下） */
@media (max-width: 320px) {
  .bt-container {
    padding: 0 8px;
    gap: 20px;
  }

  .bt-header-inner {
    padding: 6px 8px;
  }

  /* .bt-mobile-menu-toggle のスタイルは mobile-redesign.css で管理 */
}

/* デスクトップ/モバイル表示切り替えは mobile-redesign.css で管理 */

/* モバイルメニューボタンのスタイルは mobile-redesign.css に移動済み */

/* タッチデバイスでのクリック領域改善 */
@media (max-width: 768px) {

  /* すべてのリンクに最小タッチ領域を設定 */
  .bt-sidebar-list a,
  .bt-global-nav a,
  .bt-card-link,
  .bt-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
  }

  /* カードのタイトルリンク */
  .bt-card .bt-card-title a {
    min-height: 44px;
    display: inline-block;
    line-height: 1.3;
    padding: 8px 0;
  }

  /* フォーム要素 */
  input[type="text"],
  input[type="email"],
  input[type="search"],
  textarea,
  select {
    font-size: 16px;
    /* iOS のズーム防止 */
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.2s ease;
  }

  input:focus,
  textarea:focus,
  select:focus {
    outline: none;
    border-color: #C87BA3;
    box-shadow: 0 0 0 3px rgba(200, 123, 163, 0.1);
  }
}

/* ========================================
   Card Component Responsive Fixes
======================================== */

/* Cards - SWELL Inspired */
.bt-card {
  background: white;
  border-radius: var(--bt-radius);
  box-shadow: var(--bt-shadow-sm);
  overflow: hidden;
  transition: var(--bt-transition);
  height: fit-content;
  position: relative;
}

.bt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bt-shadow-md);
}

.bt-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.bt-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--bt-transition);
}

.bt-card:hover .bt-card-image img {
  transform: scale(1.05);
}

.bt-card-content {
  padding: var(--bt-spacing);
}

.bt-card-meta {
  display: flex;
  align-items: center;
  gap: var(--bt-spacing-xs);
  margin-bottom: var(--bt-spacing-xs);
  font-size: 0.875rem;
  color: var(--bt-gray);
}

.bt-card-category {
  background: var(--bt-rose-gold);
  color: white;
  padding: 4px 8px;
  border-radius: var(--bt-radius-xs);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.bt-card-date {
  color: var(--bt-gray);
}

.bt-card-title {
  margin-bottom: var(--bt-spacing-sm);
}

.bt-card-title a {
  color: var(--bt-dark-gray);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bt-card-title a:hover {
  color: var(--bt-rose-gold);
}

.bt-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bt-gray);
  margin-bottom: var(--bt-spacing-sm);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bt-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--bt-spacing-sm);
  border-top: 1px solid var(--bt-border-light);
}

.bt-card-read-more {
  color: var(--bt-rose-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--bt-transition);
}

.bt-card-read-more:hover {
  color: var(--bt-rose-gold-hover);
  text-decoration: underline;
}

/* Mobile Card Adaptations */
@media (max-width: 768px) {
  .bt-card {
    margin-bottom: var(--bt-spacing);
    border-radius: var(--bt-radius-sm);
  }

  .bt-card-content {
    padding: var(--bt-spacing-sm);
  }

  .bt-card-title a {
    font-size: 1rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .bt-card-excerpt {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
    margin-bottom: var(--bt-spacing-xs);
  }

  .bt-card-meta {
    flex-wrap: wrap;
    gap: var(--bt-spacing-xs);
  }

  .bt-card-category {
    font-size: 0.7rem;
    padding: 3px 6px;
  }

  /* Better touch targets */
  .bt-card-title a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: var(--bt-spacing-xs) 0;
  }

  .bt-card-read-more {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: var(--bt-spacing-xs);
    margin: -var(--bt-spacing-xs);
  }
}

@media (max-width: 480px) {
  .bt-card-content {
    padding: var(--bt-spacing-xs);
  }

  .bt-card-title a {
    font-size: 0.95rem;
  }

  .bt-card-excerpt {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }

  .bt-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--bt-spacing-xs);
  }
}

/* Enhanced Featured Card */
.bt-featured-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid rgba(200, 123, 163, 0.08);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.bt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bt-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(200, 123, 163, 0.15);
}

.bt-card:hover::before {
  opacity: 1;
}

.bt-card-image {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px 12px 0 0;
}

.bt-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(0.9) brightness(1.02);
}

.bt-card:hover .bt-card-image img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1.05);
}

.bt-card-category {
  position: absolute;
  top: var(--bt-spacing-sm);
  left: var(--bt-spacing-sm);
  padding: 6px 16px;
  background: rgba(200, 123, 163, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--bt-white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(200, 123, 163, 0.3);
  transition: all 0.3s ease;
}

.bt-card-content {
  padding: var(--bt-spacing);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bt-card-title {
  font-size: 1.125rem;
  margin-bottom: var(--bt-spacing-xs);
  line-height: 1.4;
}

.bt-card-title a {
  color: var(--bt-dark-gray);
}

.bt-card-title a:hover {
  color: var(--bt-rose-gold);
}

.bt-card-meta {
  display: flex;
  gap: var(--bt-spacing);
  font-size: 0.875rem;
  color: var(--bt-gray);
  margin-bottom: var(--bt-spacing-sm);
}

.bt-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bt-gray);
  margin-bottom: var(--bt-spacing);
  flex-grow: 1;
}

.bt-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bt-rose-gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bt-card-link:hover {
  gap: 8px;
}

/* Featured Cards - SWELL Inspired */
.bt-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--bt-spacing-xl);
}

.bt-featured-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(200, 123, 163, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.bt-featured-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(200, 123, 163, 0.02));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 20px;
}

.bt-featured-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  border-color: rgba(200, 123, 163, 0.2);
}

.bt-featured-card:hover::after {
  opacity: 1;
}

.bt-featured-image {
  position: relative;
  padding-top: 50%;
  overflow: hidden;
}

.bt-featured-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bt-featured-content {
  padding: var(--bt-spacing);
}

.bt-featured-title {
  font-size: 1.25rem;
  margin-bottom: var(--bt-spacing-sm);
}

.bt-featured-excerpt {
  color: var(--bt-gray);
  line-height: 1.6;
}

/* Buttons - SWELL Inspired */
.bt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 48px;
  min-width: 48px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bt-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.bt-button:hover::before {
  left: 100%;
}

.bt-button:focus {
  outline: 2px solid var(--bt-rose-gold);
  outline-offset: 2px;
}

.bt-button:focus:not(:focus-visible) {
  outline: none;
}

.bt-button:focus-visible {
  outline: 3px solid var(--bt-rose-gold);
  outline-offset: 3px;
}

.bt-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.bt-button-primary {
  background: linear-gradient(135deg, var(--bt-rose-gold) 0%, #d88cb0 100%);
  color: var(--bt-white);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(200, 123, 163, 0.3);
}

.bt-button-primary:hover {
  background: linear-gradient(135deg, var(--bt-rose-gold-hover) 0%, #c07ba0 100%);
  color: var(--bt-white);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(200, 123, 163, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.bt-button-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--bt-rose-gold);
  border-color: rgba(200, 123, 163, 0.3);
  box-shadow: 0 2px 12px rgba(200, 123, 163, 0.15);
}

.bt-button-secondary:hover {
  background: rgba(255, 232, 240, 0.95);
  color: var(--bt-rose-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(200, 123, 163, 0.25);
  border-color: rgba(200, 123, 163, 0.4);
}

.bt-button-small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Category Links - SWELL Enhanced */
.bt-card-categories {
  margin-bottom: 8px;
}

.bt-category-link,
.bt-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bt-white);
  background: var(--bt-gradient-primary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--bt-radius-round);
  margin-right: 8px;
  margin-bottom: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--bt-shadow-xs);
  transition: var(--bt-transition-smooth);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bt-category-link:hover {
  background: linear-gradient(135deg, var(--bt-rose-gold-hover) 0%, var(--bt-rose-gold-dark) 100%);
  color: var(--bt-white);
  transform: translateY(-2px);
  box-shadow: var(--bt-shadow-sm);
  border-color: rgba(255, 255, 255, 0.2);
}

.bt-category-link:hover::after {
  width: 0;
}

.bt-post-categories {
  margin-bottom: 12px;
}

.bt-post-categories .bt-category-link {
  font-size: 0.875rem;
  padding: 6px 12px;
}

/* Forms - SWELL Inspired */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid var(--bt-border-light);
  border-radius: var(--bt-radius);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--bt-shadow-xs);
  transition: var(--bt-transition-smooth);
  min-height: 48px;
  font-family: var(--bt-font-main);
  line-height: 1.5;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--bt-rose-gold);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 3px rgba(200, 123, 163, 0.1), var(--bt-shadow-sm);
  transform: translateY(-1px);
}

/* Error states for forms */
input[type="text"].error,
input[type="email"].error,
input[type="search"].error,
textarea.error {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Form labels - SWELL Enhanced */
label {
  display: block;
  margin-bottom: var(--bt-spacing-xs);
  font-weight: 600;
  color: var(--bt-dark-gray);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.required::after {
  content: " *";
  color: #d32f2f;
}

/* Search Form - SWELL Inspired */
.search-form {
  display: flex;
  gap: var(--bt-spacing-sm);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bt-border-light);
  border-radius: var(--bt-radius-round);
  padding: 6px;
  box-shadow: var(--bt-shadow-sm);
  transition: var(--bt-transition);
}

.search-form:focus-within {
  box-shadow: var(--bt-shadow-colored);
  border-color: var(--bt-border);
}

.search-field {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  border-radius: var(--bt-radius-round);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  min-height: auto;
}

.search-field:focus {
  outline: none;
  box-shadow: none;
  border: none;
  background: transparent;
  transform: none;
}

.search-submit {
  padding: 12px 20px;
  background: var(--bt-gradient-primary);
  color: var(--bt-white);
  border: none;
  border-radius: var(--bt-radius-round);
  font-weight: 700;
  cursor: pointer;
  transition: var(--bt-transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  box-shadow: var(--bt-shadow-xs);
}

.search-submit:hover {
  background: linear-gradient(135deg, var(--bt-rose-gold-hover) 0%, var(--bt-rose-gold-dark) 100%);
  transform: translateY(-1px);
  box-shadow: var(--bt-shadow-sm);
}

/* CTA Block - SWELL Inspired */
.bt-block-cta,
.bt-auto-cta {
  background: linear-gradient(135deg, rgba(255, 232, 240, 0.8) 0%, rgba(255, 245, 250, 0.6) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 123, 163, 0.15);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin: var(--bt-spacing-xl) 0;
  box-shadow: 0 8px 32px rgba(200, 123, 163, 0.12);
  position: relative;
  overflow: hidden;
}

.bt-block-cta::before,
.bt-auto-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.bt-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.bt-cta-title {
  font-size: 1.5rem;
  color: var(--bt-dark-gray);
  margin-bottom: var(--bt-spacing-sm);
}

.bt-cta-content,
.bt-cta-text {
  color: var(--bt-gray);
  margin-bottom: var(--bt-spacing);
}

.bt-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--bt-rose-gold) 0%, #d88cb0 100%);
  color: var(--bt-white);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(200, 123, 163, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bt-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.bt-cta-button:hover {
  background: linear-gradient(135deg, var(--bt-rose-gold-hover) 0%, #c07ba0 100%);
  color: var(--bt-white);
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(200, 123, 163, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.bt-cta-button:hover::before {
  left: 100%;
}

/* FAQ Block */
.bt-block-faq {
  margin: var(--bt-spacing) 0;
}

.bt-faq-item {
  border: 2px solid var(--bt-border);
  border-radius: var(--bt-radius);
  margin-bottom: var(--bt-spacing-sm);
  overflow: hidden;
}

.bt-faq-question {
  width: 100%;
  padding: var(--bt-spacing);
  background-color: var(--bt-white);
  display: flex;
  align-items: center;
  gap: var(--bt-spacing-sm);
  font-weight: 600;
  text-align: left;
  transition: var(--bt-transition);
}

.bt-faq-question:hover {
  background-color: var(--bt-light-pink);
}

.bt-faq-q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--bt-rose-gold);
  color: var(--bt-white);
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
}

.bt-faq-q-text {
  flex-grow: 1;
}

.bt-faq-toggle {
  flex-shrink: 0;
  transition: var(--bt-transition);
}

.bt-faq-question[aria-expanded="true"] .bt-faq-toggle {
  transform: rotate(180deg);
}

.bt-faq-answer {
  padding: 0 var(--bt-spacing) var(--bt-spacing) var(--bt-spacing);
  background-color: var(--bt-light-gray);
}

.bt-faq-answer-inner {
  display: flex;
  gap: var(--bt-spacing-sm);
  padding-top: var(--bt-spacing);
}

.bt-faq-a-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--bt-gray);
  color: var(--bt-white);
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
}

.bt-faq-a-text {
  flex-grow: 1;
  line-height: 1.6;
}

/* Alert Block */
.bt-block-alert {
  padding: var(--bt-spacing);
  border-radius: var(--bt-radius);
  margin: var(--bt-spacing) 0;
  border-left: 4px solid;
}

.bt-alert-header {
  display: flex;
  align-items: center;
  gap: var(--bt-spacing-sm);
  margin-bottom: var(--bt-spacing-sm);
  font-weight: 600;
}

.bt-alert-icon {
  font-size: 1.25rem;
}

.bt-alert-content {
  padding-left: calc(1.25rem + var(--bt-spacing-sm));
}

.bt-alert-info {
  background-color: #e3f2fd;
  border-color: #2196f3;
  color: #0d47a1;
}

.bt-alert-warning {
  background-color: #fff3e0;
  border-color: #ff9800;
  color: #e65100;
}

.bt-alert-success {
  background-color: #e8f5e9;
  border-color: #4caf50;
  color: #1b5e20;
}

.bt-alert-error {
  background-color: #ffebee;
  border-color: #f44336;
  color: #b71c1c;
}

.bt-alert-tip {
  background-color: var(--bt-light-pink);
  border-color: var(--bt-rose-gold);
  color: var(--bt-dark-gray);
}

.bt-alert-note {
  background-color: #f5f5f5;
  border-color: #9e9e9e;
  color: #424242;
}

/* Pagination - SWELL Inspired */
.bt-pagination {
  margin-top: var(--bt-spacing-xl);
  display: flex;
  justify-content: center;
}

.bt-pagination-list {
  display: flex;
  list-style: none;
  gap: var(--bt-spacing-xs);
  margin: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--bt-radius-round);
  border: 1px solid var(--bt-border-light);
  box-shadow: var(--bt-shadow-sm);
}

.bt-pagination-item {
  margin: 0;
}

.bt-pagination-item a,
.bt-pagination-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--bt-gray);
  font-weight: 600;
  transition: var(--bt-transition-smooth);
  text-decoration: none;
}

.bt-pagination-item a:hover {
  background: var(--bt-light-pink);
  color: var(--bt-rose-gold);
  transform: translateY(-1px);
}

.bt-pagination-item a:hover::after {
  width: 0;
}

.bt-pagination-item .current {
  background: var(--bt-gradient-primary);
  color: var(--bt-white);
  box-shadow: var(--bt-shadow-colored);
}

/* Widgets - SWELL Inspired */
.bt-widget {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 123, 163, 0.08);
  border-radius: 16px;
  padding: var(--bt-spacing-lg);
  margin-bottom: var(--bt-spacing-lg);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bt-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
  border-color: rgba(200, 123, 163, 0.15);
}

.bt-widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--bt-spacing);
  padding-bottom: var(--bt-spacing-sm);
  border-bottom: 2px solid rgba(200, 123, 163, 0.15);
  color: var(--bt-rose-gold);
  position: relative;
}

.bt-widget-title::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--bt-rose-gold), #d88cb0);
  border-radius: 2px;
}

.bt-widget-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bt-widget-posts li {
  padding: var(--bt-spacing-xs) 0;
  border-bottom: 1px solid var(--bt-border);
}

.bt-widget-posts li:last-child {
  border-bottom: none;
}

.bt-widget-posts a {
  color: var(--bt-dark-gray);
  font-size: 0.875rem;
  display: block;
}

.bt-widget-posts a:hover {
  color: var(--bt-rose-gold);
}

/* Category List */
.bt-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bt-category-list li {
  padding: var(--bt-spacing-xs) 0;
  border-bottom: 1px solid var(--bt-border);
}

.bt-category-list li:last-child {
  border-bottom: none;
}

.bt-category-list a {
  display: flex;
  justify-content: space-between;
  color: var(--bt-dark-gray);
  font-size: 0.875rem;
}

.bt-category-list .count {
  color: var(--bt-gray);
}

/* Review Box - SWELL Inspired */
.bt-review-box {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 123, 163, 0.12);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin: var(--bt-spacing-xl) 0;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.bt-review-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bt-rose-gold), #d88cb0, var(--bt-rose-gold));
}

.bt-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--bt-spacing);
}

.bt-review-title {
  font-size: 1.5rem;
  margin-bottom: var(--bt-spacing-xs);
}

.bt-review-rating {
  display: flex;
  align-items: center;
  gap: var(--bt-spacing-xs);
}

.bt-rating-stars {
  display: flex;
  gap: 2px;
}

.bt-star {
  color: #ddd;
  font-size: 1.25rem;
}

.bt-star.filled {
  color: #ffc107;
}

.bt-star.half {
  position: relative;
  color: #ddd;
}

.bt-star.half::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: #ffc107;
}

.bt-rating-value {
  font-size: 1.125rem;
  font-weight: 600;
}

.bt-review-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--bt-spacing-lg);
}

.bt-review-image img {
  width: 100%;
  border-radius: var(--bt-radius-sm);
}

.bt-review-price {
  margin-bottom: var(--bt-spacing);
}

.bt-price-label {
  color: var(--bt-gray);
  font-size: 0.875rem;
}

.bt-price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bt-rose-gold);
}

.bt-review-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bt-spacing);
  margin-bottom: var(--bt-spacing);
}

.bt-review-pros,
.bt-review-cons {
  padding: var(--bt-spacing-sm);
  border-radius: var(--bt-radius-sm);
}

.bt-review-pros {
  background-color: #e8f5e9;
}

.bt-review-cons {
  background-color: #fff3e0;
}

.bt-points-title {
  display: flex;
  align-items: center;
  gap: var(--bt-spacing-xs);
  margin-bottom: var(--bt-spacing-xs);
  font-size: 0.875rem;
  font-weight: 600;
}

.bt-review-pros ul,
.bt-review-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bt-review-pros li,
.bt-review-cons li {
  font-size: 0.875rem;
  padding-left: var(--bt-spacing-sm);
  position: relative;
}

.bt-review-pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4caf50;
}

.bt-review-cons li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #ff9800;
}

.bt-review-summary {
  margin-bottom: var(--bt-spacing);
}

.bt-review-summary h4 {
  font-size: 1.125rem;
  margin-bottom: var(--bt-spacing-xs);
}

.bt-review-buttons {
  display: flex;
  gap: var(--bt-spacing);
  flex-wrap: wrap;
}

/* Ranking */
.bt-ranking-item {
  background-color: var(--bt-white);
  border: 2px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: var(--bt-spacing-lg);
  margin-bottom: var(--bt-spacing-lg);
  position: relative;
}

.bt-rank-1 {
  border-color: #ffd700;
  background: linear-gradient(to bottom, #fffef7, var(--bt-white));
}

.bt-rank-2 {
  border-color: #c0c0c0;
  background: linear-gradient(to bottom, #fafafa, var(--bt-white));
}

.bt-rank-3 {
  border-color: #cd7f32;
  background: linear-gradient(to bottom, #fffbf8, var(--bt-white));
}

.bt-rank-badge {
  position: absolute;
  top: -15px;
  left: var(--bt-spacing-lg);
  background-color: var(--bt-rose-gold);
  color: var(--bt-white);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--bt-shadow);
}

.bt-rank-1 .bt-rank-badge {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  font-size: 1.25rem;
}

.bt-rank-number {
  font-size: 1.5rem;
}

.bt-rank-label {
  font-size: 0.75rem;
}

.bt-rank-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--bt-spacing-lg);
  padding-top: var(--bt-spacing);
}

.bt-rank-content.bt-rank-compact {
  grid-template-columns: 100px 1fr;
  gap: var(--bt-spacing);
}

.bt-rank-crown {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 2rem;
}

.bt-rank-image img {
  width: 100%;
  border-radius: var(--bt-radius-sm);
}

.bt-rank-title {
  font-size: 1.5rem;
  margin-bottom: var(--bt-spacing-sm);
}

.bt-rank-compact .bt-rank-title {
  font-size: 1.125rem;
}

.bt-rank-features {
  display: flex;
  gap: var(--bt-spacing-xs);
  margin-bottom: var(--bt-spacing);
  flex-wrap: wrap;
}

.bt-feature {
  padding: 4px 12px;
  background-color: var(--bt-light-pink);
  color: var(--bt-rose-gold);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.bt-rank-description {
  margin-bottom: var(--bt-spacing);
  line-height: 1.6;
  color: var(--bt-gray);
}

.bt-rank-price {
  margin-bottom: var(--bt-spacing);
}

.bt-rank-buttons {
  display: flex;
  gap: var(--bt-spacing);
}

/* Mobile Responsive - SWELL Enhanced */
@media (max-width: 768px) {

  /* Cards */
  .bt-card {
    border-radius: 12px;
    margin-bottom: var(--bt-spacing);
  }

  .bt-featured-grid {
    grid-template-columns: 1fr;
    gap: var(--bt-spacing);
  }

  .bt-featured-card {
    border-radius: 16px;
  }

  /* Buttons */
  .bt-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .bt-cta-button {
    padding: 14px 32px;
    font-size: 1rem;
  }

  /* Review and Ranking */
  .bt-review-content,
  .bt-rank-content {
    grid-template-columns: 1fr;
    gap: var(--bt-spacing);
  }

  .bt-review-points {
    grid-template-columns: 1fr;
    gap: var(--bt-spacing-sm);
  }

  .bt-rank-badge {
    position: static;
    margin: 0 auto var(--bt-spacing);
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Forms */
  .search-form {
    padding: 4px;
    gap: var(--bt-spacing-xs);
  }

  .search-field {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .search-submit {
    padding: 10px 16px;
    min-width: 40px;
  }

  /* Widgets */
  .bt-widget {
    margin-bottom: var(--bt-spacing);
    padding: var(--bt-spacing);
    border-radius: 12px;
  }

  /* CTA Blocks */
  .bt-block-cta,
  .bt-auto-cta {
    border-radius: 16px;
    padding: var(--bt-spacing-lg);
    margin: var(--bt-spacing-lg) 0;
  }

  /* Typography adjustments */
  .bt-card-title {
    font-size: 1rem;
  }

  .bt-featured-title {
    font-size: 1.125rem;
  }

  .bt-rank-title {
    font-size: 1.25rem;
  }

  .bt-rank-compact .bt-rank-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {

  /* Enhanced mobile styles for very small screens */
  .bt-card {
    border-radius: 10px;
  }

  .bt-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 24px;
  }

  .bt-cta-button {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .bt-featured-grid {
    gap: var(--bt-spacing-sm);
  }

  .bt-pagination-list {
    padding: 4px;
    gap: 2px;
  }

  .bt-pagination-item a,
  .bt-pagination-item span {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
}

/* ========================================
   SWELL-Style Category Grid
======================================== */
.bt-categories-section {
  margin: 4rem 0;
}

.bt-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.bt-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 160px;
  padding: 2rem;
  border-radius: 16px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bt-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Gradients */
.bt-gradient-1 {
  background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
}

.bt-gradient-2 {
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.bt-gradient-3 {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.bt-gradient-4 {
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.bt-category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.bt-category-card:hover .bt-category-overlay {
  background: rgba(255, 255, 255, 0.1);
}

.bt-category-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #333;
}

.bt-category-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.bt-category-card:hover .bt-category-icon {
  transform: scale(1.1);
}

.bt-category-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #333;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.bt-category-arrow {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  font-weight: bold;
  color: #333;
}

.bt-category-card:hover .bt-category-arrow {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .bt-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .bt-category-card {
    height: 120px;
    padding: 1rem;
  }

  .bt-category-icon {
    font-size: 1.5rem;
  }

  .bt-category-name {
    font-size: 1rem;
  }
}

/* ========================================
   SWELL-Style About Page Components
======================================== */

/* Concept Box */
.bt-concept-box {
  background-color: #f9f9f9;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  /* Reduced from 3rem */
  text-align: center;
  border: 1px solid #eee;
  position: relative;
}

.bt-concept-box::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--bt-rose-gold);
  font-family: serif;
  line-height: 1;
  background: white;
  padding: 0 1rem;
}

/* Profile Table */
.bt-profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.bt-profile-table th,
.bt-profile-table td {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.bt-profile-table th {
  width: 25%;
  color: #333;
  font-weight: 700;
  background-color: #fff;
}

.bt-profile-table td {
  color: #555;
  line-height: 1.8;
}

@media (max-width: 768px) {

  .bt-profile-table th,
  .bt-profile-table td {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    border-bottom: none;
  }

  .bt-profile-table th {
    padding-bottom: 0;
    color: var(--bt-rose-gold);
    font-size: 0.9rem;
  }

  .bt-profile-table td {
    border-bottom: 1px solid #eee;
    padding-top: 0.4rem;
  }
}

/* Mission Box */
.bt-mission-box {
  background: #fff;
  padding: 2rem 1.5rem;
  border: 2px solid var(--bt-rose-gold);
  border-radius: 8px;
  margin-bottom: 3rem;
}

/* Check List */
.bt-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.bt-check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: #333;
}

.bt-check-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bt-rose-gold);
  font-weight: bold;
}

/* ========================================
   SWELL-Style Contact Page
======================================== */

/* Main Container */
.bt-contact-main {
  max-width: 800px !important;
  margin: 0 auto;
  padding: 3rem 2rem !important;
}

.bt-contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.bt-contact-header .bt-post-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.bt-contact-header .bt-post-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--bt-rose-gold);
  border-radius: 2px;
}

.bt-contact-header .bt-post-lead {
  font-size: 0.95rem;
  color: var(--bt-gray);
  line-height: 1.8;
}

/* Form Styles */
.wpcf7-form {
  background: #fff;
  padding: 0;
}

.wpcf7-form p {
  margin-bottom: 1.5rem;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

/* Inputs & Textareas */
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
  background: #fff;
  border-color: var(--bt-rose-gold);
  box-shadow: 0 0 0 3px rgba(200, 123, 163, 0.1);
  outline: none;
}

.wpcf7-textarea {
  min-height: 200px;
  line-height: 1.6;
}

/* Submit Button */
.wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 2rem auto 0;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--bt-rose-gold), #d88cb0);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(200, 123, 163, 0.3);
}

.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 123, 163, 0.4);
  background: linear-gradient(135deg, #d88cb0, var(--bt-rose-gold));
}

/* Responsive */
@media (max-width: 768px) {
  .bt-contact-main {
    padding: 2rem 1.5rem !important;
  }

  .bt-contact-header .bt-post-title {
    font-size: 1.5rem;
  }

  .wpcf7-submit {
    width: 100%;
    max-width: none;
  }
}

/* ========================================
   SWELL-Style Contact Page (Refined)
======================================== */

/* Hero Section */
.bt-contact-hero {
  background-color: #fdeaf2;
  padding: 80px 0 140px;
  /* Increased bottom padding */
  text-align: center;
  margin-bottom: -50px;
  /* Overlap effect */
  position: relative;
  z-index: 1;
}

.bt-contact-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.bt-contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.bt-contact-subtitle {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* Main Container Override */
.bt-contact-main {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 50px !important;
  max-width: 800px !important;
  margin: 0 auto 60px !important;
  padding-top: 50px !important;
  /* Ensure consistent padding, overriding global if needed */
}

/* Remove global top padding for contact page specifically if it interferes */
body.page .bt-contact-main {
  padding-top: 50px !important;
}

/* Description Box */
.bt-contact-description-box {
  background-color: transparent;
  border-radius: 0;
  padding: 0 0 24px 0;
  margin-bottom: 40px;
  text-align: center;
  border: none;
  border-bottom: 1px solid #eee;
}

.bt-contact-description-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* Form Refinements */
.wpcf7-form label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 16px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
  border-color: var(--bt-rose-gold);
  box-shadow: 0 0 0 3px rgba(215, 122, 154, 0.15);
  background: #fff;
}

.wpcf7-text::placeholder,
.wpcf7-textarea::placeholder {
  color: #999;
}

/* Submit Button Refinement */
.wpcf7-submit {
  background: linear-gradient(135deg, #d77a9a, #e89eb5);
  border-radius: 40px;
  padding: 18px 40px;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(215, 122, 154, 0.3);
  margin-top: 40px;
  width: 300px;
  max-width: 100%;
}

.wpcf7-submit:hover {
  background: linear-gradient(135deg, #e89eb5, #d77a9a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(215, 122, 154, 0.4);
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .bt-contact-hero {
    padding: 60px 0 80px;
    /* More bottom padding for overlap */
    margin-bottom: -60px;
  }

  .bt-contact-title {
    font-size: 1.8rem;
  }

  .bt-contact-subtitle {
    font-size: 0.9rem;
  }

  .bt-contact-main {
    padding: 30px 20px !important;
    margin-top: 0 !important;
    border-radius: 12px;
    width: calc(100% - 32px) !important;
    /* Side margins */
  }

  .bt-contact-description-box {
    padding: 20px;
    font-size: 15px;
  }

  .wpcf7-submit {
    width: 100%;
  }
}
/* ========================================
   SWELL-Style Privacy Policy Page
======================================== */

/* Hero Section */
.bt-privacy-hero {
  background-color: #fdeaf2;
  padding: 80px 0 140px;
  text-align: center;
  margin-bottom: -50px;
  position: relative;
  z-index: 1;
}

.bt-privacy-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.bt-privacy-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.bt-privacy-subtitle {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* Main Container */
.bt-privacy-main {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 50px !important;
  max-width: 900px !important;
  margin: 0 auto 60px !important;
  padding-top: 50px !important;
}

body.page .bt-privacy-main {
  padding-top: 50px !important;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .bt-privacy-hero {
    padding: 60px 0 80px;
    margin-bottom: -60px;
  }

  .bt-privacy-title {
    font-size: 1.8rem;
  }
  
  .bt-privacy-subtitle {
    font-size: 0.9rem;
  }

  .bt-privacy-main {
    padding: 30px 20px !important;
    border-radius: 12px;
    width: calc(100% - 32px) !important;
  }
}

/* ========================================
   SEO - Breadcrumbs & Internal Links
======================================== */

/* Breadcrumbs */
.bt-breadcrumbs {
  margin: 1rem 0 2rem;
  font-size: 0.875rem;
}

.bt-breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.bt-breadcrumb-item {
  display: inline;
}

.bt-breadcrumb-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.bt-breadcrumb-item a:hover {
  color: var(--bt-rose-gold);
}

.bt-breadcrumb-current {
  color: #333;
  font-weight: 500;
}

.bt-breadcrumb-separator {
  margin: 0 0.5rem;
  color: #999;
}

/* Related Posts */
.bt-related-posts {
  margin: 3rem 0;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.bt-related-posts-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.bt-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.bt-related-post-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bt-related-post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bt-related-post-thumbnail {
  display: block;
  overflow: hidden;
}

.bt-related-post-thumbnail img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.bt-related-post-item:hover .bt-related-post-thumbnail img {
  transform: scale(1.05);
}

.bt-related-post-content {
  padding: 1rem;
}

.bt-related-post-title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.bt-related-post-title a {
  color: #333;
  text-decoration: none;
}

.bt-related-post-title a:hover {
  color: var(--bt-rose-gold);
}

.bt-related-post-date {
  font-size: 0.875rem;
  color: #999;
}

/* Post Navigation */
.bt-post-navigation {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.bt-post-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.bt-post-nav-prev,
.bt-post-nav-next {
  flex: 1;
}

.bt-post-nav-next {
  text-align: right;
}

.bt-post-nav-label {
  display: block;
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.bt-post-nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.bt-post-nav-links a:hover {
  color: var(--bt-rose-gold);
}

/* Category Hierarchy */
.bt-category-hierarchy {
  margin: 2rem 0;
}

.bt-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bt-category-item {
  margin-bottom: 1rem;
}

.bt-category-item > a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.bt-category-item > a:hover {
  color: var(--bt-rose-gold);
}

.bt-category-sublist {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.bt-category-subitem {
  margin-bottom: 0.5rem;
}

.bt-category-subitem a {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
}

.bt-category-subitem a:hover {
  color: var(--bt-rose-gold);
}

.bt-category-count {
  font-size: 0.875rem;
  color: #999;
}

/* Read More Link */
.bt-read-more {
  color: var(--bt-rose-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.bt-read-more:hover {
  color: #d88cb0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .bt-breadcrumbs {
    font-size: 0.8rem;
  }

  .bt-related-posts-grid {
    grid-template-columns: 1fr;
  }

  .bt-post-nav-links {
    flex-direction: column;
  }

  .bt-post-nav-next {
    text-align: left;
  }
}


/* ========================================
   SEO - Additional Features
======================================== */

/* Reading Time */
.bt-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  margin: 0.5rem 0;
}

.bt-reading-time-icon {
  flex-shrink: 0;
}

/* Social Share Buttons */
.bt-social-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.bt-social-share-label {
  font-weight: 600;
  color: #333;
  margin-right: 0.5rem;
}

.bt-social-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.bt-social-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.bt-social-twitter {
  background: #1DA1F2;
}

.bt-social-facebook {
  background: #1877F2;
}

.bt-social-line {
  background: #00B900;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .bt-social-share {
    flex-wrap: wrap;
    justify-content: center;
  }

  .bt-social-share-label {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

