/* =========================================================
   POPFORGE PRINTS — SHARED STYLES
========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:root {
  --orange: #f97316; --orange-light: #fb923c; --orange-dark: #ea580c; --orange-dim: #7c3910;
  --cyan: #22d3ee; --cyan-light: #67e8f9; --cyan-dark: #0891b2; --cyan-dim: #0e4f5c;
  --dark: #080b0f; --dark2: #0d1117; --dark3: #111820; --card: #141c26;
  --border: rgba(255,255,255,0.07); --text: #e2e8f0; --muted: #64748b;
}
body { font-family: 'Nunito', sans-serif; background: var(--dark); color: var(--text); line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 14px 48px; background: rgba(8,11,15,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(34,211,238,0.1); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 44px; width: 44px; object-fit: contain; border-radius: 50%; }
.nav-logo-text { font-family: 'Fredoka One', cursive; font-size: 22px; letter-spacing: 0.5px; line-height: 1; }
.nav-logo-text .pop { color: var(--orange); } .nav-logo-text .forge { color: var(--cyan); }
.nav-logo-text .sub { display: block; font-size: 10px; letter-spacing: 2px; color: var(--muted); font-family: 'Nunito', sans-serif; font-weight: 700; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: #94a3b8; text-decoration: none; font-size: 14px; font-weight: 700; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--cyan); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; border: none; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 800; cursor: pointer; font-family: 'Nunito', sans-serif; transition: all 0.2s; text-decoration: none; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(249,115,22,0.4); }
.cart-btn { background: var(--card); border: 1px solid rgba(34,211,238,0.2); color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 800; cursor: pointer; font-family: 'Nunito', sans-serif; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.cart-btn:hover { border-color: var(--cyan); }
.cart-count { background: var(--orange); color: #fff; border-radius: 99px; padding: 1px 7px; font-size: 11px; font-weight: 800; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* CART SIDEBAR */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar { position: fixed; top: 0; right: -480px; width: 420px; max-width: 100vw; height: 100vh; background: #0d1117; border-left: 1px solid rgba(34,211,238,0.1); z-index: 201; transition: right 0.3s; display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-family: 'Fredoka One', cursive; font-size: 22px; color: #fff; }
.cart-close { background: none; border: none; color: var(--muted); font-size: 24px; cursor: pointer; transition: color 0.2s; }
.cart-close:hover { color: #fff; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.cart-empty-icon { font-size: 48px; margin-bottom: 12px; }
.cart-empty p { font-size: 15px; font-weight: 600; }
.cart-item { background: var(--card); border-radius: 12px; padding: 14px; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); }
.cart-item-img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: 'Fredoka One', cursive; font-size: 15px; color: #fff; margin-bottom: 3px; }
.cart-item-detail { font-size: 12px; color: var(--muted); font-weight: 600; }
.cart-item-price { font-family: 'Fredoka One', cursive; font-size: 16px; color: var(--orange-light); }
.cart-item-remove { background: none; border: none; color: var(--muted); font-size: 18px; cursor: pointer; padding: 0; line-height: 1; transition: color 0.2s; }
.cart-item-remove:hover { color: #ef4444; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { background: var(--dark2); border: 1px solid var(--border); color: #fff; width: 26px; height: 26px; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s; }
.qty-btn:hover { border-color: var(--orange); }
.qty-num { font-weight: 800; font-size: 14px; color: #fff; min-width: 20px; text-align: center; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total-label { font-size: 14px; color: var(--muted); font-weight: 700; }
.cart-total-price { font-family: 'Fredoka One', cursive; font-size: 24px; color: #fff; }
.checkout-btn { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; border: none; padding: 16px; border-radius: 10px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: 'Nunito', sans-serif; transition: all 0.2s; width: 100%; }
.checkout-btn:hover { box-shadow: 0 4px 20px rgba(249,115,22,0.4); transform: translateY(-1px); }
.checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.cart-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; font-weight: 600; }

/* SHARED SECTION */
section { padding: 96px 48px; }
.sec-label { font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px; }
.sec-label.o { color: var(--orange); } .sec-label.c { color: var(--cyan); }
.sec-title { font-family: 'Fredoka One', cursive; font-size: clamp(28px,4vw,46px); letter-spacing: 0.5px; color: #fff; line-height: 1.1; margin-bottom: 14px; }
.sec-sub { font-size: 16px; color: var(--muted); max-width: 480px; line-height: 1.7; font-weight: 500; }
.inner { max-width: 1100px; margin: 0 auto; }

/* BUTTONS */
.btn-orange { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; border: none; padding: 15px 34px; border-radius: 10px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'Nunito', sans-serif; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(249,115,22,0.4); }
.btn-cyan { background: linear-gradient(135deg, var(--cyan), var(--cyan-dark)); color: #fff; border: none; padding: 15px 34px; border-radius: 10px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'Nunito', sans-serif; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(34,211,238,0.3); }

/* FOOTER */
footer { background: #04060a; border-top: 1px solid rgba(34,211,238,0.08); padding: 56px 48px 32px; }
.footer-grid { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-logo img { height: 44px; width: 44px; object-fit: contain; border-radius: 50%; }
.flogo-text { font-family: 'Fredoka One', cursive; font-size: 20px; }
.flogo-text .pop { color: var(--orange); } .flogo-text .forge { color: var(--cyan); }
.footer-desc { font-size: 14px; color: #374151; line-height: 1.7; font-weight: 500; }
.fhead { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #334155; margin-bottom: 14px; }
.flinks { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.flinks a { color: #334155; text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
.flinks a:hover { color: var(--cyan); }
.footer-bottom { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.04); flex-wrap: wrap; gap: 12px; }
.fcopy { font-size: 13px; color: #1e293b; font-weight: 600; }
.fsocials { display: flex; gap: 14px; }
.fsocials a { color: #1e293b; text-decoration: none; font-size: 13px; font-weight: 700; transition: color 0.2s; }
.fsocials a:hover { color: var(--orange); }

/* MOBILE */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(8,11,15,0.97); padding: 20px 24px; border-bottom: 1px solid rgba(34,211,238,0.1); gap: 16px; z-index: 99; }
  .nav-toggle { display: flex; }
  section { padding: 72px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cart-sidebar { width: 100vw; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
