  /*
  Theme Name: Carzone Motorz Child
  Theme URI: https://carzonemotorz.com
  Author: Custom Development
  Author URI: https://carzonemotorz.com
  Description: Child theme for Carzone Motorz. Safe place for custom CSS and overrides.
  Template: carzone-theme
  Version: 1.2.2
  Requires at least: 6.4
  Tested up to: 6.8
  Requires PHP: 8.1
  Text Domain: carzone-child
  License: GNU General Public License v2 or later
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
  */

  :root {
    --cz-green: #0f8b3a;
    --cz-green-dark: #0c6f2e;
    --cz-orange: #F47B20;
    --cz-orange-hover: #e06010;
    --cz-white: #ffffff;
    --cz-off: #F9FAFB;
    --cz-text: #111827;
    --cz-muted: #4B5563;
    --cz-sub: #6B7280;
    --cz-light: #9CA3AF;
    --cz-line: #E5E7EB;
    --cz-serif: "Cormorant Garamond", Georgia, serif;
    --cz-sans: "DM Sans", "Inter", sans-serif;
    --cz-nav: "Inter", "DM Sans", sans-serif;
  }

  /* ========== Headings ========== */
  .heading-hero,
  .heading-page,
  .heading-page-sm,
  .heading-xl,
  .heading-lg,
  .heading,
  .heading-md,
  .heading-sm {
    font-family: var(--cz-serif) !important;
    font-weight: 700 !important;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--cz-text);
    margin-top: 0;
    margin-bottom: 0;
  }

  .heading-hero {
    font-size: 2.25rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--cz-white);
  }
  .heading-page {
    font-size: 2.25rem;
    color: var(--cz-white);
  }
  .heading-page-sm {
    font-size: 2.25rem;
    color: var(--cz-white);
  }
  .heading-xl { font-size: 2.25rem; }
  .heading-lg { font-size: 1.875rem; line-height: 1.25; }
  .heading { font-size: 1.875rem !important; }
  .heading-md { font-size: 1.875rem; }
  .heading-sm { font-size: 1.875rem; }

  .heading-card-lg,
  .heading-card,
  .heading-card-md,
  .heading-card-sm {
    font-family: var(--cz-nav);
    font-weight: 700;
    color: var(--cz-text);
    margin: 0;
  }
  .heading-card-lg { font-size: 1.5rem; }
  .heading-card { font-size: 1.25rem; }
  .home-sec1 .heading-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .heading-card-md { font-size: 1.125rem; }
  .heading-card-sm { font-size: 0.875rem; }

  @media (min-width: 640px) {
    .heading-hero { font-size: 3rem; }
    .heading-page { font-size: 3rem; }
    .heading-page-sm { font-size: 3rem; }
    .heading-lg { font-size: 2.25rem; }
    .heading-md { font-size: 2.25rem; }
  }
  @media (min-width: 768px) {
    .heading-hero { font-size: 3.75rem; }
    .heading-xl { font-size: 3rem; }
    .heading { font-size: 2.25rem !important; }
  }
  @media (min-width: 1024px) {
    .heading-hero { font-size: 4.5rem; }
    .heading-page { font-size: 3.75rem; }
    .heading-lg { font-size: 3rem; }
  }

  .home-sec5 .heading-xl,
  .home-sec6 .heading,
  .abt-sec1 .heading-page,
  .abt-sec4 .heading,
  .ctc-sec1 .heading-page-sm,
  .fin-sec1 .heading-page,
  .trd-sec1 .heading-page,
  .faq-sec1 .heading-page-sm,
  .faq-sec3 .heading-card-lg,
  .inv-sec1 .heading-lg,
  .vcl-sec1 .heading-lg,
  .nf-sec1 .heading-md,
  .prv-sec1 .heading-md,
  .trm-sec1 .heading-md,
  .ftr-sec1 .heading-card-md {
    color: var(--cz-white) !important;
  }

  .home-sec4 .heading-card,
  .home-sec4 .heading-card-lg {
    color: inherit;
    font-weight: 800;
  }
  .home-sec4 .subheading {
    color: #d1d5db;
    margin-top: 0;
  }

  /* ========== Subheadings ========== */
  .subheading-kicker {
    display: block;
    font-family: var(--cz-sans);
    font-size: 0.75rem;
    font-weight: 800 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cz-orange);
    margin-top: 0;
    margin-bottom: 0.25rem;
  }

  .home-sec1 .subheading-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cz-orange);
    color: var(--cz-white) !important;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    box-shadow: 0 4px 6px rgb(0 0 0 / 0.12);
    margin-bottom: 0;
  }

  .subheading-hero {
    font-family: var(--cz-sans);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.7;
    color: #e5e7eb;
    margin: 0;
    max-width: 42rem;
  }
  .subheading-page {
    font-family: var(--cz-sans);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: #d1d5db;
    margin: 0 auto;
    max-width: 42rem;
  }
  .subheading {
    font-family: var(--cz-sans);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--cz-sub);
    margin: 0.5rem 0 0;
  }
  .subheading-sm {
    font-family: var(--cz-sans);
    font-size: 0.75rem;
    color: var(--cz-sub);
    margin: 0.25rem 0 0;
  }

  .home-sec5 .subheading { color: #9ca3af; }
  .ctc-sec1 .subheading,
  .faq-sec1 .subheading { color: #d1d5db; }
  .inv-sec1 .subheading { color: #9ca3af; margin-top: 0.25rem; }
  .prv-sec1 .subheading-sm,
  .trm-sec1 .subheading-sm { color: #9ca3af; }

  @media (min-width: 640px) {
    .subheading-page { font-size: 1.125rem; }
  }
  @media (min-width: 768px) {
    .subheading-hero { font-size: 1.25rem; }
  }

  /* ========== Paragraphs ========== */
  .para {
    font-family: var(--cz-sans);
    font-size: 1rem;
    line-height: 1.625;
    color: #4B5563;
    margin-top: 0;
    margin-bottom: 0;
  }
  .para-sm {
    font-family: var(--cz-sans);
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--cz-muted);
    margin-top: 0;
    margin-bottom: 0;
  }
  .subp {
    font-family: var(--cz-sans);
    font-size: 0.75rem;
    line-height: 1.65;
    color: var(--cz-muted);
    margin-top: 0;
    margin-bottom: 0;
  }
  .subp-muted {
    font-family: var(--cz-sans);
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--cz-sub);
    margin-top: 0;
    margin-bottom: 0;
  }
  .subp-light {
    font-family: var(--cz-sans);
    font-size: 0.75rem;
    line-height: 1.6;
    color: #d1d5db;
    margin-top: 0;
    margin-bottom: 0;
  }

  .home-sec6 .para-sm { color: rgba(255, 255, 255, 0.9); max-width: 28rem; }
  .home-sec6 .bg-\[\#0f8b3a\] .para-sm,
  .home-sec6 > div > div:last-child .para-sm { color: #d1d5db; }
  .faq-sec3 .subp-light { color: #d1d5db; }
  .ftr-sec1 .subp-light { color: #9ca3af; }

  @media (min-width: 768px) {
    .para-sm { font-size: 1rem; }
  }

  /* ========== Buttons ========== */
  .btn-primary,
  .btn-ghost,
  .btn-white,
  .btn-outline,
  .btn-submit,
  .btn-secondary,
  .btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--cz-sans);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0.75rem;
    border: 0;
    cursor: pointer;
    line-height: 1.25;
    padding: 0.875rem 1.75rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }
  .btn-primary img.emoji,
  .btn-outline img.emoji,
  .btn-ghost img.emoji {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    max-width: none;
    flex-shrink: 0;
  }
  .btn-ico {
    display: inline-block;
    font-size: 1.15em;
    line-height: 1;
    flex-shrink: 0;
  }

  .btn-primary {
    background: var(--cz-orange);
    color: var(--cz-white);
    box-shadow: 0 4px 14px rgb(244 123 32 / 0.28);
  }
  .btn-primary:hover {
    background: var(--cz-orange-hover);
    color: var(--cz-white);
  }

  .btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cz-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
  }
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--cz-white);
  }

  .btn-white {
    background: var(--cz-white);
    color: var(--cz-orange);
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.12);
  }
  .btn-white:hover {
    background: #f3f4f6;
    color: var(--cz-orange);
  }

  .btn-outline {
    background: var(--cz-white);
    color: var(--cz-text);
    border: 1px solid #d1d5db;
  }
  .btn-outline:hover {
    background: #f9fafb;
    color: var(--cz-text);
  }

  .btn-submit {
    width: 100%;
    background: var(--cz-orange);
    color: var(--cz-white);
    padding: 0.875rem 1.5rem;
  }
  .btn-submit:hover {
    background: var(--cz-orange-hover);
    color: var(--cz-white);
  }

  .btn-secondary {
    background: #e5e7eb;
    color: #1f2937;
    font-weight: 700;
  }
  .btn-secondary:hover {
    background: #d1d5db;
    color: #1f2937;
  }

  .btn-green {
    background: var(--cz-green);
    color: var(--cz-white);
    padding: 0.875rem 1.5rem;
  }
  .btn-green:hover {
    background: var(--cz-green-dark);
    color: var(--cz-white);
  }

  .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--cz-sans);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cz-orange);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0 0 0 0.75rem;
    cursor: pointer;
  }
  .btn-link:hover { text-decoration: underline; color: var(--cz-orange); }

  .btn-inquiry {
    background: var(--cz-orange);
    color: var(--cz-white);
    font-family: var(--cz-nav);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.25);
  }
  .btn-inquiry:hover {
    background: var(--cz-orange-hover);
    color: var(--cz-white);
  }

  /* ========== Sections ========== */
  .home-sec1 {
    position: relative;
    min-height: 90vh;
    background: var(--cz-green);
    color: var(--cz-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }
  .home-sec2 {
    padding: 2.5rem 0 3rem;
    background: var(--cz-white);
  }
  .home-sec3 {
    position: relative;
    padding: 5rem 0;
    background: #F9FAFB;
  }
  .home-sec3 .subheading-kicker {
    margin: 0;
    letter-spacing: 0.1em;
  }
  .home-sec3 .heading-lg {
    line-height: 1.25;
    color: #111827;
  }
  .home-sec3 .para {
    color: #4B5563;
    line-height: 1.625;
    font-size: 1rem;
    margin-top: 0 !important;
  }
  .home-sec3 .btn-primary {
    align-self: flex-start;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  }
  .home-sec3 .btn-primary:hover {
    transform: translateX(0.25rem);
  }
  .home-sec4 {
    padding: 5rem 0;
    background: var(--cz-white);
  }
  .home-sec5 {
    position: relative;
    padding: 6rem 0;
    background: var(--cz-green);
    color: var(--cz-white);
  }
  .home-sec6 { width: 100%; }
  .home-sec7 {
    padding: 5rem 0;
    background: var(--cz-white);
  }
  .home-sec8 {
    padding: 5rem 0;
    background: var(--cz-off);
  }
  .home-sec9 {
    padding: 5rem 0;
    background: var(--cz-white);
    border-top: 1px solid #f3f4f6;
  }

  .abt-sec1 {
    position: relative;
    overflow: hidden;
    background: var(--cz-green);
    color: var(--cz-white);
    padding: 5rem 1rem;
    border-bottom: 1px solid #1f2937;
    text-align: center;
  }
  .abt-sec2,
  .abt-sec5 { padding: 5rem 0; background: var(--cz-white); }
  .abt-sec3 {
    padding: 5rem 0;
    background: var(--cz-off);
    border-top: 1px solid var(--cz-line);
    border-bottom: 1px solid var(--cz-line);
  }
  .abt-sec4 {
    padding: 5rem 0;
    background: var(--cz-green);
    color: var(--cz-white);
  }

  .ctc-sec1,
  .fin-sec1,
  .trd-sec1,
  .faq-sec1 {
    background: var(--cz-green);
    color: var(--cz-white);
    padding: 4rem 1rem;
    border-bottom: 1px solid #1f2937;
    text-align: center;
  }
  .prv-sec1,
  .trm-sec1,
  .inv-sec1,
  .vcl-sec1,
  .nf-sec1 {
    background: var(--cz-green);
    color: var(--cz-white);
    padding: 3rem 1rem;
    border-bottom: 1px solid #1f2937;
  }

  .abt-sec5 .subheading-kicker { color: #9ca3af; }
  .abt-sec5 .grid > :last-child .subheading-kicker { color: var(--cz-orange) !important; }
  .abt-sec4 .heading-card-lg { text-transform: uppercase; color: var(--cz-text); }

  .fin-sec5 .heading-sm { text-align: center; }
  .ctc-sec1 { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
  .ctc-sec2 a[href^="mailto:"] { word-break: break-all; }
  .ctc-sec3 .heading-card-lg { font-family: var(--cz-serif); }
  .btn-submit.grow { width: auto; flex: 1 1 auto; }
  .btn-link { padding-left: 0; padding-top: 0.25rem; }

  .faq-sec1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .faq-sec3 {
    background: var(--cz-green);
    color: var(--cz-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .faq-sec3 .heading-card-lg {
    font-family: var(--cz-serif);
    color: var(--cz-white);
  }
  .faq-sec3 .subp-light {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
  }

  .ftr-sec1 {
    background: var(--cz-green);
    color: var(--cz-white);
    padding: 4rem 0 2rem;
    border-top: 6px solid var(--cz-orange);
  }
  .ftr-sec1 .heading-card-md {
    display: inline-block;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(244, 123, 32, 0.3);
    color: var(--cz-white);
  }
  .ftr-sec1 .subp-light { margin-bottom: 1rem; }

  .home-sec9 .heading-card-lg { margin-bottom: 1rem; font-family: var(--cz-serif); }
  .inv-sec3 .heading-card-lg,
  .vcl-sec4 .heading-card-lg,
  .nf-sec3 .heading-card-lg { font-family: var(--cz-serif); }

  .vcl-sec2 .btn-submit,
  .vcl-sec2 .btn-green { width: 100%; }

  .nf-sec1 { text-align: center; padding: 4rem 1rem; }
  .nf-sec1 .heading-md { margin-top: 0.5rem; }
  .nf-sec1 .subheading {
    color: #e5e7eb;
    max-width: 36rem;
    margin: 1rem auto 0;
  }

  .cz-trade-step[data-step="1"] .btn-submit { margin-top: 1rem; }

  .cz-dialog-head .heading-card-md,
  .cz-dialog-head .heading-card,
  .cz-drawer-panel .heading-card-md {
    color: var(--cz-white);
  }

  .heading-card-md a {
    color: inherit;
    text-decoration: none;
  }
  .vehicle-card:hover .heading-card-md,
  .vehicle-card:hover .heading-card-md a {
    color: var(--cz-orange);
  }
  .vehicle-card .btn-primary,
  .vehicle-card .btn-outline {
    width: 100%;
    padding: 0.65rem 0.75rem;
  }

  .btn-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
  }
  .btn-inquiry:hover { transform: scale(1.05); }

  /* Tailwind v4 space-y uses :where() (0 specificity). Keep original gaps. */
  .space-y-1 > * + * { margin-top: 0.25rem !important; }
  .space-y-2 > * + * { margin-top: 0.5rem !important; }
  .space-y-2\.5 > * + * { margin-top: 0.625rem !important; }
  .space-y-3 > * + * { margin-top: 0.75rem !important; }
  .space-y-4 > * + * { margin-top: 1rem !important; }
  .space-y-5 > * + * { margin-top: 1.25rem !important; }
  .space-y-6 > * + * { margin-top: 1.5rem !important; }
  .space-y-8 > * + * { margin-top: 2rem !important; }
  .space-y-12 > * + * { margin-top: 3rem !important; }
  .space-y-16 > * + * { margin-top: 4rem !important; }

  @media (max-width: 639px) {
    .home-sec3,
    .home-sec4,
    .home-sec5,
    .home-sec7,
    .home-sec8,
    .home-sec9,
    .abt-sec2,
    .abt-sec3,
    .abt-sec4,
    .abt-sec5 {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
    .home-sec1 .heading-hero {
      font-size: 1.875rem;
    }
  }

  .cz-sale-price,
  .cz-price-line {
    display: inline-block;
  }
  .cz-price-line {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.3rem;
    white-space: nowrap;
  }
  .cz-plus-tax {
    display: inline-block;
    margin: 0.2em 0 0;
    font-family: var(--cz-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #6b7280;
    white-space: nowrap;
  }
  .cz-price-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .cz-fin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    color: #c2410c;
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-family: var(--cz-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgb(194 65 12 / 0.08);
  }
  .cz-fin-badge svg {
    width: 0.85em;
    height: 0.85em;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
  }
  .cz-fin-badge-sm {
    padding: 0.2rem 0.5rem;
    font-size: 0.62rem;
  }
  .cz-fees-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--cz-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    white-space: nowrap;
  }

  /* Theme scrollbars — thin, rounded, orange (no Windows arrows) */
  html {
    scrollbar-width: thin;
    scrollbar-color: #F47B20 #f3f4f6;
  }
  * {
    scrollbar-width: thin;
    scrollbar-color: #F47B20 #eee;
  }
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
  }
  ::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 999px;
  }
  ::-webkit-scrollbar-thumb {
    background: #F47B20;
    border-radius: 999px;
    border: 2px solid #f3f4f6;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #e06010;
  }
  ::-webkit-scrollbar-corner {
    background: transparent;
  }
  .cz-h-scroll {
    scrollbar-width: thin;
    scrollbar-color: #F47B20 #f3f4f6;
    padding-bottom: 0.65rem;
  }
  .cz-h-scroll::-webkit-scrollbar {
    height: 6px;
  }
  .cz-h-scroll::-webkit-scrollbar-thumb {
    background: #F47B20;
    border: 0;
  }
