/*
Theme Name: Santa.Pics
Theme URI: https://santa.pics
Author: Santa.Pics
Author URI: https://santa.pics
Description: Australia's directory of Santa and Christmas photography experiences. Warm, festive and professional theme built for the Santa.Pics listings directory, complete with client dashboard, photography tips and Santa hire pages.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: santapic
Tags: directory, business, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   1. CSS VARIABLES / RESET / BASE TYPOGRAPHY
   ========================================================= */
:root {
  --red: #B22234;
  --dark-red: #8B1A2B;
  --cream: #FFF8F0;
  --green: #2D5F3E;
  --green-hover: #245233;
  --gold: #D4A843;
  --charcoal: #2C2C2C;
  --warm-grey: #6B6B6B;
  --light-grey: #F5F0EB;
  --white: #FFFFFF;
  --border-grey: #E4DED4;
  --max-width: 1200px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--dark-red); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--charcoal);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { margin: 0 0 16px; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }

button, input, textarea, select { font-family: inherit; }

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
  clip: auto !important;
  color: var(--charcoal);
  display: block;
  height: auto;
  left: 6px;
  line-height: normal;
  padding: 12px 16px;
  text-decoration: none;
  top: 6px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999999;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(178,34,52,0.28);
}
.btn-primary:hover { color: var(--white); }
.btn-secondary {
  background: var(--green);
  color: var(--white);
}
.btn-secondary:hover { background: var(--green-hover); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

.section { padding: 64px 0; }
.section-alt { background: var(--light-grey); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--warm-grey); font-size: 17px; max-width: 640px; margin: 0 auto 40px; }

/* =========================================================
   2. SITE LOGO
   ========================================================= */
.site-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; }
.site-logo-icon svg { width: 36px; height: 36px; }
.site-logo-text { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.site-logo-text .dim { opacity: 0.6; }
.footer-logo .site-logo-icon { width: 24px; height: 24px; margin-right: 6px; }
.footer-logo .site-logo-text { font-size: 20px; }
.custom-logo-link img { max-height: 40px; width: auto; }

/* =========================================================
   3. HEADER + NAVIGATION
   ========================================================= */
.site-header {
  background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
  color: var(--white);
  position: relative;
  z-index: 200;
}
.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-navigation { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}
.nav-menu li { position: relative; }
.nav-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
  display: inline-block;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: var(--white);
}
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  list-style: none;
  z-index: 100;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { display: block; }
.nav-menu .sub-menu a { color: var(--charcoal); padding: 8px 12px; border-radius: 8px; }
.nav-menu .sub-menu a:hover { background: var(--light-grey); }

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 4px 0;
  transition: 0.2s;
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   4. HERO + SEARCH
   ========================================================= */
.hero { text-align: center; padding: 48px 24px 56px; color: var(--white); }
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px; color: var(--white); }
.hero p.hero-subtitle { font-size: 18px; opacity: 0.85; font-weight: 400; margin-bottom: 32px; }

.hero-search-form,
.search-bar {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 50px;
  padding: 6px 6px 6px 24px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.hero-search-form input[type="search"],
.hero-search-form input[type="text"],
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--charcoal);
  background: transparent;
  font-family: inherit;
  padding: 10px 0;
}
.search-btn,
.hero-search-form button {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}
.search-btn:hover,
.hero-search-form button:hover { background: var(--green-hover); }

/* Standalone WordPress search form (searchform.php) used in sidebars etc. */
.search-form {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 50px;
  padding: 4px 4px 4px 18px;
}
.search-form label { flex: 1; margin: 0; }
.search-form .search-field {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  padding: 8px 0;
  font-family: inherit;
}
.search-form .search-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.search-form .search-submit:hover { background: var(--dark-red); }

/* =========================================================
   5. MAP
   ========================================================= */
.map-container {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.map-placeholder,
#santapic-map {
  background: linear-gradient(180deg, #e8e0d4 0%, #d4cec4 100%);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.map-placeholder .map-center { text-align: center; color: var(--warm-grey); }
.map-placeholder .map-center .icon { font-size: 48px; margin-bottom: 8px; }
.map-placeholder .map-center p { font-size: 16px; font-weight: 500; margin: 0; }
.map-placeholder .map-center .sub { font-size: 13px; opacity: 0.7; }
.map-pin {
  position: absolute;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  background: none;
  border: none;
  padding: 0;
}
.map-pin:hover { transform: scale(1.3); }
.listing-map .map-placeholder { height: 220px; }

/* =========================================================
   6. FILTER PILLS
   ========================================================= */
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-pill {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-grey);
  background: var(--white);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.filter-pill.active,
.filter-pill:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.result-count { margin-left: auto; color: var(--warm-grey); font-size: 14px; }

/* =========================================================
   7. LISTINGS GRID / CARDS
   ========================================================= */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.listing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}
.listing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.listing-card.is-booked-out { opacity: 0.85; }
.listing-card-link { color: inherit; text-decoration: none; display: block; }

.listing-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--light-grey) 0%, #e8e0d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
}
.listing-card-image img { width: 100%; height: 100%; object-fit: cover; }

.badge-featured,
.badge-category,
.badge-booked-out {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-featured { top: 12px; left: 12px; background: var(--gold); color: var(--white); }
.badge-category { top: 12px; right: 12px; background: rgba(0,0,0,0.6); color: var(--white); text-transform: none; letter-spacing: 0; font-size: 12px; padding: 4px 10px; }
.badge-booked-out {
  top: 12px;
  left: 12px;
  background: var(--charcoal);
  color: var(--white);
}
.listing-card-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,44,44,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.listing-card-body { padding: 16px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.listing-card-body h3,
.listing-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.listing-card-body h3 a { color: var(--charcoal); }
.listing-location { font-size: 14px; color: var(--warm-grey); margin-bottom: 8px; }
.listing-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.rating-num { font-size: 14px; font-weight: 600; }
.review-count { font-size: 13px; color: var(--warm-grey); }
.listing-desc {
  font-size: 14px;
  color: var(--warm-grey);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.listing-price { font-size: 16px; font-weight: 700; color: var(--green); }
.listing-hours { font-size: 13px; color: var(--warm-grey); }

.no-listings { text-align: center; padding: 60px 20px; color: var(--warm-grey); }

/* =========================================================
   8. PAGINATION
   ========================================================= */
.pagination,
.santapic-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 50px;
  background: var(--white);
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-grey);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.pagination .page-numbers.dots { border: none; background: none; }

/* =========================================================
   9. SITE FOOTER
   ========================================================= */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 0;
  margin-top: 48px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 24px;
}
.footer-brand { max-width: 300px; }
.footer-logo { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 10px; display: flex; align-items: center; }
.footer-logo .dim { opacity: 0.5; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-tagline { font-size: 13px; color: var(--gold); font-weight: 600; margin-top: 12px; margin-bottom: 0; }
.footer-col { min-width: 160px; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 14px; letter-spacing: 0.3px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; display: block; line-height: 2.1; }
.footer-col a:hover { color: rgba(255,255,255,0.95); }
.footer-widgets {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* =========================================================
   10. SINGLE LISTING PAGE
   ========================================================= */
.single-listing-wrap { padding: 32px 0 64px; }
.booked-out-banner {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.listing-gallery { margin-bottom: 28px; }
.listing-gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  background: linear-gradient(135deg, var(--light-grey) 0%, #e8e0d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  margin-bottom: 10px;
}
.listing-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.listing-gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.listing-gallery-thumbs button,
.listing-gallery-thumbs a {
  width: 84px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--light-grey);
}
.listing-gallery-thumbs button.is-active,
.listing-gallery-thumbs a.is-active { border-color: var(--red); }
.listing-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.listing-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.listing-header h1 { margin-bottom: 6px; }
.listing-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; font-size: 15px; color: var(--warm-grey); align-items: center; }
.listing-meta .listing-category-pill {
  background: var(--light-grey);
  color: var(--charcoal);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

.listing-content-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.listing-main .listing-description { font-size: 15px; line-height: 1.75; color: #444; margin-bottom: 28px; }
.listing-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.detail-item { background: var(--white); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-sm); }
.detail-item .label { font-size: 12px; color: var(--warm-grey); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.detail-item .value { font-size: 15px; font-weight: 600; }
.detail-item .value a { color: var(--charcoal); }

.listing-sidebar .sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 20px;
}
.listing-sidebar .sidebar-card h3 { font-size: 17px; margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.contact-list li .icon { flex-shrink: 0; }
.listing-map .map-placeholder { border-radius: 12px; }

.reviews-section { border-top: 1px solid var(--border-grey); padding-top: 28px; margin-top: 20px; }
.reviews-section h3 { font-size: 20px; margin-bottom: 18px; }
.review { padding: 16px 0; border-bottom: 1px solid #f0eee9; }
.review:last-child { border-bottom: none; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; flex-wrap: wrap; gap: 6px; }
.review-author { font-weight: 600; font-size: 14px; }
.review-author .stars { margin-left: 6px; }
.review-date { font-size: 12px; color: var(--warm-grey); }
.review-text { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }
.review-form { margin-top: 24px; }
.review-form .comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.review-form .comment-form input,
.review-form .comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-grey);
  border-radius: 10px;
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 14px;
}

.report-listing { margin-top: 16px; font-size: 13px; }
.report-listing a { color: var(--warm-grey); text-decoration: underline; }
.report-listing a:hover { color: var(--red); }

.related-listings { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border-grey); }
.related-listings h2 { text-align: center; margin-bottom: 24px; }

/* =========================================================
   11. CLIENT DASHBOARD
   ========================================================= */
.dashboard-wrap { padding: 40px 0 72px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.dashboard-header p { color: var(--warm-grey); margin: 0; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-box {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  text-align: left;
}
.stat-box .stat-number { font-size: 32px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 6px; }
.stat-box .stat-label { font-size: 13px; color: var(--warm-grey); text-transform: uppercase; letter-spacing: 0.4px; }

.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 24px;
}
.dashboard-card h2 { font-size: 20px; margin-bottom: 16px; }
.dashboard-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0eee9;
  gap: 16px;
  flex-wrap: wrap;
}
.dashboard-card-row:last-child { border-bottom: none; }
.dashboard-card-row .row-label { font-weight: 600; }
.dashboard-card-row .row-desc { font-size: 13px; color: var(--warm-grey); margin: 2px 0 0; }
.dashboard-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.toggle-switch { position: relative; display: inline-block; width: 52px; height: 28px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 28px;
  transition: 0.2s;
}
.toggle-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--charcoal); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }
.toggle-status { font-size: 13px; font-weight: 600; margin-left: 10px; }

.listing-preview-card { border: 1px solid var(--border-grey); border-radius: var(--radius-md); padding: 16px; margin-top: 12px; }

/* =========================================================
   12. LOGIN / REGISTER FORMS
   ========================================================= */
.auth-wrap { padding: 56px 0; display: flex; justify-content: center; }
.auth-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.auth-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-grey);
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.auth-tab.active { background: var(--red); color: var(--white); border-color: var(--red); }
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  max-width: 420px;
  width: 100%;
}
.auth-card h2 { text-align: center; margin-bottom: 6px; }
.auth-card .auth-sub { text-align: center; color: var(--warm-grey); font-size: 14px; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-grey);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--red); }
.form-row { display: flex; gap: 14px; }
.form-row .form-group { flex: 1; }
.form-links { text-align: center; margin-top: 16px; font-size: 13px; }
.form-error { background: #FBEAEC; color: var(--dark-red); padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.form-success { background: #E7F1EB; color: var(--green); padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }

/* =========================================================
   13. PHOTOGRAPHY TIPS PAGE
   ========================================================= */
.tips-hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
  color: var(--white);
  text-align: center;
  padding: 56px 24px;
}
.tips-hero h1 { color: var(--white); margin-bottom: 10px; }
.tips-hero p { opacity: 0.9; font-size: 17px; max-width: 620px; margin: 0 auto; }
.tips-section { padding: 56px 0; }
.tips-section:nth-of-type(even) { background: var(--light-grey); }
.tips-section h2 { text-align: center; margin-bottom: 8px; }
.tips-section .tips-intro { text-align: center; color: var(--warm-grey); max-width: 620px; margin: 0 auto 36px; }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.tip-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.tip-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.tip-card.for-families .tip-number { background: var(--red); }
.tip-card h3 { font-size: 17px; margin-bottom: 8px; }
.tip-card p { font-size: 14px; color: var(--warm-grey); line-height: 1.6; margin: 0; }

/* =========================================================
   14. HIRE A SANTA PAGE
   ========================================================= */
.hire-santa-hero { text-align: center; padding: 56px 24px 0; }
.hire-content { max-width: 820px; margin: 0 auto; padding: 0 24px 64px; }
.hire-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
  margin-top: 32px;
}
.hire-card .big-icon { font-size: 60px; margin-bottom: 16px; }
.hire-card h1 { font-size: 36px; margin-bottom: 16px; }
.hire-card > p { font-size: 18px; color: var(--warm-grey); line-height: 1.6; max-width: 560px; margin: 0 auto 32px; }
.use-cases { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.use-case { background: var(--light-grey); border-radius: var(--radius-md); padding: 24px 20px; width: 210px; text-align: center; }
.use-case .icon { font-size: 32px; margin-bottom: 8px; }
.use-case h3 { font-size: 15px; margin-bottom: 4px; }
.use-case p { font-size: 13px; color: var(--warm-grey); line-height: 1.5; margin: 0; }
.cta-sub { font-size: 13px; color: var(--warm-grey); margin-top: 12px; }
.trust-badges { display: flex; justify-content: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.trust-badge { font-size: 13px; color: var(--warm-grey); display: flex; align-items: center; gap: 6px; }

/* =========================================================
   15. ABOUT PAGE
   ========================================================= */
.about-hero { text-align: center; padding: 56px 24px 0; }
.about-content { max-width: 900px; margin: 0 auto; padding: 0 24px 64px; }
.about-story { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); margin: 32px 0; }
.about-story h2 { margin-bottom: 12px; }
.about-story p { font-size: 15px; line-height: 1.75; color: #444; }
.mission-banner {
  background: linear-gradient(135deg, var(--green) 0%, #1c4530 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  text-align: center;
  margin: 32px 0;
}
.mission-banner h2 { color: var(--white); margin-bottom: 4px; }
.mission-banner p { opacity: 0.9; margin: 0; }

.how-it-works { text-align: center; margin: 48px 0; }
.how-it-works h2 { margin-bottom: 32px; }
.steps { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.step { width: 240px; text-align: center; }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--warm-grey); line-height: 1.5; margin: 0; }

.faq-section { margin-top: 48px; }
.faq-section h2 { text-align: center; margin-bottom: 24px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.faq-question .faq-icon { transition: transform 0.2s; color: var(--red); font-size: 18px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--warm-grey);
  line-height: 1.6;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* =========================================================
   16. TESTIMONIALS / TRUST SECTIONS (front page)
   ========================================================= */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.benefit-card { background: var(--white); border-radius: var(--radius-md); padding: 30px 26px; box-shadow: var(--shadow-sm); text-align: center; }
.benefit-card .icon { font-size: 36px; margin-bottom: 14px; }
.benefit-card h3 { font-size: 18px; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--warm-grey); margin: 0; line-height: 1.6; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--white); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); }
.testimonial-card .stars { display: block; margin-bottom: 12px; font-size: 16px; }
.testimonial-card p.quote { font-size: 15px; color: #444; line-height: 1.6; margin-bottom: 14px; }
.testimonial-card .testimonial-author { font-size: 13px; font-weight: 700; color: var(--charcoal); }
.testimonial-card .testimonial-role { font-size: 12px; color: var(--warm-grey); }

.trust-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; text-align: center; }
.trust-stat .number { font-size: 40px; font-weight: 800; color: var(--red); line-height: 1; }
.trust-stat .label { font-size: 13px; color: var(--warm-grey); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 6px; }

.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  margin: 24px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { opacity: 0.9; margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--red); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f3f3f3; }

/* =========================================================
   17. LIST YOUR BUSINESS / PRICING
   ========================================================= */
.pricing-box {
  background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--white);
  text-align: center;
}
.pricing-label { font-size: 14px; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-amount { font-size: 56px; font-weight: 800; margin-bottom: 4px; }
.pricing-period { font-size: 14px; opacity: 0.7; margin-bottom: 24px; }

/* =========================================================
   18. 404 PAGE
   ========================================================= */
.error-404-wrap { padding: 90px 24px; text-align: center; }
.error-404-wrap .big-icon { font-size: 72px; margin-bottom: 16px; }
.error-404-wrap h1 { font-size: 36px; margin-bottom: 12px; }
.error-404-wrap p { color: var(--warm-grey); font-size: 16px; max-width: 460px; margin: 0 auto 28px; }
.error-404-wrap .search-bar { margin-bottom: 24px; }

/* =========================================================
   19. SIDEBAR / WIDGETS
   ========================================================= */
.content-with-sidebar { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; padding: 40px 0 64px; }
.widget { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 22px; margin-bottom: 20px; }
.widget h2.widget-title, .widget h3.widget-title { font-size: 16px; margin-bottom: 14px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { margin-bottom: 10px; font-size: 14px; }

/* =========================================================
   20. WORDPRESS CORE / DEFAULT STYLES
   ========================================================= */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.alignnone { margin: 0 0 20px 0; }

.wp-caption,
.wp-block-image figure { max-width: 100%; }
.wp-caption-text,
figcaption { font-size: 13px; color: var(--warm-grey); text-align: center; margin-top: 6px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 20px; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item { list-style: none; margin: 0; }
.gallery-icon img { border-radius: 10px; }

.sticky { border-left: 4px solid var(--gold); padding-left: 16px; }
.bypostauthor { }

blockquote {
  border-left: 4px solid var(--gold);
  margin: 0 0 20px;
  padding: 4px 0 4px 20px;
  color: var(--warm-grey);
  font-style: italic;
}

table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
table th, table td { padding: 10px 14px; border: 1px solid var(--border-grey); text-align: left; }
table th { background: var(--light-grey); }

.entry-content { font-size: 15px; line-height: 1.75; }
.entry-content a { text-decoration: underline; }
.page-content-wrap { padding: 48px 0 64px; }
.page-title { margin-bottom: 24px; }

.comment-list { list-style: none; padding: 0; margin: 24px 0; }
.comment-list .comment { border-bottom: 1px solid var(--border-grey); padding: 16px 0; }
.comment-respond { margin-top: 24px; }

/* =========================================================
   21. RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .listing-content-layout { grid-template-columns: 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .listings-grid { grid-template-columns: 1fr; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-red);
    padding: 12px 24px 20px;
    gap: 6px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu .sub-menu { position: static; background: rgba(255,255,255,0.08); box-shadow: none; }
  .nav-menu .sub-menu a { color: rgba(255,255,255,0.85); }
  .menu-toggle { display: inline-flex; align-items: center; }
  .use-cases { flex-direction: column; align-items: center; }
  .list-inner, .listing-header { flex-direction: column; }
  .footer-widgets, .footer-inner { flex-direction: column; }
  .dashboard-header { flex-direction: column; align-items: flex-start; }
  .steps { flex-direction: column; align-items: center; }
  .trust-stats { gap: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-search-form, .search-bar { flex-direction: column; border-radius: 20px; padding: 12px; }
  .hero-search-form input, .search-bar input { width: 100%; margin-bottom: 8px; }
  .search-btn, .hero-search-form button { width: 100%; }
}
