/*
Theme Name: Primonk
Template: astra
Description: Primonk – Shopify App & Theme Developers
Version: 1.0.0
Author: Primonk
Text Domain: primonk
*/

/* ── Legal pages (Privacy Policy, Terms) ── */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
}
.legal-wrap h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 48px 0 12px;
  color: #0a0a0a;
}
.legal-wrap h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: #222;
}
.legal-wrap ul {
  padding-left: 20px;
  margin: 12px 0 20px;
}
.legal-wrap li {
  margin-bottom: 8px;
}
.legal-wrap a {
  color: #3a01f3;
  text-decoration: underline;
}
.legal-wrap .legal-effective {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}
/* ==============================================
   INNER PAGES — Header & Footer
   (homepage uses page-home.php with its own nav)
   ============================================== */

:root {
  --p: #3A01F3;
  --lime: #DCEC5B;
  --black: #0A0A0A;
  --white: #fff;
  --g100: #f5f5f5;
  --g200: #e8e8e8;
  --g400: #999;
  --g600: #555;
  --g800: #1a1a1a;
  --pn-h: 68px;
  --max: 1200px;
}

/* ── Reset inner-page content spacing ── */
.pn-page-wrap {
  min-height: calc(100vh - var(--pn-h));
  padding-top: var(--pn-h);
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.pn-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pn-h);
  background: #fff;
  border-bottom: 1px solid var(--g200);
  z-index: 999;
  transition: box-shadow .2s;
}
.pn-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.pn-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.pn-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.pn-header__logo img {
  width: 120px;
  height: auto;
  display: block;
}

/* ── Nav ── */
.pn-header__nav {
  flex: 1;
}
.pn-header__menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pn-header__menu .menu-item a {
  display: block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--g800);
  text-decoration: none;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.pn-header__menu .menu-item a:hover,
.pn-header__menu .menu-item.current-menu-item a {
  background: var(--g100);
  color: var(--p);
}

/* ── Actions ── */
.pn-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.pn-btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--p);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .15s;
  white-space: nowrap;
}
.pn-btn-cta:hover { opacity: .88; color: #fff; }

/* ── Hamburger ── */
.pn-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.pn-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.pn-footer {
  background: #000;
  color: rgba(255,255,255,.75);
}
.pn-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 32px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}
.pn-footer__logo-link {
  display: inline-flex;
  margin-bottom: 20px;
}
.pn-footer__logo-link img {
  width: 110px;
  height: auto;
  display: block;
}
.pn-footer__tagline {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 10px;
}
.pn-footer__desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin: 0 0 24px;
  max-width: 260px;
}
.pn-footer__socials {
  display: flex;
  gap: 10px;
}
.pn-footer__soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  transition: background .15s, color .15s;
}
.pn-footer__soc:hover {
  background: var(--p);
  border-color: var(--p);
  color: #fff;
}
.pn-footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin: 0 0 20px;
}
.pn-footer__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pn-footer__list li a,
.pn-footer__list a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s;
}
.pn-footer__list li a:hover,
.pn-footer__list a:hover {
  color: #fff;
}
.pn-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
}
.pn-footer__bottom-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pn-footer__bottom-inner p {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  margin: 0;
}
.pn-footer__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(220,236,91,.08);
  border: 1px solid rgba(220,236,91,.2);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ══════════════════════════════════════
   INNER PAGE CONTENT
══════════════════════════════════════ */
.entry-content,
.site-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.entry-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--black);
  margin: 0 0 32px;
  line-height: 1.15;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .pn-footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .pn-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .pn-header__nav { display: none; }
  .pn-hamburger { display: flex; }
  .pn-header.open .pn-header__nav {
    display: block;
    position: fixed;
    top: var(--pn-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--g200);
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .pn-header.open .pn-header__menu { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pn-header.open .pn-header__menu .menu-item a { width: 100%; padding: 10px 12px; }
  .pn-footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .pn-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 24px; }
}
@media (max-width: 480px) {
  .pn-header__inner { padding: 0 20px; }
  .pn-btn-cta { display: none; }
}
