/*
Theme Name: PN Sourcing FSE
Theme URI: https://example.com/pn-sourcing
Author: PN Sourcing
Description: An original, editable full-site editing theme for a global sourcing and procurement agency.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: pn-sourcing
License: GNU General Public License v2 or later
*/

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { text-wrap: pretty; }
.pn-site-header { position: sticky; top: 0; z-index: 100; }
.pn-site-header > .wp-block-group { min-height: 44px; }
a { transition: color .2s ease, opacity .2s ease, transform .2s ease; }
.wp-element-button { transition: transform .2s ease, box-shadow .2s ease; }
.wp-element-button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,106,0,.22); }
.pn-card { transition: transform .25s ease, box-shadow .25s ease; }
.pn-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(255,106,0,.10) !important; }
.pn-kicker { letter-spacing: .12em; text-transform: uppercase; }
.pn-hero-grid { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
@media (max-width: 781px) { .pn-mobile-center { text-align: center; } .pn-hide-mobile { display:none!important; } }

/* Keep FAQ questions on one clean left edge within a right-weighted content column. */
#faq > * { max-width: 980px; margin-left: auto !important; margin-right: 6% !important; text-align: left; }
#faq .wp-block-details, #faq .wp-block-details summary, #faq .wp-block-details p { text-align: left; }
@media (max-width: 781px) { #faq > * { margin-left: auto !important; margin-right: auto !important; } }

/* Spacious trust section inspired by strong enterprise service-page hierarchy. */
#why-us { background: linear-gradient(135deg, #fff 0%, #fff 55%, #fff8f2 55%, #fff8f2 100%); border-top: 1px solid #ffd8bd; border-bottom: 1px solid #ffd8bd; }
#why-us > .wp-block-columns { gap: 5.4rem; }
#why-us h2 { font-size: clamp(2.9rem, 4.6vw, 4.5rem); max-width: 760px; }
#why-us ul { list-style: none; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
#why-us li { background: #fff; border: 1px solid #ffd8bd; border-left: 5px solid #ff6a00; padding: 20px 20px 20px 24px; border-radius: 6px; line-height: 1.45; }
#why-us .has-mist-background-color { background: #fff !important; border: 1px solid #ffd8bd; border-radius: 14px !important; padding: 56px !important; box-shadow: 0 24px 70px rgba(255,106,0,.10); }
#why-us .has-mist-background-color h3 { font-size: 2rem; margin-top: 0; }
@media (max-width: 781px) { #why-us { background: #fff8f2; } #why-us > .wp-block-columns { gap: 2.5rem; } #why-us ul { grid-template-columns: 1fr; } #why-us .has-mist-background-color { padding: 32px !important; } }
.pn-pricing-grid { align-items: stretch !important; gap: 18px; }
.pn-price-card { height: 100%; display: flex; flex-direction: column; }
.pn-price-card .wp-block-buttons { margin-top: auto; padding-top: 18px; }
.pn-featured { box-shadow: 0 20px 60px rgba(255,106,0,.12); }
@media (max-width: 960px) { .pn-pricing-grid { flex-wrap: wrap !important; } .pn-pricing-grid > .wp-block-column { flex-basis: calc(50% - 18px) !important; } }
@media (max-width: 600px) { .pn-pricing-grid > .wp-block-column { flex-basis: 100% !important; } }
.pn-rate-section { border-top: 1px solid #ffd8bd; border-bottom: 1px solid #ffd8bd; }
.pn-rate-table { max-width: 920px; margin: 38px auto 22px; background: #fff; border: 2px solid #ff6a00; border-radius: 12px; overflow: hidden; box-shadow: 0 22px 60px rgba(255,106,0,.11); }
.pn-rate-table table { border-collapse: collapse; font-size: 1.2rem; }
.pn-rate-table th, .pn-rate-table td { padding: 16px 26px; border: 0; border-bottom: 1px solid #ffd8bd; text-align: left; }
.pn-rate-table th { background: #ff6a00; color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.pn-rate-table th:last-child, .pn-rate-table td:last-child { text-align: center; font-weight: 800; }
.pn-rate-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .pn-rate-table table { font-size: 1rem; } .pn-rate-table th, .pn-rate-table td { padding: 13px 14px; } }

/* Compact pricing view keeps the complete Plan B schedule visible at once. */
.pn-pricing-hero { padding-top: 36px !important; padding-bottom: 28px !important; }
.pn-pricing-hero h1 { font-size: clamp(2.2rem, 3.5vw, 3rem) !important; margin-top: 8px; margin-bottom: 8px; }
.pn-pricing-overview { padding-top: 28px !important; padding-bottom: 28px !important; }
.pn-pricing-overview .pn-price-card { padding: 16px !important; min-height: 285px; }
.pn-pricing-overview .pn-price-card h3 { font-size: 1.2rem; margin: 5px 0; }
.pn-pricing-overview .pn-price-card h2 { font-size: 1.55rem; margin: 4px 0; }
.pn-pricing-overview .pn-price-card p { margin-top: 4px; margin-bottom: 4px; }
.pn-pricing-overview .pn-price-card ul { margin-top: 8px; margin-bottom: 8px; }
.pn-pricing-overview .pn-price-card li { font-size: .82rem; line-height: 1.4; }
.pn-pricing-overview .wp-element-button { padding: 7px 12px; }
.pn-rate-section { padding-top: 24px !important; padding-bottom: 24px !important; }
.pn-rate-section h2 { font-size: 1.75rem !important; margin-top: 3px; margin-bottom: 3px; }
.pn-rate-section > p { margin-top: 4px; margin-bottom: 4px; }
.pn-rate-table { max-width: 680px; margin-top: 10px; margin-bottom: 8px; }
.pn-rate-table table { font-size: .82rem; line-height: 1.15; }
.pn-rate-table th, .pn-rate-table td { padding: 5px 16px; }
@media (max-width: 600px) { .pn-pricing-overview .pn-price-card { min-height: 0; } .pn-rate-table table { font-size: .78rem; } .pn-rate-table th, .pn-rate-table td { padding: 5px 8px; } }
.pn-plan-details { max-width: 1000px; }
.pn-plan-details .wp-block-details { border: 1px solid #ffd8bd; border-radius: 8px; padding: 0 22px; margin: 10px 0; background: #fff; }
.pn-plan-details .wp-block-details summary { cursor: pointer; color: #171717; font-size: 1.08rem; font-weight: 800; padding: 17px 0; }
.pn-plan-details .wp-block-details[open] { border-left: 5px solid #ff6a00; background: #fff8f2; }
.pn-plan-details .wp-block-details[open] summary { color: #ff6a00; border-bottom: 1px solid #ffd8bd; }
.pn-plan-details .wp-block-details > :not(summary) { margin-left: 6px; margin-right: 6px; }

/* Inquire page */
.pn-inquire-hero h1 { max-width: 860px; margin-left: auto; margin-right: auto; }
.pn-inquire-promise { box-shadow: 0 22px 60px rgba(255,106,0,.08); }
.pn-inquiry-form { box-shadow: 0 24px 70px rgba(23,23,23,.06); }
.pn-form, .pn-form label { display: block; }
.pn-form label { color: #171717; font-weight: 700; margin: 0 0 18px; }
.pn-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pn-form input:not([type="checkbox"]), .pn-form select, .pn-form textarea { width: 100%; margin-top: 8px; padding: 13px 14px; color: #171717; background: #fff; border: 1px solid #d8d2cd; border-radius: 6px; font: inherit; }
.pn-form input:focus, .pn-form select:focus, .pn-form textarea:focus { outline: 2px solid #ff6a00; outline-offset: 1px; border-color: #ff6a00; }
.pn-form textarea { resize: vertical; }
.pn-form .pn-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; font-weight: 500; }
.pn-form .pn-consent input { margin-top: 4px; accent-color: #ff6a00; }
.pn-form button { appearance: none; border: 0; border-radius: 6px; padding: 14px 24px; background: #ff6a00; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.pn-form button:hover { box-shadow: 0 10px 26px rgba(255,106,0,.22); transform: translateY(-1px); }
.pn-journey-image { margin-top: 24px !important; }
.pn-journey-image img { width: 100%; border: 1px solid #ffd8bd; border-radius: 12px; box-shadow: 0 22px 60px rgba(23,23,23,.06); }
.pn-inquiry-form { max-width: 1040px; }
.pn-form fieldset { border: 0; padding: 0; margin: 34px 0 12px; }
.pn-form legend { width: 100%; border-bottom: 1px solid #ffd8bd; padding-bottom: 9px; margin-bottom: 20px; color: #171717; font-size: 1.12rem; font-weight: 800; }

/* Compact inquiry form keeps the full brief easier to scan on desktop. */
.pn-inquire-form-section { padding-top: 36px !important; padding-bottom: 44px !important; }
.pn-inquiry-form { max-width: 1080px; padding: 26px 32px !important; }
.pn-inquiry-form > .pn-kicker { margin-top: 0; margin-bottom: 2px; }
.pn-inquiry-form > h2 { font-size: 1.8rem; margin-top: 2px; margin-bottom: 2px; }
.pn-inquiry-form > h2 + p { margin-top: 2px; margin-bottom: 8px; font-size: .88rem; }
.pn-form fieldset { margin: 16px 0 6px; }
.pn-form legend { padding-bottom: 5px; margin-bottom: 10px; font-size: 1rem; }
.pn-form-grid { gap: 12px; }
.pn-form label { margin-bottom: 9px; font-size: .82rem; }
.pn-form input:not([type="checkbox"]), .pn-form select, .pn-form textarea { margin-top: 4px; padding: 8px 10px; border-radius: 5px; font-size: .86rem; line-height: 1.25; }
.pn-form input:not([type="checkbox"]), .pn-form select { min-height: 36px; }
.pn-form textarea[rows="5"] { height: 74px; min-height: 74px; }
.pn-form textarea[rows="3"] { height: 52px; min-height: 52px; }
.pn-form .pn-consent { margin: 10px 0; font-size: .75rem; }
.pn-form button { padding: 10px 18px; font-size: .86rem; }
.pn-inquiry-form > .has-small-font-size { margin-top: 8px; margin-bottom: 0; font-size: .7rem !important; }
@media (max-width: 781px) { .pn-inquiry-form { padding: 24px 20px !important; } }

/* About page */
.pn-about-hero h1 { max-width: 820px; }
.pn-about-statement { box-shadow: 0 22px 60px rgba(255,106,0,.08); }
.pn-about-value-grid { margin-top: 38px; gap: 16px; align-items: stretch !important; }
.pn-about-value { height: 100%; border-top: 4px solid #ff6a00 !important; }
.pn-about-value h3 { margin-top: 0; }
.pn-about-checklist { list-style: none; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pn-about-checklist li { border: 1px solid #ffd8bd; border-left: 4px solid #ff6a00; border-radius: 6px; padding: 16px 18px; background: #fff; font-weight: 700; }
@media (max-width: 781px) { .pn-about-value-grid { flex-wrap: wrap !important; } .pn-about-value-grid > .wp-block-column { flex-basis: calc(50% - 16px) !important; } .pn-about-checklist { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pn-about-value-grid > .wp-block-column { flex-basis: 100% !important; } }

/* 1688 sourcing agent page */
.pn-1688-hero h1 { max-width: 850px; }
.pn-1688-brief, .pn-1688-price-box { box-shadow: 0 22px 60px rgba(255,106,0,.08); }
.pn-1688-service-grid { gap: 18px; margin-top: 18px; align-items: stretch !important; }
.pn-1688-card { height: 100%; padding: 26px; border: 1px solid #ffd8bd; border-top: 4px solid #ff6a00; border-radius: 8px; }
.pn-1688-card h3 { margin-top: 0; }
.pn-1688-step-grid { gap: 18px; margin-top: 18px; }
.pn-1688-step-grid > .wp-block-column { background: #fff; border: 1px solid #ffd8bd; border-radius: 8px; padding: 24px; }
.pn-step-number { color: #ff6a00; font-size: 1.5rem; font-weight: 900; margin: 0; }
.pn-1688-note-grid { gap: 14px; margin-top: 34px; }
.pn-1688-note-grid > .wp-block-column { background: #fff; border-left: 4px solid #ff6a00; padding: 22px; }
.pn-1688-faq-list { max-width: 940px; margin-top: 30px; }
.pn-1688-faq-list details { border-bottom: 1px solid #ffd8bd; padding: 15px 0; }
.pn-1688-faq-list summary { cursor: pointer; font-weight: 800; }
@media (max-width: 781px) { .pn-1688-service-grid, .pn-1688-step-grid, .pn-1688-note-grid { flex-wrap: wrap !important; } .pn-1688-service-grid > .wp-block-column, .pn-1688-step-grid > .wp-block-column, .pn-1688-note-grid > .wp-block-column { flex-basis: calc(50% - 18px) !important; } }
@media (max-width: 520px) { .pn-1688-service-grid > .wp-block-column, .pn-1688-step-grid > .wp-block-column, .pn-1688-note-grid > .wp-block-column { flex-basis: 100% !important; } }
@media (max-width: 781px) { .pn-form-grid { grid-template-columns: 1fr; gap: 0; } .pn-inquiry-form { padding: 26px !important; } }

/* Inquiry form V2 — spacious, scannable, conversion-focused. */
.pn-inquire-form-section { padding-top: 64px !important; padding-bottom: 80px !important; }
.pn-inquiry-form { max-width: 960px !important; padding: 44px 48px !important; border: 1px solid #e8e2dd; border-radius: 16px !important; background: #fff; box-shadow: 0 24px 70px rgba(23,23,23,.08); }
.pn-inquiry-form > .pn-kicker { margin: 0 0 8px; }
.pn-inquiry-form > h2 { margin: 0 0 10px; font-size: clamp(1.8rem,3vw,2.4rem) !important; line-height: 1.15; }
.pn-inquiry-form > h2 + p { max-width: 720px; margin: 0 0 28px; font-size: 1rem; line-height: 1.6; }
.pn-form { display: grid !important; gap: 22px; width: 100%; }
.pn-form fieldset { display: grid; gap: 20px; margin: 0 !important; padding: 26px !important; border: 1px solid #e5e7eb !important; border-radius: 12px; background: #f8fafc; }
.pn-form legend { width: auto !important; margin: 0 0 2px !important; padding: 0 10px !important; border: 0 !important; color: #171717; background: #fff; font-size: 1.05rem !important; font-weight: 800; letter-spacing: -.01em; }
.pn-form-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 20px !important; }
.pn-form label { display: grid !important; gap: 8px; min-width: 0; margin: 0 !important; color: #30343b; font-size: .9rem !important; font-weight: 700; line-height: 1.35; }
.pn-form input:not([type="checkbox"]), .pn-form select, .pn-form textarea { box-sizing: border-box; display: block; width: 100%; max-width: 100%; margin: 0 !important; padding: 12px 14px !important; border: 1px solid #cfd5dc; border-radius: 8px !important; color: #171717; background: #fff; font-family: inherit; font-size: 1rem !important; line-height: 1.4 !important; transition: border-color .2s ease, box-shadow .2s ease; }
.pn-form input:not([type="checkbox"]), .pn-form select { min-height: 50px !important; }
.pn-form textarea { min-height: 120px !important; resize: vertical; }
.pn-form textarea[rows="5"] { height: auto !important; min-height: 150px !important; }
.pn-form textarea[rows="3"] { height: auto !important; min-height: 110px !important; }
.pn-form input::placeholder, .pn-form textarea::placeholder { color: #89919c; opacity: 1; }
.pn-form input:focus, .pn-form select:focus, .pn-form textarea:focus { outline: 0 !important; border-color: #ff6a00; box-shadow: 0 0 0 3px rgba(255,106,0,.15); }
.pn-form .pn-consent { display: flex !important; align-items: flex-start; gap: 10px; margin: 2px 0 !important; color: #555d68; font-size: .88rem !important; font-weight: 500; line-height: 1.5; }
.pn-form .pn-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: #ff6a00; }
.pn-form button { width: 100%; min-height: 54px; padding: 14px 24px !important; border: 0; border-radius: 8px !important; background: #ff6a00; color: #fff; font-family: inherit; font-size: 1rem !important; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.pn-form button:hover { background: #df5d00; box-shadow: 0 12px 28px rgba(255,106,0,.24); transform: translateY(-1px); }
.pn-form button:focus-visible { outline: 3px solid rgba(255,106,0,.3); outline-offset: 3px; }
@media (max-width: 781px) { .pn-inquire-form-section { padding-top: 40px !important; padding-bottom: 56px !important; } .pn-inquiry-form { padding: 28px 22px !important; border-radius: 12px !important; } .pn-form fieldset { padding: 20px !important; } .pn-form-grid { grid-template-columns: 1fr !important; gap: 18px !important; } }
@media (max-width: 480px) { .pn-inquiry-form { padding: 24px 16px !important; } .pn-form fieldset { padding: 18px 14px !important; } }

/* Optional inquiry details */
.pn-form-optional { margin-top: 2px; border: 1px dashed #cfd5dc; border-radius: 10px; background: #fff; }
.pn-form-optional summary { padding: 14px 16px; color: #555d68; font-size: .9rem; font-weight: 700; cursor: pointer; }
.pn-form-optional summary:hover { color: #ff6a00; }
.pn-form-optional-body { display: grid; gap: 20px; padding: 4px 16px 18px; }
.pn-form-note { margin: -10px 0 0; color: #68707d; font-size: .82rem; text-align: center; }
