/*
Theme Name: Pure Contour OMNI-OS
Theme URI: https://purecontour.co.uk
Author: PCHQ
Author URI: https://pchq.co.uk
Description: Standalone WooCommerce master theme for Pure Contour.
Version: 14.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: pure-contour-omni-os
*/


/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   Design tokens for the V6 brand baseline.
   ========================================================================== */

:root {
  /* ── Brand Palette ── */
  --pc-color-primary:       #0A2A1B;
  --pc-color-primary-rgb:   10, 42, 27;
  --pc-color-accent:        #C5A880;
  --pc-color-accent-rgb:    197, 168, 128;
  --pc-color-cream:         #FDFBF7;
  --pc-color-white:         #FFFFFF;
  --pc-color-black:         #111111;

  /* ── Semantic Palette ── */
  --pc-color-success:       #2E7D4F;
  --pc-color-error:         #C0392B;
  --pc-color-warning:       #E2A829;
  --pc-color-info:          #2980B9;

  /* ── Neutral Scale ── */
  --pc-gray-50:             #FAFAFA;
  --pc-gray-100:            #F5F5F5;
  --pc-gray-200:            #EEEEEE;
  --pc-gray-300:            #E0E0E0;
  --pc-gray-400:            #BDBDBD;
  --pc-gray-500:            #9E9E9E;
  --pc-gray-600:            #757575;
  --pc-gray-700:            #616161;
  --pc-gray-800:            #424242;
  --pc-gray-900:            #212121;

  /* ── Typography ── */
  --pc-font-family:         'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                            Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue',
                            Arial, sans-serif;
  --pc-font-family-mono:    'Fira Code', 'Cascadia Code', 'JetBrains Mono',
                            Consolas, 'Courier New', monospace;

  --pc-fs-xs:               0.75rem;    /* 12px */
  --pc-fs-sm:               0.875rem;   /* 14px */
  --pc-fs-base:             1rem;       /* 16px */
  --pc-fs-md:               1.125rem;   /* 18px */
  --pc-fs-lg:               1.25rem;    /* 20px */
  --pc-fs-xl:               1.5rem;     /* 24px */
  --pc-fs-2xl:              2rem;       /* 32px */
  --pc-fs-3xl:              2.5rem;     /* 40px */
  --pc-fs-4xl:              3rem;       /* 48px */
  --pc-fs-5xl:              3.5rem;     /* 56px */

  --pc-fw-light:            300;
  --pc-fw-regular:          400;
  --pc-fw-medium:           500;
  --pc-fw-semibold:         600;
  --pc-fw-bold:             700;

  --pc-lh-tight:            1.2;
  --pc-lh-snug:             1.35;
  --pc-lh-normal:           1.6;
  --pc-lh-relaxed:          1.8;

  --pc-ls-tight:           -0.02em;
  --pc-ls-normal:           0;
  --pc-ls-wide:             0.04em;
  --pc-ls-wider:            0.08em;
  --pc-ls-widest:           0.12em;

  /* ── Spacing Scale ── */
  --pc-space-2xs:           0.25rem;    /* 4px  */
  --pc-space-xs:            0.5rem;     /* 8px  */
  --pc-space-sm:            0.75rem;    /* 12px */
  --pc-space-md:            1rem;       /* 16px */
  --pc-space-lg:            1.5rem;     /* 24px */
  --pc-space-xl:            2rem;       /* 32px */
  --pc-space-2xl:           3rem;       /* 48px */
  --pc-space-3xl:           4rem;       /* 64px */
  --pc-space-4xl:           5rem;       /* 80px */
  --pc-space-5xl:           6rem;       /* 96px */

  /* ── Border Radii ── */
  --pc-radius-sm:           0.5rem;
  --pc-radius-md:           1rem;
  --pc-radius-lg:           1.5rem;
  --pc-radius-xl:           2rem;
  --pc-radius-2xl:          3rem;
  --pc-radius-pill:         9999px;

  /* ── Shadows ── */
  --pc-shadow-xs:           0 1px 2px rgba(0, 0, 0, 0.04);
  --pc-shadow-sm:           0 2px 6px rgba(0, 0, 0, 0.06);
  --pc-shadow-md:           0 4px 12px rgba(0, 0, 0, 0.08);
  --pc-shadow-lg:           0 8px 24px rgba(0, 0, 0, 0.10);
  --pc-shadow-xl:           0 16px 48px rgba(0, 0, 0, 0.12);
  --pc-shadow-gold:         0 4px 20px rgba(var(--pc-color-accent-rgb), 0.25);
  --pc-shadow-card-hover:   0 12px 32px rgba(0, 0, 0, 0.14);

  /* ── Transitions ── */
  --pc-ease-default:        cubic-bezier(0.4, 0, 0.2, 1);
  --pc-ease-in:             cubic-bezier(0.4, 0, 1, 1);
  --pc-ease-out:            cubic-bezier(0, 0, 0.2, 1);
  --pc-ease-bounce:         cubic-bezier(0.34, 1.56, 0.64, 1);

  --pc-duration-fast:       150ms;
  --pc-duration-normal:     300ms;
  --pc-duration-slow:       500ms;
  --pc-duration-slower:     800ms;

  /* ── Z-Index Scale ── */
  --pc-z-dropdown:          100;
  --pc-z-sticky:            200;
  --pc-z-header:            900;
  --pc-z-overlay:           950;
  --pc-z-mobile-menu:       1000;
  --pc-z-toast:             1100;
  --pc-z-modal:             1200;
  --pc-z-skip:              9999;

  /* ── Layout ── */
  --pc-header-height:       80px;
  --pc-max-width:           1200px;
  --pc-max-width-narrow:    800px;
  --pc-max-width-wide:      1440px;
  --pc-gutter:              clamp(1rem, 3vw, 2rem);
}


/* ==========================================================================
   2. RESET & BASE
   Modern CSS reset and foundational element styles.
   ========================================================================== */

/* ── Box-sizing Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ── Document ── */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.15;
  font-size: 100%;
}

/* ── Body ── */
body {
  margin: 0;
  padding: 0;
  font-family: var(--pc-font-family);
  font-size: var(--pc-fs-base);
  font-weight: var(--pc-fw-regular);
  line-height: var(--pc-lh-normal);
  color: var(--pc-color-primary);
  background-color: var(--pc-color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  animation: pcFadeIn var(--pc-duration-slow) var(--pc-ease-out) both;
}

@keyframes pcFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── Media ── */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
}

/* ── Typography Reset ── */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--pc-space-md);
  font-weight: var(--pc-fw-semibold);
  line-height: var(--pc-lh-tight);
  letter-spacing: var(--pc-ls-tight);
  color: var(--pc-color-primary);
}

h1 { font-size: var(--pc-fs-4xl); }
h2 { font-size: var(--pc-fs-3xl); }
h3 { font-size: var(--pc-fs-2xl); }
h4 { font-size: var(--pc-fs-xl); }
h5 { font-size: var(--pc-fs-lg); }
h6 { font-size: var(--pc-fs-md); }

p {
  margin: 0 0 var(--pc-space-md);
  line-height: var(--pc-lh-normal);
}

/* ── Links ── */
a {
  color: var(--pc-color-primary);
  text-decoration: none;
  transition: color var(--pc-duration-fast) var(--pc-ease-default);
}

a:hover {
  color: var(--pc-color-accent);
}

/* ── Lists ── */
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ── Forms ── */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* ── Tables ── */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* ── Misc ── */
hr {
  border: none;
  height: 1px;
  background-color: var(--pc-gray-200);
  margin: var(--pc-space-xl) 0;
}

blockquote {
  margin: 0 0 var(--pc-space-lg);
  padding: var(--pc-space-md) var(--pc-space-lg);
  border-left: 4px solid var(--pc-color-accent);
  font-style: italic;
  color: var(--pc-gray-700);
  background-color: var(--pc-gray-50);
  border-radius: 0 var(--pc-radius-sm) var(--pc-radius-sm) 0;
}

/* ── Selection ── */
::selection {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
}

::-moz-selection {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
}

/* ── Screen Reader Text ── */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: static !important;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ── Skip Link ── */
.pc-skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--pc-z-skip);
  padding: var(--pc-space-sm) var(--pc-space-lg);
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  font-weight: var(--pc-fw-semibold);
  font-size: var(--pc-fs-sm);
  border-radius: 0 0 var(--pc-radius-md) var(--pc-radius-md);
  text-decoration: none;
  transition: top var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-skip-link:focus {
  top: 0;
  outline: 3px solid var(--pc-color-accent);
  outline-offset: 2px;
}


/* ==========================================================================
   3. SMART HEADER
   Fixed top header with scroll-aware hide/show behaviour.
   ========================================================================== */

.pc-smart-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--pc-header-height);
  z-index: var(--pc-z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pc-gutter);
  background-color: rgba(var(--pc-color-primary-rgb), 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--pc-duration-normal) var(--pc-ease-default),
              box-shadow var(--pc-duration-normal) var(--pc-ease-default),
              background-color var(--pc-duration-normal) var(--pc-ease-default);
}

/* ── Scrolled State ── */
.pc-smart-header.pc-header-scrolled {
  background-color: rgba(var(--pc-color-primary-rgb), 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* ── Hidden State (scroll-down) ── */
.pc-smart-header.pc-header-hidden {
  transform: translateY(-100%);
}

/* ── Logo ── */
.pc-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.pc-header__logo img {
  height: 42px;
  width: auto;
  transition: opacity var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-header__logo:hover img {
  opacity: 0.85;
}

.pc-header__logo-text {
  font-size: var(--pc-fs-lg);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-white);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
}

/* ── Desktop Navigation ── */
.pc-desktop-nav {
  display: none;
  align-items: center;
  gap: var(--pc-space-xl);
}

.pc-desktop-nav__link {
  position: relative;
  color: var(--pc-color-white);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  padding: var(--pc-space-xs) 0;
  transition: color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-desktop-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--pc-color-accent);
  border-radius: var(--pc-radius-pill);
  transition: width var(--pc-duration-normal) var(--pc-ease-default),
              left var(--pc-duration-normal) var(--pc-ease-default);
}

.pc-desktop-nav__link:hover,
.pc-desktop-nav__link:focus-visible,
.pc-desktop-nav__link.is-active {
  color: var(--pc-color-accent);
}

.pc-desktop-nav__link:hover::after,
.pc-desktop-nav__link:focus-visible::after,
.pc-desktop-nav__link.is-active::after {
  width: 100%;
  left: 0;
}

/* ── More Dropdown ── */
.pc-dropdown-trigger {
  position: relative;
}

#pc-more-dropdown {
  position: absolute;
  top: calc(100% + var(--pc-space-sm));
  right: 0;
  min-width: 220px;
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-lg);
  box-shadow: var(--pc-shadow-lg);
  padding: var(--pc-space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--pc-duration-fast) var(--pc-ease-default),
              visibility var(--pc-duration-fast) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
  z-index: var(--pc-z-dropdown);
}

.pc-dropdown-trigger.pc-dropdown-active #pc-more-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#pc-more-dropdown a {
  display: block;
  padding: var(--pc-space-sm) var(--pc-space-lg);
  color: var(--pc-color-primary);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default),
              color var(--pc-duration-fast) var(--pc-ease-default);
}

#pc-more-dropdown a:hover,
#pc-more-dropdown a:focus-visible {
  background-color: var(--pc-color-cream);
  color: var(--pc-color-accent);
}

/* ── Header Actions ── */
.pc-header-actions {
  display: flex;
  align-items: center;
  gap: var(--pc-space-md);
  z-index: 2;
}

.pc-header-actions__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--pc-color-white);
  border-radius: var(--pc-radius-pill);
  transition: color var(--pc-duration-fast) var(--pc-ease-default),
              background-color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-header-actions__link:hover,
.pc-header-actions__link:focus-visible {
  color: var(--pc-color-accent);
  background-color: rgba(255, 255, 255, 0.08);
}

.pc-header-actions__link:active {
  background-color: rgba(255, 255, 255, 0.12);
}

.pc-header-actions__link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Cart Count Badge ── */
.pc-cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  font-size: 10px;
  font-weight: var(--pc-fw-bold);
  line-height: 1;
  border-radius: var(--pc-radius-pill);
  border: 2px solid var(--pc-color-primary);
  transition: transform var(--pc-duration-fast) var(--pc-ease-bounce);
}

.pc-cart-count:empty {
  display: none;
}

.pc-cart-count.pc-cart-count--bump {
  animation: pcCartBump var(--pc-duration-normal) var(--pc-ease-bounce);
}

@keyframes pcCartBump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ── Mobile Toggle ── */
.pc-mobile-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  background: none;
  border: none;
}

.pc-mobile-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-pill);
  transition: transform var(--pc-duration-normal) var(--pc-ease-default),
              opacity var(--pc-duration-normal) var(--pc-ease-default);
}

.pc-mobile-toggle:hover .pc-mobile-toggle__bar {
  background-color: var(--pc-color-accent);
}

/* Hamburger → X morph on mobile-active */
.pc-mobile-active .pc-mobile-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pc-mobile-active .pc-mobile-toggle__bar:nth-child(2) {
  opacity: 0;
}

.pc-mobile-active .pc-mobile-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================================================
   4. MOBILE MENU
   Full-screen slide-from-left mobile navigation overlay.
   ========================================================================== */

/* ── Backdrop ── */
.pc-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--pc-z-overlay);
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--pc-duration-normal) var(--pc-ease-default),
              visibility var(--pc-duration-normal) var(--pc-ease-default);
}

.pc-mobile-active .pc-mobile-backdrop {
  opacity: 1;
  visibility: visible;
}

/* ── Overlay Panel ── */
#pc-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  z-index: var(--pc-z-mobile-menu);
  background-color: var(--pc-color-primary);
  padding: var(--pc-space-3xl) var(--pc-space-lg) var(--pc-space-xl);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: transform var(--pc-duration-normal) var(--pc-ease-default);
  display: flex;
  flex-direction: column;
}

.pc-mobile-active #pc-mobile-overlay {
  transform: translateX(0);
}

/* ── Close Button ── */
#pc-mobile-close {
  position: absolute;
  top: var(--pc-space-md);
  right: var(--pc-space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--pc-color-white);
  border-radius: var(--pc-radius-pill);
  transition: color var(--pc-duration-fast) var(--pc-ease-default),
              background-color var(--pc-duration-fast) var(--pc-ease-default);
  cursor: pointer;
  background: none;
  border: none;
}

#pc-mobile-close:hover,
#pc-mobile-close:focus-visible {
  color: var(--pc-color-accent);
  background-color: rgba(255, 255, 255, 0.08);
}

#pc-mobile-close:active {
  background-color: rgba(255, 255, 255, 0.15);
}

#pc-mobile-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

/* ── Navigation Links ── */
.pc-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--pc-space-2xs);
  margin-top: var(--pc-space-xl);
}

.pc-mobile-nav__link {
  display: block;
  padding: var(--pc-space-sm) var(--pc-space-md);
  color: var(--pc-color-white);
  font-size: var(--pc-fs-lg);
  font-weight: var(--pc-fw-medium);
  letter-spacing: var(--pc-ls-wide);
  border-radius: var(--pc-radius-md);
  transition: color var(--pc-duration-fast) var(--pc-ease-default),
              background-color var(--pc-duration-fast) var(--pc-ease-default),
              padding-left var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-mobile-nav__link:hover,
.pc-mobile-nav__link:focus-visible {
  color: var(--pc-color-accent);
  background-color: rgba(255, 255, 255, 0.06);
  padding-left: var(--pc-space-lg);
}

.pc-mobile-nav__link:active {
  background-color: rgba(255, 255, 255, 0.1);
}

.pc-mobile-nav__link.is-active {
  color: var(--pc-color-accent);
  background-color: rgba(var(--pc-color-accent-rgb), 0.1);
}

/* ── Mobile Sub-links ── */
.pc-mobile-nav__sub {
  padding-left: var(--pc-space-md);
  margin-top: var(--pc-space-2xs);
}

.pc-mobile-nav__sub .pc-mobile-nav__link {
  font-size: var(--pc-fs-base);
  font-weight: var(--pc-fw-regular);
  color: rgba(255, 255, 255, 0.7);
}

.pc-mobile-nav__sub .pc-mobile-nav__link:hover,
.pc-mobile-nav__sub .pc-mobile-nav__link:focus-visible {
  color: var(--pc-color-accent);
}

/* ── Mobile CTA ── */
.pc-mobile-cta {
  margin-top: auto;
  padding-top: var(--pc-space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-mobile-cta .pc-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ── HIDE Mobile Menu on Desktop ── */
@media (min-width: 1024px) {
  .pc-mobile-toggle {
    display: none;
  }

  .pc-mobile-backdrop {
    display: none;
  }

  #pc-mobile-overlay {
    display: none;
  }

  .pc-desktop-nav {
    display: flex;
  }
}


/* ==========================================================================
   5. PAGE WRAPPERS
   Layout containers for homepage vs internal pages.
   ========================================================================== */

.pc-home-wrapper {
  padding-top: 0;
}

.pc-internal-wrapper {
  padding-top: 140px;
  min-height: 80vh;
  max-width: var(--pc-max-width);
  margin: 0 auto;
  padding-left: var(--pc-gutter);
  padding-right: var(--pc-gutter);
  padding-bottom: var(--pc-space-4xl);
}

.pc-page-content {
  max-width: var(--pc-max-width);
  margin: 0 auto;
  padding: 0 var(--pc-gutter);
}

.pc-narrow-content {
  max-width: var(--pc-max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--pc-gutter);
}


/* ==========================================================================
   6. HERO
   Full-viewport hero with media background and overlay.
   ========================================================================== */

.pc-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Background Media ── */
.pc-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pc-hero__media img,
.pc-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Gradient Overlay ── */
.pc-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(var(--pc-color-primary-rgb), 0.75) 0%,
    rgba(var(--pc-color-primary-rgb), 0.40) 50%,
    rgba(var(--pc-color-primary-rgb), 0.85) 100%
  );
}

/* ── Content ── */
.pc-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--pc-gutter);
}

.pc-hero__eyebrow {
  display: inline-block;
  font-size: var(--pc-fs-xs);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-widest);
  text-transform: uppercase;
  color: var(--pc-color-accent);
  margin-bottom: var(--pc-space-md);
}

.pc-hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-white);
  line-height: var(--pc-lh-tight);
  letter-spacing: var(--pc-ls-tight);
  margin-bottom: var(--pc-space-lg);
}

.pc-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--pc-fw-regular);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--pc-lh-relaxed);
  margin-bottom: var(--pc-space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pc-space-md);
  justify-content: center;
}

/* ── Play Button (video hero) ── */
.pc-hero__play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--pc-radius-pill);
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid var(--pc-color-white);
  color: var(--pc-color-white);
  cursor: pointer;
  transition: background-color var(--pc-duration-normal) var(--pc-ease-default),
              transform var(--pc-duration-normal) var(--pc-ease-default),
              border-color var(--pc-duration-normal) var(--pc-ease-default);
}

.pc-hero__play-btn:hover,
.pc-hero__play-btn:focus-visible {
  background-color: var(--pc-color-accent);
  border-color: var(--pc-color-accent);
  transform: scale(1.08);
}

.pc-hero__play-btn:active {
  transform: scale(0.96);
}

.pc-hero__play-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  margin-left: 3px; /* optical centering for play triangle */
}

/* ── Scroll Indicator ── */
.pc-hero__scroll-hint {
  position: absolute;
  bottom: var(--pc-space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pc-space-xs);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--pc-fs-xs);
  letter-spacing: var(--pc-ls-wider);
  text-transform: uppercase;
  animation: pcScrollBounce 2s var(--pc-ease-default) infinite;
}

@keyframes pcScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}


/* ==========================================================================
   7. SECTIONS
   Reusable section containers, titles, and collection grids.
   ========================================================================== */

.pc-section {
  padding: var(--pc-space-4xl) var(--pc-gutter);
  max-width: var(--pc-max-width);
  margin: 0 auto;
}

.pc-section--wide {
  max-width: var(--pc-max-width-wide);
}

.pc-section--flush {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.pc-section--cream {
  background-color: var(--pc-color-cream);
}

.pc-section--white {
  background-color: var(--pc-color-white);
}

.pc-section--dark {
  background-color: var(--pc-color-primary);
}

.pc-section--dark .pc-section__title,
.pc-section--dark .pc-section__subtitle {
  color: var(--pc-color-white);
}

/* ── Section Header ── */
.pc-section__header {
  text-align: center;
  margin-bottom: var(--pc-space-3xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pc-section__eyebrow {
  display: inline-block;
  font-size: var(--pc-fs-xs);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-widest);
  text-transform: uppercase;
  color: var(--pc-color-accent);
  margin-bottom: var(--pc-space-sm);
}

.pc-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-primary);
  line-height: var(--pc-lh-tight);
  margin-bottom: var(--pc-space-md);
}

.pc-section__subtitle {
  font-size: var(--pc-fs-md);
  font-weight: var(--pc-fw-regular);
  color: var(--pc-gray-600);
  line-height: var(--pc-lh-relaxed);
}

/* ── Collection Grid ── */
.pc-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--pc-space-lg);
}

.pc-collection-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.pc-collection-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

/* ── Feature Row ── */
.pc-feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pc-space-3xl);
  align-items: center;
}

@media (min-width: 768px) {
  .pc-feature-row {
    grid-template-columns: 1fr 1fr;
  }

  .pc-feature-row--reverse .pc-feature-row__media {
    order: 2;
  }
}


/* ==========================================================================
   8. PRODUCT CARDS
   WooCommerce product loop cards with hover lift and brand styling.
   ========================================================================== */

.pc-product-card {
  position: relative;
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-lg);
  overflow: hidden;
  box-shadow: var(--pc-shadow-sm);
  transition: transform var(--pc-duration-normal) var(--pc-ease-default),
              box-shadow var(--pc-duration-normal) var(--pc-ease-default);
}

.pc-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pc-shadow-card-hover);
}

/* ── Image Container ── */
.pc-product-card__image,
.pc-product-card .attachment-woocommerce_thumbnail,
.pc-product-card > a > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background-color: var(--pc-gray-100);
  transition: transform var(--pc-duration-slow) var(--pc-ease-default);
}

.pc-product-card:hover .pc-product-card__image,
.pc-product-card:hover .attachment-woocommerce_thumbnail,
.pc-product-card:hover > a > img {
  transform: scale(1.04);
}

.pc-product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: var(--pc-gray-100);
}

.pc-product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--pc-duration-slow) var(--pc-ease-default);
}

.pc-product-card:hover .pc-product-card__image-wrap img {
  transform: scale(1.04);
}

/* ── Sale Badge ── */
.pc-product-card .onsale,
.pc-product-card__badge {
  position: absolute;
  top: var(--pc-space-md);
  left: var(--pc-space-md);
  z-index: 2;
  padding: 4px 14px;
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  font-size: var(--pc-fs-xs);
  font-weight: var(--pc-fw-bold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  border-radius: var(--pc-radius-pill);
  line-height: 1.4;
}

/* ── Card Body ── */
.pc-product-card__body {
  padding: var(--pc-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--pc-space-xs);
}

/* ── Product Title ── */
.pc-product-card h2.woocommerce-loop-product__title,
.pc-product-card__title {
  font-size: var(--pc-fs-base);
  font-weight: var(--pc-fw-semibold);
  color: var(--pc-color-primary);
  line-height: var(--pc-lh-snug);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-product-card:hover h2.woocommerce-loop-product__title,
.pc-product-card:hover .pc-product-card__title {
  color: var(--pc-color-accent);
}

/* ── Category Label ── */
.pc-product-card__category {
  font-size: var(--pc-fs-xs);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-gray-500);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
}

/* ── Price ── */
.pc-product-card .price,
.pc-product-card__price {
  font-size: var(--pc-fs-lg);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-accent);
  margin: var(--pc-space-2xs) 0;
}

.pc-product-card .price del {
  color: var(--pc-gray-400);
  font-weight: var(--pc-fw-regular);
  font-size: var(--pc-fs-sm);
  margin-right: var(--pc-space-xs);
}

.pc-product-card .price ins {
  text-decoration: none;
  color: var(--pc-color-accent);
}

/* ── Star Rating ── */
.pc-product-card .star-rating,
.pc-product-card__rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--pc-color-accent);
  font-size: var(--pc-fs-sm);
}

/* ── Add to Cart ── */
.pc-product-card a.button.add_to_cart_button,
.pc-product-card__atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pc-space-xs);
  width: 100%;
  padding: var(--pc-space-sm) var(--pc-space-lg);
  margin-top: var(--pc-space-xs);
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  text-align: center;
  border: 2px solid var(--pc-color-primary);
  border-radius: var(--pc-radius-pill);
  cursor: pointer;
  transition: background-color var(--pc-duration-normal) var(--pc-ease-default),
              color var(--pc-duration-normal) var(--pc-ease-default),
              border-color var(--pc-duration-normal) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-product-card a.button.add_to_cart_button:hover,
.pc-product-card a.button.add_to_cart_button:focus-visible,
.pc-product-card__atc:hover,
.pc-product-card__atc:focus-visible {
  background-color: var(--pc-color-accent);
  border-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
}

.pc-product-card a.button.add_to_cart_button:active,
.pc-product-card__atc:active {
  transform: scale(0.97);
}

/* ── Added to Cart (WC) ── */
.pc-product-card a.added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: var(--pc-space-xs);
  padding: var(--pc-space-xs) var(--pc-space-md);
  background-color: transparent;
  color: var(--pc-color-success);
  font-size: var(--pc-fs-xs);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  border: 1px solid var(--pc-color-success);
  border-radius: var(--pc-radius-pill);
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default),
              color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-product-card a.added_to_cart:hover,
.pc-product-card a.added_to_cart:focus-visible {
  background-color: var(--pc-color-success);
  color: var(--pc-color-white);
}

/* ── Quick View / Wishlist Icons ── */
.pc-product-card__actions-overlay {
  position: absolute;
  top: var(--pc-space-md);
  right: var(--pc-space-md);
  display: flex;
  flex-direction: column;
  gap: var(--pc-space-xs);
  z-index: 2;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--pc-duration-normal) var(--pc-ease-default),
              transform var(--pc-duration-normal) var(--pc-ease-default);
}

.pc-product-card:hover .pc-product-card__actions-overlay {
  opacity: 1;
  transform: translateX(0);
}

.pc-product-card__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-pill);
  box-shadow: var(--pc-shadow-sm);
  color: var(--pc-color-primary);
  cursor: pointer;
  border: none;
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default),
              color var(--pc-duration-fast) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-product-card__action-btn:hover,
.pc-product-card__action-btn:focus-visible {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  transform: scale(1.1);
}

.pc-product-card__action-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}


/* ==========================================================================
   9. SHOP PAGE
   WooCommerce product archive page styling.
   ========================================================================== */

/* ── Shop Hero Banner ── */
.pc-shop-hero {
  background: linear-gradient(
    135deg,
    var(--pc-color-primary) 0%,
    rgba(var(--pc-color-primary-rgb), 0.85) 100%
  );
  padding: var(--pc-space-5xl) var(--pc-gutter) var(--pc-space-3xl);
  text-align: center;
  margin-top: var(--pc-header-height);
}

.pc-shop-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-white);
  margin-bottom: var(--pc-space-sm);
}

.pc-shop-hero__description {
  font-size: var(--pc-fs-md);
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--pc-lh-relaxed);
}

.pc-shop-hero__count {
  display: inline-block;
  margin-top: var(--pc-space-md);
  padding: var(--pc-space-2xs) var(--pc-space-md);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--pc-color-accent);
  font-size: var(--pc-fs-xs);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-wider);
  text-transform: uppercase;
  border-radius: var(--pc-radius-pill);
}

/* ── Product Grid ── */
.woocommerce ul.products,
.pc-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--pc-space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product {
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
}

/* ── Ordering / Result Count Bar ── */
.woocommerce-ordering,
.pc-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--pc-space-md);
  margin-bottom: var(--pc-space-xl);
}

.woocommerce-result-count {
  font-size: var(--pc-fs-sm);
  color: var(--pc-gray-600);
  margin: 0;
}

.woocommerce-ordering select,
.pc-shop-sort select {
  appearance: none;
  -webkit-appearance: none;
  padding: var(--pc-space-sm) var(--pc-space-2xl) var(--pc-space-sm) var(--pc-space-md);
  border: 1px solid var(--pc-gray-300);
  border-radius: var(--pc-radius-md);
  background-color: var(--pc-color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23616161' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  font-size: var(--pc-fs-sm);
  color: var(--pc-color-primary);
  cursor: pointer;
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default);
}

.woocommerce-ordering select:focus,
.woocommerce-ordering select:focus-visible {
  outline: none;
  border-color: var(--pc-color-accent);
  box-shadow: 0 0 0 3px rgba(var(--pc-color-accent-rgb), 0.15);
}

/* ── Pagination ── */
.woocommerce-pagination,
.pc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--pc-space-xs);
  padding: var(--pc-space-3xl) 0 var(--pc-space-xl);
}

.woocommerce-pagination ul {
  display: flex;
  gap: var(--pc-space-xs);
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.pc-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 var(--pc-space-sm);
  border: 1px solid var(--pc-gray-300);
  border-radius: var(--pc-radius-md);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-color-primary);
  background-color: var(--pc-color-white);
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default),
              border-color var(--pc-duration-fast) var(--pc-ease-default),
              color var(--pc-duration-fast) var(--pc-ease-default);
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li a:focus-visible,
.pc-pagination__link:hover,
.pc-pagination__link:focus-visible {
  background-color: var(--pc-color-primary);
  border-color: var(--pc-color-primary);
  color: var(--pc-color-white);
}

.woocommerce-pagination ul li span.current,
.pc-pagination__link.is-active {
  background-color: var(--pc-color-primary);
  border-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  pointer-events: none;
}

/* ── Active Filters ── */
.pc-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pc-space-xs);
  margin-bottom: var(--pc-space-lg);
}

.pc-active-filters__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--pc-space-2xs);
  padding: var(--pc-space-2xs) var(--pc-space-sm);
  background-color: rgba(var(--pc-color-primary-rgb), 0.06);
  border-radius: var(--pc-radius-pill);
  font-size: var(--pc-fs-xs);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-color-primary);
}

.pc-active-filters__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: var(--pc-radius-pill);
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-active-filters__remove:hover {
  background-color: var(--pc-color-error);
}


/* ==========================================================================
   10. CART
   WooCommerce cart page with responsive table layout.
   ========================================================================== */

.pc-cart-wrapper {
  max-width: var(--pc-max-width);
  margin: 0 auto;
  padding: var(--pc-space-xl) var(--pc-gutter) var(--pc-space-4xl);
}

.pc-cart-wrapper h1,
.pc-cart-wrapper .pc-section__title {
  margin-bottom: var(--pc-space-2xl);
}

/* ── Cart Table ── */
.pc-cart-table,
.woocommerce-cart-form table.cart {
  width: 100%;
  border-collapse: collapse;
}

.pc-cart-table thead,
.woocommerce-cart-form table.cart thead {
  display: none;
}

/* ── Cart Row ── */
.pc-cart-row,
.woocommerce-cart-form table.cart tr.cart_item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--pc-space-md);
  align-items: center;
  padding: var(--pc-space-lg) 0;
  border-bottom: 1px solid var(--pc-gray-200);
}

.pc-cart-row:last-child,
.woocommerce-cart-form table.cart tr.cart_item:last-child {
  border-bottom: none;
}

/* ── Cart Product Image ── */
.pc-cart-row__image,
.woocommerce-cart-form .product-thumbnail {
  width: 100px;
  height: 100px;
  border-radius: var(--pc-radius-md);
  overflow: hidden;
  background-color: var(--pc-gray-100);
}

.pc-cart-row__image img,
.woocommerce-cart-form .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Cart Product Info ── */
.pc-cart-row__info {
  display: flex;
  flex-direction: column;
  gap: var(--pc-space-2xs);
}

.pc-cart-row__name,
.woocommerce-cart-form .product-name a {
  font-size: var(--pc-fs-base);
  font-weight: var(--pc-fw-semibold);
  color: var(--pc-color-primary);
  transition: color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-cart-row__name:hover,
.woocommerce-cart-form .product-name a:hover {
  color: var(--pc-color-accent);
}

.pc-cart-row__meta {
  font-size: var(--pc-fs-xs);
  color: var(--pc-gray-500);
}

.pc-cart-row__price,
.woocommerce-cart-form .product-price {
  font-size: var(--pc-fs-md);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-accent);
}

/* ── Quantity Input ── */
.pc-cart-row__qty,
.woocommerce-cart-form .product-quantity {
  display: flex;
  align-items: center;
}

.pc-cart-row__qty input[type="number"],
.woocommerce-cart-form .quantity input.qty {
  width: 60px;
  height: 44px;
  text-align: center;
  border: 1px solid var(--pc-gray-300);
  border-radius: var(--pc-radius-md);
  font-size: var(--pc-fs-base);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-color-primary);
  background-color: var(--pc-color-white);
  -moz-appearance: textfield;
  appearance: textfield;
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-cart-row__qty input[type="number"]::-webkit-inner-spin-button,
.pc-cart-row__qty input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pc-cart-row__qty input[type="number"]:focus,
.woocommerce-cart-form .quantity input.qty:focus {
  outline: none;
  border-color: var(--pc-color-accent);
  box-shadow: 0 0 0 3px rgba(var(--pc-color-accent-rgb), 0.15);
}

/* ── Remove Item ── */
.pc-cart-row__remove,
.woocommerce-cart-form .product-remove a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--pc-radius-pill);
  color: var(--pc-gray-400);
  transition: color var(--pc-duration-fast) var(--pc-ease-default),
              background-color var(--pc-duration-fast) var(--pc-ease-default);
  cursor: pointer;
  font-size: var(--pc-fs-lg);
  text-decoration: none;
}

.pc-cart-row__remove:hover,
.pc-cart-row__remove:focus-visible,
.woocommerce-cart-form .product-remove a:hover {
  color: var(--pc-color-error);
  background-color: rgba(192, 57, 43, 0.06);
}

/* ── Subtotal ── */
.pc-cart-row__subtotal,
.woocommerce-cart-form .product-subtotal {
  font-size: var(--pc-fs-md);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-primary);
  text-align: right;
}

/* ── Cart Totals ── */
.cart_totals,
.pc-cart-totals {
  max-width: 480px;
  margin-left: auto;
  margin-top: var(--pc-space-2xl);
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-xl);
  padding: var(--pc-space-xl);
  box-shadow: var(--pc-shadow-sm);
}

.cart_totals h2,
.pc-cart-totals__title {
  font-size: var(--pc-fs-xl);
  font-weight: var(--pc-fw-bold);
  margin-bottom: var(--pc-space-lg);
}

.cart_totals table {
  width: 100%;
}

.cart_totals table th {
  text-align: left;
  padding: var(--pc-space-sm) 0;
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-gray-600);
}

.cart_totals table td {
  text-align: right;
  padding: var(--pc-space-sm) 0;
  font-size: var(--pc-fs-md);
  font-weight: var(--pc-fw-semibold);
  color: var(--pc-color-primary);
}

.cart_totals .order-total td {
  font-size: var(--pc-fs-xl);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-accent);
  border-top: 2px solid var(--pc-gray-200);
  padding-top: var(--pc-space-md);
}

.cart_totals .order-total th {
  border-top: 2px solid var(--pc-gray-200);
  padding-top: var(--pc-space-md);
}

/* ── Coupon Form ── */
.coupon,
.pc-coupon-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pc-space-sm);
  margin-top: var(--pc-space-lg);
  padding-top: var(--pc-space-lg);
  border-top: 1px solid var(--pc-gray-200);
}

.coupon label {
  width: 100%;
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-gray-600);
  margin-bottom: var(--pc-space-2xs);
}

.coupon input#coupon_code,
.pc-coupon-form input[type="text"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 var(--pc-space-md);
  border: 1px solid var(--pc-gray-300);
  border-radius: var(--pc-radius-md);
  font-size: var(--pc-fs-sm);
  color: var(--pc-color-primary);
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default);
}

.coupon input#coupon_code:focus,
.pc-coupon-form input[type="text"]:focus {
  outline: none;
  border-color: var(--pc-color-accent);
  box-shadow: 0 0 0 3px rgba(var(--pc-color-accent-rgb), 0.15);
}

.coupon button,
.pc-coupon-form button {
  height: 48px;
  padding: 0 var(--pc-space-xl);
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  border: none;
  border-radius: var(--pc-radius-md);
  cursor: pointer;
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default);
}

.coupon button:hover,
.coupon button:focus-visible,
.pc-coupon-form button:hover,
.pc-coupon-form button:focus-visible {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
}

/* ── Update Cart / Proceed to Checkout ── */
.woocommerce-cart-form button[name="update_cart"],
.pc-cart-update-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--pc-space-xl);
  background-color: transparent;
  color: var(--pc-color-primary);
  border: 2px solid var(--pc-color-primary);
  border-radius: var(--pc-radius-pill);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default),
              color var(--pc-duration-fast) var(--pc-ease-default);
  margin-top: var(--pc-space-lg);
}

.woocommerce-cart-form button[name="update_cart"]:hover,
.woocommerce-cart-form button[name="update_cart"]:focus-visible,
.pc-cart-update-btn:hover,
.pc-cart-update-btn:focus-visible {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
}

.woocommerce-cart-form button[name="update_cart"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.wc-proceed-to-checkout a.checkout-button,
.pc-cart-checkout-btn {
  display: block;
  width: 100%;
  height: 54px;
  line-height: 54px;
  margin-top: var(--pc-space-lg);
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  font-size: var(--pc-fs-base);
  font-weight: var(--pc-fw-bold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--pc-radius-pill);
  border: none;
  cursor: pointer;
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default),
              box-shadow var(--pc-duration-fast) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
}

.wc-proceed-to-checkout a.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:focus-visible,
.pc-cart-checkout-btn:hover,
.pc-cart-checkout-btn:focus-visible {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  box-shadow: var(--pc-shadow-gold);
}

.wc-proceed-to-checkout a.checkout-button:active,
.pc-cart-checkout-btn:active {
  transform: scale(0.98);
}

/* ── Empty Cart ── */
.cart-empty,
.pc-cart-empty {
  text-align: center;
  padding: var(--pc-space-5xl) var(--pc-gutter);
}

.pc-cart-empty__icon {
  font-size: 4rem;
  margin-bottom: var(--pc-space-lg);
  opacity: 0.3;
}

.cart-empty p,
.pc-cart-empty p {
  font-size: var(--pc-fs-lg);
  color: var(--pc-gray-500);
  margin-bottom: var(--pc-space-xl);
}

.return-to-shop a,
.pc-cart-empty .pc-btn {
  display: inline-flex;
}

@media (max-width: 767px) {
  .pc-cart-row,
  .woocommerce-cart-form table.cart tr.cart_item {
    grid-template-columns: 80px 1fr;
    gap: var(--pc-space-sm);
  }

  .pc-cart-row__subtotal,
  .woocommerce-cart-form .product-subtotal {
    grid-column: 1 / -1;
    text-align: left;
  }

  .cart_totals,
  .pc-cart-totals {
    max-width: 100%;
  }
}


/* ==========================================================================
   11. CHECKOUT
   Luxury two-column checkout with sticky order review.
   ========================================================================== */

.pc-checkout-wrapper {
  max-width: var(--pc-max-width);
  margin: 0 auto;
  padding: var(--pc-space-xl) var(--pc-gutter) var(--pc-space-4xl);
}

.pc-checkout-wrapper h1,
.pc-checkout-wrapper > .pc-section__title {
  margin-bottom: var(--pc-space-2xl);
}

/* ── Two-Column Layout ── */
.pc-checkout-columns,
.woocommerce-checkout .col2-set + #order_review_heading + #order_review,
.woocommerce form.checkout {
  display: block;
}

/* ── Checkout Section Cards ── */
.pc-checkout-section,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-xl);
  padding: var(--pc-space-xl);
  margin-bottom: var(--pc-space-xl);
  box-shadow: var(--pc-shadow-sm);
}

.pc-checkout-section__title,
.woocommerce-checkout h3 {
  font-size: var(--pc-fs-xl);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-primary);
  margin-bottom: var(--pc-space-lg);
  padding-bottom: var(--pc-space-sm);
  border-bottom: 1px solid var(--pc-gray-200);
}

/* ── Form Inputs ── */
.pc-form__input,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="url"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  height: 52px;
  padding: 0 var(--pc-space-md);
  border: 1.5px solid var(--pc-gray-300);
  border-radius: var(--pc-radius-md);
  font-size: var(--pc-fs-base);
  font-family: var(--pc-font-family);
  color: var(--pc-color-primary);
  background-color: var(--pc-color-white);
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default),
              box-shadow var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-form__input:focus,
.pc-form__input:focus-visible,
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  outline: none;
  border-color: var(--pc-color-accent);
  box-shadow: 0 0 0 3px rgba(var(--pc-color-accent-rgb), 0.18);
}

.woocommerce-checkout textarea {
  height: auto;
  min-height: 120px;
  padding: var(--pc-space-md);
  resize: vertical;
}

.woocommerce-checkout label {
  display: block;
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-color-primary);
  margin-bottom: var(--pc-space-2xs);
}

.woocommerce-checkout label .required {
  color: var(--pc-color-error);
}

.woocommerce-checkout .form-row {
  margin-bottom: var(--pc-space-md);
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: 100%;
}

/* ── Inline Error ── */
.woocommerce-checkout .woocommerce-invalid input {
  border-color: var(--pc-color-error);
}

.woocommerce-checkout .woocommerce-invalid .woocommerce-error {
  font-size: var(--pc-fs-xs);
  color: var(--pc-color-error);
  margin-top: var(--pc-space-2xs);
}

/* ── Order Review ── */
#order_review,
.pc-order-review {
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-xl);
  padding: var(--pc-space-xl);
  box-shadow: var(--pc-shadow-sm);
  margin-top: var(--pc-space-xl);
}

#order_review_heading {
  font-size: var(--pc-fs-xl);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-primary);
  margin: var(--pc-space-xl) 0 var(--pc-space-md);
}

#order_review table.shop_table {
  width: 100%;
  margin-bottom: var(--pc-space-lg);
}

#order_review table.shop_table th {
  text-align: left;
  padding: var(--pc-space-sm) 0;
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-gray-600);
  border-bottom: 1px solid var(--pc-gray-200);
}

#order_review table.shop_table td {
  text-align: right;
  padding: var(--pc-space-sm) 0;
  font-size: var(--pc-fs-sm);
  color: var(--pc-color-primary);
  border-bottom: 1px solid var(--pc-gray-100);
}

#order_review table.shop_table .order-total td {
  font-size: var(--pc-fs-xl);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-accent);
  border-bottom: none;
  padding-top: var(--pc-space-md);
}

#order_review table.shop_table .order-total th {
  font-size: var(--pc-fs-md);
  font-weight: var(--pc-fw-bold);
  padding-top: var(--pc-space-md);
  border-bottom: none;
}

/* ── Payment Methods ── */
#payment,
.pc-payment-methods {
  margin-top: var(--pc-space-xl);
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--pc-space-lg);
}

#payment ul.payment_methods li {
  padding: var(--pc-space-md);
  margin-bottom: var(--pc-space-sm);
  border: 1.5px solid var(--pc-gray-200);
  border-radius: var(--pc-radius-md);
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default);
}

#payment ul.payment_methods li:hover {
  border-color: var(--pc-color-accent);
}

#payment ul.payment_methods li.wc_payment_method input[type="radio"] {
  margin-right: var(--pc-space-sm);
  accent-color: var(--pc-color-accent);
}

#payment ul.payment_methods li label {
  font-size: var(--pc-fs-base);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-color-primary);
  cursor: pointer;
  margin-bottom: 0;
}

#payment ul.payment_methods li .payment_box {
  margin-top: var(--pc-space-sm);
  padding: var(--pc-space-md);
  background-color: var(--pc-color-cream);
  border-radius: var(--pc-radius-sm);
  font-size: var(--pc-fs-sm);
  color: var(--pc-gray-600);
  line-height: var(--pc-lh-relaxed);
}

/* ── Place Order Button ── */
#place_order,
.pc-place-order-btn {
  display: block;
  width: 100%;
  height: 58px;
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  font-size: var(--pc-fs-md);
  font-weight: var(--pc-fw-bold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  border: none;
  border-radius: var(--pc-radius-pill);
  cursor: pointer;
  transition: background-color var(--pc-duration-normal) var(--pc-ease-default),
              box-shadow var(--pc-duration-normal) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
}

#place_order:hover,
#place_order:focus-visible,
.pc-place-order-btn:hover,
.pc-place-order-btn:focus-visible {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  box-shadow: var(--pc-shadow-gold);
}

#place_order:active,
.pc-place-order-btn:active {
  transform: scale(0.98);
}

/* ── Privacy / Terms ── */
.woocommerce-terms-and-conditions-wrapper {
  margin: var(--pc-space-lg) 0;
  font-size: var(--pc-fs-sm);
  color: var(--pc-gray-600);
  line-height: var(--pc-lh-relaxed);
}

.woocommerce-terms-and-conditions-wrapper a {
  color: var(--pc-color-accent);
  text-decoration: underline;
}

.woocommerce-terms-and-conditions-wrapper a:hover {
  color: var(--pc-color-primary);
}

/* ── Desktop Two-Column Grid ── */
@media (min-width: 1024px) {
  .pc-checkout-columns,
  .woocommerce form.checkout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--pc-space-3xl);
    align-items: start;
  }

  #order_review,
  .pc-order-review {
    position: sticky;
    top: calc(var(--pc-header-height) + var(--pc-space-xl));
    margin-top: 0;
  }

  .woocommerce-checkout .form-row-first {
    width: 48%;
    float: left;
  }

  .woocommerce-checkout .form-row-last {
    width: 48%;
    float: right;
  }

  .woocommerce-checkout .form-row-wide {
    clear: both;
  }
}


/* ==========================================================================
   12. AUTH
   My Account login, registration, and dashboard styling.
   ========================================================================== */

.pc-auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(80vh - var(--pc-header-height));
  padding: var(--pc-space-3xl) var(--pc-gutter);
}

.pc-auth-panel,
.woocommerce-MyAccount-content form.login,
.woocommerce-MyAccount-content form.register,
.woocommerce form.login,
.woocommerce form.register {
  width: 100%;
  max-width: 480px;
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-xl);
  padding: var(--pc-space-2xl);
  box-shadow: var(--pc-shadow-md);
}

.pc-auth-panel__title {
  font-size: var(--pc-fs-2xl);
  font-weight: var(--pc-fw-bold);
  text-align: center;
  margin-bottom: var(--pc-space-2xl);
  color: var(--pc-color-primary);
}

/* ── Auth Tabs ── */
.pc-auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--pc-gray-200);
  margin-bottom: var(--pc-space-xl);
}

.pc-auth-tabs__tab {
  flex: 1;
  padding: var(--pc-space-sm) 0;
  text-align: center;
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  color: var(--pc-gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  transition: color var(--pc-duration-fast) var(--pc-ease-default),
              border-color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-auth-tabs__tab:hover,
.pc-auth-tabs__tab:focus-visible {
  color: var(--pc-color-primary);
}

.pc-auth-tabs__tab.is-active {
  color: var(--pc-color-primary);
  border-bottom-color: var(--pc-color-accent);
}

/* ── Auth Form Fields ── */
.pc-auth-panel .form-row,
.pc-auth-panel p.form-row {
  margin-bottom: var(--pc-space-md);
}

.pc-auth-panel label {
  display: block;
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-color-primary);
  margin-bottom: var(--pc-space-2xs);
}

.pc-auth-panel input[type="text"],
.pc-auth-panel input[type="email"],
.pc-auth-panel input[type="password"] {
  width: 100%;
  height: 52px;
  padding: 0 var(--pc-space-md);
  border: 1.5px solid var(--pc-gray-300);
  border-radius: var(--pc-radius-md);
  font-size: var(--pc-fs-base);
  color: var(--pc-color-primary);
  background-color: var(--pc-color-white);
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default),
              box-shadow var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-auth-panel input:focus,
.pc-auth-panel input:focus-visible {
  outline: none;
  border-color: var(--pc-color-accent);
  box-shadow: 0 0 0 3px rgba(var(--pc-color-accent-rgb), 0.18);
}

.pc-auth-panel .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: var(--pc-space-xs);
  font-size: var(--pc-fs-sm);
  cursor: pointer;
}

.pc-auth-panel input[type="checkbox"] {
  accent-color: var(--pc-color-accent);
  width: 18px;
  height: 18px;
}

.pc-auth-panel .lost_password {
  text-align: right;
  margin-top: var(--pc-space-sm);
}

.pc-auth-panel .lost_password a {
  font-size: var(--pc-fs-sm);
  color: var(--pc-color-accent);
  transition: color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-auth-panel .lost_password a:hover {
  color: var(--pc-color-primary);
}

.pc-auth-panel button[type="submit"],
.pc-auth-panel input[type="submit"] {
  display: block;
  width: 100%;
  height: 54px;
  margin-top: var(--pc-space-lg);
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  font-size: var(--pc-fs-base);
  font-weight: var(--pc-fw-bold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  border: none;
  border-radius: var(--pc-radius-pill);
  cursor: pointer;
  transition: background-color var(--pc-duration-normal) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-auth-panel button[type="submit"]:hover,
.pc-auth-panel button[type="submit"]:focus-visible,
.pc-auth-panel input[type="submit"]:hover,
.pc-auth-panel input[type="submit"]:focus-visible {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
}

.pc-auth-panel button[type="submit"]:active,
.pc-auth-panel input[type="submit"]:active {
  transform: scale(0.98);
}

/* ── My Account Dashboard Nav ── */
.woocommerce-MyAccount-navigation,
.pc-account-nav {
  margin-bottom: var(--pc-space-xl);
}

.woocommerce-MyAccount-navigation ul,
.pc-account-nav__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--pc-space-sm);
  list-style: none;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li a,
.pc-account-nav__link {
  display: flex;
  align-items: center;
  gap: var(--pc-space-sm);
  padding: var(--pc-space-md) var(--pc-space-lg);
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-lg);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-color-primary);
  box-shadow: var(--pc-shadow-xs);
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default),
              color var(--pc-duration-fast) var(--pc-ease-default),
              box-shadow var(--pc-duration-fast) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li a:focus-visible,
.pc-account-nav__link:hover,
.pc-account-nav__link:focus-visible {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  box-shadow: var(--pc-shadow-md);
  transform: translateY(-2px);
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.pc-account-nav__link.is-active {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-accent);
  box-shadow: var(--pc-shadow-md);
}

/* ── WC Login / Register Side-by-Side (wp default) ── */
.woocommerce .u-columns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pc-space-xl);
  justify-content: center;
}

.woocommerce .u-columns .u-column1,
.woocommerce .u-columns .u-column2 {
  flex: 1;
  min-width: 300px;
  max-width: 480px;
}


/* ==========================================================================
   13. FOOTER
   Site footer with three-column grid, links, and copyright.
   ========================================================================== */

.pc-site-footer {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  padding: var(--pc-space-4xl) var(--pc-gutter) var(--pc-space-xl);
}

.pc-footer-inner {
  max-width: var(--pc-max-width);
  margin: 0 auto;
}

/* ── Footer Columns ── */
.pc-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pc-space-3xl);
  padding-bottom: var(--pc-space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-footer-col__title {
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-bold);
  letter-spacing: var(--pc-ls-widest);
  text-transform: uppercase;
  color: var(--pc-color-accent);
  margin-bottom: var(--pc-space-lg);
}

.pc-footer-col__text {
  font-size: var(--pc-fs-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--pc-lh-relaxed);
}

/* ── Footer Links ── */
.pc-footer-col__links {
  display: flex;
  flex-direction: column;
  gap: var(--pc-space-sm);
}

.pc-footer-col__links a {
  color: var(--pc-color-white);
  font-size: var(--pc-fs-sm);
  transition: color var(--pc-duration-fast) var(--pc-ease-default),
              padding-left var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-footer-col__links a:hover,
.pc-footer-col__links a:focus-visible {
  color: var(--pc-color-accent);
  padding-left: var(--pc-space-xs);
}

/* ── Footer Social Icons ── */
.pc-footer-social {
  display: flex;
  gap: var(--pc-space-md);
  margin-top: var(--pc-space-lg);
}

.pc-footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--pc-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--pc-color-white);
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default),
              border-color var(--pc-duration-fast) var(--pc-ease-default),
              color var(--pc-duration-fast) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-footer-social__link:hover,
.pc-footer-social__link:focus-visible {
  background-color: var(--pc-color-accent);
  border-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  transform: translateY(-2px);
}

.pc-footer-social__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Newsletter Signup ── */
.pc-footer-newsletter {
  margin-top: var(--pc-space-lg);
}

.pc-footer-newsletter__form {
  display: flex;
  gap: var(--pc-space-xs);
}

.pc-footer-newsletter__input {
  flex: 1;
  height: 44px;
  padding: 0 var(--pc-space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--pc-radius-md);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--pc-color-white);
  font-size: var(--pc-fs-sm);
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-footer-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.pc-footer-newsletter__input:focus {
  outline: none;
  border-color: var(--pc-color-accent);
}

.pc-footer-newsletter__btn {
  height: 44px;
  padding: 0 var(--pc-space-lg);
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-bold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  border: none;
  border-radius: var(--pc-radius-md);
  cursor: pointer;
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default),
              color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-footer-newsletter__btn:hover,
.pc-footer-newsletter__btn:focus-visible {
  background-color: var(--pc-color-white);
  color: var(--pc-color-primary);
}

/* ── Copyright ── */
.pc-footer__copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--pc-space-md);
  padding-top: var(--pc-space-xl);
  font-size: var(--pc-fs-xs);
  color: rgba(255, 255, 255, 0.45);
}

.pc-footer__copyright a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-footer__copyright a:hover {
  color: var(--pc-color-accent);
}

.pc-footer__legal-links {
  display: flex;
  gap: var(--pc-space-md);
}

/* ── Responsive Footer ── */
@media (max-width: 767px) {
  .pc-footer-columns {
    grid-template-columns: 1fr;
    gap: var(--pc-space-xl);
  }

  .pc-footer__copyright {
    flex-direction: column;
    text-align: center;
  }

  .pc-footer__legal-links {
    justify-content: center;
  }
}


/* ==========================================================================
   14. 404 PAGE
   Centred error page with branded styling and search form.
   ========================================================================== */

.pc-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(80vh - var(--pc-header-height));
  padding: var(--pc-space-4xl) var(--pc-gutter);
  text-align: center;
}

.pc-404__code {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-accent);
  line-height: 1;
  margin-bottom: var(--pc-space-md);
  letter-spacing: var(--pc-ls-tight);
}

.pc-404__title {
  font-size: var(--pc-fs-2xl);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-primary);
  margin-bottom: var(--pc-space-md);
}

.pc-404__text {
  font-size: var(--pc-fs-md);
  color: var(--pc-gray-600);
  max-width: 500px;
  margin-bottom: var(--pc-space-2xl);
  line-height: var(--pc-lh-relaxed);
}

/* ── 404 Search Form ── */
.pc-404__search {
  display: flex;
  width: 100%;
  max-width: 420px;
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-pill);
  overflow: hidden;
  box-shadow: var(--pc-shadow-md);
  border: 1.5px solid var(--pc-gray-200);
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default),
              box-shadow var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-404__search:focus-within {
  border-color: var(--pc-color-accent);
  box-shadow: 0 0 0 3px rgba(var(--pc-color-accent-rgb), 0.15);
}

.pc-404__search input[type="search"] {
  flex: 1;
  height: 52px;
  padding: 0 var(--pc-space-lg);
  border: none;
  font-size: var(--pc-fs-base);
  color: var(--pc-color-primary);
  background: transparent;
  outline: none;
}

.pc-404__search input[type="search"]::placeholder {
  color: var(--pc-gray-400);
}

.pc-404__search button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 52px;
  flex-shrink: 0;
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  border: none;
  border-radius: var(--pc-radius-pill);
  cursor: pointer;
  margin: 3px;
  transition: background-color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-404__search button:hover,
.pc-404__search button:focus-visible {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
}

.pc-404__search button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.pc-404__actions {
  margin-top: var(--pc-space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--pc-space-md);
  justify-content: center;
}


/* ==========================================================================
   15. BUTTONS
   Base button system with brand variants and size modifiers.
   ========================================================================== */

.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pc-space-xs);
  height: 48px;
  padding: 0 var(--pc-space-xl);
  font-family: var(--pc-font-family);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--pc-radius-pill);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background-color var(--pc-duration-normal) var(--pc-ease-default),
              color var(--pc-duration-normal) var(--pc-ease-default),
              border-color var(--pc-duration-normal) var(--pc-ease-default),
              box-shadow var(--pc-duration-normal) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-btn:active {
  transform: scale(0.97);
}

.pc-btn:disabled,
.pc-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

/* ── Gold Variant ── */
.pc-btn--gold {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  border-color: var(--pc-color-accent);
}

.pc-btn--gold:hover,
.pc-btn--gold:focus-visible {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  border-color: var(--pc-color-primary);
  box-shadow: var(--pc-shadow-gold);
}

.pc-btn--gold:active {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-accent);
}

/* ── Green Variant ── */
.pc-btn--green {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  border-color: var(--pc-color-primary);
}

.pc-btn--green:hover,
.pc-btn--green:focus-visible {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  border-color: var(--pc-color-accent);
}

.pc-btn--green:active {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
}

/* ── Outline Variant ── */
.pc-btn--outline {
  background-color: transparent;
  color: var(--pc-color-primary);
  border-color: var(--pc-color-primary);
}

.pc-btn--outline:hover,
.pc-btn--outline:focus-visible {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
}

.pc-btn--outline:active {
  background-color: var(--pc-color-primary);
  color: var(--pc-color-accent);
}

/* ── Outline White (for dark backgrounds) ── */
.pc-btn--outline-white {
  background-color: transparent;
  color: var(--pc-color-white);
  border-color: var(--pc-color-white);
}

.pc-btn--outline-white:hover,
.pc-btn--outline-white:focus-visible {
  background-color: var(--pc-color-white);
  color: var(--pc-color-primary);
}

/* ── Ghost Variant ── */
.pc-btn--ghost {
  background-color: transparent;
  color: var(--pc-color-primary);
  border-color: transparent;
}

.pc-btn--ghost:hover,
.pc-btn--ghost:focus-visible {
  background-color: rgba(var(--pc-color-primary-rgb), 0.06);
}

/* ── Small ── */
.pc-btn--sm {
  height: 36px;
  padding: 0 var(--pc-space-md);
  font-size: var(--pc-fs-xs);
}

/* ── Large ── */
.pc-btn--lg {
  height: 58px;
  padding: 0 var(--pc-space-2xl);
  font-size: var(--pc-fs-base);
}

/* ── Extra Large ── */
.pc-btn--xl {
  height: 64px;
  padding: 0 var(--pc-space-3xl);
  font-size: var(--pc-fs-md);
  border-radius: var(--pc-radius-2xl);
}

/* ── Icon Button ── */
.pc-btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--pc-radius-pill);
}

.pc-btn--icon.pc-btn--sm {
  width: 36px;
  height: 36px;
}

.pc-btn--icon.pc-btn--lg {
  width: 58px;
  height: 58px;
}

.pc-btn--icon svg {
  width: 20px;
  height: 20px;
}

/* ── Full Width ── */
.pc-btn--full {
  width: 100%;
}

/* ── Button Group ── */
.pc-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pc-space-sm);
}


/* ==========================================================================
   16. SCROLL ANIMATIONS
   Intersection Observer reveal animations with stagger delays.
   ========================================================================== */

.pc-animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--pc-duration-slower) var(--pc-ease-out),
              transform var(--pc-duration-slower) var(--pc-ease-out);
}

.pc-animate-in.pc-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Slide from Left ── */
.pc-animate-in--left {
  transform: translateX(-30px);
}

.pc-animate-in--left.pc-visible {
  transform: translateX(0);
}

/* ── Slide from Right ── */
.pc-animate-in--right {
  transform: translateX(30px);
}

.pc-animate-in--right.pc-visible {
  transform: translateX(0);
}

/* ── Scale Up ── */
.pc-animate-in--scale {
  transform: scale(0.92);
}

.pc-animate-in--scale.pc-visible {
  transform: scale(1);
}

/* ── Fade Only ── */
.pc-animate-in--fade {
  transform: none;
}

.pc-animate-in--fade.pc-visible {
  opacity: 1;
}

/* ── Stagger Delays ── */
.pc-stagger-1 { transition-delay: 100ms; }
.pc-stagger-2 { transition-delay: 200ms; }
.pc-stagger-3 { transition-delay: 300ms; }
.pc-stagger-4 { transition-delay: 400ms; }
.pc-stagger-5 { transition-delay: 500ms; }
.pc-stagger-6 { transition-delay: 600ms; }
.pc-stagger-7 { transition-delay: 700ms; }
.pc-stagger-8 { transition-delay: 800ms; }

/* ── Grid Children Stagger (via CSS custom property) ── */
.pc-stagger-grid > .pc-animate-in:nth-child(1)  { transition-delay: 0ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(2)  { transition-delay: 80ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(3)  { transition-delay: 160ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(4)  { transition-delay: 240ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(5)  { transition-delay: 320ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(6)  { transition-delay: 400ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(7)  { transition-delay: 480ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(8)  { transition-delay: 560ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(9)  { transition-delay: 640ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(10) { transition-delay: 720ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(11) { transition-delay: 800ms; }
.pc-stagger-grid > .pc-animate-in:nth-child(12) { transition-delay: 880ms; }


/* ==========================================================================
   17. WC NOTICES
   WooCommerce info, error, and success notice styles.
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  padding: var(--pc-space-md) var(--pc-space-lg);
  margin-bottom: var(--pc-space-lg);
  border-radius: var(--pc-radius-md);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  line-height: var(--pc-lh-normal);
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--pc-space-sm);
}

/* ── Hide Default WC ::before Icons ── */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-notice::before {
  display: none !important;
}

/* ── Success / Message ── */
.woocommerce-message {
  background-color: rgba(46, 125, 79, 0.08);
  color: var(--pc-color-success);
  border-left: 4px solid var(--pc-color-success);
}

.woocommerce-message a {
  color: var(--pc-color-success);
  font-weight: var(--pc-fw-semibold);
  text-decoration: underline;
}

.woocommerce-message a:hover {
  color: var(--pc-color-primary);
}

/* ── Info ── */
.woocommerce-info {
  background-color: rgba(41, 128, 185, 0.08);
  color: var(--pc-color-info);
  border-left: 4px solid var(--pc-color-info);
}

.woocommerce-info a {
  color: var(--pc-color-info);
  font-weight: var(--pc-fw-semibold);
  text-decoration: underline;
}

.woocommerce-info a:hover {
  color: var(--pc-color-primary);
}

/* ── Error ── */
.woocommerce-error {
  background-color: rgba(192, 57, 43, 0.08);
  color: var(--pc-color-error);
  border-left: 4px solid var(--pc-color-error);
}

.woocommerce-error li {
  list-style: none;
}

.woocommerce-error a {
  color: var(--pc-color-error);
  font-weight: var(--pc-fw-semibold);
  text-decoration: underline;
}

.woocommerce-error a:hover {
  color: var(--pc-color-primary);
}

/* ── Notice Dismiss ── */
.woocommerce-notice__dismiss,
.pc-notice-dismiss {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--pc-radius-pill);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--pc-duration-fast) var(--pc-ease-default),
              background-color var(--pc-duration-fast) var(--pc-ease-default);
  flex-shrink: 0;
}

.woocommerce-notice__dismiss:hover,
.pc-notice-dismiss:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.06);
}


/* ==========================================================================
   18. TOAST
   Fixed bottom-centre toast notification with slide-up reveal.
   ========================================================================== */

.pc-toast {
  position: fixed;
  bottom: var(--pc-space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: var(--pc-z-toast);
  display: flex;
  align-items: center;
  gap: var(--pc-space-sm);
  padding: var(--pc-space-md) var(--pc-space-xl);
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  border-radius: var(--pc-radius-lg);
  box-shadow: var(--pc-shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--pc-duration-normal) var(--pc-ease-bounce),
              opacity var(--pc-duration-normal) var(--pc-ease-default),
              visibility var(--pc-duration-normal) var(--pc-ease-default);
  max-width: 90vw;
}

.pc-toast.pc-toast-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.pc-toast__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.pc-toast__message {
  flex: 1;
}

.pc-toast__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--pc-radius-pill);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  border: none;
  background: none;
  transition: color var(--pc-duration-fast) var(--pc-ease-default),
              background-color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-toast__close:hover,
.pc-toast__close:focus-visible {
  color: var(--pc-color-white);
  background-color: rgba(255, 255, 255, 0.12);
}

/* ── Toast Variants ── */
.pc-toast--success {
  background-color: var(--pc-color-success);
}

.pc-toast--error {
  background-color: var(--pc-color-error);
}

.pc-toast--gold {
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
}

.pc-toast--gold .pc-toast__close {
  color: rgba(var(--pc-color-primary-rgb), 0.5);
}

.pc-toast--gold .pc-toast__close:hover {
  color: var(--pc-color-primary);
}

/* ── Toast Progress Bar ── */
.pc-toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 0 0 var(--pc-radius-lg) var(--pc-radius-lg);
  animation: pcToastProgress 4s linear forwards;
}

@keyframes pcToastProgress {
  from { width: 100%; }
  to   { width: 0%; }
}


/* ==========================================================================
   19. SINGLE PRODUCT
   WooCommerce single product page layout.
   ========================================================================== */

/* ── Gallery + Summary Grid ── */
.pc-single-product {
  max-width: var(--pc-max-width);
  margin: 0 auto;
  padding: var(--pc-space-xl) var(--pc-gutter) var(--pc-space-4xl);
}

.pc-single-product__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pc-space-2xl);
  margin-bottom: var(--pc-space-3xl);
}

@media (min-width: 768px) {
  .pc-single-product__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--pc-space-3xl);
  }
}

/* ── Product Gallery ── */
.woocommerce-product-gallery,
.pc-product-gallery {
  position: relative;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image,
.pc-product-gallery__main {
  border-radius: var(--pc-radius-xl);
  overflow: hidden;
  background-color: var(--pc-gray-100);
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.pc-product-gallery__main img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ── Gallery Thumbnails ── */
.woocommerce-product-gallery .flex-control-thumbs,
.pc-product-gallery__thumbs {
  display: flex;
  gap: var(--pc-space-sm);
  margin-top: var(--pc-space-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: var(--pc-space-2xs);
}

.woocommerce-product-gallery .flex-control-thumbs li,
.pc-product-gallery__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--pc-radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default),
              opacity var(--pc-duration-fast) var(--pc-ease-default);
}

.woocommerce-product-gallery .flex-control-thumbs li:hover,
.woocommerce-product-gallery .flex-control-thumbs li.flex-active,
.pc-product-gallery__thumb:hover,
.pc-product-gallery__thumb.is-active {
  border-color: var(--pc-color-accent);
  opacity: 1;
}

.woocommerce-product-gallery .flex-control-thumbs li img,
.pc-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Sale Badge on Single ── */
.pc-single-product .onsale {
  position: absolute;
  top: var(--pc-space-md);
  left: var(--pc-space-md);
  z-index: 2;
  padding: 6px 18px;
  background-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
  font-size: var(--pc-fs-xs);
  font-weight: var(--pc-fw-bold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  border-radius: var(--pc-radius-pill);
}

/* ── Product Summary ── */
.pc-product-summary,
.summary.entry-summary {
  display: flex;
  flex-direction: column;
  gap: var(--pc-space-md);
}

.pc-product-summary .product_title,
.summary.entry-summary .product_title {
  font-size: var(--pc-fs-2xl);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-primary);
  line-height: var(--pc-lh-tight);
  margin-bottom: var(--pc-space-xs);
}

.pc-product-summary .price,
.summary.entry-summary .price {
  font-size: var(--pc-fs-xl);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-accent);
}

.pc-product-summary .price del {
  color: var(--pc-gray-400);
  font-weight: var(--pc-fw-regular);
  font-size: var(--pc-fs-md);
  margin-right: var(--pc-space-xs);
}

.pc-product-summary .price ins {
  text-decoration: none;
}

.pc-product-summary .woocommerce-product-details__short-description,
.summary.entry-summary .woocommerce-product-details__short-description {
  font-size: var(--pc-fs-base);
  color: var(--pc-gray-700);
  line-height: var(--pc-lh-relaxed);
}

/* ── Star Rating ── */
.pc-product-summary .star-rating,
.summary.entry-summary .star-rating {
  color: var(--pc-color-accent);
  font-size: var(--pc-fs-sm);
}

.pc-product-summary .woocommerce-review-link {
  font-size: var(--pc-fs-sm);
  color: var(--pc-gray-500);
  margin-left: var(--pc-space-xs);
}

/* ── Quantity + Add to Cart Row ── */
.pc-product-summary form.cart,
.summary.entry-summary form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pc-space-md);
  margin-top: var(--pc-space-md);
}

.pc-product-summary .quantity,
.summary.entry-summary .quantity {
  display: flex;
  align-items: center;
}

.pc-product-summary .quantity input.qty,
.summary.entry-summary .quantity input.qty {
  width: 70px;
  height: 52px;
  text-align: center;
  border: 1.5px solid var(--pc-gray-300);
  border-radius: var(--pc-radius-md);
  font-size: var(--pc-fs-md);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-color-primary);
  -moz-appearance: textfield;
  appearance: textfield;
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-product-summary .quantity input.qty:focus,
.summary.entry-summary .quantity input.qty:focus {
  outline: none;
  border-color: var(--pc-color-accent);
  box-shadow: 0 0 0 3px rgba(var(--pc-color-accent-rgb), 0.15);
}

.pc-product-summary button.single_add_to_cart_button,
.summary.entry-summary button.single_add_to_cart_button {
  flex: 1;
  min-width: 200px;
  height: 52px;
  background-color: var(--pc-color-primary);
  color: var(--pc-color-white);
  font-size: var(--pc-fs-base);
  font-weight: var(--pc-fw-bold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  border: 2px solid var(--pc-color-primary);
  border-radius: var(--pc-radius-pill);
  cursor: pointer;
  transition: background-color var(--pc-duration-normal) var(--pc-ease-default),
              color var(--pc-duration-normal) var(--pc-ease-default),
              border-color var(--pc-duration-normal) var(--pc-ease-default),
              transform var(--pc-duration-fast) var(--pc-ease-default);
}

.pc-product-summary button.single_add_to_cart_button:hover,
.pc-product-summary button.single_add_to_cart_button:focus-visible,
.summary.entry-summary button.single_add_to_cart_button:hover,
.summary.entry-summary button.single_add_to_cart_button:focus-visible {
  background-color: var(--pc-color-accent);
  border-color: var(--pc-color-accent);
  color: var(--pc-color-primary);
}

.pc-product-summary button.single_add_to_cart_button:active,
.summary.entry-summary button.single_add_to_cart_button:active {
  transform: scale(0.97);
}

/* ── Product Meta ── */
.product_meta,
.pc-product-meta {
  font-size: var(--pc-fs-sm);
  color: var(--pc-gray-600);
  margin-top: var(--pc-space-lg);
  padding-top: var(--pc-space-lg);
  border-top: 1px solid var(--pc-gray-200);
  display: flex;
  flex-direction: column;
  gap: var(--pc-space-xs);
}

.product_meta a {
  color: var(--pc-color-accent);
  font-weight: var(--pc-fw-medium);
}

.product_meta a:hover {
  color: var(--pc-color-primary);
}

/* ── Product Tabs ── */
.woocommerce-tabs,
.pc-product-tabs {
  margin-top: var(--pc-space-3xl);
}

.woocommerce-tabs ul.tabs,
.pc-product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--pc-gray-200);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--pc-space-xl);
}

.woocommerce-tabs ul.tabs li,
.pc-product-tabs__tab {
  margin-bottom: -2px;
}

.woocommerce-tabs ul.tabs li a,
.pc-product-tabs__tab-link {
  display: block;
  padding: var(--pc-space-sm) var(--pc-space-lg);
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-semibold);
  letter-spacing: var(--pc-ls-wide);
  text-transform: uppercase;
  color: var(--pc-gray-500);
  border-bottom: 2px solid transparent;
  transition: color var(--pc-duration-fast) var(--pc-ease-default),
              border-color var(--pc-duration-fast) var(--pc-ease-default);
}

.woocommerce-tabs ul.tabs li a:hover,
.woocommerce-tabs ul.tabs li a:focus-visible,
.pc-product-tabs__tab-link:hover,
.pc-product-tabs__tab-link:focus-visible {
  color: var(--pc-color-primary);
}

.woocommerce-tabs ul.tabs li.active a,
.pc-product-tabs__tab-link.is-active {
  color: var(--pc-color-primary);
  border-bottom-color: var(--pc-color-accent);
}

.woocommerce-tabs .woocommerce-Tabs-panel,
.pc-product-tabs__panel {
  font-size: var(--pc-fs-base);
  color: var(--pc-gray-700);
  line-height: var(--pc-lh-relaxed);
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
  font-size: var(--pc-fs-xl);
  color: var(--pc-color-primary);
  margin-bottom: var(--pc-space-md);
}

/* ── Reviews ── */
.woocommerce-Reviews #comments {
  margin-bottom: var(--pc-space-xl);
}

.woocommerce-Reviews .comment_container {
  display: flex;
  gap: var(--pc-space-md);
  padding: var(--pc-space-lg) 0;
  border-bottom: 1px solid var(--pc-gray-100);
}

.woocommerce-Reviews .comment_container img.avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--pc-radius-pill);
  flex-shrink: 0;
}

.woocommerce-Reviews .comment-text .meta {
  font-size: var(--pc-fs-sm);
  color: var(--pc-gray-500);
  margin-bottom: var(--pc-space-xs);
}

.woocommerce-Reviews .comment-text .description p {
  font-size: var(--pc-fs-sm);
  line-height: var(--pc-lh-relaxed);
  color: var(--pc-gray-700);
}

/* ── Variations ── */
.variations {
  margin-bottom: var(--pc-space-md);
}

.variations td {
  padding: var(--pc-space-xs) 0;
}

.variations td.label label {
  font-size: var(--pc-fs-sm);
  font-weight: var(--pc-fw-medium);
  color: var(--pc-color-primary);
}

.variations td.value select {
  width: 100%;
  height: 48px;
  padding: 0 var(--pc-space-md);
  border: 1.5px solid var(--pc-gray-300);
  border-radius: var(--pc-radius-md);
  font-size: var(--pc-fs-base);
  color: var(--pc-color-primary);
  background-color: var(--pc-color-white);
  cursor: pointer;
  transition: border-color var(--pc-duration-fast) var(--pc-ease-default);
}

.variations td.value select:focus {
  outline: none;
  border-color: var(--pc-color-accent);
  box-shadow: 0 0 0 3px rgba(var(--pc-color-accent-rgb), 0.15);
}

.reset_variations {
  display: inline-block;
  margin-top: var(--pc-space-xs);
  font-size: var(--pc-fs-xs);
  color: var(--pc-color-accent);
  cursor: pointer;
}

.reset_variations:hover {
  color: var(--pc-color-primary);
}

/* ── Related Products Grid ── */
.related.products,
.pc-related-products {
  margin-top: var(--pc-space-4xl);
  padding-top: var(--pc-space-3xl);
  border-top: 1px solid var(--pc-gray-200);
}

.related.products > h2,
.pc-related-products__title {
  font-size: var(--pc-fs-2xl);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-primary);
  margin-bottom: var(--pc-space-xl);
  text-align: center;
}

.related.products ul.products,
.pc-related-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--pc-space-lg);
}

/* ── Up-sells ── */
.upsells.products {
  margin-top: var(--pc-space-3xl);
}

.upsells.products > h2 {
  font-size: var(--pc-fs-2xl);
  font-weight: var(--pc-fw-bold);
  color: var(--pc-color-primary);
  margin-bottom: var(--pc-space-xl);
  text-align: center;
}


/* ==========================================================================
   20. BREADCRUMBS
   WooCommerce and WordPress breadcrumb trail.
   ========================================================================== */

.woocommerce-breadcrumb,
.pc-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pc-space-xs);
  padding: var(--pc-space-md) 0;
  font-size: var(--pc-fs-sm);
  color: var(--pc-gray-500);
}

.woocommerce-breadcrumb a,
.pc-breadcrumbs a {
  color: var(--pc-gray-500);
  transition: color var(--pc-duration-fast) var(--pc-ease-default);
}

.woocommerce-breadcrumb a:hover,
.woocommerce-breadcrumb a:focus-visible,
.pc-breadcrumbs a:hover,
.pc-breadcrumbs a:focus-visible {
  color: var(--pc-color-accent);
}

.pc-breadcrumbs__separator {
  color: var(--pc-gray-400);
  font-size: var(--pc-fs-xs);
  user-select: none;
}

.pc-breadcrumbs__current {
  color: var(--pc-color-primary);
  font-weight: var(--pc-fw-medium);
}


/* ==========================================================================
   21. ACCESSIBILITY
   Motion preferences, focus indicators, and smooth scroll gating.
   ========================================================================== */

/* ── Smooth Scroll (gated behind motion preference) ── */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ── Reduced Motion Override ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .pc-animate-in {
    opacity: 1 !important;
    transform: none !important;
  }

  body {
    animation: none;
  }
}

/* ── Focus-Visible Ring ── */
:focus-visible {
  outline: 3px solid var(--pc-color-accent);
  outline-offset: 2px;
}

/* ── Remove default focus ring when :focus-visible is supported ── */
:focus:not(:focus-visible) {
  outline: none;
}

/* ── High Contrast Mode ── */
@media (forced-colors: active) {
  .pc-btn,
  .pc-product-card a.button.add_to_cart_button,
  #place_order {
    border: 2px solid ButtonText;
  }

  .pc-cart-count {
    border: 1px solid ButtonText;
  }
}

/* ── Touch Target Minimum ── */
@media (pointer: coarse) {
  .pc-header-actions__link,
  .pc-mobile-toggle,
  #pc-mobile-close,
  .pc-product-card__action-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .woocommerce-pagination ul li a,
  .woocommerce-pagination ul li span {
    min-width: 48px;
    min-height: 48px;
  }
}


/* ==========================================================================
   22. LOADING STATES
   Spinner and skeleton shimmer placeholders.
   ========================================================================== */

/* ── Spinner ── */
.pc-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pc-space-3xl);
}

.pc-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--pc-gray-200);
  border-top-color: var(--pc-color-accent);
  border-radius: var(--pc-radius-pill);
  animation: pcSpin 0.8s linear infinite;
}

.pc-loading__spinner--sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.pc-loading__spinner--lg {
  width: 56px;
  height: 56px;
  border-width: 4px;
}

@keyframes pcSpin {
  to { transform: rotate(360deg); }
}

/* ── Inline Spinner (for buttons) ── */
.pc-btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.pc-btn.is-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--pc-color-white);
  border-radius: var(--pc-radius-pill);
  animation: pcSpin 0.8s linear infinite;
}

.pc-btn--gold.is-loading::after {
  border-color: rgba(var(--pc-color-primary-rgb), 0.2);
  border-top-color: var(--pc-color-primary);
}

/* ── Skeleton Shimmer ── */
.pc-skeleton {
  position: relative;
  overflow: hidden;
  background-color: var(--pc-gray-200);
  border-radius: var(--pc-radius-md);
}

.pc-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  animation: pcShimmer 1.5s infinite;
}

@keyframes pcShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── Skeleton Shapes ── */
.pc-skeleton--text {
  height: 14px;
  width: 80%;
  margin-bottom: var(--pc-space-xs);
  border-radius: var(--pc-radius-sm);
}

.pc-skeleton--text-short {
  width: 50%;
}

.pc-skeleton--title {
  height: 24px;
  width: 60%;
  margin-bottom: var(--pc-space-sm);
}

.pc-skeleton--image {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: var(--pc-radius-lg);
}

.pc-skeleton--circle {
  width: 48px;
  height: 48px;
  border-radius: var(--pc-radius-pill);
}

.pc-skeleton--btn {
  height: 48px;
  width: 140px;
  border-radius: var(--pc-radius-pill);
}

/* ── Skeleton Card ── */
.pc-skeleton-card {
  background-color: var(--pc-color-white);
  border-radius: var(--pc-radius-lg);
  overflow: hidden;
  padding-bottom: var(--pc-space-lg);
}

.pc-skeleton-card .pc-skeleton--image {
  border-radius: 0;
  margin-bottom: var(--pc-space-md);
}

.pc-skeleton-card .pc-skeleton--text,
.pc-skeleton-card .pc-skeleton--title {
  margin-left: var(--pc-space-lg);
  margin-right: var(--pc-space-lg);
}

/* ── Page Loading Overlay ── */
.pc-page-loading {
  position: fixed;
  inset: 0;
  z-index: var(--pc-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--pc-color-primary-rgb), 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


/* ==========================================================================
   23. PRINT STYLES
   Clean print output stripping non-essential elements.
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  /* Hide non-essential elements */
  .pc-smart-header,
  .pc-mobile-backdrop,
  #pc-mobile-overlay,
  .pc-mobile-toggle,
  .pc-site-footer,
  .pc-hero__play-btn,
  .pc-hero__scroll-hint,
  .pc-skip-link,
  .pc-toast,
  .pc-loading,
  .pc-cart-count,
  .pc-product-card__actions-overlay,
  .pc-btn,
  .pc-footer-social,
  .pc-footer-newsletter,
  .woocommerce-ordering,
  .woocommerce-pagination,
  nav,
  .pc-animate-in {
    display: none !important;
  }

  /* Page breaks */
  h1, h2, h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }

  /* Links */
  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 10pt;
    font-weight: normal;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: '';
  }

  /* Ensure full width */
  .pc-internal-wrapper,
  .pc-single-product,
  .pc-cart-wrapper,
  .pc-checkout-wrapper {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Show product images */
  .pc-product-card__image-wrap {
    max-height: 200px;
    overflow: hidden;
  }

  /* Cart table print-friendly */
  .pc-cart-row {
    grid-template-columns: 60px 1fr auto;
    page-break-inside: avoid;
  }

  /* Checkout single-column */
  .pc-checkout-columns {
    display: block !important;
  }
}


/* ==========================================================================
   24. RESPONSIVE BREAKPOINTS
   Mobile-first overrides at 768px, 1024px, and 1280px.
   ========================================================================== */

/* ─────────────────────────────────────────
   24a. TABLET (768px)
   ───────────────────────────────────────── */
@media (min-width: 768px) {
  /* Hero spacing */
  .pc-hero__content {
    padding: 0 var(--pc-space-2xl);
  }

  /* Section padding bump */
  .pc-section {
    padding: var(--pc-space-5xl) var(--pc-gutter);
  }

  /* Product grid 2-col */
  .woocommerce ul.products,
  .pc-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cart row wider image */
  .pc-cart-row,
  .woocommerce-cart-form table.cart tr.cart_item {
    grid-template-columns: 120px 1fr auto auto;
  }

  /* Footer 2-col */
  .pc-footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Collection grid */
  .pc-collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Auth wider */
  .pc-auth-panel {
    padding: var(--pc-space-3xl);
  }
}

/* ─────────────────────────────────────────
   24b. DESKTOP (1024px)
   ───────────────────────────────────────── */
@media (min-width: 1024px) {
  /* Internal page spacing */
  .pc-internal-wrapper {
    padding-top: 160px;
  }

  /* Product grid 3-col */
  .woocommerce ul.products,
  .pc-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer 3-col */
  .pc-footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Collection grid */
  .pc-collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  /* Cart row full layout */
  .pc-cart-row,
  .woocommerce-cart-form table.cart tr.cart_item {
    grid-template-columns: 120px 1fr 120px 120px 120px auto;
    gap: var(--pc-space-lg);
  }

  /* Account nav grid */
  .woocommerce-MyAccount-navigation ul,
  .pc-account-nav__list {
    grid-template-columns: repeat(3, 1fr);
  }

  /* My Account content layout */
  .woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--pc-space-2xl);
    align-items: start;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    position: sticky;
    top: calc(var(--pc-header-height) + var(--pc-space-xl));
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────
   24c. WIDE DESKTOP (1280px)
   ───────────────────────────────────────── */
@media (min-width: 1280px) {
  /* Product grid 4-col */
  .woocommerce ul.products,
  .pc-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Hero max-width */
  .pc-hero__content {
    max-width: 900px;
  }

  /* Larger section padding */
  .pc-section {
    padding: 120px var(--pc-gutter);
  }

  /* Wider checkout gap */
  .pc-checkout-columns,
  .woocommerce form.checkout {
    gap: var(--pc-space-4xl);
  }

  /* Related products 4-col */
  .related.products ul.products,
  .pc-related-products__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─────────────────────────────────────────
   24d. SMALL MOBILE (max-width: 480px)
   ───────────────────────────────────────── */
@media (max-width: 480px) {
  /* Single-column product grid */
  .woocommerce ul.products,
  .pc-products-grid,
  .pc-collection-grid {
    grid-template-columns: 1fr;
  }

  /* Hero text scaling */
  .pc-hero__title {
    font-size: 2rem;
  }

  .pc-hero__subtitle {
    font-size: var(--pc-fs-base);
  }

  /* Button stack */
  .pc-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .pc-hero__actions .pc-btn {
    width: 100%;
  }

  /* Section header */
  .pc-section__title {
    font-size: var(--pc-fs-xl);
  }

  /* Cart */
  .pc-cart-row__image,
  .woocommerce-cart-form .product-thumbnail {
    width: 70px;
    height: 70px;
  }

  /* Checkout section cards */
  .pc-checkout-section,
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2 {
    padding: var(--pc-space-md);
    border-radius: var(--pc-radius-lg);
  }

  /* Auth panel */
  .pc-auth-panel {
    padding: var(--pc-space-lg);
    border-radius: var(--pc-radius-lg);
  }

  /* Footer */
  .pc-footer-newsletter__form {
    flex-direction: column;
  }

  /* 404 */
  .pc-404__code {
    font-size: 4rem;
  }

  .pc-404__search {
    flex-direction: column;
    border-radius: var(--pc-radius-xl);
  }

  .pc-404__search input[type="search"] {
    border-bottom: 1px solid var(--pc-gray-200);
    border-radius: 0;
  }

  .pc-404__search button {
    width: 100%;
    border-radius: 0 0 var(--pc-radius-xl) var(--pc-radius-xl);
    margin: 0;
  }
}

/* ─────────────────────────────────────────
   24e. LANDSCAPE MOBILE
   ───────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .pc-hero {
    min-height: 100vh;
    height: auto;
    padding: var(--pc-space-5xl) var(--pc-gutter);
  }

  .pc-hero__title {
    font-size: var(--pc-fs-2xl);
  }

  .pc-smart-header {
    height: 60px;
  }

  .pc-header__logo img {
    height: 32px;
  }
}


/* ==========================================================================
   END OF PURE CONTOUR OMNI-OS v14 STYLESHEET
   Total sections: 24 | Brand: V6 Baseline | Zero CDN | Zero Tailwind
   ========================================================================== */
