/*
Theme Name: Pocket Pals Card Grading
Theme URI: https://pocketpalsgrading.com
Author: Pocket Pals
Description: Custom WordPress and WooCommerce theme for Pocket Pals Card Grading.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: pocket-pals
*/

:root {
  --pp-navy: #063a78;
  --pp-blue: #0768b7;
  --pp-cyan: #27c2c8;
  --pp-light: #eef8ff;
  --pp-white: #ffffff;
  --pp-text: #15324f;
  --pp-muted: #5c7288;
  --pp-border: rgba(255,255,255,.25);
  --pp-shadow: 0 18px 50px rgba(0, 47, 94, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pp-text);
  background: var(--pp-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.pp-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.pp-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 50, 99, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.pp-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.pp-brand {
  display: flex;
  align-items: center;
  min-width: 170px;
}
.pp-brand .custom-logo {
  max-height: 62px;
  width: auto;
}
.pp-brand-text {
  color: white;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.pp-nav {
  flex: 1;
}
.pp-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
}
.pp-menu a {
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.pp-menu a:hover { color: var(--pp-cyan); }

.pp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.pp-button:hover { transform: translateY(-2px); }
.pp-button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pp-cyan), #1ea7d8);
  box-shadow: 0 12px 25px rgba(39, 194, 200, .25);
}
.pp-button-outline {
  color: #fff;
  border-color: rgba(255,255,255,.75);
  background: transparent;
}
.pp-button-outline:hover { background: rgba(255,255,255,.1); }
.pp-button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}
.pp-mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
}

.pp-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 35%, rgba(65,187,255,.3), transparent 35%),
    linear-gradient(135deg, #064b93 0%, #0475c7 55%, #05427e 100%);
}
.pp-hero-inner {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 50px;
  padding: 70px 0 35px;
}
.pp-eyebrow {
  color: #aeefff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
}
.pp-hero h1 {
  margin: 12px 0 10px;
  max-width: 650px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.035em;
}
.pp-hero-subtitle {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 500;
}
.pp-hero-copy {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}
.pp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.pp-hero-media {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-hero-media img {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  filter: drop-shadow(0 30px 40px rgba(0, 30, 70, .35));
}
.pp-slab-placeholder {
  width: min(560px, 100%);
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
  border: 2px dashed rgba(255,255,255,.55);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
}

.pp-trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -28px;
}
.pp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 24px;
  background: #f3fbff;
  box-shadow: var(--pp-shadow);
  overflow: hidden;
}
.pp-trust-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px 34px;
}
.pp-trust-item + .pp-trust-item { border-left: 1px solid #d9eaf5; }
.pp-trust-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #13a8b1, #32cad0);
  font-size: 27px;
}
.pp-trust-item h3 {
  margin: 0 0 4px;
  color: #0a3979;
  font-size: 16px;
  text-transform: uppercase;
}
.pp-trust-item p {
  margin: 0;
  color: var(--pp-muted);
  font-size: 14px;
}

.pp-section { padding: 95px 0; }
.pp-section-alt { background: var(--pp-light); }
.pp-section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.pp-section-heading h2 {
  margin: 0 0 12px;
  color: var(--pp-navy);
  font-size: clamp(34px, 4vw, 50px);
}
.pp-section-heading p {
  margin: 0;
  color: var(--pp-muted);
  font-size: 18px;
}
.pp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pp-info-card {
  padding: 34px;
  border: 1px solid #dcecf5;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 35px rgba(21, 79, 124, .08);
}
.pp-info-card h3 { margin-top: 0; color: var(--pp-navy); }
.pp-step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: white;
  background: var(--pp-cyan);
  font-weight: 900;
}
.pp-cta {
  padding: 74px 0;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, var(--pp-navy), var(--pp-blue));
}
.pp-cta h2 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 52px); }
.pp-cta p { margin: 0 0 24px; color: rgba(255,255,255,.88); }

.pp-content {
  min-height: 55vh;
  padding: 70px 0;
}
.pp-content h1 { color: var(--pp-navy); }

.pp-site-footer {
  padding: 55px 0 28px;
  color: rgba(255,255,255,.86);
  background: #032b56;
}
.pp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.pp-footer-title { color: white; }
.pp-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pp-footer-menu li { margin: 8px 0; }
.pp-footer-bottom {
  margin-top: 35px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: 13px;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 7px !important;
  background: var(--pp-blue) !important;
  color: #fff !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid #dbe8f2;
}

@media (max-width: 980px) {
  .pp-mobile-toggle { display: block; }
  .pp-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 18px 20px 25px;
    background: #05386e;
  }
  .pp-nav.is-open { display: block; }
  .pp-menu { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pp-header-actions .pp-button-outline { display: none; }
  .pp-hero-inner { grid-template-columns: 1fr; padding-top: 70px; }
  .pp-hero-media { min-height: 330px; }
  .pp-trust-grid { grid-template-columns: 1fr; }
  .pp-trust-item + .pp-trust-item {
    border-left: 0;
    border-top: 1px solid #d9eaf5;
  }
  .pp-card-grid { grid-template-columns: 1fr; }
  .pp-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pp-container { width: min(100% - 28px, 1180px); }
  .pp-header-inner { min-height: 72px; }
  .pp-header-actions .pp-button-primary { display: none; }
  .pp-nav { top: 72px; }
  .pp-hero-inner { min-height: auto; padding: 54px 0 20px; }
  .pp-hero h1 { font-size: 46px; }
  .pp-trust-strip { margin-top: 0; padding-top: 20px; background: var(--pp-light); }
  .pp-trust-item { grid-template-columns: 58px 1fr; padding: 22px; }
  .pp-trust-icon { width: 52px; height: 52px; }
}
