/*
Theme Name: Premier Shade JKT
Theme URI: https://premiershade.com.tr/
Author: Premier Shade
Description: JKT başlıklı Premier Shade ürün koleksiyonu, iletişim ve bayi girişi içeren sade ve kurumsal WordPress teması.
Version: 3.0.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: premier-shade-jkt
*/

:root {
    --ps-bg: #ffffff;
    --ps-surface: #f5f5f2;
    --ps-surface-2: #ecece7;
    --ps-text: #151515;
    --ps-muted: #74746f;
    --ps-line: #deded8;
    --ps-max: 1380px;
    --ps-gutter: clamp(22px, 4vw, 64px);
    --ps-radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; width: 100%; }
body {
    background: var(--ps-bg);
    color: var(--ps-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.admin-bar .ps-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.ps-site { min-height: 100vh; overflow: clip; }
.ps-container { width: min(calc(100% - (var(--ps-gutter) * 2)), var(--ps-max)); margin-inline: auto; }

/* Header */
.ps-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto 0;
    height: 82px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(12px);
    transition: border-color .25s ease, background .25s ease;
}
.ps-header.is-scrolled { border-color: var(--ps-line); background: rgba(255,255,255,.97); }
.ps-header-inner {
    width: min(calc(100% - (var(--ps-gutter) * 2)), var(--ps-max));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ps-jkt {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .32em;
    line-height: 1;
}
.ps-nav { display: flex; align-items: center; gap: 30px; }
.ps-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding-block: 10px;
}
.ps-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 4px;
    height: 1px;
    background: currentColor;
    transition: right .25s ease;
}
.ps-nav a:hover::after, .ps-nav a:focus-visible::after { right: 0; }

/* Hero */
.ps-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 120px var(--ps-gutter) 72px;
    background: var(--ps-bg);
}
.ps-hero-inner { width: min(760px, 84vw); text-align: center; }
.ps-hero-logo { width: min(620px, 82vw); display: block; margin: 0 auto; }
.ps-hero-caption {
    margin: 34px auto 0;
    max-width: 560px;
    color: var(--ps-muted);
    font-size: clamp(13px, 1.2vw, 15px);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ps-scroll-cue {
    position: absolute;
    left: 50%; bottom: 26px;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: .22em;
    color: var(--ps-muted);
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.ps-scroll-cue::after {
    content: "";
    display: block;
    width: 1px;
    height: 42px;
    margin: 12px auto 0;
    background: var(--ps-line);
}

/* Products */
.ps-products {
    padding: clamp(88px, 10vw, 150px) 0 clamp(100px, 11vw, 170px);
    background: var(--ps-surface);
    border-top: 1px solid var(--ps-line);
}
.ps-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: clamp(32px, 8vw, 120px);
    align-items: end;
    margin-bottom: clamp(52px, 7vw, 96px);
}
.ps-kicker {
    margin: 0 0 16px;
    color: var(--ps-muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.ps-section-title {
    margin: 0;
    font-size: clamp(42px, 6vw, 88px);
    line-height: .94;
    letter-spacing: -.055em;
    font-weight: 430;
}
.ps-section-copy {
    margin: 0;
    max-width: 540px;
    color: #5f5f5a;
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.55;
}
.ps-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--ps-line);
    border-left: 1px solid var(--ps-line);
}
.ps-card {
    position: relative;
    min-height: clamp(300px, 29vw, 460px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 2.6vw, 40px);
    background: var(--ps-bg);
    border-right: 1px solid var(--ps-line);
    border-bottom: 1px solid var(--ps-line);
    isolation: isolate;
    overflow: hidden;
    transition: background .3s ease;
}
.ps-card:hover { background: #fdfdfb; }
.ps-card-media {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity .35s ease, transform .55s ease;
}
.ps-card.has-image .ps-card-media { opacity: .94; }
.ps-card.has-image:hover .ps-card-media { transform: scale(1.015); }
.ps-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-card.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.05) 38%, rgba(0,0,0,.48) 100%);
}
.ps-card.has-image { color: #fff; }
.ps-card-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.ps-card-code::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.ps-card-abstract {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
      linear-gradient(135deg, transparent 0 45%, rgba(0,0,0,.025) 45% 45.5%, transparent 45.5% 100%),
      repeating-linear-gradient(90deg, rgba(0,0,0,.018) 0 1px, transparent 1px 11px);
}
.ps-card-big-code {
    position: absolute;
    right: clamp(16px, 2.2vw, 34px);
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(82px, 9vw, 150px);
    line-height: 1;
    font-weight: 300;
    letter-spacing: -.08em;
    color: rgba(0,0,0,.055);
    user-select: none;
}
.ps-card-bottom { margin-top: auto; }
.ps-card-title {
    margin: 0 0 7px;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.08;
    font-weight: 460;
    letter-spacing: -.035em;
}
.ps-card-type { margin: 0; font-size: 13px; letter-spacing: .04em; opacity: .68; }
.ps-card-action {
    display: inline-flex;
    margin-top: 24px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .16em;
    text-transform: uppercase;
    align-items: center;
    gap: 10px;
}
.ps-card-action::after { content: "→"; font-size: 16px; font-weight: 400; transition: transform .2s ease; }
.ps-card:hover .ps-card-action::after { transform: translateX(5px); }

/* Footer */
.ps-footer { padding: 34px 0 40px; border-top: 1px solid var(--ps-line); background: #fff; }
.ps-footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.ps-footer-brand { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.ps-footer-meta { color: var(--ps-muted); font-size: 11px; letter-spacing: .08em; }

/* Single product */
.ps-single { min-height: 100vh; padding: 150px 0 90px; background: var(--ps-surface); }
.ps-back { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 42px; font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.ps-back::before { content: "←"; font-size: 16px; font-weight: 400; }
.ps-single-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); background: #fff; border: 1px solid var(--ps-line); }
.ps-single-visual { position: relative; min-height: min(680px, 70vh); background: var(--ps-surface-2); overflow: hidden; }
.ps-single-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ps-single-placeholder { height: 100%; min-height: inherit; display: grid; place-items: center; font-size: clamp(130px, 18vw, 290px); font-weight: 300; letter-spacing: -.08em; color: rgba(0,0,0,.07); }
.ps-single-copy { padding: clamp(38px, 6vw, 86px); align-self: center; }
.ps-single-code { margin: 0 0 18px; color: var(--ps-muted); font-size: 11px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; }
.ps-single-title { margin: 0 0 26px; font-size: clamp(44px, 6vw, 86px); line-height: .95; font-weight: 430; letter-spacing: -.055em; }
.ps-single-lead { margin: 0 0 30px; color: #5d5d58; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
.ps-single-content { color: #4e4e49; font-size: 15px; line-height: 1.7; }
.ps-single-content > *:first-child { margin-top: 0; }
.ps-single-content > *:last-child { margin-bottom: 0; }

/* Generic */
.ps-generic { min-height: 100vh; display: grid; place-items: center; padding: 130px var(--ps-gutter) 70px; text-align: center; }
.ps-generic h1 { font-size: clamp(44px, 8vw, 100px); line-height: .95; margin: 0 0 20px; font-weight: 430; letter-spacing: -.055em; }
.ps-generic p { margin: 0; color: var(--ps-muted); }

@media (max-width: 1050px) {
    .ps-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ps-section-head { grid-template-columns: 1fr; align-items: start; }
    .ps-section-copy { max-width: 720px; }
    .ps-single-grid { grid-template-columns: 1fr; }
    .ps-single-visual { min-height: 58vh; }
}

@media (max-width: 782px) {
    body.admin-bar .ps-header { top: 46px; }
    .ps-header { height: 70px; }
    .ps-hero { padding-top: 100px; }
}

@media (max-width: 650px) {
    :root { --ps-gutter: 20px; }
    .ps-jkt { letter-spacing: .24em; }
    .ps-nav { gap: 18px; }
    .ps-nav a { font-size: 11px; }
    .ps-hero-logo { width: 86vw; }
    .ps-hero-caption { margin-top: 26px; font-size: 11px; }
    .ps-product-grid { grid-template-columns: 1fr; }
    .ps-card { min-height: 310px; }
    .ps-section-title { font-size: clamp(40px, 14vw, 62px); }
    .ps-footer-inner { align-items: flex-start; flex-direction: column; }
    .ps-single { padding-top: 120px; }
    .ps-single-copy { padding: 34px 26px 44px; }
    .ps-single-visual { min-height: 52vh; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* v2.4 — JKT branding, collection visuals, contact and dealer login */
.ps-jkt-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 34px;
    padding: 0 11px 0 14px;
    border: 1px solid currentColor;
    letter-spacing: .28em;
    font-size: 13px;
}
.ps-nav-dealer {
    border: 1px solid var(--ps-text);
    padding: 9px 13px !important;
}
.ps-nav-dealer::after { display: none !important; }
.ps-nav-dealer:hover { background: var(--ps-text); color: #fff; }
.ps-hero-jkt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 46px;
    margin: 0 auto 44px;
    padding-left: .36em;
    border: 1px solid var(--ps-text);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .36em;
}
.ps-card.is-collection-visual .ps-card-media { filter: saturate(.82) contrast(.96); }
.ps-collection-badge {
    position: absolute;
    top: clamp(24px, 2.6vw, 40px);
    right: clamp(24px, 2.6vw, 40px);
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(7px);
    color: #fff;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ps-contact {
    padding: clamp(90px, 10vw, 150px) 0 clamp(90px, 10vw, 150px);
    background: #fff;
    border-top: 1px solid var(--ps-line);
}
.ps-contact-head { margin-bottom: clamp(46px, 6vw, 80px); }
.ps-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--ps-line);
    border-left: 1px solid var(--ps-line);
}
.ps-contact-card {
    min-height: 430px;
    padding: clamp(30px, 4vw, 58px);
    border-right: 1px solid var(--ps-line);
    border-bottom: 1px solid var(--ps-line);
    display: flex;
    flex-direction: column;
}
.ps-contact-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}
.ps-contact-card-top h3 {
    margin: 0;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1;
    font-weight: 450;
    letter-spacing: -.04em;
}
.ps-contact-index {
    color: var(--ps-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .18em;
}
.ps-contact-card address {
    margin: 0 0 34px;
    font-style: normal;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.65;
}
.ps-contact-list {
    margin: 0 0 36px;
    padding: 0;
    border-top: 1px solid var(--ps-line);
}
.ps-contact-list > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--ps-line);
}
.ps-contact-list dt {
    color: var(--ps-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.ps-contact-list dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}
.ps-contact-list dd a { border-bottom: 1px solid transparent; }
.ps-contact-list dd a:hover { border-bottom-color: currentColor; }
.ps-contact-list dd span { color: #b1b1aa; padding: 0 3px; }
.ps-text-link {
    margin-top: auto;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .15em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}
.ps-dealer-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    padding: clamp(34px, 5vw, 70px);
    margin-top: clamp(34px, 4vw, 58px);
    background: #151515;
    color: #fff;
}
.ps-dealer-panel .ps-kicker { color: #a7a7a1; }
.ps-dealer-panel h3 {
    margin: 0 0 12px;
    font-size: clamp(34px, 4vw, 62px);
    line-height: 1;
    font-weight: 430;
    letter-spacing: -.045em;
}
.ps-dealer-panel p:not(.ps-kicker) { margin: 0; color: #bcbcb6; }
.ps-dealer-button {
    min-width: 230px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.7);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
}
.ps-dealer-button:hover { background: #fff; color: #151515; }
.ps-footer-brand { display: flex; align-items: center; gap: 14px; }
.ps-footer-jkt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 7px 5px 9px;
    border: 1px solid currentColor;
    font-size: 9px;
    letter-spacing: .24em;
}
.ps-single-visual-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 7px 9px;
    background: rgba(0,0,0,.58);
    color: #fff;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.ps-product-contact {
    display: inline-flex;
    margin-top: 34px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .ps-contact-grid { grid-template-columns: 1fr; }
    .ps-dealer-panel { grid-template-columns: 1fr; }
    .ps-dealer-button { min-width: 0; width: 100%; }
}
@media (max-width: 650px) {
    .ps-jkt-wordmark { min-width: 52px; height: 31px; font-size: 11px; padding-left: 12px; }
    .ps-nav { gap: 10px; }
    .ps-nav a { font-size: 9px; letter-spacing: .08em; }
    .ps-nav-dealer { padding: 7px 8px !important; }
    .ps-hero-jkt { margin-bottom: 34px; }
    .ps-contact-list > div { grid-template-columns: 74px 1fr; gap: 12px; }
    .ps-contact-card { min-height: 0; }
    .ps-collection-badge { top: 22px; right: 20px; }
}


/* v2.5 — Official JKT logo */
.ps-jkt-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    line-height: 0;
}
.ps-jkt-logo-header {
    display: block;
    width: clamp(82px, 7vw, 112px);
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
}
.ps-jkt-logo-hero {
    display: block;
    width: min(290px, 48vw);
    height: auto;
    margin: 0 auto 42px;
}
.ps-jkt-logo-footer {
    display: block;
    width: 78px;
    height: auto;
    flex: 0 0 auto;
}
/* Neutralise former typographic JKT blocks when upgrading from v2.4 */
.ps-jkt-wordmark,
.ps-hero-jkt,
.ps-footer-jkt { border: 0; padding: 0; min-width: 0; height: auto; letter-spacing: normal; }
@media (max-width: 650px) {
    .ps-jkt-logo-header { width: 72px; max-height: 34px; }
    .ps-jkt-logo-hero { width: min(230px, 58vw); margin-bottom: 32px; }
    .ps-jkt-logo-footer { width: 68px; }
}


/* v2.6 — Jalpersan source-only product content */
.ps-card-spec {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.5;
    opacity: .68;
}
.ps-single-source {
    display: inline-flex;
    margin: 20px 0 0;
    color: var(--ps-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}
.ps-tech { margin-top: 34px; }
.ps-tech h2 {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ps-text);
}
.ps-tech-grid { margin: 0; border-top: 1px solid var(--ps-line); }
.ps-tech-grid > div {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr);
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid var(--ps-line);
}
.ps-tech-grid dt {
    color: var(--ps-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ps-tech-grid dd { margin: 0; color: var(--ps-text); font-size: 13px; }
.ps-source-only-note {
    margin-top: 18px;
    color: var(--ps-muted);
    font-size: 11px;
    line-height: 1.5;
}
/* Previous collection-image badges/fallback treatment must never appear. */
.ps-collection-badge, .ps-single-visual-label { display: none !important; }
.ps-card.is-collection-visual .ps-card-media { filter: none; }
@media (max-width: 650px) {
    .ps-tech-grid > div { grid-template-columns: 1fr; gap: 4px; }
}


/* v2.8 — visual refinement after live-site review */
:root { --ps-max: 1360px; }

/* Stronger but still restrained brand presence in the fixed header */
.ps-header { height: 78px; }
.ps-jkt-logo-header { width: clamp(104px, 7.6vw, 126px); max-height: 46px; }
.ps-header-inner { min-height: 78px; }
.ps-nav { gap: 28px; }
.ps-nav a { font-size: 12px; letter-spacing: .14em; }
.ps-nav-dealer { padding: 10px 14px !important; }

/* Products section: slightly tighter and more balanced with the imagery */
.ps-products { padding-top: clamp(76px, 7.5vw, 112px); padding-bottom: clamp(96px, 9vw, 138px); }
.ps-section-head {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: clamp(42px, 7vw, 100px);
    margin-bottom: clamp(44px, 5vw, 70px);
}
.ps-section-title {
    font-size: clamp(46px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.05em;
}
.ps-section-copy {
    max-width: 500px;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.6;
}

/* Keep all source images intact; only improve presentation */
.ps-product-grid { border-color: rgba(0,0,0,.12); }
.ps-card {
    min-height: clamp(330px, 27vw, 430px);
    padding: clamp(24px, 2.25vw, 34px);
    border-color: rgba(0,0,0,.12);
}
.ps-card-media { opacity: 1 !important; }
.ps-card-media img {
    object-position: center center;
    transition: transform .7s cubic-bezier(.2,.65,.3,1);
}
.ps-card.has-image:hover .ps-card-media { transform: none; }
.ps-card.has-image:hover .ps-card-media img { transform: scale(1.025); }
.ps-card.has-image::after {
    background: linear-gradient(180deg,
        rgba(0,0,0,.10) 0%,
        rgba(0,0,0,.02) 36%,
        rgba(0,0,0,.18) 58%,
        rgba(0,0,0,.62) 100%);
}
.ps-card-code {
    font-size: 10px;
    letter-spacing: .19em;
    text-shadow: 0 1px 8px rgba(0,0,0,.18);
}
.ps-card-title {
    max-width: 95%;
    margin-bottom: 8px;
    font-size: clamp(23px, 1.72vw, 30px);
    line-height: 1.08;
    letter-spacing: -.03em;
    text-wrap: balance;
    text-shadow: 0 1px 12px rgba(0,0,0,.20);
}
.ps-card-type { font-size: 12px; opacity: .80; }
.ps-card-spec { font-size: 11px; opacity: .78; }
.ps-card-action { margin-top: 20px; font-size: 10px; }

/* More finished contact / dealer transition */
.ps-contact { padding-top: clamp(80px, 8vw, 120px); }
.ps-dealer-panel { margin-top: 42px; }
.ps-footer { padding-block: 30px; }
.ps-jkt-logo-footer { width: 88px; }

@media (max-width: 1050px) {
    .ps-section-head { grid-template-columns: 1fr; gap: 24px; }
    .ps-section-copy { max-width: 660px; }
}
@media (max-width: 782px) {
    .ps-header { height: 70px; }
    .ps-header-inner { min-height: 70px; }
    .ps-jkt-logo-header { width: 92px; max-height: 38px; }
}
@media (max-width: 650px) {
    .ps-products { padding-top: 66px; }
    .ps-section-head { margin-bottom: 36px; }
    .ps-section-title { font-size: clamp(44px, 13vw, 58px); }
    .ps-section-copy { font-size: 15px; }
    .ps-card { min-height: 340px; padding: 24px; }
    .ps-card-title { font-size: 26px; }
    .ps-nav { gap: 9px; }
    .ps-nav a { font-size: 9px; letter-spacing: .07em; }
    .ps-nav-dealer { padding: 7px 8px !important; }
}


/* v3.0 — Virtual POS legal / policy pages */
.ps-footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}
.ps-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
}
.ps-footer-legal a {
    color: var(--ps-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ps-footer-legal a:hover,
.ps-footer-legal a:focus-visible { color: var(--ps-text); }

.ps-legal-main {
    padding: 150px 0 100px;
    min-height: 75vh;
    background: var(--ps-bg);
}
.ps-legal-shell {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 8vw, 120px);
    align-items: start;
}
.ps-legal-heading {
    position: sticky;
    top: 120px;
}
.ps-legal-heading .ps-kicker { margin-bottom: 18px; }
.ps-legal-title {
    margin: 0;
    max-width: 570px;
    font-size: clamp(44px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.05em;
    font-weight: 430;
}
.ps-legal-company {
    margin: 24px 0 0;
    max-width: 420px;
    color: var(--ps-muted);
    font-size: 14px;
    line-height: 1.65;
}
.ps-legal-content {
    max-width: 820px;
    font-size: 16px;
    line-height: 1.75;
    color: #343431;
}
.ps-legal-content > p:first-child {
    margin-top: 0;
    font-size: 19px;
    line-height: 1.65;
    color: var(--ps-text);
}
.ps-legal-content h2 {
    margin: 46px 0 14px;
    padding-top: 20px;
    border-top: 1px solid var(--ps-line);
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -.01em;
    font-weight: 680;
    color: var(--ps-text);
}
.ps-legal-content p { margin: 0 0 18px; }
.ps-legal-content strong { color: var(--ps-text); }
.ps-legal-back {
    display: inline-flex;
    margin-top: 30px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
}
@media (max-width: 900px) {
    .ps-footer-inner { grid-template-columns: 1fr; text-align: center; }
    .ps-footer-brand { justify-content: center; }
    .ps-footer-meta { text-align: center; }
    .ps-legal-shell { grid-template-columns: 1fr; gap: 36px; }
    .ps-legal-heading { position: static; }
}
@media (max-width: 650px) {
    .ps-legal-main { padding-top: 120px; padding-bottom: 72px; }
    .ps-legal-title { font-size: 44px; }
    .ps-legal-content { font-size: 15px; }
    .ps-legal-content > p:first-child { font-size: 17px; }
    .ps-footer-legal { gap: 8px 14px; }
    .ps-footer-legal a { font-size: 9px; }
}
