/*
Theme Name: ASA Academy
Theme URI: https://asaacademy.co.uk
Author: ASA Academy
Author URI: https://asaacademy.co.uk
Description: A colourful, modern WordPress theme for ASA Maths Students Academy. Features vibrant subject colour coding, clean typography, and sections for courses, tutors, testimonials and pricing.
Version: 1.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asa-academy
Tags: education, mathematics, colourful, responsive, one-page
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --violet: #7C3AED;
  --violet-light: #EDE9FE;
  --violet-mid: #A78BFA;
  --coral: #F43F5E;
  --coral-light: #FFE4E8;
  --coral-mid: #FB7185;
  --gold: #F59E0B;
  --gold-light: #FEF3C7;
  --gold-mid: #FCD34D;
  --teal: #10B981;
  --teal-light: #D1FAE5;
  --teal-mid: #6EE7B7;
  --sky: #0EA5E9;
  --sky-light: #E0F2FE;
  --sky-mid: #7DD3FC;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --ink: #111827;
  --ink-mid: #374151;
  --ink-muted: #6B7280;
  --border: #E5E7EB;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  line-height: 1.2;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── NAV ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: white;
  letter-spacing: -0.5px;
}

.logo-name {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.logo-name em {
  font-style: normal;
  color: var(--violet);
}

/* WordPress nav menu */
#site-navigation ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

#site-navigation ul li a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mid);
  transition: color 0.2s;
}

#site-navigation ul li a:hover { color: var(--violet); }

#site-navigation ul li.menu-enrol a {
  background: var(--violet);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  transition: background 0.2s, transform 0.15s;
}

#site-navigation ul li.menu-enrol a:hover {
  background: #6D28D9;
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero-section {
  background: var(--white);
  padding: 72px 5% 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--violet-light);
  color: var(--violet);
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  display: inline-block;
}

.hero-section h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-main {
  background: var(--violet);
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-main:hover { background: #6D28D9; transform: translateY(-2px); }

.btn-sec {
  border: 2px solid var(--border);
  color: var(--ink);
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  transition: border-color 0.2s;
}

.btn-sec:hover { border-color: var(--violet); color: var(--violet); }

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
}

.hero-pill .pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.hero-visual { position: relative; }

.hero-svg-wrap {
  background: var(--off-white);
  border-radius: 24px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-float {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  z-index: 2;
}

.hero-float.f1 { top: -16px; right: 20px; color: var(--coral); background: var(--coral-light); border-color: var(--coral-mid); }
.hero-float.f2 { bottom: 10px; left: -10px; color: var(--teal); background: var(--teal-light); border-color: var(--teal-mid); }
.hero-float.f3 { top: 40%; right: -16px; color: var(--gold); background: var(--gold-light); border-color: var(--gold-mid); }

/* ── COLOUR BAND ── */
.colour-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.cb-item {
  padding: 20px;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: white;
}

/* ── SECTION COMMONS ── */
.sec-header { text-align: center; margin-bottom: 52px; }

.sec-pre {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 4px 14px;
  border-radius: 50px;
}

.sec-h {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.sec-sub {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── COURSES ── */
.courses-section { padding: 80px 5%; background: var(--off-white); }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.c-card {
  background: white;
  border-radius: 20px;
  padding: 28px 24px;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.c-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.10); }

.c-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}

.c-card.violet::before { background: var(--violet); }
.c-card.coral::before { background: var(--coral); }
.c-card.gold::before { background: var(--gold); }
.c-card.teal::before { background: var(--teal); }
.c-card.sky::before { background: var(--sky); }

.c-card:hover.violet { border-color: var(--violet-light); }
.c-card:hover.coral { border-color: var(--coral-light); }
.c-card:hover.gold { border-color: var(--gold-light); }
.c-card:hover.teal { border-color: var(--teal-light); }
.c-card:hover.sky { border-color: var(--sky-light); }

.c-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.c-card.violet .c-icon { background: var(--violet-light); }
.c-card.coral .c-icon { background: var(--coral-light); }
.c-card.gold .c-icon { background: var(--gold-light); }
.c-card.teal .c-icon { background: var(--teal-light); }
.c-card.sky .c-icon { background: var(--sky-light); }

.c-card h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.c-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.65; margin-bottom: 20px; }

.c-link { font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700; }
.c-card.violet .c-link { color: var(--violet); }
.c-card.coral .c-link { color: var(--coral); }
.c-card.gold .c-link { color: #B45309; }
.c-card.teal .c-link { color: var(--teal); }
.c-card.sky .c-link { color: #0284C7; }

.c-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 50px;
}

.badge-hot { background: var(--coral-light); color: var(--coral); }
.badge-new { background: var(--teal-light); color: var(--teal); }

/* ── STATS ── */
.stats-section {
  padding: 64px 5%;
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat-item {
  padding: 40px 24px;
  text-align: center;
  background: var(--ink);
  border-right: 1px solid rgba(255,255,255,0.07);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 52px; font-weight: 900;
  line-height: 1; margin-bottom: 8px;
}

.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ── HOW IT WORKS ── */
.how-section { padding: 80px 5%; background: white; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-top: 52px;
}

.step { text-align: center; padding: 0 16px; }

.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 22px; font-weight: 900;
  margin: 0 auto 16px; color: white;
}

.step-num.s1 { background: var(--violet); }
.step-num.s2 { background: var(--sky); }
.step-num.s3 { background: var(--teal); }
.step-num.s4 { background: var(--coral); }

.step h4 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }

/* ── TUTORS ── */
.tutors-section { padding: 80px 5%; background: var(--off-white); }

.tutors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px; margin-top: 52px;
}

.tutor-card {
  background: white; border-radius: 20px; padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.tutor-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

.t-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 24px; font-weight: 900;
  border: 3px solid;
}

.t-avatar.v { background: var(--violet-light); color: var(--violet); border-color: var(--violet); }
.t-avatar.c { background: var(--coral-light); color: var(--coral); border-color: var(--coral); }
.t-avatar.t { background: var(--teal-light); color: var(--teal); border-color: var(--teal); }
.t-avatar.s { background: var(--sky-light); color: var(--sky); border-color: var(--sky); }

.tutor-card h4 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }

.t-subject {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  font-family: 'Nunito', sans-serif;
  padding: 3px 12px; border-radius: 50px; margin-bottom: 10px;
}

.t-subject.v { background: var(--violet-light); color: var(--violet); }
.t-subject.c { background: var(--coral-light); color: var(--coral); }
.t-subject.t { background: var(--teal-light); color: var(--teal); }
.t-subject.s { background: var(--sky-light); color: var(--sky); }

.tutor-card p { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testi-section { padding: 80px 5%; background: white; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 52px;
}

.testi-card {
  border-radius: 20px; padding: 28px;
  border: 1px solid var(--border);
}

.testi-card.violet { background: var(--violet-light); border-color: var(--violet-mid); }
.testi-card.coral { background: var(--coral-light); border-color: var(--coral-mid); }
.testi-card.gold { background: var(--gold-light); border-color: var(--gold-mid); }

.stars-row { font-size: 16px; margin-bottom: 12px; }
.testi-card.violet .stars-row { color: var(--violet); }
.testi-card.coral .stars-row { color: var(--coral); }
.testi-card.gold .stars-row { color: var(--gold); }

.testi-text { font-size: 15px; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-card.violet .testi-text { color: #4C1D95; }
.testi-card.coral .testi-text { color: #881337; }
.testi-card.gold .testi-text { color: #78350F; }

.testi-author { display: flex; align-items: center; gap: 10px; }

.ta-init {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0; color: white;
}

.testi-card.violet .ta-init { background: var(--violet); }
.testi-card.coral .ta-init { background: var(--coral); }
.testi-card.gold .ta-init { background: var(--gold); color: var(--ink); }

.ta-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.ta-detail { font-size: 12px; color: var(--ink-muted); }

/* ── PRICING ── */
.pricing-section { padding: 80px 5%; background: var(--off-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 52px;
}

.price-card {
  background: white; border-radius: 20px; padding: 32px 28px;
  border: 2px solid var(--border);
  transition: transform 0.2s;
}

.price-card:hover { transform: translateY(-3px); }
.price-card.featured { background: var(--violet); border-color: var(--violet); color: white; }

.price-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.price-card.featured h3 { color: white; }

.price-amt {
  font-family: 'Nunito', sans-serif;
  font-size: 44px; font-weight: 900;
  line-height: 1; margin: 16px 0; color: var(--ink);
}

.price-card.featured .price-amt { color: white; }
.price-amt span { font-size: 18px; font-weight: 600; color: var(--ink-muted); }
.price-card.featured .price-amt span { color: rgba(255,255,255,0.7); }

.price-desc { font-size: 14px; color: var(--ink-muted); margin-bottom: 24px; line-height: 1.6; }
.price-card.featured .price-desc { color: rgba(255,255,255,0.75); }

.price-features { list-style: none; margin-bottom: 28px; }

.price-features li {
  font-size: 14px; color: var(--ink-mid); padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}

.price-card.featured .price-features li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.15); }
.price-features li::before { content: '✓'; font-weight: 700; font-size: 13px; color: var(--teal); flex-shrink: 0; }
.price-card.featured .price-features li::before { color: var(--gold-mid); }

.btn-price {
  width: 100%; padding: 13px; border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px; font-weight: 800;
  cursor: pointer; display: block; text-align: center;
  transition: background 0.2s, transform 0.15s;
}

.btn-price.outlined { background: transparent; border: 2px solid var(--violet); color: var(--violet); }
.btn-price.outlined:hover { background: var(--violet); color: white; transform: translateY(-1px); }
.btn-price.filled { background: white; border: 2px solid white; color: var(--violet); }
.btn-price.filled:hover { background: #EDE9FE; transform: translateY(-1px); }

/* ── CTA BANNER ── */
.cta-section { padding: 80px 5%; background: white; text-align: center; }

.cta-inner {
  background: linear-gradient(135deg, var(--violet) 0%, var(--sky) 50%, var(--teal) 100%);
  border-radius: 28px; padding: 64px 40px;
  position: relative; overflow: hidden;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; color: white;
  margin-bottom: 14px; letter-spacing: -0.02em;
}

.cta-inner p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; }

.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-cta-main {
  background: white; color: var(--violet);
  padding: 14px 34px; border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px; font-weight: 800;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-cta-main:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.btn-cta-sec {
  border: 2px solid rgba(255,255,255,0.5); color: white;
  padding: 14px 34px; border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px; font-weight: 700;
  display: inline-block; transition: border-color 0.2s;
}

.btn-cta-sec:hover { border-color: white; }

/* ── FOOTER ── */
#site-footer { background: var(--ink); padding: 60px 5% 28px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}

.footer-brand-desc {
  font-size: 14px; color: rgba(255,255,255,0.45);
  line-height: 1.7; margin-top: 14px; max-width: 280px;
}

.footer-col-title {
  font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 800;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.58); transition: color 0.2s; }
.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.3);
  flex-wrap: wrap; gap: 12px;
}

.footer-socials { display: flex; gap: 16px; }

.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px; font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.footer-socials a:hover { background: rgba(255,255,255,0.1); color: white; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .hero-section { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #site-navigation { display: none; }
  .colour-band { grid-template-columns: repeat(5, 1fr); }
  .cb-item { font-size: 11px; padding: 14px 8px; }
  .stats-section { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 48px 5% 40px; }
  .stats-section { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   HEADER ADDITIONS — cart, mobile toggle
══════════════════════════════════════════════ */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Cart icon */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  color: var(--ink-mid);
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.header-cart:hover { border-color: var(--violet); color: var(--violet); }

.asa-cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  background: var(--violet);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 10px; font-weight: 800;
  border-radius: 50px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  opacity: 0;
  transition: opacity 0.2s;
}
.asa-cart-count.has-items { opacity: 1; }

/* Mobile nav toggle — hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero pills — now links */
.hero-pill {
  color: var(--ink-mid);
  transition: border-color 0.2s, color 0.2s;
}
.hero-pill:hover { border-color: var(--violet); color: var(--violet); }

/* Colour band items — now links */
.colour-band a.cb-item {
  color: white;
  transition: filter 0.2s;
}
.colour-band a.cb-item:hover { filter: brightness(1.12); }

/* How-it-works steps — now links */
a.step { display: block; text-decoration: none; border-radius: 16px; transition: background 0.2s; }
a.step:hover { background: var(--off-white); }
a.step h4, a.step p { color: inherit; }


/* ══════════════════════════════════════════════
   DIGITAL PRODUCTS SECTION
══════════════════════════════════════════════ */

.digital-section {
  padding: 80px 5%;
  background: var(--off-white);
}

/* ── Product grid ── */
.digital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

/* ── Product card ── */
.dp-card {
  background: var(--white);
  border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.dp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  border-color: var(--violet-mid);
}

/* Product image / thumbnail */
.dp-img-wrap {
  position: relative;
  display: block;
  background: var(--violet-light);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.dp-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.dp-card:hover .dp-img-wrap img { transform: scale(1.03); }

/* Placeholder when no image */
.dp-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  background: linear-gradient(135deg, var(--violet-light), var(--sky-light));
}

/* Download badge on image */
.dp-type-badge {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--ink-mid);
  display: flex; align-items: center; gap: 5px;
  backdrop-filter: blur(4px);
}

/* Free badge */
.dp-free-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--teal);
  color: white;
  border-radius: 50px;
  padding: 3px 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px; font-weight: 800;
}

/* Card body */
.dp-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dp-cats {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--violet);
  background: var(--violet-light);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.dp-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.dp-body h3 a { color: inherit; }
.dp-body h3 a:hover { color: var(--violet); }

.dp-excerpt {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

/* Footer: price + button */
.dp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.dp-price {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
}
/* WooCommerce price HTML: ins/del */
.dp-price ins { text-decoration: none; color: var(--ink); }
.dp-price del { font-size: 14px; color: var(--ink-muted); font-weight: 500; }
.dp-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; }

.dp-btn {
  background: var(--violet);
  color: white;
  padding: 9px 18px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.dp-btn:hover { background: #6D28D9; transform: translateY(-1px); color: white; }
.dp-btn-free { background: var(--teal); }
.dp-btn-free:hover { background: #0d9265; }

/* WooCommerce "added to cart" state */
.dp-btn.added { background: var(--teal); }
.dp-btn.loading { opacity: 0.7; cursor: wait; }

/* Section footer: "Browse all" link */
.digital-footer {
  margin-top: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.digital-note {
  font-size: 13px;
  color: var(--ink-muted);
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 18px;
  max-width: 460px;
}

/* Empty state */
.digital-empty {
  background: white;
  border-radius: 20px;
  border: 1.5px dashed var(--border);
  padding: 60px 40px;
  text-align: center;
  margin-top: 52px;
}
.de-icon { font-size: 48px; margin-bottom: 16px; }
.digital-empty h4 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.digital-empty p { font-size: 15px; color: var(--ink-muted); max-width: 420px; margin: 0 auto; }
.digital-empty a { color: var(--violet); }


/* ══════════════════════════════════════════════
   FOOTER ADDITIONS
══════════════════════════════════════════════ */

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: white; }

/* SVG social icons */
.footer-socials a svg { display: block; }


   RESPONSIVE ADDITIONS
══════════════════════════════════════════════ */

@media (max-width: 860px) {
  /* Show mobile toggle, hide nav by default */
  .nav-toggle { display: flex; }
  #site-navigation { display: none; }
  #site-navigation.nav-open {
    display: block;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: white;
    border-bottom: 2px solid var(--border);
    padding: 16px 5%;
    z-index: 99;
  }
  #site-navigation.nav-open ul {
    flex-direction: column;
    gap: 4px;
  }
  #site-navigation.nav-open ul li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  #site-navigation.nav-open ul li:last-child a { border-bottom: none; }
  #site-navigation.nav-open ul li.menu-enrol a {
    margin-top: 8px;
    text-align: center;
    border-radius: 50px;
    border-bottom: none;
    display: block;
  }

  /* Digital grid: 2 columns on tablet */
  .digital-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  /* Digital grid: single column on phone */
  .digital-grid { grid-template-columns: 1fr; }
  .dp-footer { flex-direction: column; align-items: flex-start; }
}


/* ══════════════════════════════════════════════════════════
   WOOCOMMERCE — v1.7  (single source, no duplicates)
   Shop · Single Product · Cart · Checkout · My Account
   Order Confirmation · Notices · Buttons · Responsive
══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────
   PAGE WRAPPER & HEADER BAR
────────────────────────────────────────────────────────── */

.woo-page-wrap { min-height: 60vh; }

.woo-page-header {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--sky-light) 100%);
  border-bottom: 1px solid var(--border);
  padding: 36px 5% 28px;
}
.woo-page-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.woo-page-icon { font-size: 38px; line-height: 1; flex-shrink: 0; }
.woo-page-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 5px;
  line-height: 1.15;
}
.woo-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
  padding: 0;
  list-style: none;
}
.woo-breadcrumb a { color: var(--violet); font-weight: 600; text-decoration: none; }
.woo-breadcrumb a:hover { text-decoration: underline; }
.woo-bc-sep { font-size: 10px; opacity: 0.5; }

/* ──────────────────────────────────────────────────────────
   MAIN CONTENT AREA
────────────────────────────────────────────────────────── */

.woo-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 5% 80px;
}

/* The .woocommerce div WC injects — must never float */
.woo-main > .woocommerce {
  float: none !important;
  width: 100% !important;
  clear: both !important;
}

/* ──────────────────────────────────────────────────────────
   NOTICES
────────────────────────────────────────────────────────── */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  margin: 0 0 20px !important;
  padding: 13px 18px 13px 18px;
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background: var(--teal-light);
  color: var(--ink);
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.woocommerce-info  { border-color: var(--sky);   background: var(--sky-light);   }
.woocommerce-error { border-color: var(--coral); background: var(--coral-light); }
.woocommerce-error li { list-style: none; width: 100%; }
.woocommerce-message .button,
.woocommerce-info .button { margin-left: auto !important; }

/* ──────────────────────────────────────────────────────────
   BUTTONS  (one block — no more duplicates)
────────────────────────────────────────────────────────── */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce #respond input#submit {
  display: inline-block;
  background: var(--violet);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 11px 24px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover {
  background: #6D28D9;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(124,58,237,0.28);
}
/* Alt style — "Proceed to checkout", "Place order" etc. */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce-page a.button.alt,
.woocommerce-page button.button.alt {
  background: var(--teal);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: #0d9265; color: #fff; }

/* Disabled */
.woocommerce a.button[disabled],
.woocommerce button.button[disabled],
.woocommerce a.button.disabled,
.woocommerce button.button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────
   SHOP PAGE — product grid
────────────────────────────────────────────────────────── */

/* Hide WC's own page title — our woo-page-title is used */
.woocommerce-products-header { display: none !important; }

/* Toolbar (count + sort) */
.woocommerce-products-header + form,
.woocommerce .woocommerce-products-header + form { display: none; }
.woocommerce-result-count {
  font-size: 13px;
  color: var(--ink-muted);
  float: left;
  margin: 0 0 20px !important;
  line-height: 38px;
}
.woocommerce-ordering {
  float: right;
  margin: 0 0 20px !important;
}
.woocommerce-ordering select {
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  outline: none;
}
.woocommerce-ordering select:focus { border-color: var(--violet); }

/* Clear toolbar float before grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  clear: both;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}

/* Product card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
  border-color: var(--violet-mid);
}

/* Product image area */
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  overflow: hidden;
  background: var(--off-white);
}
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.3s;
}
.woocommerce ul.products li.product:hover img { transform: scale(1.05); }

/* Placeholder for products with no image */
.woocommerce ul.products li.product .woocommerce-loop-product__link:not(:has(img))::before,
.woocommerce ul.products li.product img.woocommerce-placeholder {
  height: 190px !important;
  object-fit: contain !important;
  opacity: 0.3 !important;
  padding: 30px !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Nunito', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  padding: 14px 16px 6px !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

/* Price */
.woocommerce ul.products li.product .price {
  font-family: 'Nunito', sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: var(--ink) !important;
  padding: 0 16px 14px !important;
  display: block !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .price del {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--ink-muted) !important;
  margin-right: 4px;
}
.woocommerce ul.products li.product .price ins { text-decoration: none !important; }

/* Push button to bottom of card */
.woocommerce ul.products li.product .button {
  margin: auto 14px 14px !important;
  width: calc(100% - 28px) !important;
  display: block !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
  text-align: center !important;
}

/* Sale badge */
.woocommerce span.onsale {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  right: auto !important;
  background: var(--coral);
  color: #fff;
  border-radius: 50px;
  padding: 3px 11px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
  min-height: unset !important;
  min-width: unset !important;
}

/* Star ratings */
.woocommerce .star-rating {
  overflow: hidden;
  font-size: 0.85em;
  color: var(--gold);
  margin: 0 16px 8px !important;
}
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before { color: var(--gold); }

/* Shop pagination */
.woocommerce nav.woocommerce-pagination {
  text-align: center;
  margin-top: 40px;
  clear: both;
}
.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--violet-light); border-color: var(--violet); color: var(--violet); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--violet); border-color: var(--violet); color: #fff; }

/* Empty shop */
.woocommerce-info.woocommerce-no-products-found {
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  border-radius: 16px;
  border-left: none;
  flex-direction: column;
  gap: 14px;
}

/* ──────────────────────────────────────────────────────────
   SINGLE PRODUCT PAGE
────────────────────────────────────────────────────────── */

.woocommerce div.product {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 52px;
  align-items: start;
}

/* Image gallery */
.woocommerce div.product .woocommerce-product-gallery {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--off-white);
  position: sticky;
  top: 88px;
}
.woocommerce div.product .woocommerce-product-gallery img {
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.woocommerce div.product .flex-control-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
}
.woocommerce div.product .flex-control-thumbs li { flex: none; }
.woocommerce div.product .flex-control-thumbs li img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 2px solid transparent !important;
  cursor: pointer;
  transition: border-color 0.15s;
}
.woocommerce div.product .flex-control-thumbs li img.flex-active { border-color: var(--violet) !important; }

/* Summary */
.woocommerce div.product .summary { padding: 8px 0 0; }
.woocommerce div.product .product_title {
  font-family: 'Nunito', sans-serif !important;
  font-size: clamp(22px, 2.8vw, 30px) !important;
  font-weight: 900 !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em;
  margin: 0 0 10px !important;
  line-height: 1.15;
}
.woocommerce div.product .woocommerce-product-rating { margin: 0 0 12px !important; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Nunito', sans-serif !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  color: var(--violet) !important;
  display: block !important;
  margin: 0 0 16px !important;
}
.woocommerce div.product p.price del { font-size: 18px !important; color: var(--ink-muted) !important; font-weight: 500 !important; }
.woocommerce div.product p.price ins { text-decoration: none !important; color: var(--violet) !important; }
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--border);
}
.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.woocommerce div.product form.cart .quantity { margin: 0; }
.woocommerce div.product form.cart .button { padding: 13px 30px !important; font-size: 15px !important; flex-shrink: 0; }

/* Quantity spinner */
.woocommerce .quantity input.qty {
  width: 64px;
  height: 44px;
  padding: 0 10px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
  -webkit-appearance: none;
}
.woocommerce .quantity input.qty:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.woocommerce .quantity input[type=number]::-webkit-inner-spin-button,
.woocommerce .quantity input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Product meta */
.woocommerce div.product .product_meta {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
}
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 5px; }
.woocommerce div.product .product_meta a { color: var(--violet); }

/* Attributes */
.woocommerce div.product .woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}
.woocommerce div.product .woocommerce-product-attributes th,
.woocommerce div.product .woocommerce-product-attributes td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.woocommerce div.product .woocommerce-product-attributes th { color: var(--ink-muted); font-weight: 600; width: 120px; background: var(--off-white); }

/* Tabs — span both grid columns */
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 24px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid var(--border);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 22px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--violet); border-bottom-color: var(--violet); }
.woocommerce div.product .woocommerce-tabs .panel {
  padding: 28px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-mid);
}

/* Related products heading */
.related.products h2,
.upsells.products h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  margin: 48px 0 20px;
  grid-column: 1 / -1;
}

/* ──────────────────────────────────────────────────────────
   CART PAGE
────────────────────────────────────────────────────────── */

/* Two-column layout: table | totals panel */
.woocommerce-cart .woocommerce-cart-form { margin-bottom: 0; }
.woocommerce-cart .woo-main > .woocommerce {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.woocommerce-cart .woocommerce-cart-form { grid-column: 1; }
.woocommerce-cart .cart-collaterals       { grid-column: 2; position: sticky; top: 88px; }

/* Cart table */
.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.woocommerce-cart table.cart thead { background: var(--off-white); }
.woocommerce-cart table.cart thead th {
  padding: 12px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
.woocommerce-cart table.cart tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 14px;
  color: var(--ink);
}
.woocommerce-cart table.cart tbody tr:last-child td { border-bottom: none; }

/* Thumbnail cell */
.woocommerce-cart table.cart td.product-thumbnail { width: 88px; }
.woocommerce-cart table.cart td.product-thumbnail img {
  width: 68px !important;
  height: 68px !important;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
}

/* Product name */
.woocommerce-cart table.cart td.product-name a {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.woocommerce-cart table.cart td.product-name a:hover { color: var(--violet); }
.woocommerce-cart table.cart td.product-name .variation {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 3px;
}

/* Remove × */
.woocommerce-cart table.cart td.product-remove a.remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--coral-light);
  color: var(--coral) !important;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  transition: background 0.15s;
}
.woocommerce-cart table.cart td.product-remove a.remove:hover { background: var(--coral); color: #fff !important; }

/* Actions row (coupon + update button) */
.woocommerce-cart table.cart td.actions {
  background: var(--off-white);
  padding: 14px 16px;
}
.woocommerce-cart .coupon { display: flex; align-items: center; float: left; gap: 0; }
.woocommerce-cart .coupon label { display: none; }
.woocommerce-cart .coupon .input-text {
  padding: 9px 16px;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: 50px 0 0 50px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  min-width: 160px;
  outline: none;
  transition: border-color 0.15s;
}
.woocommerce-cart .coupon .input-text:focus { border-color: var(--violet); }
.woocommerce-cart .coupon .button { border-radius: 0 50px 50px 0 !important; padding: 9px 18px !important; }
.woocommerce-cart .actions .button[name="update_cart"] { float: right; }
.woocommerce-cart table.cart td.actions::after { content: ''; display: table; clear: both; }

/* Cart totals panel */
.woocommerce-cart .cart_totals {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.woocommerce-cart .cart_totals h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.woocommerce-cart .cart_totals table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.woocommerce-cart .cart_totals table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  width: 44%;
  vertical-align: top;
}
.woocommerce-cart .cart_totals table td {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  text-align: right;
}
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
  border-bottom: none;
  padding-top: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 900;
}
.woocommerce-cart .cart_totals .order-total td { color: var(--violet); }
.woocommerce-cart .wc-proceed-to-checkout { padding: 0; margin-top: 2px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100% !important;
  padding: 14px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
  text-align: center !important;
  background: var(--teal) !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: #0d9265 !important; color: #fff !important; }

/* Empty cart message */
.woocommerce-cart p.cart-empty {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-muted);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
}
.woocommerce-cart .return-to-shop { text-align: center; margin-top: 16px; }

/* ──────────────────────────────────────────────────────────
   CHECKOUT PAGE
────────────────────────────────────────────────────────── */

/* Two-column layout via grid on the wrapper */
.woocommerce-checkout .woo-main > .woocommerce {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}
/* Left column */
.woocommerce-checkout .woo-main > .woocommerce > form.woocommerce-checkout { grid-column: 1; }
/* Right column: heading + order review */
.woocommerce-checkout .woo-main > .woocommerce > h3#order_review_heading,
.woocommerce-checkout .woo-main > .woocommerce > #order_review {
  grid-column: 2;
}

/* Section headings inside checkout */
.woocommerce-checkout h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

/* Half-width field pairs */
.woocommerce .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 { margin: 0; float: none !important; width: auto !important; }

/* All form fields */
.woocommerce form .form-row { margin: 0 0 14px; clear: none; }
.woocommerce form .form-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.woocommerce form .form-row .required { color: var(--coral); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form input.input-text,
.woocommerce #order_review input.input-text,
.woocommerce #order_review textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--coral); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--teal); }

/* Select arrow */
.woocommerce form .form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Order review panel */
#order_review_heading {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
}
#order_review {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  position: sticky;
  top: 88px;
}
#order_review table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 14px;
}
#order_review table.shop_table th { font-weight: 600; color: var(--ink-muted); padding: 9px 0; border-bottom: 1px solid var(--border); text-align: left; }
#order_review table.shop_table td { font-weight: 700; color: var(--ink); padding: 9px 0; border-bottom: 1px solid var(--border); text-align: right; }
#order_review table.shop_table .order-total th,
#order_review table.shop_table .order-total td {
  border-bottom: none;
  padding-top: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 900;
}
#order_review table.shop_table .order-total td { color: var(--violet); }

/* Payment section */
#payment {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-top: 14px;
}
#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
#payment ul.payment_methods li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
#payment ul.payment_methods li:last-child { border-bottom: none; }
#payment ul.payment_methods li label { cursor: pointer; font-weight: 600; color: var(--ink); }
#payment .payment_box {
  background: #fff;
  border-radius: 8px;
  padding: 11px 14px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  border: 1px solid var(--border);
}
#place_order {
  display: block !important;
  width: 100% !important;
  margin-top: 4px !important;
  padding: 15px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  text-align: center !important;
  background: var(--teal) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  font-family: 'Nunito', sans-serif !important;
  transition: background 0.18s !important;
}
#place_order:hover { background: #0d9265 !important; }

/* ──────────────────────────────────────────────────────────
   ORDER CONFIRMATION (Thank You page)
────────────────────────────────────────────────────────── */

/* Success banner */
.woocommerce-order-received .woo-main > .woocommerce {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.woocommerce-thankyou-order-received {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--teal-light);
  border: 1.5px solid var(--teal-mid);
  border-radius: 16px;
  padding: 22px 24px;
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #065f46;
  margin-bottom: 28px !important;
}
.woocommerce-thankyou-order-received::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}

/* Order overview pills */
.woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px !important;
}
.woocommerce-order-overview li {
  flex: 1;
  min-width: 140px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.woocommerce-order-overview li strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  margin-top: 4px;
  text-transform: none;
  letter-spacing: 0;
}
.woocommerce-order-overview li.woocommerce-order-overview__payment-method strong { color: var(--violet); }

/* Order details section */
.woocommerce-order-details { margin-bottom: 28px; }
.woocommerce-order-details__title,
.woocommerce-column__title {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.woocommerce-table--order-details,
.woocommerce-table--order-details.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
.woocommerce-table--order-details thead th {
  background: var(--off-white);
  padding: 11px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.woocommerce-table--order-details td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--ink);
}
.woocommerce-table--order-details tfoot tr:last-child td,
.woocommerce-table--order-details tfoot tr:last-child th { border-bottom: none; }
.woocommerce-table--order-details tfoot .order-total td strong {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  color: var(--violet);
}

/* Customer address columns */
.woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.woocommerce-customer-details address {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
  font-style: normal;
}

/* ──────────────────────────────────────────────────────────
   MY ACCOUNT PAGE
────────────────────────────────────────────────────────── */

.woocommerce-account .woo-main > .woocommerce {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 88px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 6px 0; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 10px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-mid);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  color: var(--violet);
  background: var(--violet-light);
  border-left-color: var(--violet);
}
.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 16px;
}
.woocommerce-orders-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-orders-table th {
  background: var(--off-white);
  padding: 10px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.woocommerce-orders-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  vertical-align: middle;
}
.woocommerce-order-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  background: var(--teal-light);
  color: var(--teal);
}
.woocommerce-MyAccount-downloads-file a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--violet);
  color: #fff;
  padding: 7px 15px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s;
}
.woocommerce-MyAccount-downloads-file a:hover { background: #6D28D9; }

/* ──────────────────────────────────────────────────────────
   RESPONSIVE — WooCommerce
────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  /* Single product */
  .woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
  .woocommerce div.product .woocommerce-product-gallery { position: static; }

  /* Cart */
  .woocommerce-cart .woo-main > .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-cart .cart-collaterals { position: static; grid-column: 1; }

  /* Checkout */
  .woocommerce-checkout .woo-main > .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-checkout .woo-main > .woocommerce > h3#order_review_heading,
  .woocommerce-checkout .woo-main > .woocommerce > #order_review { grid-column: 1; position: static; }
  .woocommerce .col2-set { grid-template-columns: 1fr; gap: 0; }

  /* My account */
  .woocommerce-account .woo-main > .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce-MyAccount-navigation { position: static; }

  /* Shop grid */
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; }

  /* Order confirmation */
  .woocommerce-customer-details { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .woo-page-header { padding: 22px 5% 16px; }
  .woo-main { padding: 28px 5% 60px; }

  /* Shop single column */
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr !important; }

  /* Cart: stack rows on mobile */
  .woocommerce-cart table.cart thead { display: none; }
  .woocommerce-cart table.cart td { display: block; width: 100% !important; border-bottom: none; }
  .woocommerce-cart table.cart td.product-thumbnail { padding-bottom: 0; }
  .woocommerce-cart table.cart tbody tr { border-bottom: 1px solid var(--border); display: block; }
  .woocommerce-cart table.cart td.actions { border-bottom: none; }

  /* Order overview wrap */
  .woocommerce-order-overview { flex-direction: column; }
  .woocommerce-order-overview li { min-width: 0; }
}
/* ══════════════════════════════════════════════
   PAGES, POSTS, ARCHIVES, SEARCH, 404  — v1.5
   All future content follows these styles.
══════════════════════════════════════════════ */

/* ════════════════════════════════════════════
   SHARED: Page & Post hero banner
════════════════════════════════════════════ */

.site-page-wrap { min-height: 60vh; }

/* Default gradient hero (no featured image) */
.page-hero,
.post-hero {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--sky-light) 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 5% 36px;
}

/* Hero with featured image — dark overlay applied via inline style */
.page-hero--image,
.post-hero--image {
  background-size: cover !important;
  background-position: center !important;
  padding: 72px 5% 56px;
}
.page-hero--image .page-breadcrumb a,
.post-hero--image .page-breadcrumb,
.post-hero--image .page-breadcrumb a,
.post-hero--image .post-meta,
.post-hero--image .post-meta-author,
.post-hero--image .post-meta-date,
.post-hero--image .post-meta-read,
.post-hero--image .post-meta-divider { color: rgba(255,255,255,0.75) !important; }
.page-hero--image .page-hero-title,
.post-hero--image .post-hero-title    { color: white !important; }

.page-hero-inner,
.post-hero-inner,
.archive-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* Breadcrumb */
.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.page-breadcrumb a { color: var(--violet); font-weight: 600; }
.page-breadcrumb a:hover { text-decoration: underline; }
.bc-sep { color: var(--ink-muted); font-size: 11px; }

/* Page / post hero title */
.page-hero-title,
.post-hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

/* Post category pill on hero */
.post-cat-pill {
  display: inline-block;
  background: var(--violet);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-cat-pill:hover { background: #6D28D9; color: white; }

/* Post meta row */
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.post-meta-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 2px solid var(--violet-light) !important;
  flex-shrink: 0;
}
.post-meta-text { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-meta-author { font-weight: 700; font-size: 14px; color: var(--ink); }
.post-meta-date, .post-meta-read { font-size: 13px; color: var(--ink-muted); }
.post-meta-divider { color: var(--border); font-size: 16px; }

/* ════════════════════════════════════════════
   PAGE TEMPLATE
════════════════════════════════════════════ */

.page-content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 5% 80px;
}

/* ════════════════════════════════════════════
   POST TEMPLATE
════════════════════════════════════════════ */

.post-content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 5% 80px;
}
.post-layout { position: relative; }

/* ════════════════════════════════════════════
   SHARED: entry-content (page & post body)
   Styles every element WordPress / Gutenberg
   outputs inside the_content().
════════════════════════════════════════════ */

.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-mid);
}

/* Headings */
.entry-content h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 2em 0 0.6em;
  line-height: 1.2;
}
.entry-content h3 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  color: var(--ink);
  margin: 1.75em 0 0.5em;
  line-height: 1.25;
}
.entry-content h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 1.5em 0 0.4em;
}
.entry-content h5, .entry-content h6 {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.5em 0 0.4em;
}

/* Paragraphs */
.entry-content p { margin-bottom: 1.4em; }
.entry-content p:last-child { margin-bottom: 0; }

/* Links */
.entry-content a {
  color: var(--violet);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(124,58,237,0.35);
  transition: text-decoration-color 0.15s, color 0.15s;
}
.entry-content a:hover {
  color: #6D28D9;
  text-decoration-color: #6D28D9;
}

/* Lists */
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.4em 1.5em;
  padding: 0;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content li > ul,
.entry-content li > ol { margin-top: 0.4em; margin-bottom: 0.4em; }

/* Blockquote */
.entry-content blockquote {
  border-left: 4px solid var(--violet);
  background: var(--violet-light);
  margin: 2em 0;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #4C1D95;
  font-size: 18px;
  line-height: 1.7;
}
.entry-content blockquote p { margin-bottom: 0; }
.entry-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: normal;
  color: var(--violet);
  font-weight: 700;
}

/* Code */
.entry-content code {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.88em;
  font-family: 'Courier New', Courier, monospace;
  color: var(--coral);
}
.entry-content pre {
  background: var(--ink);
  color: #E5E7EB;
  border-radius: 14px;
  padding: 24px;
  overflow-x: auto;
  margin: 2em 0;
  font-size: 14px;
  line-height: 1.65;
}
.entry-content pre code {
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

/* Images */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 1.5em auto;
  display: block;
}
.entry-content figure {
  margin: 2em 0;
}
.entry-content figcaption {
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 15px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.entry-content thead th {
  background: var(--off-white);
  padding: 12px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.entry-content tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.entry-content tbody tr:last-child td { border-bottom: none; }
.entry-content tbody tr:nth-child(even) { background: var(--off-white); }

/* Horizontal rule */
.entry-content hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2.5em 0;
}

/* Embeds (YouTube, Vimeo, etc.) */
.entry-content .wp-block-embed,
.entry-content .wp-video,
.entry-content .fluid-width-video-wrapper {
  margin: 2em 0;
  border-radius: 14px;
  overflow: hidden;
}

/* Gutenberg blocks */
.entry-content .wp-block-pullquote {
  border-top: 4px solid var(--violet);
  border-bottom: 4px solid var(--violet);
  padding: 24px 0;
  text-align: center;
}
.entry-content .wp-block-separator { border-color: var(--border); }
.entry-content .wp-block-button__link {
  background: var(--violet);
  color: white;
  border-radius: 50px;
  padding: 12px 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.entry-content .wp-block-button__link:hover { background: #6D28D9; color: white; }

/* Callout / notice boxes using Gutenberg's "Notice" block or custom classes */
.entry-content .wp-block-group.is-style-notice,
.entry-content .notice-box {
  background: var(--violet-light);
  border-left: 4px solid var(--violet);
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
  margin: 2em 0;
}

/* Multi-page post links */
.page-links {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 2em 0;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.page-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.page-links a span {
  color: var(--violet);
  border-color: var(--violet);
}
.page-links a span:hover { background: var(--violet); color: white; }

/* Tags */
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-tag-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mid);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.post-tag-pill:hover { background: var(--violet-light); border-color: var(--violet); color: var(--violet); }

/* Author card */
.post-author-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  padding: 24px;
  background: var(--off-white);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.pac-avatar {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  border: 3px solid var(--violet-light) !important;
  flex-shrink: 0;
}
.pac-name {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.pac-bio { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }

/* Post navigation (prev/next) */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.post-nav-item:hover { border-color: var(--violet); box-shadow: 0 4px 16px rgba(124,58,237,0.1); }
.post-nav-prev { text-align: left; }
.post-nav-next { text-align: right; grid-column: 2; }
.post-nav-dir {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-nav-title {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

/* Comments */
.post-comments { margin-top: 40px; }
.post-comments .comments-title {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 24px;
}
.comment-list { list-style: none; padding: 0; }
.comment-body {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.comment-author .fn { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--ink); }
.comment-metadata { font-size: 12px; color: var(--ink-muted); margin: 4px 0 10px; }
.comment-content p { font-size: 15px; color: var(--ink-mid); line-height: 1.7; }
.reply a { font-size: 12px; color: var(--violet); font-weight: 700; }
.comment-respond { margin-top: 32px; }
.comment-respond h3 { font-family: 'Nunito', sans-serif; font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: white;
  margin-bottom: 12px;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.comment-form input[type="submit"] {
  background: var(--violet);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}
.comment-form input[type="submit"]:hover { background: #6D28D9; }

/* ════════════════════════════════════════════
   ARCHIVE HERO
════════════════════════════════════════════ */

.archive-hero {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--sky-light) 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 5% 36px;
}
.archive-hero-label {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.archive-hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.archive-hero-desc {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   POSTS GRID (blog listing, archive, search)
════════════════════════════════════════════ */

.archive-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 5% 80px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Post card */
.post-card {
  background: white;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  border-color: var(--violet-mid);
}

/* Card image */
.post-card-img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--violet-light);
}
.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.post-card:hover .post-card-img { transform: scale(1.04); }

/* Placeholder when no image */
.post-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--violet-light), var(--sky-light));
}
.post-card-placeholder-icon { font-size: 40px; }

/* Card body */
.post-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Category pill on card */
.post-card-cat {
  display: inline-block;
  background: var(--violet-light);
  color: var(--violet);
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.15s, color 0.15s;
}
.post-card-cat:hover { background: var(--violet); color: white; }

.post-card-title {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--violet); }

.post-card-excerpt {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: auto;
}
.post-card-date { font-weight: 500; }
.post-card-divider { color: var(--border); font-size: 14px; }
.post-card-read { font-weight: 500; }

/* Archive pagination */
.archive-pagination { margin-top: 48px; }
.archive-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.archive-pagination .page-numbers:hover   { background: var(--violet-light); border-color: var(--violet); color: var(--violet); }
.archive-pagination .page-numbers.current { background: var(--violet); border-color: var(--violet); color: white; }
.archive-pagination .page-numbers.dots    { border-color: transparent; background: none; cursor: default; }

/* Archive empty state */
.archive-empty {
  text-align: center;
  padding: 80px 20px;
}
.ae-icon { font-size: 52px; margin-bottom: 20px; }
.archive-empty h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}
.archive-empty p { font-size: 15px; color: var(--ink-muted); max-width: 440px; margin: 0 auto; }

/* ════════════════════════════════════════════
   SEARCH FORM
════════════════════════════════════════════ */

.search-form-wrap { margin-bottom: 40px; }

.asa-search-form,
.search-form {
  display: flex;
  gap: 0;
  max-width: 560px;
}
.asa-search-form label,
.search-form label {
  flex: 1;
  margin: 0;
}
.asa-search-form .search-field,
.search-form .search-field {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: 50px 0 0 50px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: white;
  transition: border-color 0.15s;
  outline: none;
}
.asa-search-form .search-field:focus,
.search-form .search-field:focus { border-color: var(--violet); }
.asa-search-form .search-submit,
.search-form .search-submit {
  background: var(--violet);
  color: white;
  border: none;
  border-radius: 0 50px 50px 0;
  padding: 13px 22px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.asa-search-form .search-submit:hover,
.search-form .search-submit:hover { background: #6D28D9; }

/* ════════════════════════════════════════════
   404 PAGE
════════════════════════════════════════════ */

.error-404-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 5% 100px;
  text-align: center;
}
.e404-visual {
  margin-bottom: 32px;
}
.e404-num {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: 900;
  color: var(--violet-light);
  line-height: 1;
  letter-spacing: -0.05em;
}
.e404-formula {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ink-muted);
  margin-top: -16px;
}
.e404-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.e404-sub {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.e404-search { margin-bottom: 28px; }
.e404-search .asa-search-form,
.e404-search .search-form { max-width: 100%; }
.e404-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════
   RESPONSIVE — content pages
════════════════════════════════════════════ */

@media (max-width: 860px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .post-nav   { grid-template-columns: 1fr; }
  .post-nav-next { grid-column: 1; text-align: left; }
  .post-author-card { flex-direction: column; }
}

@media (max-width: 560px) {
  .posts-grid { grid-template-columns: 1fr; }
  .page-hero, .post-hero, .archive-hero { padding: 36px 5% 28px; }
  .page-content-wrap, .post-content-wrap { padding: 36px 5% 60px; }
  .archive-wrap { padding: 32px 5% 60px; }
}
