/*
Theme Name: Jacob Christian Academy
Theme URI: https://jacobchristianacademy.edu.ph
Description: Official theme for Jacob Christian Academy, designed for seamless editing with Elementor.
Author: Frozworks
Author URI: https://frozworks.com
Template: hello-elementor
Version: 1.0.0
Text Domain: jca
*/

:root {
  --jca-forest: #174734;
  --jca-leaf: #2E6B4F;
  --jca-gold: #D9A441;
  --jca-cream: #F7F5EF;
  --jca-ink: #203047;
  --jca-navy: #0D2038;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--jca-ink);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .jca-heading {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  color: var(--jca-forest);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  line-height: 1.75;
  color: #334155;
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

a {
  color: var(--jca-leaf);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--jca-forest);
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.75rem;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(12,48,34,.93) 0%, rgba(12,48,34,.78) 43%, rgba(12,48,34,.12) 100%);
}

.jca-pattern {
  background-image: radial-gradient(rgba(46,107,79,.12) 1px, transparent 1px);
  background-size: 18px 18px;
}

.jca-shadow-soft {
  box-shadow: 0 18px 50px rgba(23,71,52,.12);
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */

.button,
button[type="submit"],
input[type="submit"],
.wp-block-button__link,
.jca-btn-primary {
  background-color: var(--jca-leaf) !important;
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border-radius: 9999px !important;
  padding: 12px 28px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(46,107,79,0.22) !important;
}

.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.jca-btn-primary:hover {
  background-color: var(--jca-forest) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(23,71,52,0.32) !important;
}

.jca-btn-gold {
  background-color: var(--jca-gold) !important;
  color: var(--jca-forest) !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  padding: 12px 28px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(217,164,65,0.3) !important;
}

.jca-btn-gold:hover {
  background-color: #e5b352 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(217,164,65,0.4) !important;
}

.jca-btn-outline {
  background-color: transparent !important;
  color: var(--jca-forest) !important;
  border: 1.5px solid var(--jca-forest) !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  padding: 11px 26px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.jca-btn-outline:hover {
  background-color: var(--jca-forest) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   FORM INPUTS & CONTROLS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  border-color: var(--jca-leaf);
  box-shadow: 0 0 0 3px rgba(46,107,79,0.15);
}

label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

/* ==========================================================================
   PAGE HERO BANNER
   ========================================================================== */

.jca-page-hero {
  position: relative;
  background: linear-gradient(135deg, #174734 0%, #0d271d 100%);
  color: #ffffff;
  padding: 64px 24px 76px 24px;
  text-align: center;
  overflow: hidden;
}

.jca-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.jca-page-hero-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
}

.jca-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217,164,65,0.15);
  color: #D9A441;
  border: 1px solid rgba(217,164,65,0.35);
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.jca-page-hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin: 0 0 16px 0;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .jca-page-hero-title {
    font-size: 2rem;
  }
}

.jca-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.jca-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.jca-breadcrumb a:hover {
  color: #D9A441;
}

.jca-breadcrumb-sep {
  color: rgba(255,255,255,0.4);
}

.jca-breadcrumb span.current {
  color: #D9A441;
  font-weight: 600;
}

/* ==========================================================================
   PAGE CONTAINERS & WIDE LAYOUT (HOMEPAGE STYLE)
   ========================================================================== */

.jca-wide-content {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px 90px 24px;
  box-sizing: border-box;
  min-height: 70vh;
}

@media (max-width: 768px) {
  .jca-wide-content {
    padding: 36px 18px 60px 18px;
  }
}

.alignwide,
.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
  max-width: 1240px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.alignfull {
  max-width: 100% !important;
  width: 100% !important;
}

.jca-main-content {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  padding: 0 24px 80px 24px;
  min-height: 60vh;
}

.jca-page-container {
  max-width: 1240px;
  margin: 0 auto;
}

.jca-page-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .jca-page-card {
    padding: 24px 18px;
    border-radius: 14px;
  }
  .jca-main-content {
    margin-top: -24px;
    padding: 0 16px 60px 16px;
  }
}

/* Narrow Document Layout (Terms, Policies) */
.jca-narrow-document {
  max-width: 820px;
  margin: 0 auto;
}

.jca-narrow-document .jca-page-card {
  padding: 56px;
}

@media (max-width: 768px) {
  .jca-narrow-document .jca-page-card {
    padding: 24px 18px;
  }
}

/* Full Width Container Layout (Elementor & Dashboards) */
.jca-full-width-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 30px 24px 80px 24px;
}

/* ==========================================================================
   TYPOGRAPHY & CONTENT ELEMENTS (GUTENBERG / PROSE)
   ========================================================================== */

.jca-page-card h2 {
  font-size: 1.85rem;
  margin: 2.2rem 0 1rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 1.5px solid #f1f5f9;
}

.jca-page-card h3 {
  font-size: 1.4rem;
  margin: 1.8rem 0 0.8rem 0;
}

.jca-page-card h4 {
  font-size: 1.15rem;
  margin: 1.4rem 0 0.6rem 0;
}

.jca-page-card ul,
.jca-page-card ol {
  padding-left: 24px;
  margin-bottom: 1.4rem;
  line-height: 1.8;
  color: #334155;
}

.jca-page-card blockquote,
.wp-block-quote {
  background: #F7F5EF;
  border-left: 4px solid var(--jca-gold);
  border-radius: 0 14px 14px 0;
  padding: 20px 26px;
  margin: 1.8rem 0;
  font-style: italic;
  color: #1e293b;
}

.jca-page-card blockquote p,
.wp-block-quote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

table,
.wp-block-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin: 2rem 0;
}

table th,
.wp-block-table th {
  background: var(--jca-forest);
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
}

table td,
.wp-block-table td {
  padding: 13px 18px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #334155;
}

table tr:nth-child(even) td,
.wp-block-table tr:nth-child(even) td {
  background: #f8fafc;
}

/* ==========================================================================
   ACADEMIC & COURSE PORTAL STYLES (LMS / COURSES / DASHBOARD)
   ========================================================================== */

.jca-portal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #F7F5EF;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 22px;
  margin-bottom: 28px;
}

.jca-portal-bar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #475569;
}

.jca-portal-bar-nav {
  display: flex;
  gap: 8px;
}

.jca-portal-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--jca-forest);
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.jca-portal-pill:hover,
.jca-portal-pill.active {
  background: var(--jca-leaf);
  color: #ffffff;
  border-color: var(--jca-leaf);
}

/* ==========================================================================
   TUTOR LMS DESIGN SYSTEM (CENTERED & BOXED DASHBOARD & COURSES)
   ========================================================================== */

/* 1. Center & Box the Course Archive Page (/courses/) */
.tutor-wrap.course-archive-page,
.tutor-wrap-parent.tutor-courses-wrap,
.course-archive-page.tutor-container,
.tutor-courses-wrap {
  max-width: 1240px !important;
  margin: 40px auto 80px auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Course Filter Sidebar (Boxed Card) */
.tutor-course-filter-container,
.tutor-course-filter {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 24px 20px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

.tutor-widget-title {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
  color: var(--jca-forest) !important;
  font-size: 1.05rem !important;
  margin-bottom: 14px !important;
}

.tutor-form-wrap input[type="search"],
.tutor-form-wrap input[type="Search"] {
  border-radius: 12px !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 10px 16px 10px 38px !important;
  font-size: 0.95rem !important;
  background-color: #f8fafc !important;
  box-sizing: border-box !important;
}

.tutor-form-wrap input[type="search"]:focus,
.tutor-form-wrap input[type="Search"]:focus {
  border-color: var(--jca-leaf) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(46, 107, 79, 0.15) !important;
}

/* Course Cards Grid & Card UI */
.tutor-course-card,
.tutor-card.tutor-course-card,
.tutor-courses-wrap .tutor-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.tutor-course-card:hover,
.tutor-card.tutor-course-card:hover,
.tutor-courses-wrap .tutor-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(23, 71, 52, 0.12) !important;
  border-color: #cbd5e1 !important;
}

.tutor-course-thumbnail img {
  border-radius: 18px 18px 0 0 !important;
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  object-fit: cover !important;
}

.tutor-card-body {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: space-between !important;
}

.tutor-course-card .tutor-course-name,
.tutor-courses-wrap .tutor-course-name a {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
  color: var(--jca-forest) !important;
  font-size: 1.15rem !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

.tutor-course-card .tutor-course-name a:hover {
  color: var(--jca-leaf) !important;
}

/* Rating Stars */
.tutor-course-ratings,
.tutor-ratings-stars,
.tutor-icon-star-line,
.tutor-icon-star-bold {
  color: #D9A441 !important;
}

/* "Start Learning" Button */
.tutor-course-card .tutor-btn-outline-primary,
.tutor-course-card a.tutor-btn,
.tutor-course-card .tutor-btn {
  background-color: var(--jca-leaf) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 12px 24px !important;
  width: 100% !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(46, 107, 79, 0.22) !important;
  transition: all 0.25s ease !important;
  margin-top: 14px !important;
  text-decoration: none !important;
}

.tutor-course-card .tutor-btn-outline-primary:hover,
.tutor-course-card a.tutor-btn:hover,
.tutor-course-card .tutor-btn:hover {
  background-color: var(--jca-forest) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(23, 71, 52, 0.32) !important;
}

/* 2. Center & Box the Tutor LMS Dashboard (/dashboard/) */
.tutor-dashboard-layout,
.tutor-dashboard-isolated-page-wrapper,
.tutor-wrap.tutor-dashboard,
.tutor-dashboard {
  max-width: 1240px !important;
  margin: 40px auto 80px auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 270px minmax(0, 1fr) !important;
  gap: 32px !important;
  align-items: start !important;
}

@media (max-width: 991px) {
  .tutor-dashboard-layout,
  .tutor-dashboard-isolated-page-wrapper,
  .tutor-wrap.tutor-dashboard,
  .tutor-dashboard {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 0 16px !important;
  }
}

/* Box the Dashboard Left Sidebar */
.tutor-dashboard-sidebar,
.tutor-dashboard-left-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
  padding: 20px 14px !important;
  overflow: hidden !important;
  position: sticky !important;
  top: 90px !important;
  min-height: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.tutor-dashboard-sidebar-nav,
.tutor-dashboard-sidebar-nav ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.tutor-dashboard-sidebar-nav li {
  margin-bottom: 6px !important;
}

.tutor-dashboard-sidebar-nav li a,
.tutor-dashboard-left-menu a,
.tutor-dashboard-nav-item a {
  border-radius: 12px !important;
  padding: 12px 18px !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  color: #334155 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.tutor-dashboard-sidebar-nav li.active a,
.tutor-dashboard-sidebar-nav li.tutor-is-active a,
.tutor-dashboard-sidebar-nav li a:hover,
.tutor-dashboard-left-menu a:hover,
.tutor-dashboard-left-menu .active a,
.tutor-dashboard-nav-item.active a {
  background: var(--jca-leaf) !important;
  color: #ffffff !important;
}

/* Box the Dashboard Main Content Area */
.tutor-dashboard-page,
.tutor-dashboard-content,
.tutor-dashboard-body {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
  padding: 36px 32px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .tutor-dashboard-page,
  .tutor-dashboard-content,
  .tutor-dashboard-body {
    padding: 20px 16px !important;
  }
}

/* Boxed Header strip in Dashboard */
.tutor-dashboard-header {
  background: linear-gradient(135deg, #174734 0%, #0d271d 100%) !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  color: #ffffff !important;
  margin-bottom: 28px !important;
  box-shadow: 0 6px 18px rgba(23, 71, 52, 0.15) !important;
}

.tutor-dashboard-header h3,
.tutor-dashboard-header .tutor-fs-4,
.tutor-dashboard-header-inner,
.tutor-dashboard-header-user {
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
}

.tutor-dashboard-header-user span,
.tutor-dashboard-header-user p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Boxed Stat Cards */
.tutor-dashboard-home-card,
.tutor-dashboard-page-card,
.tutor-dashboard-home-card-item,
.tutor-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 22px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.tutor-dashboard-home-card:hover,
.tutor-dashboard-page-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(23, 71, 52, 0.08) !important;
  border-color: #cbd5e1 !important;
}

/* Boxed Chart */
.tutor-dashboard-home-chart {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
  margin-top: 24px !important;
}

/* Tutor Registration & Login Form Card */
.tutor-registration-form-wrap,
.tutor-login-form-wrap,
.tutor-login-wrap {
  max-width: 580px !important;
  margin: 40px auto 80px auto !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 40px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
}

.tutor-registration-form-wrap h2,
.tutor-login-form-wrap h2,
.tutor-login-wrap h3 {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
  color: var(--jca-forest) !important;
  text-align: center !important;
  margin-bottom: 24px !important;
}

/* ==========================================================================
   WOOCOMMERCE STORE, CART, CHECKOUT & ACCOUNT STYLING
   ========================================================================== */

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px !important;
  padding: 16px 22px !important;
  font-size: 0.95rem !important;
  margin-bottom: 28px !important;
  border-left-width: 5px !important;
}

.woocommerce-message {
  background: #ecfdf5 !important;
  border-left-color: #10b981 !important;
  color: #065f46 !important;
}

.woocommerce-info {
  background: #eff6ff !important;
  border-left-color: #3b82f6 !important;
  color: #1e40af !important;
}

.woocommerce-error {
  background: #fef2f2 !important;
  border-left-color: #ef4444 !important;
  color: #991b1b !important;
}

/* Shop Product Grid */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 28px !important;
  margin: 30px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  width: auto !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03) !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(23,71,52,0.1) !important;
}

.woocommerce ul.products li.product img {
  border-radius: 12px !important;
  margin-bottom: 14px !important;
  width: 100% !important;
  object-fit: cover !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Manrope', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--jca-forest) !important;
  margin: 8px 0 6px 0 !important;
}

.woocommerce ul.products li.product .price {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
  color: var(--jca-leaf) !important;
  font-size: 1.15rem !important;
  margin-bottom: 14px !important;
}

.woocommerce span.onsale {
  background-color: var(--jca-gold) !important;
  color: var(--jca-forest) !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  border-radius: 9999px !important;
  padding: 4px 10px !important;
  line-height: 1 !important;
  min-height: auto !important;
  min-width: auto !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}

/* Cart & Checkout Tables */
.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table {
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
}

.woocommerce-cart table.cart th,
.woocommerce-checkout table.shop_table th {
  background: var(--jca-forest) !important;
  color: #ffffff !important;
  padding: 14px 18px !important;
}

.woocommerce .cart-collaterals .cart_totals {
  background: #F7F5EF !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-size: 1.35rem !important;
  margin-top: 0 !important;
  border-bottom: none !important;
}

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

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

.woocommerce-MyAccount-navigation a {
  display: block !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  color: #334155 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
  background: var(--jca-leaf) !important;
  color: #ffffff !important;
  border-color: var(--jca-leaf) !important;
}

/* Card hover animation */
.jca-card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.jca-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(23,71,52,0.12);
}

/* ==========================================================================
   PROMINENT HEADER LOGO (PROPORTIONAL 82PX DESKTOP, 60PX MOBILE)
   ========================================================================== */

.jca-header-logo-img,
header img[alt*="Jacob Christian Academy"],
.jca-site-header img[alt*="Jacob Christian Academy"],
.elementor header img[alt*="Jacob Christian Academy"],
header a img {
  height: 82px !important;
  width: 82px !important;
  max-height: 90px !important;
  max-width: 90px !important;
  min-height: 76px !important;
  min-width: 76px !important;
  object-fit: contain !important;
  display: block !important;
  transition: all 0.25s ease !important;
}

@media (max-width: 768px) {
  .jca-header-logo-img,
  header img[alt*="Jacob Christian Academy"],
  .jca-site-header img[alt*="Jacob Christian Academy"],
  .elementor header img[alt*="Jacob Christian Academy"],
  header a img {
    height: 60px !important;
    width: 60px !important;
    min-height: 54px !important;
    min-width: 54px !important;
    max-height: 64px !important;
    max-width: 64px !important;
  }
}
