/*
Theme Name: Southern Liquidation (Active)
Theme URI: https://southernliquidation.com
Description: Southern Liquidation Child Theme
Author: Southern Liquidation
Author URI: https://southernliquidation.com
Template: astra
Version: 1.0
*/

/* ── VARIABLES ── */
:root {
  --navy: #0a1628;
  --gold: #e8a020;
  --blue: #020186;
  --light-gray: #f5f4f2;
  --mid-gray: #e8e6e2;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --white: #ffffff;
}

/* ── GLOBAL ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--white);
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
}

/* ── NAVIGATION ── */
.site-header {
  background: var(--navy) !important;
  padding: 0 2rem;
}

.site-title a {
  color: var(--white) !important;
  font-size: 1.2rem;
  font-weight: 600;
}

.nav-primary {
  background: var(--navy) !important;
}

.nav-primary .genesis-nav-menu a {
  color: rgba(255,255,255,0.85) !important;
  font-size: 13px;
  padding: 0 1rem;
  line-height: 56px;
}

.nav-primary .genesis-nav-menu a:hover {
  color: var(--gold) !important;
  background: transparent !important;
}

.nav-primary .genesis-nav-menu .current-menu-item > a {
  color: var(--gold) !important;
}

/* NAV CTA Button */
.nav-cta a {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 7px 16px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  line-height: 56px;
}

/* ── HERO SECTION ── */
.hero-section {
  background: var(--navy);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(232,160,32,0.15);
  border: 0.5px solid rgba(232,160,32,0.4);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-line1 {
  color: var(--white);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 640px;
  margin: 0 auto 0.25rem;
}

.hero-line2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  min-height: 1.4em;
  color: var(--gold);
}

.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background: #d4911a;
  color: var(--navy);
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 6px;
  display: inline-block;
}

.btn-outline-white:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 6px;
  border-left: 4px solid var(--blue);
  display: inline-block;
  cursor: pointer;
}

.btn-navy:hover {
  background: #0d1f3a;
  color: var(--white);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--gold);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 1.25rem 1rem;
  border-right: 0.5px solid rgba(10,22,40,0.15);
}

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

.stat-num {
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
}

.stat-label {
  font-size: 11px;
  color: rgba(10,22,40,0.65);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

/* ── WAVE DIVIDER ── */
.wave-divider {
  display: block;
  width: 100%;
  margin-bottom: -2px;
  line-height: 0;
}

/* ── SECTIONS ── */
.section-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-light {
  padding: 3rem 2rem;
  background: var(--light-gray);
}

.section-white {
  padding: 3rem 2rem;
  background: var(--white);
}

.section-navy {
  padding: 3rem 2rem;
  background: var(--navy);
}

/* ── SERVICE CARDS ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 0.5px solid var(--mid-gray);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── PROGRAM CARDS ── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.program-card {
  background: var(--light-gray);
  border: 0.5px solid var(--mid-gray);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.program-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.condition-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.badge-returns { background: #faeeda; color: #854f0b; }
.badge-new { background: #eaf3de; color: #3b6d11; }
.badge-salvage { background: #fcebeb; color: #a32d2d; }

.program-card-body {
  padding: 12px;
  flex: 1;
}

.program-card-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.program-card-price {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.program-card-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.program-card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.program-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--white);
  color: var(--text-secondary);
  border: 0.5px solid var(--mid-gray);
}

.program-card-cta {
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  padding: 8px;
  margin: 8px 12px 12px;
  border-radius: 5px;
  text-decoration: none;
}

.program-card-cta:hover {
  background: #0d1f3a;
  color: var(--white);
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 0.5px solid var(--mid-gray);
  border-radius: 12px;
  padding: 1.5rem;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 500;
}

.testimonial-role {
  font-size: 11px;
  color: var(--text-secondary);
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy);
  padding: 2.5rem 2rem;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 1.5rem;
}

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

/* ── NEWSLETTER ── */
.newsletter-bar {
  background: var(--gold);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter-text .newsletter-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.newsletter-text .newsletter-sub {
  font-size: 12px;
  color: rgba(10,22,40,0.65);
  margin-top: 2px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 560px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.55);
  border: none;
  border-radius: 4px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--navy);
}

.newsletter-form button {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* ── FOOTER ── */
.site-footer {
  background: #06101f !important;
  padding: 2rem !important;
}

.footer-widgets {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 0;
}

.footer-widget h4 {
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-widget p,
.footer-widget a {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 4px;
  display: block;
}

.footer-widget a:hover {
  color: var(--gold);
}

.footer-brand-name {
  color: var(--gold);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.footer-bottom-bar {
  background: #06101f;
  border-top: 2px solid var(--blue);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
}

.footer-bottom-bar p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* ── FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  position: relative;
}

.filter-tab {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 6px;
  border: 0.5px solid var(--mid-gray);
  background: var(--light-gray);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.filter-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  background: var(--white);
  border: 0.5px solid var(--mid-gray);
  border-radius: 8px;
  min-width: 190px;
  z-index: 100;
  padding: 6px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.filter-dropdown.open {
  display: block;
}

.filter-dropdown label {
  padding: 7px 14px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-dropdown label:hover {
  background: var(--light-gray);
}

.filter-dropdown input[type="checkbox"] {
  accent-color: var(--gold);
  width: 13px;
  height: 13px;
}

/* ── SINGLE PROGRAM PAGE ── */
.program-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 2rem;
}

.program-main-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.program-main-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.program-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.program-thumbnails img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  border: 0.5px solid var(--mid-gray);
  cursor: pointer;
}

.program-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.program-price {
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.program-details-grid {
  border: 0.5px solid var(--mid-gray);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.program-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid var(--mid-gray);
}

.program-detail-row:last-child {
  border-bottom: none;
}

.program-detail-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 10px 14px;
  background: var(--light-gray);
  border-right: 0.5px solid var(--mid-gray);
}

.program-detail-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 10px 14px;
  background: var(--white);
}

/* ── DISCLAIMER BOX ── */
.disclaimer-box {
  background: rgba(10,22,40,0.04);
  border: 0.5px solid var(--mid-gray);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.disclaimer-box p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

/* ── FORMS ── */
.sl-form {
  background: var(--white);
  border: 0.5px solid var(--mid-gray);
  border-radius: 12px;
  padding: 1.75rem;
}

.sl-form h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

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

.sl-form .form-group {
  margin-bottom: 12px;
}

.sl-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sl-form input,
.sl-form textarea,
.sl-form select {
  width: 100%;
  background: var(--light-gray);
  border: 0.5px solid var(--mid-gray);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text-primary);
  font-family: inherit;
}

.sl-form textarea {
  resize: none;
  height: 120px;
}

.sl-form .btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 12px;
  border-radius: 6px;
  border: none;
  border-left: 4px solid var(--blue);
  cursor: pointer;
  margin-top: 0.5rem;
}

/* ── SIDEBAR FILTERS ── */
.catalog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
}

.filter-sidebar {
  background: var(--light-gray);
  border-right: 0.5px solid var(--mid-gray);
  padding: 1.5rem;
}

.filter-section h4 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0.75rem;
  padding-bottom: 6px;
  border-bottom: 0.5px solid var(--mid-gray);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
}

.filter-option input {
  accent-color: var(--gold);
  width: 13px;
  height: 13px;
}

.filter-option.sub {
  padding-left: 18px;
  font-size: 12px;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 3.5rem 2rem;
  text-align: center;
}

.page-hero-badge {
  display: inline-block;
  background: rgba(232,160,32,0.15);
  border: 0.5px solid rgba(232,160,32,0.4);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.page-hero h1 {
  color: var(--white);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.page-hero h1 span {
  color: var(--gold);
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .service-grid,
  .programs-grid,
  .testimonials-grid,
  .stats-bar,
  .footer-widgets {
    grid-template-columns: 1fr;
  }

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

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

  .hero-line1,
  .hero-line2 {
    font-size: 24px;
  }

  .newsletter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}