/*
Theme Name: Paperconcepts
Theme URI: https://paperconcepts.in
Description: Custom WooCommerce theme for Paperconcepts packaging company
Author: Paperconcepts
Version: 1.0.0
Text Domain: paperconcepts
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ── CSS Variables ── */
:root {
  --ink: #1a1a1a;
  --cream: #ffffff;
  --cream-dark: #f4f4f6;
  --pink: #F03F7A;
  --pink-light: #f980aa;
  --pink-dark: #c42960;
  --yellow: #F5B800;
  --mint: #3DDCB0;
  --charcoal: #111111;
  --text-muted: #666677;
  --text-light: #aaaabc;
  --border: rgba(240,63,122,0.14);
  --border-soft: rgba(0,0,0,0.07);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); overflow-x: hidden; cursor: none; line-height: 1.6; }

/* ── Grain Overlay ── */
body::before {
  content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1000; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── Custom Cursor ── */
.pc-cursor { position: fixed; width: 8px; height: 8px; background: var(--pink); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .3s, height .3s, background .3s; }
.pc-cursor-ring { position: fixed; width: 32px; height: 32px; border: 1px solid var(--pink); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width .3s, height .3s, opacity .3s; opacity: .55; }
.pc-cursor.hov { width: 14px; height: 14px; background: var(--mint); }
.pc-cursor-ring.hov { width: 46px; height: 46px; opacity: .25; }

/* ── Page Loader ── */
.pc-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--cream); z-index: 10000; display: flex; align-items: center; justify-content: center; transition: opacity .5s, visibility .5s; }
.pc-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.pc-loader-spinner { width: 32px; height: 32px; border: 2px solid var(--border); border-top-color: var(--pink); border-radius: 50%; animation: loaderSpin .7s linear infinite; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }

/* ── Nav ── */
.pc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 1.1rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: padding .3s;
}
.pc-nav.scrolled { padding: .8rem 3rem; }
.pc-nav-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.pc-nav-logo img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; }
.pc-nav-logo-text { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1; }
.pc-nav-logo-text span { color: var(--pink); }
.pc-nav-links { display: flex; gap: 2.5rem; list-style: none; }
.pc-nav-links a { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color .3s; }
.pc-nav-links a:hover, .pc-nav-links a.active { color: var(--pink); }
.pc-nav-actions { display: flex; align-items: center; gap: .75rem; }
.pc-nav-icon-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--text-muted); text-decoration: none; transition: color .25s; }
.pc-nav-icon-btn:hover { color: var(--pink); }
.pc-nav-icon-btn svg { display: block; }
.pc-cart-count { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; padding: 0 4px; background: var(--pink); color: #fff; font-size: .6rem; font-weight: 700; border-radius: 100px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.pc-nav-cta { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .6rem 1.4rem; border: 1.5px solid var(--pink); color: var(--pink); text-decoration: none; transition: background .3s, color .3s; font-weight: 500; }
.pc-nav-cta:hover { background: var(--pink); color: #fff; }
.pc-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.pc-nav-toggle span {
  display: block;
  width: 18px;
  height: 1.25px;
  background: var(--ink);
  border-radius: 1px;
  transform-origin: center;
  transition: transform .3s ease, opacity .25s ease, width .3s ease;
}
/* Open state — animate to X */
.pc-nav-toggle.open span:nth-child(1) {
  transform: translateY(5.25px) rotate(45deg);
}
.pc-nav-toggle.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.pc-nav-toggle.open span:nth-child(3) {
  transform: translateY(-5.25px) rotate(-45deg);
}

/* ── User / Cart Hamburger Dropdown ── */
.pc-user-menu { position: relative; }
.pc-user-menu-btn {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 100px; padding: 7px 13px 7px 11px;
  cursor: pointer; color: var(--ink);
  transition: border-color .25s, color .25s, background .25s;
  position: relative;
}
.pc-user-menu-btn:hover { border-color: var(--pink); color: var(--pink); background: rgba(240,63,122,0.04); }
.pc-user-menu-btn.open { border-color: var(--pink); color: var(--pink); background: rgba(240,63,122,0.05); }
.pc-user-menu-icon { flex-shrink: 0; }
.pc-user-menu-lines { display: flex; flex-direction: column; gap: 4.5px; }
.pc-user-menu-lines span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; border-radius: 2px; }
.pc-user-menu-btn.open .pc-user-menu-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pc-user-menu-btn.open .pc-user-menu-lines span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pc-user-menu-btn.open .pc-user-menu-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Cart badge on the button */
.pc-user-menu-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--pink); color: #fff;
  font-size: .58rem; font-weight: 700;
  border-radius: 100px; display: flex; align-items: center; justify-content: center;
  line-height: 1; border: 2px solid #fff;
}
/* Dropdown panel */
.pc-user-menu-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 200px;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 4px; box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, visibility .2s, transform .2s;
  z-index: 600;
}
.pc-user-menu-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.pc-user-menu-link {
  display: flex; align-items: center; gap: 10px;
  padding: .85rem 1.1rem;
  font-size: .8rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  transition: background .2s, color .2s;
  border-bottom: 1px solid var(--border-soft);
}
.pc-user-menu-link:last-child { border-bottom: none; }
.pc-user-menu-link:hover { background: rgba(240,63,122,0.04); color: var(--pink); }
.pc-user-menu-link svg { flex-shrink: 0; opacity: .6; }
.pc-user-menu-link:hover svg { opacity: 1; }
.pc-user-menu-count {
  margin-left: auto;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--pink); color: #fff;
  font-size: .65rem; font-weight: 700;
  border-radius: 100px; display: flex; align-items: center; justify-content: center;
}

/* ── Mobile Menu (full-screen overlay) ── */
@keyframes mobNavIn {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}

.pc-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 498; /* sits below the nav bar (z-index 500) */
  background: #0d0d10;
  display: flex; flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding: 5.5rem 2.5rem 2.25rem;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  counter-reset: mob-nav;
  /* Slide in from above */
  opacity: 0; visibility: hidden;
  transform: translateY(-100%);
  transition: transform .42s cubic-bezier(.22,.68,0,1.1),
              opacity .35s ease, visibility .35s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
/* Pink–mint accent on the bottom (visible edge of the panel) */
.pc-mobile-menu::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--mint) 100%);
}
/* Ghost brand tag — bottom right */
.pc-mobile-menu::after {
  content: 'PAPERCONCEPTS · PREMIUM PACKAGING';
  position: absolute; bottom: .9rem; right: 2.5rem;
  font-family: var(--font-body);
  font-size: .47rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.1); font-weight: 500;
  pointer-events: none;
}
.pc-mobile-menu.open {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}

/* Each link */
.pc-mobile-menu a {
  counter-increment: mob-nav;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  width: 100%;
  display: flex; align-items: center; gap: .85rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .25s ease, padding-left .25s ease;
}
/* Stagger-in when menu opens */
.pc-mobile-menu.open a { animation: mobNavIn .5s ease both; }
.pc-mobile-menu.open a:nth-child(1) { animation-delay: .06s; }
.pc-mobile-menu.open a:nth-child(2) { animation-delay: .12s; }
.pc-mobile-menu.open a:nth-child(3) { animation-delay: .18s; }
.pc-mobile-menu.open a:nth-child(4) { animation-delay: .24s; }
.pc-mobile-menu.open a:nth-child(5) { animation-delay: .30s; }
.pc-mobile-menu.open a:nth-child(6) { animation-delay: .36s; }
.pc-mobile-menu.open a:nth-child(7) { animation-delay: .42s; }

/* Index number prefix */
.pc-mobile-menu a::before {
  content: counter(mob-nav, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: .5rem; font-weight: 600; letter-spacing: .14em;
  color: var(--pink); opacity: .65;
  flex-shrink: 0; padding-top: .3rem;
}

.pc-mobile-menu a:hover { color: #fff; padding-left: .4rem; }

/* Last item (Request Quote) — stands out as a CTA */
.pc-mobile-menu a:last-child {
  border-bottom: none;
  margin-top: .6rem;
  font-style: italic;
}
.pc-mobile-menu a:last-child::before { color: rgba(240,63,122,.45); }
.pc-mobile-menu a:last-child:hover { color: var(--pink-light) !important; padding-left: .4rem; }

/* ── Footer ── */
.pc-footer { background: var(--charcoal); padding: 5rem 5rem 3rem; }
.pc-footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(240,63,122,0.12); }
.pc-footer-brand { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; margin-bottom: .5rem; }
.pc-footer-brand img { height: 50px; width: 50px; border-radius: 50%; object-fit: cover; }
.pc-footer-brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; }
.pc-footer-brand-name span { color: var(--pink); }
.pc-footer-tagline { font-size: .72rem; line-height: 1.85; color: rgba(255,255,255,0.4); max-width: 220px; }
.pc-footer-col-title { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin-bottom: 1.25rem; }
.pc-footer-links { list-style: none; }
.pc-footer-links li { margin-bottom: .65rem; }
.pc-footer-links a { font-size: .73rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color .3s; }
.pc-footer-links a:hover { color: #fff; }
.pc-footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.pc-footer-copy { font-size: .62rem; letter-spacing: .07em; color: rgba(255,255,255,0.2); }

/* ── Scroll Reveal ── */
.pc-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.pc-reveal.visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Animations ── */
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.page-in { animation: fadeSlideUp .6s ease forwards; }

/* ── WooCommerce Notices ── */
/* Wrapper sits directly below the fixed nav */
.woocommerce-notices-wrapper {
  position: relative;
  z-index: 400;
}
.woocommerce-message,
.woocommerce-info,
ul.woocommerce-error {
  display: block;
  list-style: none;
  padding: 1rem 1.5rem;
  margin: 0 0 1.25rem;
  font-size: .85rem;
  font-family: var(--font-body);
  border-left: 3px solid var(--pink);
  background: rgba(240,63,122,0.05);
  color: var(--ink);
}
ul.woocommerce-error { border-color: #e74c3c; background: rgba(231,76,60,0.05); }
.woocommerce-info    { border-color: var(--yellow); background: rgba(245,184,0,0.05); }
/* List items inside error/message notices */
.woocommerce-message li,
.woocommerce-info li,
ul.woocommerce-error li {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.6;
}
/* Links inside notices */
.woocommerce-message a,
.woocommerce-info a,
ul.woocommerce-error a {
  color: var(--pink);
  font-weight: 600;
  text-decoration: none;
}
.woocommerce-message a:hover,
.woocommerce-info a:hover,
ul.woocommerce-error a:hover { text-decoration: underline; }
/* Block-based notices (WooCommerce Blocks) */
.wc-block-components-notice-banner {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: .85rem;
}

/* ── Focus Styles (Accessibility) ── */
/* Remove default outlines and add branded focus-visible ring */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Inputs get an inset glow instead */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--pink);
  border-color: var(--pink) !important;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .pc-cursor, .pc-cursor-ring { display: none !important; }
  .pc-reveal, .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Responsive ── */
.pc-nav { padding: .75rem .9rem; }
.pc-nav.scrolled { padding: .6rem .9rem; }
.pc-nav-logo img { height: 30px; width: 30px; }
.pc-nav-logo-text { font-size: .82rem; }
.pc-nav-links { display: none; }
.pc-nav-links.open { display: none !important; }
.pc-nav-cta { display: none; }
.pc-nav-toggle { display: flex; }
.pc-user-menu-lines { display: none; }
.pc-nav-actions { gap: .4rem; }
.pc-user-menu-btn { padding: 5px 9px 5px 8px; }
.pc-footer { padding: 3rem 1.5rem 2rem; }
.pc-footer-top { grid-template-columns: 1fr; }
.pc-footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
.pc-cart-panel-head { padding: 1.15rem 1.25rem; }
.pc-drawer-item { padding: .85rem 1.25rem; gap: .7rem; }
.pc-cart-panel-footer { padding: 1rem 1.25rem 1.75rem; }
.pc-cart-empty { padding: 2rem 1.25rem; }
.pc-cart-panel-title { font-size: 1rem; }

@media (min-width: 400px) {
  .pc-nav { padding: .8rem 1rem; }
  .pc-nav.scrolled { padding: .65rem 1rem; }
  .pc-nav-logo img { height: 32px; width: 32px; }
  .pc-nav-logo-text { font-size: .9rem; }
  .pc-nav-actions { gap: .75rem; }
  .pc-user-menu-btn { padding: 7px 13px 7px 11px; }
}
@media (min-width: 480px) {
  .pc-cart-panel-head { padding: 1.5rem 1.75rem; }
  .pc-drawer-item { padding: 1rem 1.75rem; gap: .9rem; }
  .pc-cart-panel-footer { padding: 1.25rem 1.75rem 2rem; }
  .pc-cart-empty { padding: 3rem 1.75rem; }
  .pc-cart-panel-title { font-size: 1.1rem; }
}
@media (min-width: 600px) {
  .pc-nav { padding: .9rem 1.25rem; }
  .pc-nav.scrolled { padding: .7rem 1.25rem; }
  .pc-nav-logo img { height: 34px; width: 34px; }
  .pc-nav-logo-text { font-size: .95rem; }
  .pc-footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .pc-footer-bottom { flex-direction: row; gap: initial; text-align: left; }
}
@media (min-width: 900px) {
  .pc-nav { padding: 1.1rem 3rem; }
  .pc-nav.scrolled { padding: .8rem 3rem; }
  .pc-nav-logo img { height: 42px; width: 42px; }
  .pc-nav-logo-text { font-size: 1.1rem; }
  .pc-nav-links { display: flex; }
  .pc-nav-links.open { display: flex !important; }
  .pc-nav-cta { display: inline; }
  .pc-nav-toggle { display: none; }
  .pc-user-menu-lines { display: flex; }
  .pc-footer { padding: 5rem 5rem 3rem; }
  .pc-footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; }
}

/* ── Mobile Touch Targets ── */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .pc-cursor, .pc-cursor-ring { display: none !important; }
  .pc-nav-icon-btn { width: 44px; height: 44px; }
  .pc-cart-trigger { min-width: 44px; min-height: 44px; }
  .pc-user-menu-btn { min-height: 44px; }
  .pc-mobile-menu a { min-height: 44px; display: flex; align-items: center; }
  .pc-footer-links a { display: inline-block; padding: 6px 0; }
  .pc-nav-toggle { width: 44px; height: 44px; }
}

/* ══════════════════════════════════════════════
   GLOBAL BUTTONS  (loaded on every page)
   ══════════════════════════════════════════════ */

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 2.25rem;
  background: #F5B800;
  color: #111;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(245,184,0,0.22);
  transition: background .25s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-gold:hover {
  background: #e0a900;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,184,0,0.38);
}
.btn-gold:active { transform: translateY(0); }

.pc-btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .25s, gap .2s;
}
.pc-btn-ghost-light:hover { color: #fff; gap: .7rem; }

/* ══════════════════════════════════════════════
   CART DRAWER  (global — loads on every page)
   ══════════════════════════════════════════════ */

/* Nav cart icon */
.pc-cart-trigger {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: .35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
.pc-cart-trigger:hover { color: var(--pink); }

.pc-cart-badge {
  position: absolute;
  top: -4px; right: -6px;
  min-width: 17px; height: 17px;
  padding: 0 3px;
  background: var(--pink);
  color: #fff;
  font-size: .55rem; font-weight: 700;
  border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
  transition: transform .2s;
}
.pc-cart-badge.empty { display: none; }

/* Full-screen overlay wrapper */
.pc-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 8000;
  pointer-events: none;
}
.pc-cart-drawer.open { pointer-events: all; }

/* Backdrop */
.pc-cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  opacity: 0;
  transition: opacity .35s;
}
.pc-cart-drawer.open .pc-cart-backdrop { opacity: 1; }

/* Slide-in panel */
.pc-cart-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.22,.68,0,1.1);
  box-shadow: -8px 0 48px rgba(0,0,0,0.14);
}
.pc-cart-drawer.open .pc-cart-panel { transform: translateX(0); }

/* Header */
.pc-cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.pc-cart-panel-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0;
}
.pc-cart-panel-count {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pc-cart-panel-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.pc-cart-panel-close:hover { background: #f5f5f5; color: var(--ink); }

/* Scrollable body */
.pc-cart-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: .25rem 0;
  -webkit-overflow-scrolling: touch;
}

/* Item row */
.pc-drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: .9rem;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid #f8f8f6;
}
.pc-drawer-item-img {
  width: 64px; height: 64px;
  background: #f5f5f3;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.pc-drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-drawer-item-img svg { width: 36px; height: 36px; opacity: .4; }
.pc-drawer-item-info { display: flex; flex-direction: column; min-width: 0; }
.pc-drawer-item-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-drawer-item-meta { font-size: .72rem; color: var(--text-muted); margin-bottom: .3rem; line-height: 1.4; }
.pc-drawer-item-row { display: flex; justify-content: space-between; align-items: center; }
.pc-drawer-item-price { font-size: .82rem; font-weight: 600; color: var(--ink); }
.pc-drawer-item-remove {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: .68rem; color: var(--text-light);
  text-decoration: underline;
  transition: color .2s;
}
.pc-drawer-item-remove:hover { color: var(--pink); }

/* Footer */
.pc-cart-panel-footer {
  padding: 1.25rem 1.75rem 2rem;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.pc-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .35rem;
}
.pc-cart-subtotal span:first-child { font-size: .8rem; color: var(--text-muted); }
.pc-cart-subtotal span:last-child { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.pc-cart-gst-note { font-size: .68rem; color: var(--text-light); margin: 0 0 1.25rem; line-height: 1.5; }

.pc-cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .95rem 1.5rem;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s, transform .15s;
  margin-bottom: .75rem;
  text-align: center;
}
.pc-cart-checkout-btn:hover { background: #c43367; color: #fff; transform: translateY(-1px); }

.pc-cart-view-link {
  display: block;
  text-align: center;
  font-size: .75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.pc-cart-view-link:hover { color: var(--ink); text-decoration: underline; }

/* Empty state */
.pc-cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1.75rem;
  text-align: center;
}
.pc-cart-empty svg { opacity: .2; }
.pc-cart-empty p { font-size: .88rem; color: var(--text-muted); margin: 0; }
.pc-cart-empty a {
  font-size: .78rem; color: var(--pink); font-weight: 600;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
