/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Lato', system-ui, -apple-system, sans-serif;
    font-size: 16px; line-height: 1.6;
    color: var(--ac-text);
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
    font-family: 'Lato', system-ui, -apple-system, sans-serif;
    font-weight: 700; line-height: 1.25; color: var(--ac-dark);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ac-accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Container --- */
.ac-container {
    max-width: var(--ac-container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* --- Section utilities --- */
.ac-section        { padding-block: 72px; }
.ac-section--sm    { padding-block: 48px; }
.ac-section--gray  { background: white; }
.ac-section--white { background: #fff; }
.ac-section--dark  { background: var(--ac-primary); color: var(--ac-white); }
.ac-section--dark h2, .ac-section--dark h3 { color: var(--ac-white); }
.ac-section-header { text-align: center; margin-bottom: 48px; }
.ac-section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 10px; }
.ac-section-header p { color: var(--ac-muted); max-width: 560px; margin-inline: auto; }
.ac-text-center { text-align: center; }

/* --- Buttons --- */
.ac-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--ac-radius);
    font-weight: 600; font-size: .9rem; line-height: 1;
    transition: all var(--ac-transition);
    white-space: nowrap; cursor: pointer; text-decoration: none; border: none;
}
.ac-btn--sm  { padding: 8px 16px; font-size: .8rem; }
.ac-btn--lg  { padding: 15px 32px; font-size: 1rem; }
.ac-btn--full{ width: 100%; }

.ac-btn-primary     { background: var(--ac-accent); color: var(--ac-primary); }
.ac-btn-primary:hover { background: var(--ac-accent-dark); color: var(--ac-primary); }
.ac-btn-dark        { background: var(--ac-primary); color: var(--ac-white); }
.ac-btn-dark:hover  { background: #252545; color: var(--ac-white); }
.ac-btn-outline     { background: transparent; color: var(--ac-primary); border: 2px solid var(--ac-primary); }
.ac-btn-outline:hover { background: var(--ac-primary); color: var(--ac-white); }
.ac-btn-outline-white { background: transparent; color: var(--ac-white); border: 2px solid var(--ac-white); }
.ac-btn-outline-white:hover { background: var(--ac-white); color: var(--ac-primary); }
.ac-btn-whatsapp    { background: var(--ac-whatsapp); color: var(--ac-white); }
.ac-btn-whatsapp:hover { background: #1da851; color: var(--ac-white); }

/* Pill buttons (used on car pages) */
.ac-btn-pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: #111; color: #fff;
    padding: 13px 26px; border-radius: 100px;
    font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
    transition: background .2s; cursor: pointer; border: none; text-decoration: none;
}
.ac-btn-pill:hover { background: #333; color: #fff; }

/* --- Status badges --- */
.ac-badge { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.ac-status--for-sale      { background: #dcfce7; color: #15803d; }
.ac-status--sold          { background: #fee2e2; color: #b91c1c; }
.ac-status--reserved      { background: #fed7aa; color: #c2410c; }
.ac-status--being-prepared{ background: #fef9c3; color: #92400e; }
.ac-status--coming-soon   { background: #e0e7ef; color: #374151; }

/* --- Utilities --- */
.ac-spinner {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid currentColor; border-right-color: transparent;
    display: inline-block; animation: ac-spin .65s linear infinite;
}
@keyframes ac-spin { to { transform: rotate(360deg); } }

.ac-skeleton {
    background: linear-gradient(90deg, var(--ac-light) 25%, #eef0f5 50%, var(--ac-light) 75%);
    background-size: 200% 100%;
    animation: ac-shimmer 1.5s infinite; border-radius: 6px;
}
@keyframes ac-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* WhatsApp float button */
.ac-whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 200;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--ac-whatsapp); color: var(--ac-white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    transition: transform var(--ac-transition);
    animation: ac-float-pulse 2.5s ease-in-out infinite;
    text-decoration: none;
}
.ac-whatsapp-float:hover { transform: scale(1.1); color: var(--ac-white); }
@keyframes ac-float-pulse {
    0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
    50%      { box-shadow: 0 4px 30px rgba(37,211,102,.7); }
}


/* =============================================================================
   WARRANTY COMPONENTS PAGE
   ============================================================================= */
.page-template-page-components{
	padding-top: 80px;
}

.ac-section1 {
	padding: 30px 0 30px 0;
}
.ac-section-header--left { text-align: left; max-width: none; margin-left: 0; }

.ac-components-intro {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
}
.ac-components-exclusions {
    display: flex; flex-direction: column; gap: 16px;
}
.ac-components-exclusion {
    font-size: .95rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
    padding-left: 18px;
    border-left: 3px solid #e5e7eb;
}

.ac-components-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.ac-components-image {
    margin: 0;
}
.ac-components-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .ac-components-images { grid-template-columns: 1fr; }
}