/*
Theme Name: Pondhams Auctioneers
Theme URI: https://pondhams.com
Author: Pondhams Auctioneers
Author URI: https://pondhams.com
Description: A luxury automotive auction theme for Pondhams Auctioneers. Features vehicle listings, auction management, theme options panel, and a premium design aesthetic.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pondhams
Tags: auction, automotive, luxury, vehicles, custom-colors, custom-logo, featured-images, theme-options
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --ph-primary:       #101010;
  --ph-primary-fg:    #ffffff;
  --ph-accent:        #C0392B;
  --ph-accent-hover:  #a93226;
  --ph-muted:         #5C5C5C;
  --ph-border:        #E0E0E0;
  --ph-input-bg:      #F5F5F5;
  --ph-bg:            #ffffff;
  --ph-bg-secondary:  #F9F9F9;
  --ph-radius:        8px;
  --ph-radius-lg:     12px;
  --ph-font-display:  'Cormorant Garamond', Georgia, serif;
  --ph-font-body:     'Sofia Sans', 'Helvetica Neue', Arial, sans-serif;
  --ph-shadow:        0 4px 24px rgba(0,0,0,0.08);
  --ph-shadow-lg:     0 12px 40px rgba(0,0,0,0.14);
  --ph-transition:    all 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ph-font-body);
  background: var(--ph-bg);
  color: var(--ph-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ph-font-display);
  font-weight: 500;
  line-height: 1.2;
}

.ph-display {
  font-family: var(--ph-font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
}

.ph-heading-lg { font-family: var(--ph-font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; }
.ph-heading-md { font-family: var(--ph-font-display); font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 500; }
.ph-heading-sm { font-family: var(--ph-font-display); font-size: 1.3rem; font-weight: 500; }

.ph-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ph-muted);
}

/* ============================================================
   LAYOUT
============================================================ */
.ph-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ph-section { padding: 5rem 0; }
.ph-section-sm { padding: 3rem 0; }

/* ============================================================
   BUTTONS
============================================================ */
.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.8rem;
  border-radius: var(--ph-radius);
  font-family: var(--ph-font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--ph-transition);
  border: none;
  text-decoration: none;
}

.ph-btn-primary {
  background: var(--ph-accent);
  color: #fff;
}
.ph-btn-primary:hover { background: var(--ph-accent-hover); color: #fff; }

.ph-btn-dark {
  background: var(--ph-primary);
  color: #fff;
}
.ph-btn-dark:hover { opacity: 0.8; }

.ph-btn-outline {
  background: transparent;
  color: var(--ph-primary);
  border: 1px solid var(--ph-border);
}
.ph-btn-outline:hover { background: var(--ph-primary); color: #fff; border-color: var(--ph-primary); }

.ph-btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.ph-btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.ph-btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; }
.ph-btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }

/* ============================================================
   HEADER / NAVIGATION
============================================================ */
.ph-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 4rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.ph-header.scrolled {
  background: var(--ph-primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.ph-header-transparent { background: transparent; }

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

.ph-logo-img { height: 44px; width: auto; }

.ph-logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ph-logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ph-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ph-primary);
  flex-shrink: 0;
}

.ph-logo-text {
  font-family: var(--ph-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.ph-logo-sub {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-family: var(--ph-font-body);
  display: block;
}

.ph-nav { display: flex; align-items: center; gap: 0.25rem; }

.ph-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 300;
  padding: 0.5rem 0.9rem;
  border-radius: var(--ph-radius);
  transition: var(--ph-transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ph-nav a:hover,
.ph-nav a.current-menu-item { color: #fff; background: rgba(255,255,255,0.1); }

.ph-nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.ph-search-toggle {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.85);
  font-family: var(--ph-font-body);
  font-size: 0.82rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  transition: var(--ph-transition);
}

.ph-search-toggle:hover { color: #fff; }

.ph-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile Nav */
.ph-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ph-primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.ph-mobile-nav.open { display: flex; }

.ph-mobile-nav a {
  color: #fff;
  font-family: var(--ph-font-display);
  font-size: 2rem;
  font-weight: 400;
  transition: opacity 0.2s;
}

.ph-mobile-nav a:hover { opacity: 0.5; }

.ph-mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   SEARCH OVERLAY
============================================================ */
.ph-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

.ph-search-overlay.open { display: flex; }

.ph-search-box {
  background: #fff;
  border-radius: var(--ph-radius-lg);
  padding: 2rem;
  width: 90%;
  max-width: 640px;
}

.ph-search-form { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--ph-border); padding-bottom: 1rem; }

.ph-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--ph-font-body);
  font-size: 1.1rem;
  color: var(--ph-primary);
  background: transparent;
}

.ph-search-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--ph-muted);
  cursor: pointer;
  line-height: 1;
}

.ph-search-hint { font-size: 0.8rem; color: var(--ph-muted); margin-top: 1rem; font-weight: 300; }

/* ============================================================
   HERO
============================================================ */
.ph-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ph-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%);
}

.ph-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45);
}

.ph-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.ph-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 4rem;
  max-width: 680px;
  margin-top: 80px;
}

.ph-hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.ph-hero-title {
  font-family: var(--ph-font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: phFadeUp 0.9s ease both;
}

.ph-hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 480px;
}

.ph-hero-steps {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
}

.ph-hero-step {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ph-hero-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}

.ph-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.ph-hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ph-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes phFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   VEHICLE FILTER BAR
============================================================ */
.ph-filter-bar {
  background: var(--ph-primary);
  padding: 1.5rem 0;
  position: relative;
  z-index: 20;
}

.ph-filter-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: center;
}

.ph-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 140px;
  max-width: 200px;
}

.ph-filter-label {
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph-filter-select {
  width: 100%;
  height: 40px;
  background: #fff;
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  padding: 0 2rem 0 0.9rem;
  font-family: var(--ph-font-body);
  font-size: 0.83rem;
  color: var(--ph-muted);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-color: #fff;
  transition: var(--ph-transition);
}

.ph-filter-select:focus {
  outline: none;
  border-color: var(--ph-accent);
}

/* ============================================================
   VEHICLE GRID
============================================================ */
.ph-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ph-vehicle-card {
  background: var(--ph-bg);
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ph-border);
  transition: var(--ph-transition);
  display: flex;
  flex-direction: column;
}

.ph-vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ph-shadow-lg);
  border-color: transparent;
}

.ph-vehicle-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.ph-vehicle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ph-vehicle-card:hover .ph-vehicle-img-wrap img { transform: scale(1.04); }

.ph-vehicle-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--ph-accent);
  color: #fff;
}

.ph-vehicle-badge.sold { background: #555; }
.ph-vehicle-badge.featured { background: #d4a017; }
.ph-vehicle-badge.new { background: #2ecc71; }

.ph-vehicle-lot {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.5);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.ph-vehicle-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ph-vehicle-make {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ph-muted);
  font-weight: 300;
  margin-bottom: 0.3rem;
}

.ph-vehicle-name {
  font-family: var(--ph-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--ph-primary);
}

.ph-vehicle-price {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ph-accent);
  margin-bottom: 0.75rem;
}

.ph-vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex: 1;
}

.ph-spec-tag {
  font-size: 0.72rem;
  color: var(--ph-muted);
  background: var(--ph-bg-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-weight: 300;
}

.ph-vehicle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ph-border);
  padding-top: 0.9rem;
  margin-top: auto;
}

.ph-vehicle-auction {
  font-size: 0.72rem;
  color: var(--ph-muted);
  font-weight: 300;
}

.ph-vehicle-auction strong { color: var(--ph-primary); font-weight: 400; }

/* ============================================================
   VEHICLE SINGLE PAGE
============================================================ */
.ph-single-hero {
  margin-top: 80px;
  background: var(--ph-bg-secondary);
  padding: 3rem 0;
}

.ph-single-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 0.75rem;
}

.ph-gallery-main {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: 4/3;
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.ph-gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.ph-gallery-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--ph-radius);
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
}

.ph-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--ph-transition); }
.ph-gallery-thumb:hover img { opacity: 0.85; }

.ph-single-content { padding: 3rem 0; }

.ph-single-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.ph-single-breadcrumb {
  font-size: 0.78rem;
  color: var(--ph-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ph-single-breadcrumb a { color: var(--ph-muted); }
.ph-single-breadcrumb a:hover { color: var(--ph-primary); }

.ph-single-make { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ph-muted); margin-bottom: 0.5rem; font-weight: 300; }

.ph-single-title { font-family: var(--ph-font-display); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 500; margin-bottom: 1rem; }

.ph-single-price { font-size: 2rem; font-weight: 500; color: var(--ph-accent); margin-bottom: 2rem; }

.ph-single-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.ph-spec-item {
  background: var(--ph-bg-secondary);
  border-radius: var(--ph-radius);
  padding: 1rem;
  border: 1px solid var(--ph-border);
}

.ph-spec-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ph-muted); margin-bottom: 0.3rem; font-weight: 300; }

.ph-spec-value { font-size: 0.95rem; font-weight: 400; color: var(--ph-primary); }

.ph-single-desc-title { font-family: var(--ph-font-display); font-size: 1.4rem; font-weight: 500; margin-bottom: 1rem; }

.ph-single-desc p { color: var(--ph-muted); line-height: 1.8; margin-bottom: 1rem; font-size: 0.92rem; font-weight: 300; }

.ph-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.ph-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ph-muted);
  font-weight: 300;
}

.ph-feature-item::before {
  content: '✓';
  color: var(--ph-accent);
  font-weight: 500;
}

/* Sidebar */
.ph-bid-card {
  background: var(--ph-bg);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
}

.ph-bid-card-title { font-family: var(--ph-font-display); font-size: 1.3rem; font-weight: 500; margin-bottom: 0.25rem; }

.ph-bid-card-sub { font-size: 0.8rem; color: var(--ph-muted); margin-bottom: 1.5rem; font-weight: 300; }

.ph-bid-price { font-size: 1.8rem; font-weight: 500; color: var(--ph-accent); margin-bottom: 0.25rem; }

.ph-bid-label { font-size: 0.72rem; color: var(--ph-muted); margin-bottom: 1.5rem; font-weight: 300; }

.ph-bid-input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  padding: 0 1rem;
  font-family: var(--ph-font-body);
  font-size: 1rem;
  color: var(--ph-primary);
  background: var(--ph-input-bg);
  margin-bottom: 0.75rem;
  outline: none;
  transition: var(--ph-transition);
}

.ph-bid-input:focus { border-color: var(--ph-accent); background: #fff; }

.ph-bid-card .ph-btn { width: 100%; margin-bottom: 0.75rem; justify-content: center; }

.ph-bid-meta { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ph-border); }

.ph-bid-meta-row { display: flex; justify-content: space-between; font-size: 0.82rem; }

.ph-bid-meta-row span:first-child { color: var(--ph-muted); font-weight: 300; }

.ph-bid-meta-row span:last-child { font-weight: 400; }

/* ============================================================
   STATS BAR
============================================================ */
.ph-stats-bar {
  background: var(--ph-primary);
  padding: 2.5rem 0;
}

.ph-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.ph-stat-number {
  font-family: var(--ph-font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.3rem;
}

.ph-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 300; letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================
   CTA BANNER
============================================================ */
.ph-cta {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.ph-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f3460, #533483, #1a1a2e);
}

.ph-cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35); }

.ph-cta-glass {
  position: absolute;
  inset: 0;
  width: 55%;
  background: rgba(16,16,16,0.7);
  backdrop-filter: blur(10px);
}

.ph-cta-content {
  position: relative;
  z-index: 10;
  padding: 4rem;
  max-width: 560px;
}

.ph-cta-title { font-family: var(--ph-font-display); font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 500; color: #fff; margin-bottom: 0.75rem; line-height: 1.3; }

.ph-cta-sub { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 300; margin-bottom: 2rem; }

/* ============================================================
   NEWSLETTER
============================================================ */
.ph-newsletter {
  padding: 5rem 0;
}

.ph-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.ph-newsletter-copy { max-width: 480px; }

.ph-newsletter-title { font-family: var(--ph-font-display); font-size: 2rem; font-weight: 500; margin-bottom: 0.75rem; }

.ph-newsletter-sub { font-size: 0.88rem; color: var(--ph-muted); font-weight: 300; line-height: 1.7; }

.ph-newsletter-form { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 0.75rem; }

.ph-newsletter-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ph-muted); font-weight: 400; }

.ph-newsletter-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  padding: 0 1rem;
  font-family: var(--ph-font-body);
  font-size: 0.88rem;
  background: var(--ph-input-bg);
  outline: none;
  transition: var(--ph-transition);
}

.ph-newsletter-input:focus { border-color: var(--ph-primary); background: #fff; }

/* ============================================================
   FOOTER
============================================================ */
.ph-footer {
  background: #101010;
  color: #fff;
  padding: 4rem 0 2rem;
}

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

.ph-footer-brand-name {
  font-family: var(--ph-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.ph-footer-brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--ph-font-body);
}

.ph-footer-desc { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 280px; }

.ph-footer-col h4 { font-size: 0.7rem; font-weight: 400; color: rgba(255,255,255,0.85); margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--ph-font-body); }

.ph-footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.ph-footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.84rem; font-weight: 300; transition: color 0.2s; }

.ph-footer-col ul li a:hover { color: #fff; }

.ph-social-row { display: flex; gap: 0.6rem; margin-top: 1.5rem; }

.ph-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1E1D1D;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--ph-transition);
  font-size: 0.8rem;
  text-decoration: none;
}

.ph-social-btn:hover { background: var(--ph-accent); color: #fff; }

.ph-footer-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 2rem 0; }

.ph-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

.ph-footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-weight: 300; }

.ph-footer-links { display: flex; gap: 1.5rem; }
.ph-footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-weight: 300; transition: color 0.2s; }
.ph-footer-links a:hover { color: #fff; }

/* ============================================================
   MODALS
============================================================ */
.ph-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ph-modal-overlay.open { display: flex; }

.ph-modal {
  background: #fff;
  border-radius: var(--ph-radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.ph-modal-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--ph-muted);
  cursor: pointer;
  line-height: 1;
}

.ph-modal-title { font-family: var(--ph-font-display); font-size: 1.8rem; font-weight: 500; margin-bottom: 0.4rem; }

.ph-modal-sub { font-size: 0.85rem; color: var(--ph-muted); margin-bottom: 1.8rem; font-weight: 300; }

.ph-form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }

.ph-form-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ph-muted); font-weight: 400; }

.ph-form-control {
  width: 100%;
  height: 44px;
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  padding: 0 1rem;
  font-family: var(--ph-font-body);
  font-size: 0.9rem;
  color: var(--ph-primary);
  background: var(--ph-input-bg);
  outline: none;
  transition: var(--ph-transition);
}

.ph-form-control:focus { border-color: var(--ph-accent); background: #fff; }

textarea.ph-form-control { height: 100px; padding: 0.75rem 1rem; resize: vertical; }

/* ============================================================
   SECTION HEADERS
============================================================ */
.ph-section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; }

.ph-section-title { font-family: var(--ph-font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; }

.ph-section-sub { font-size: 0.88rem; color: var(--ph-muted); font-weight: 300; margin-top: 0.4rem; }

.ph-view-link { font-size: 0.85rem; font-weight: 300; color: var(--ph-primary); border-bottom: 1px solid var(--ph-primary); padding-bottom: 2px; transition: opacity 0.2s; white-space: nowrap; }
.ph-view-link:hover { opacity: 0.5; }

/* ============================================================
   BREADCRUMB
============================================================ */
.ph-breadcrumb {
  background: var(--ph-bg-secondary);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ph-border);
  margin-top: 80px;
}

.ph-breadcrumb-inner { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--ph-muted); }
.ph-breadcrumb-inner a { color: var(--ph-muted); transition: color 0.2s; }
.ph-breadcrumb-inner a:hover { color: var(--ph-primary); }
.ph-breadcrumb-inner span { color: var(--ph-primary); }

/* ============================================================
   ARCHIVE / ALL VEHICLES PAGE
============================================================ */
.ph-archive-header {
  margin-top: 80px;
  background: var(--ph-primary);
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}

.ph-archive-title { font-family: var(--ph-font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; color: #fff; margin-bottom: 0.5rem; }

.ph-archive-count { font-size: 0.85rem; color: rgba(255,255,255,0.5); font-weight: 300; }

.ph-archive-filters {
  background: #fff;
  border-bottom: 1px solid var(--ph-border);
  padding: 1.2rem 0;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.ph-archive-filter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ph-filter-chip {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--ph-border);
  font-size: 0.78rem;
  color: var(--ph-muted);
  cursor: pointer;
  background: #fff;
  transition: var(--ph-transition);
  font-family: var(--ph-font-body);
}

.ph-filter-chip:hover,
.ph-filter-chip.active { background: var(--ph-primary); color: #fff; border-color: var(--ph-primary); }

/* ============================================================
   PAGINATION
============================================================ */
.ph-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }

.ph-page-btn {
  width: 40px; height: 40px;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--ph-muted);
  text-decoration: none;
  transition: var(--ph-transition);
}

.ph-page-btn:hover, .ph-page-btn.current { background: var(--ph-primary); color: #fff; border-color: var(--ph-primary); }

/* ============================================================
   NOTICES & ALERTS
============================================================ */
.ph-notice { padding: 0.9rem 1.2rem; border-radius: var(--ph-radius); font-size: 0.88rem; margin-bottom: 1rem; }
.ph-notice-success { background: #d4edda; color: #155724; }
.ph-notice-error { background: #f8d7da; color: #721c24; }
.ph-notice-info { background: #d1ecf1; color: #0c5460; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .ph-header { padding: 0 2rem; }
  .ph-nav { display: none; }
  .ph-mobile-toggle { display: flex; }
  .ph-vehicles-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ph-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-single-grid { grid-template-columns: 1fr; }
  .ph-bid-card { position: static; }
  .ph-single-gallery { grid-template-columns: 1fr; }
  .ph-gallery-main { grid-row: auto; aspect-ratio: 16/10; }
  .ph-cta-glass { width: 100%; }
}

@media (max-width: 640px) {
  .ph-hero-content { padding: 0 1.5rem; }
  .ph-vehicles-grid { grid-template-columns: 1fr; }
  .ph-footer-grid { grid-template-columns: 1fr; }
  .ph-newsletter-inner { flex-direction: column; gap: 2rem; }
  .ph-newsletter-form { max-width: 100%; }
  .ph-cta-content { padding: 2rem 1.5rem; }
  .ph-single-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-features-list { grid-template-columns: 1fr; }
  .ph-filter-group { min-width: 100%; max-width: 100%; }
  .ph-filter-inner { flex-direction: column; }
  .ph-stats-grid { grid-template-columns: 1fr 1fr; }
  .ph-footer-bottom { flex-direction: column; text-align: center; }
}
