/* CSS Variables & Reset */
:root {
  --primary: #0ca678;
  --primary-dark: #099268;
  --primary-light: #e6fcf5;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-dark: #0f172a;
  --bg-light: #f8fafc;
  --bg-modern: #f1f5f9;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --accent-gradient: linear-gradient(135deg, #0ca678 0%, #087f5b 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Be Vietnam Pro', sans-serif;
}

body {
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body.bg-modern {
  background-color: var(--bg-modern);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
  background: none;
}

/* Use Bootstrap 5 default container instead
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
*/

.section-padding {
  padding: 80px 0;
}

.section-padding-small {
  padding: 40px 0 80px;
}

.gray-bg {
  background-color: var(--bg-light);
}

/* Header Components */
.top-bar {
  background: var(--primary);
  color: white;
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
}

.header-main {
  height: 90px;
  display: flex;
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--border-color);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.logo i {
  width: 36px;
  height: 36px;
}

.header-search {
  flex: 1;
  max-width: 600px;
  margin: 0 40px;
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border-radius: 100px;
  padding: 4px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.header-search:focus-within {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.header-search input {
  flex: 1;
  border: none;
  background: none;
  padding: 10px 15px;
  outline: none;
  font-size: 15px;
  color: var(--text-main);
  width: 100%;
}

.search-results-ajax {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-height: 500px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px 0;
  margin-top: 15px;
}

.search-popup-mobile,
.mobile-search-trigger,
.mobile-offcanvas {
  display: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-results-ajax .result-item {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s;
  border-bottom: 1px solid #f8f9fa;
  margin: 0;
}

.search-results-ajax .result-item:last-child {
  border-bottom: none;
}

.search-results-ajax .result-item:hover {
  background: #f0fdf4;
}

.search-results-ajax .result-content {
  flex: 1;
  min-width: 0;
}

.search-results-ajax .result-title {
  display: block;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.4;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  box-orient: vertical;
}

.search-highlight {
  background-color: #ffeb3b;
  color: #000;
  padding: 0 3px;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.search-results-ajax .no-results {
  padding: 20px;
  text-align: center;
  color: #999;
}

.search-results-ajax .loading-search {
  padding: 15px;
  text-align: center;
}

.btn-search-main {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  gap: 24px;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.3s ease;
}

.action-item:hover {
  color: var(--primary);
}

.action-item i {
  width: 24px;
  height: 24px;
}

.action-item span {
  font-size: 12px;
  font-weight: 600;
}

.woocommerce .woocommerce-result-count {
  margin-bottom: 0;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 0;
}

.navbar {
  background: var(--primary);
  min-height: 50px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.navbar .container {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links ul {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding-left: 0;
}

.nav-links ul li {
  display: flex;
  align-items: center;
  min-height: 50px;
}

.nav-links a {
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links li.current-menu-item>a,
.nav-links li.current_page_item>a,
.nav-links li.current-menu-ancestor>a,
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-links li.current-menu-item>a::after,
.nav-links li.current_page_item>a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
}

.cat-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 16px !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px;
  padding: 10px;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.mega-item:hover {
  background: var(--bg-light);
}

.mega-icon {
  width: 59px;
  height: 65px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-icon i {
  width: 24px;
  height: 24px;
}

.mega-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.mega-text span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Home Hero Section */
.hero {
  position: relative;
  padding: 80px 0;
  background: var(--bg-light);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-image-v {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero-image-v img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

.hero-content {
  flex: 1.5;
  text-align: left;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.text-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 60px;
}

.stat strong {
  font-size: 32px;
  color: var(--text-main);
  display: block;
}

.stat span {
  color: var(--text-muted);
  font-size: 14px;
}

/* Slider & Grid Sections */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.kira-google-login {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px;
  width: 100%;
  margin: 10px 0 !important;
}

.category-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.category-slider::-webkit-scrollbar {
  display: none;
}

.category-card {
  min-width: 200px;
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.cat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 48px;
  /* Maintain consistent height for alignment */
  line-height: 23px;
}

/* Document Grid & Cards */
.document-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.doc-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.doc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #22c55e;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
}

.doc-preview {
  aspect-ratio: 210/297;
  background: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.doc-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doc-card:hover .doc-preview img {
  transform: scale(1.05);
}

.doc-info {
  padding: 16px;
}

.doc-meta .tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
}

.doc-info h3 {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  height: 42px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--text-main);
  font-weight: 600;
}

.doc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.doc-footer .date {
  font-size: 11px;
  color: var(--text-muted);
}

.doc-footer .stats {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}

.stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stats span i {
  width: 14px;
  height: 14px;
}

/* Document List Layout (Homepage) */
.document-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.doc-item-list {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.doc-item-list:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.doc-pdf-icon {
  width: 72px;
  height: 90px;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.doc-content-list {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.doc-content-list h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-dark);
}

.doc-meta-list {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.doc-meta-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.doc-meta-list .tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.woocommerce form .form-row {
  display: block;
}

.woocommerce form .form-row input {
  height: 40px !important;
  border: 1px solid #a4a3a3 !important;
}

form.woocommerce-EditAccountForm.edit-account legend {
  font-size: 24px;
  font-weight: 700;
  margin: 30px 0;
}

.tag-vip {
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  color: #fff !important;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11px;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.doc-meta-list .date {
  white-space: nowrap;
}

.doc-stats-list {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.doc-stats-list span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.doc-stats-list i {
  width: 12px;
  height: 12px;
  stroke-width: 2px;
}

/* Category Page Elements */
.breadcrumbs-wrapper {
  background: white;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.woocommerce-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.woocommerce-breadcrumb a:hover {
  color: var(--primary);
}

.woocommerce-breadcrumb .breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  opacity: 0.5;
  margin: 0 4px;
}

.woocommerce-breadcrumb .breadcrumb-separator i {
  width: 14px;
  height: 14px;
}

/* For pages using custom breadcrumbs class */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumbs li i {
  width: 14px;
  height: 14px;
}

.breadcrumbs li.active {
  color: var(--primary);
  font-weight: 600;
}

.category-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.filter-box {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.filter-title {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 15px;
  position: relative;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 4px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
}

.filter-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.filter-item small {
  margin-left: auto;
  color: var(--text-muted);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.header-left h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.header-left p {
  color: var(--text-muted);
}

.sort-select {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: white;
  outline: none;
  font-weight: 500;
}

.category-grid-view {
  grid-template-columns: repeat(3, 1fr) !important;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
}

.page-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-main);
}

.page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.page-btn:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-dots {
  color: var(--text-muted);
}

/* Premium Single Page v3 */
.premium-hero {
  background: white;
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.breadcrumbs-v3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.premium-title {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.premium-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.p-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
}

.p-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.p-item i {
  width: 16px;
  color: var(--primary);
}

.modern-grid-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.modern-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 30px;
}

.preview-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-fullscreen {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-viewport {
  position: relative;
  aspect-ratio: auto;
  background: #f8fafc;
  overflow: hidden;
}

.preview-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-grad {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.preview-cta {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 40px;
  z-index: 10;
}

.lock-icon {
  width: 60px;
  height: 60px;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.5;
}

.preview-cta p {
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 14px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 20px -5px rgba(12, 166, 120, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.info-tabs {
  display: flex;
  background: #f8fafc;
  padding: 8px;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  color: var(--text-muted);
}

.tab-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tab-content {
  padding: 32px;
}

.section-h {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.tab-content p {
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 16px;
}

.section-h-sub {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.specs-grid-v3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.spec-v3 span {
  color: var(--text-muted);
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}

.spec-v3 strong {
  font-size: 15px;
  color: var(--text-dark);
}

.doc-tags-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-tags-modern a {
  background: #f1f5f9;
  padding: 6px 16px;
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.doc-tags-modern a:hover {
  background: var(--primary);
  color: white;
}

.modern-note {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  color: #92400e;
  margin-top: 30px;
}

.modern-note p {
  font-size: 14px;
}

.sticky-side {
  position: sticky;
  top: 75px;
}

.action-card {
  background: white;
  border-radius: 16px;
  border: 2px solid var(--primary);
  padding: 32px;
  box-shadow: var(--card-shadow);
  text-align: center;
  margin-bottom: 24px;
}

.price-tag {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
}

.btn-download-premium {
  background: var(--primary);
  color: white;
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  box-shadow: 0 15px 30px -10px rgba(12, 166, 120, 0.4);
}

.secondary-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-action-outline {
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.benefit-list {
  text-align: left;
  background: #f8fafc;
  padding: 16px;
  border-radius: 10px;
  border: 1px dashed var(--border-color);
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600;
}

.benefit-list li i {
  color: #22c55e;
}

.author-card-modern {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.author-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar-modern {
  width: 48px;
  height: 48px;
  background: #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text-muted);
}

.btn-follow {
  background: #eff6ff;
  color: #3b82f6;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}

.side-widget-modern {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
}

.widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 8px;
  margin: 0 -8px 12px;
  border-radius: 12px;
  align-items: flex-start;
}

.mini-item:hover {
  background: #f8fafc;
  transform: translateX(5px);
}

.mini-item img {
  width: 85px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.mini-item:hover img {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mini-item h4 {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.mini-item:hover h4 {
  color: var(--primary);
}

.mini-item span {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.mini-item span i {
  width: 14px;
  height: 14px;
  stroke-width: 2px;
}

.view-more-sidbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

/* CTA & Footer */
.cta {
  padding: 60px 0;
}

.cta-inner {
  background: var(--accent-gradient);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  color: white;
}

.cta-content {
  flex: 1;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-btns {
  display: flex;
  gap: 16px;
}

.btn-primary-white {
  background: white;
  color: var(--primary);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 700;
}

.btn-text-white {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

footer {
  background: #0b0f19;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 140, 66, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 140, 66, 0.03) 0%, transparent 40%);
  color: #a0aec0;
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.3), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.footer-brand .logo {
  margin-bottom: 25px;
}

.footer-brand .logo img {
  height: 40px;
}

.form-check .form-check-input {
  margin-top: 2px !important;
  cursor: pointer;
  border-color: #cbd5e1;
}

.form-check-input:checked {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(12, 166, 120, 0.25);
}

.filter-list .form-check:hover label a {
  color: var(--primary) !important;
}

.filter-list .form-check:hover .form-check-input {
  border-color: var(--primary);
}

.footer-brand p {
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 15px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 140, 66, 0.2);
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  font-size: 15px;
}

.footer-contact i {
  color: var(--primary);
  width: 20px;
  flex-shrink: 0;
}

.footer-newsletter-bar {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 50px;
  margin: 80px 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  backdrop-filter: blur(10px);
}

.newsletter-content h3 {
  font-size: 28px;
  color: white;
  margin-bottom: 10px;
}

.newsletter-content p {
  font-size: 16px;
  opacity: 0.7;
}

.newsletter-form-v2 {
  display: flex;
  gap: 15px;
  width: 100%;
  max-width: 550px;
}

.newsletter-form-v2 input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 25px;
  border-radius: 14px;
  color: white;
  font-size: 15px;
  transition: all 0.3s ease;
}

.newsletter-form-v2 input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.1);
}

.btn-subscribe {
  background: linear-gradient(135deg, #ff8c42 0%, #ff5e3a 100%);
  color: white;
  padding: 0 35px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 140, 66, 0.2);
}

.btn-subscribe:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 140, 66, 0.3);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-bottom-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a:hover {
  color: white;
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 140, 66, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 30px;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: #ff5e3a;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .document-list {
    grid-template-columns: 1fr;
  }

  .modern-grid-layout {
    grid-template-columns: 1fr;
  }

  .sticky-side {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image-v {
    order: -1;
    margin-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-stats {
    justify-content: center;
  }


  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .premium-title {
    font-size: 24px;
  }

  .modern-grid-layout {
    gap: 24px;
  }
}

/* Blog Archive */
/* Blog Archive List Style */
.blog-layout {
  margin-top: 40px;
}

.blog-card-list {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
  display: flex;
  gap: 0;
}

.blog-card-list:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.blog-card-list .blog-img {
  width: 280px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  min-height: 100%;
}

.blog-card-list .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
}

.blog-card-list .blog-content {
  padding: 24px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card-list h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 700;
}

.blog-card-list p {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.blog-cat-list {
  padding: 0;
}

.blog-cat-list li {
  border-bottom: 1px solid #f1f5f9;
}

.blog-cat-list a {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
}

.blog-cat-list a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.blog-cat-list small {
  color: var(--text-muted);
  font-weight: 400;
}

.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pop-item {
  display: flex;
  gap: 12px;
}

.pop-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.pop-item h4 {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pop-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* News Detail (blog-single) */
/* Replaced with Bootstrap grid layout
.blog-single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
}
*/

.article-header {
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-dark);
  margin: 16px 0 24px;
  margin-top: 0;
}

.article-meta-v2 {
  display: flex;
  gap: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.article-meta-v2 span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
  display: block;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 40px 0 20px;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 30px 0 15px;
  line-height: 1.4;
}

.article-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 30px 0 15px;
  line-height: 1.4;
}

.article-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 20px;
}

.article-body .lead {
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 500;
}

.article-body blockquote {
  border-left: 5px solid var(--primary);
  background: #f0fdf4;
  padding: 30px;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  font-size: 18px;
  margin: 40px 0;
  color: #065f46;
}

.article-footer-v2 {
  margin-top: 60px;
  padding: 40px;
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.share-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-modern span {
  font-weight: 700;
  color: var(--text-dark);
}

.share-btns-v2 {
  display: flex;
  gap: 12px;
}

.share-btns-v2 a {
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.s-fb {
  background: #1877f2;
}

.s-tw {
  background: #000000;
}

.s-ln {
  background: #0a66c2;
}

.share-btns-v2 a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Related Posts Bottom */
.related-posts-bottom {
  margin-top: 80px;
}

.related-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.related-card-mini {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: 0.3s;
}

.related-card-mini:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.related-card-mini img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.rel-info {
  padding: 16px;
}

.rel-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.rel-info span {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ad-icon {
  width: 48px;
  height: 48px;
  color: white;
  margin-bottom: 20px;
  opacity: 0.8;
}

.sidebar-ad h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.sidebar-ad p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 14px;
}

/* About Page */
.about-hero {
  background: var(--accent-gradient);
  padding: 120px 0;
  color: white;
  text-align: center;
  margin-bottom: 60px;
}

.about-hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-hero-content p {
  font-size: 20px;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.about-stat-item strong {
  display: block;
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 800;
}

.about-stat-item span {
  font-weight: 600;
  color: var(--text-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: white;
  padding: 48px 32px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-icon i {
  width: 32px;
  height: 32px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.value-card p {
  line-height: 1.6;
  color: var(--text-main);
}

/* Contact Page */
.contact-card-box {
  display: grid;
  grid-template-columns: 400px 1fr;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
}

.contact-info-panel {
  background: var(--primary);
  color: white;
  padding: 60px 40px;
}

.contact-info-panel h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.contact-info-panel p {
  opacity: 0.9;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-details li {
  display: flex;
  gap: 20px;
}

.contact-details i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.8;
}

.contact-details strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-details span {
  opacity: 0.9;
  font-size: 14px;
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 60px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-social a:hover {
  background: white;
  color: var(--primary);
}

.contact-form-panel {
  padding: 60px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  font-size: 15px;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  outline: none;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.contact-map {
  border-radius: 30px;
  overflow: hidden;
  height: 450px;
  border: 5px solid white;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.center {
  text-align: center;
}

/* WooCommerce Sorting & Toolbar Styling */
.catalog-ordering select.orderby,
.woocommerce-ordering select.orderby {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 36px 8px 16px;
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 16px;
  outline: none;
  transition: all 0.2s ease;
  min-width: 200px;
  line-height: 1.5;
}

.catalog-ordering select.orderby:hover,
.catalog-ordering select.orderby:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.result-count,
.woocommerce-result-count {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Shop Toolbar Grid Fix */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  gap: 15px;
}

.shop-toolbar .result-count,
.shop-toolbar form.woocommerce-ordering {
  margin: 0 !important;
  float: none !important;
}

/* Responsive for toolbar */
@media (max-width: 576px) {
  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-toolbar form.woocommerce-ordering,
  .shop-toolbar .catalog-ordering,
  .shop-toolbar .catalog-ordering select {
    width: 100%;
  }
}

/* WooCommerce Pagination - Clean Version */
.woocommerce-pagination {
  padding: 50px 0;
  display: flex !important;
  justify-content: center !important;
}

.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  border: none !important;
}

.woocommerce-pagination ul.page-numbers li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: block !important;
}

.woocommerce-pagination ul.page-numbers li .page-numbers {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 42px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}

.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

.woocommerce-pagination ul.page-numbers li .current {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  font-weight: 700;
}

.woocommerce-pagination ul.page-numbers li .next,
.woocommerce-pagination ul.page-numbers li .prev {
  font-size: 18px;
}

/* Premium Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  border-radius: 50px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: white !important;
  box-shadow: 0 8px 20px var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline:hover i {
  transform: translateX(5px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Category Info Article - Collapsible */
.category-info-article {
  margin-top: 50px;
  background: #fff;
  padding: 35px;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.article-content {
  max-height: 300px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  color: #334155;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 22px !important;
  margin-top: 0 !important;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-weight: 700;
}

.article-content h3 {
  font-size: 18px !important;
  margin-top: 20px;
  font-weight: 600;
}

.article-content p {
  margin-bottom: 16px;
  font-size: 15px;
}

.article-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.article-readmore {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 3;
}

.btn-readmore {
  background: white;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.btn-readmore:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px var(--primary-light);
}

.category-info-article.expanded .article-content {
  max-height: 5000px;
}

.category-info-article.expanded .article-overlay {
  opacity: 0;
}

.category-info-article.expanded .article-readmore {
  position: relative;
  bottom: auto;
  margin-top: 20px;
}

.doc-stats-list svg {
  height: 17px;
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 0;
}

/* WooCommerce Breadcrumb Styling */
.woocommerce .woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0px;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-separator svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5px;
}

/* Rating Styles */
.rating-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 193, 7, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.rating-v2 .star-icon {
  width: 16px;
  height: 16px;
  fill: #ffc107;
  color: #ffc107;
}

.rating-v2 strong {
  color: #334155;
  font-size: 15px;
}

.rating-v2 small {
  color: #64748b;
  font-size: 13px;
}

.rating-v2-mini {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #f59e0b;
}

.rating-v2-mini .star-icon {
  width: 12px;
  height: 12px;
  fill: #f59e0b;
  color: #f59e0b;
}

.rating-v2-mini strong {
  font-size: 13px;
  font-weight: 700;
}

/* Breadcrumb Long Title Fix */
.woocommerce .woocommerce-breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
  font-size: 13px;
}

.woocommerce .woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb span {
  display: inline-flex;
  align-items: center;
}

.rating-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8e1;
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid #ffecb3;
}

/* Sidebar Mini List Enhancements */
.mini-item {
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 12px;
}

.mini-item:hover {
  background: #f8fafc;
  transform: translateX(5px);
}

.mini-icon {
  width: 50px;
  height: 60px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.mini-item:hover .mini-icon {
  border-color: var(--primary);
  background: var(--primary-light);
}

.mini-content {
  flex: 1;
  min-width: 0;
}

.mini-stats {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.mini-stats svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

/* Specific icon colors based on SVG color if possible, 
   but since they are dynamic, we can just style the container */
/* Fullscreen Preview Styling */
.preview-viewport:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  background: #525659 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.preview-viewport:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  background: #525659 !important;
}

/* Ensure PDF container fills fullscreen */
.preview-viewport:fullscreen #pdf-preview-container {
  height: 100vh !important;
}

#pdf-preview-container {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #f1f5f9;
}

#pdf-preview-container::-webkit-scrollbar {
  width: 8px;
}

#pdf-preview-container::-webkit-scrollbar-track {
  background: #f1f5f9;
}

#pdf-preview-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

#pdf-preview-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0891b2 100%);
  padding: 100px 0;
  color: white;
  text-align: center;
}

.about-hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-hero-content p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.about-stat-item strong {
  display: block;
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 5px;
}

.about-stat-item span {
  color: var(--text-muted);
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.value-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.value-icon svg {
  width: 32px;
  height: 32px;
}

/* Contact Page Styles */
.contact-card-box {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 450px 1fr;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
}

.contact-info-panel {
  background: var(--primary);
  color: white;
  padding: 60px 40px;
}

.contact-info-panel h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info-panel p {
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.contact-details li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-details li i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-details li strong {
  display: block;
  font-size: 14px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details li span {
  font-size: 16px;
  font-weight: 500;
}

.contact-social {
  display: flex;
  gap: 15px;
}

.contact-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-social a:hover {
  background: white;
  color: var(--primary);
}

.contact-form-panel {
  padding: 60px 50px;
}

.contact-form-panel h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
  .contact-card-box {
    grid-template-columns: 1fr;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* My Account Modern Design */
.woocommerce-account .woocommerce {
  display: flex;
  gap: 30px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  margin-bottom: 60px;
}

.woocommerce-MyAccount-navigation {
  width: 300px;
  flex-shrink: 0;
  border-right: 1px solid #f0f0f0;
  padding-right: 20px;
}

.account-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #f0f0f0;
}

.account-user-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.account-user-text h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.account-user-text p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 8px;
}

.woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text-main);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background: #f0f7ff;
  color: var(--primary);
}

.woocommerce-MyAccount-content {
  flex-grow: 1;
}

/* Membership UI */
.membership-status-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 25px;
  margin-top: 20px;
}

.membership-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.membership-header h5 {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.membership-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.badge-vip {
  background: #ff9f43;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.stat-box {
  background: #f8fafc;
  padding: 15px;
  border-radius: 12px;
}

.stat-box span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

.stat-box strong {
  font-size: 18px;
  color: #1e293b;
}

.progress-container {
  margin-top: 15px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.progress-bar-w {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.5s ease;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 25px;
}

.feature-tag {
  background: #edf2f7;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: #4a5568;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zalo-cta {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.zalo-cta a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 991px) {
  .woocommerce-account .woocommerce {
    flex-direction: column;
  }

  .woocommerce-MyAccount-navigation {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding-right: 0;
    padding-bottom: 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Refined My Account Styles */
.woocommerce-account h1.page-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-top: 50px;
  margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a .menu-icon {
  font-size: 18px;
  width: 24px;
  display: inline-block;
  text-align: center;
}

.badge-vip {
  background: linear-gradient(90deg, #ff9f43 0%, #ff6b6b 100%);
  box-shadow: 0 4px 10px rgba(255, 159, 67, 0.3);
}

.feature-tag {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.stat-box strong {
  font-size: 22px;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background: #eef2ff !important;
  color: var(--primary) !important;
}

.woocommerce-MyAccount-content p {
  line-height: 1.6;
}

/* Membership Features List Styles */
.membership-features-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.membership-features-list ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.membership-features-list ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.membership-features-list ul li strong {
  color: #1e293b;
}

.membership-features-list ul li:contains('KHÔNG'),
.membership-features-list ul li:contains('không') {
  color: #94a3b8;
}

/* Header User Avatar & VIP Badge */
.user-avatar-wrapper {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 auto 2px;
}

.header-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eee;
  display: block;
}

.is-vip .header-avatar {
  border-color: #ff9f43;
}

.vip-badge-mini {
  position: absolute;
  top: -10px;
  right: -8px;
  background: linear-gradient(135deg, #ff9f43 0%, #ff6b6b 100%);
  color: white;
  font-size: 7px;
  font-weight: 900;
  padding: 1px 3px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(255, 159, 67, 0.4);
  border: 1px solid white;
  line-height: 1;
  z-index: 2;
}

.pkg-duration-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: linear-gradient(135deg, #ff9f43 0%, #ff6b6b 100%);
  color: white;
  font-size: 8px;
  font-weight: 900;
  padding: 2px 4px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(255, 107, 107, 0.5);
  border: 1.5px solid white;
  line-height: 1;
  z-index: 2;
  letter-spacing: 0.5px;
}

.user-header-account span {
  display: block;
}

/* Wishlist / Save Product UI */
.toggle-save.is-saved {
  background: #fff1f2 !important;
  border-color: #fecaca !important;
  color: #e11d48 !important;
}

.toggle-save.is-saved i {
  fill: #e11d48;
  color: #e11d48;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.2);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.toggle-save.processing i,
.card-toggle-save.processing i {
  animation: spin 1s linear infinite !important;
  opacity: 0.5;
}

/* Premium Toast Styling */
#hk-toast {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 280px;
}

#hk-toast.bg-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

#hk-toast.bg-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

#hk-toast.bg-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}

#hk-toast-message {
  font-weight: 500;
  padding: 12px 16px;
}

.toggle-save.animating i {
  animation: heartbeat 0.4s ease-in-out;
}

.fill-heart {
  fill: currentColor;
}

/* Product Card Save Button */
.doc-card-wrapper:hover .card-toggle-save {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.card-toggle-save {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: white;
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  z-index: 10;
}

.card-toggle-save i {
  width: 14px;
  height: 14px;
  color: #64748b;
  transition: all 0.3s ease;
}

.card-toggle-save:hover {
  background: #fff1f2;
  border-color: #fecaca;
}

.card-toggle-save:hover i {
  color: #e11d48;
}

.card-toggle-save.is-saved {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  background: #fff1f2;
  border-color: #fecaca;
}

.card-toggle-save.is-saved i {
  color: #e11d48;
  fill: #e11d48;
}

.card-toggle-save svg {
  width: 18px;
}

/* Adjust document list to accommodate wrapper */
.document-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .document-list {
    grid-template-columns: 1fr;
  }
}

/* My Account: Saved Theses - Single column layout */
.woocommerce-account .document-list {
  grid-template-columns: 1fr;
}

.woocommerce-account .document-list .doc-content-list h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

/* Sidebar Product Grid Adjustment */
.sidebar-product-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-product-grid .doc-card-wrapper {
  margin-bottom: 0;
}

.sidebar-product-grid .doc-item-list {
  padding: 12px;
  gap: 12px;
}

.sidebar-product-grid .doc-pdf-icon {
  width: 45px;
  height: 55px;
  font-size: 20px;
}

.sidebar-product-grid h3 {
  font-size: 13px;
  -webkit-line-clamp: 2;
  height: auto;
  margin-bottom: 4px;
}

.sidebar-product-grid .doc-stats-list {
  font-size: 11px;
  gap: 8px;
}

.sidebar-product-grid .card-toggle-save {
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
}

.sidebar-product-grid .card-toggle-save i {
  width: 12px;
  height: 12px;
}

/* Mobile Sidebar Filter */
@media (max-width: 991.98px) {
  .sidebar-offcanvas {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 25px !important;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
  }

  .sidebar-offcanvas.active {
    left: 0;
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .sidebar-overlay.active {
    display: block;
    opacity: 1;
  }

  body.sidebar-open {
    overflow: hidden;
  }

  #mobile-filter-toggle {
    background: #fff;
    color: var(--primary) !important;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #mobile-filter-toggle:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 166, 120, 0.25);
  }

  #mobile-filter-toggle span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
  }

  #mobile-filter-toggle i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
  }

  #mobile-filter-toggle:hover i {
    transform: rotate(15deg) scale(1.1);
  }

  #mobile-filter-toggle:active {
    transform: translateY(0);
  }
}

/* Sidebar Product Compact Style */
.sidebar-product-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-doc-card {
  padding: 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.sidebar-doc-card:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.sidebar-doc-icon {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-doc-title {
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-doc-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-doc-meta .rating-v2-mini {
  background: #fefcbf;
  color: #975a16;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Membership Packages Design */
.membership-section {
  background: white;
}

.package-card-modern {
  background: white;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.package-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.package-card-modern.is-popular {
  border: 2px solid var(--primary);
  transform: scale(1.1);
  z-index: 2;
  box-shadow: 0 25px 50px rgba(12, 166, 120, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.package-card-modern.is-popular:hover {
  transform: scale(1.1) translateY(-5px);
}

.pkg-title {
  color: #0d6efd;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pkg-price-wrapper {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pkg-price-wrapper del {
  color: #9ca3af !important;
  font-size: 20px;
  font-weight: 700;
  text-decoration: line-through;
  opacity: 1;
}

.pkg-price-wrapper del .woocommerce-Price-amount {
  color: #9ca3af !important;
}

.pkg-price-wrapper ins {
  text-decoration: none;
  background: none;
}

.pkg-price-wrapper ins .woocommerce-Price-amount {
  color: #ef4444;
  font-size: 32px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.pkg-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.pkg-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 0 0 20px;
}

.pkg-features ul {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: 0;
  text-align: left;
}

.pkg-features li {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.package-card-modern.is-popular .card-body {
  padding: 3.5rem 2rem !important;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: white;
  padding: 4px 16px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
}

.btn-pkg-action {
  display: inline-block;
  width: 100%;
  padding: 12px 20px;
  background: rgba(255, 152, 67, 0.12);
  color: #f97316;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-pkg-action:hover {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
  color: white;
}

.btn-pkg-action.btn-popular {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.btn-pkg-action.btn-popular:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

/* FAQ Accordion Styles */
.accordion-item {
  border: 1px solid #f0f0f0;
  border-radius: 12px !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  background: white;
}

.accordion-button {
  font-weight: 700;
  color: var(--text-dark);
  padding: 20px 24px;
  background: white;
  box-shadow: none !important;
  font-size: 16px;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: #f0fdf4;
  border-bottom: 1px solid #eef2f6;
}

.accordion-button:focus {
  border-color: #f0f0f0;
  box-shadow: none;
}

.accordion-button::after {
  background-size: 16px;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230ca678'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 24px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

.mw-800 {
  max-width: 800px;
  width: 100%;
}

.description-content ul li {
  margin-bottom: 10px;
  list-style: disc;
}

.woocommerce-billing-fields {
  max-width: 600px;
  margin: 0 auto;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
  width: 100%;
}

h3#order_review_heading {
  max-width: 600px;
  margin: 15px auto;
}

div#order_review {
  max-width: 600px;
  margin: 0 auto;
}


li.wc_payment_method.payment_method_pay2s img {
  width: 65px;
}

button#place_order {
  background: #09a678;
  font-weight: 500;
  border-radius: 30px;
}