/*
Theme Name: ProfitParcel
Theme URI: https://profitparcel.com
Author: FoXedo Technologies LLC
Description: Marketing website theme for ProfitParcel, the profit, shipping label and GOFO tracking platform for Temu US sellers. Block theme: every page, the homepage, header and footer are editable in the WordPress Site Editor.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: profitparcel
*/

/* Small refinements the block editor cannot express in theme.json. */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

.pp-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--wp--preset--color--line); isolation: isolate; }
/* Blur lives on a background layer: a backdrop-filter on the header itself would trap the mobile menu overlay inside it. */
.pp-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.pp-header .wp-block-navigation a { font-weight: 600; }
.pp-header .wp-block-navigation a:hover { color: var(--wp--preset--color--accent); }

.pp-hero { background:
  radial-gradient(900px 420px at 85% -10%, rgba(47,107,255,.20), transparent 60%),
  radial-gradient(700px 380px at -10% 10%, rgba(18,163,107,.12), transparent 60%),
  linear-gradient(180deg, #F7F9FD 0%, #FFFFFF 100%); }
.pp-eyebrow { display: block; width: fit-content; padding: 6px 14px; border-radius: 999px; background: rgba(47,107,255,.10); color: var(--wp--preset--color--accent); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.pp-video-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--wp--preset--color--line); box-shadow: 0 30px 80px -20px rgba(11,23,54,.35), 0 8px 24px -8px rgba(11,23,54,.18); background: #0B1736; }
.pp-video-frame video { display: block; width: 100%; height: auto; }

.pp-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.pp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(11,23,54,.25); }
.pp-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(47,107,255,.10); }
.pp-icon.green { background: rgba(18,163,107,.12); }
.pp-icon.amber { background: rgba(232,161,0,.14); }
.pp-icon.violet { background: rgba(98,80,214,.12); }

.pp-dark { background: linear-gradient(135deg, #0B1736 0%, #13265A 60%, #1B3FA6 100%); }
.pp-dark :where(h1,h2,h3,p,li) { color: #fff; }
.pp-dark .pp-muted { color: rgba(255,255,255,.72); }

.pp-price { border: 2px solid var(--wp--preset--color--accent); border-radius: 20px; background: #fff; box-shadow: 0 24px 60px -24px rgba(47,107,255,.45); }
.pp-check li { list-style: none; padding-left: 28px; position: relative; margin: 8px 0; }
.pp-check li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--wp--preset--color--good); }
.pp-check { padding-left: 0; }

.pp-faq details { border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 14px 18px; background: #fff; margin-bottom: 10px; }
.pp-faq summary { font-weight: 700; cursor: pointer; }
.pp-note { border-left: 4px solid var(--wp--preset--color--accent); background: #F3F6FD; padding: 14px 18px; border-radius: 8px; }

.pp-steps .pp-step-num { width: 36px; height: 36px; border-radius: 999px; background: var(--wp--preset--color--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }

.wp-block-post-content table, .entry-content table { border-collapse: collapse; width: 100%; }
.wp-block-post-content th, .wp-block-post-content td { border-bottom: 1px solid var(--wp--preset--color--line); padding: 10px 12px; text-align: left; }
.wp-block-post-content th { background: #F5F7FB; font-weight: 700; }

.pp-post-card { border: 1px solid var(--wp--preset--color--line); border-radius: 16px; overflow: hidden; background: #fff; height: 100%; }
.pp-post-card .wp-block-post-featured-image img { aspect-ratio: 16/9; object-fit: cover; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pp-card { transition: none; } }
@media (max-width: 781px) { .pp-header .pp-hide-mobile { display: none; } }

.pp-eyebrow.has-text-align-center { margin-left: auto; margin-right: auto; }
.pp-dark :where(h4,h5,h6) { color: #fff; }
.pp-dark a { color: rgba(255,255,255,.78); text-decoration: none; }
.pp-dark a:hover { color: #fff; text-decoration: underline; }
.wp-block-table table { border: 1px solid var(--wp--preset--color--line); border-radius: 12px; overflow: hidden; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-table :where(th, td) { border: 0 !important; border-bottom: 1px solid var(--wp--preset--color--line) !important; vertical-align: top; }
.wp-block-table tbody tr:last-child td { border-bottom: 0 !important; }
.pp-dark .pp-price :where(li, p, h3) { color: #0B1736; }
