/* ============================================================
   Pelle Pelle Store – Custom Theme Styles
   ============================================================ */

/* ─── Fonts ───────────────────────────────────────────────── */
@font-face {
  font-family: "Helvetica Now Text";
  src: url("../fonts/helveticalnowtext-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Text";
  src: url("../fonts/helveticanowtext-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ─── Root variables ──────────────────────────────────────── */
:root {
  --pp-font: "Helvetica Now Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pp-black: #000;
  --pp-white: #fff;
  --pp-gray-50: #f9f9f9;
  --pp-gray-100: #f3f3f3;
  --pp-gray-200: #e5e5e5;
  --pp-gray-500: #6b7280;
  --pp-gray-700: #374151;
  --pp-gray-800: #1f2937;
  --pp-text: #2b2b2b;
  --pp-red: #d20228;
  --pp-announce-h: 40px;
  --pp-header-h: 64px;
  --pp-subnav-h: 44px;
}

* {
  font-family: var(--pp-font) !important;
  font-style: normal !important;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--pp-font);
  font-weight: 400;
  color: var(--pp-text);
  background: #fff !important;
}

/* Hide the browser's default focus outline on mouse interaction (drag/click)
   but keep it for keyboard users (Tab) — accessibility-safe.
   Astra adds dotted outlines on a/button :focus that look ugly while dragging
   the carousel or hovering links. */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
a:active,
button:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Override Astra's default #F0F5FA palette color on all top-level containers */
html, .ast-container, #page, .site, .hfeed.site,
.ast-theme-transparent-header, .ast-no-sidebar #primary,
.elementor-section-wrap, .ast-plain-container, .ast-page-builder-template {
  background: #fff !important;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }


/* ─── Remove all gap between header/subnav and hero ──────── */
/* Astra, WordPress, and browser defaults can all add spacing */
.pp-header,
.pp-subnav { margin-bottom: 0 !important; }

/* Astra page/content wrappers that may add padding */
#page, .site, #content, .site-content,
#primary, .site-primary,
main, #main, .site-main,
.ast-container, .ast-article-single,
.post-type-archive, .page,
article, .entry, .hentry,
.entry-content, .page-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hero itself — flush to subnav */
.pp-hero { margin-top: 0 !important; }

/* ─── Announcement bar ────────────────────────────────────── */
.pp-announce {
  background: var(--pp-black);
  color: var(--pp-white);
  height: var(--pp-announce-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
}

.pp-announce__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: pp-scroll-announce 30s linear infinite;
  will-change: transform;
}

.pp-announce__track:hover { animation-play-state: paused; }

.pp-announce__item {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0 8px;
}

@media (min-width: 640px) {
  .pp-announce__item { font-size: 13px; }
}

.pp-announce__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pp-white);
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes pp-scroll-announce {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 10)); }
}

/* ─── Main header ─────────────────────────────────────────── */
.pp-header {
  background: var(--pp-white);
  position: sticky;
  top: var(--pp-announce-h);
  z-index: 50;
  width: 100%;
  transition: transform .3s ease;
}

.pp-header--hidden { transform: translateY(calc(-100% - var(--pp-announce-h))); }

/* ── Mobile row (shown on <768px) ─── */
.pp-header__mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 16px;
  height: var(--pp-header-h);
}

@media (min-width: 768px) {
  .pp-header__mobile { display: none; }
}

/* Logo centered on mobile */
.pp-header__logo-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pp-header__logo-center img { height: 34px; width: auto; display: block; }

.pp-header__mobile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Desktop row (shown on ≥768px) ─── */
.pp-header__desktop {
  display: none;
}

@media (min-width: 768px) {
  .pp-header__desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 32px;
    height: var(--pp-header-h);
  }
}

@media (min-width: 1024px) {
  .pp-header__desktop {
    height: 80px;
    padding: 0 40px;
  }
}

/* Left nav: HOME · SALE · TRACK ORDER */
.pp-header__left-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.pp-header__nav-link {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--pp-black);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 4px solid transparent;
  transition: border-color .2s;
  white-space: nowrap;
}

.pp-header__nav-link--active,
.pp-header__nav-link:hover {
  border-bottom-color: var(--pp-black);
}

/* Center logo (absolutely positioned) */
.pp-header__logo-abs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pp-header__logo-abs img { height: 56px; width: auto; display: block; }

@media (min-width: 1024px) {
  .pp-header__logo-abs img { height: 60px; }
}

/* Right actions */
.pp-header__right-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Shared icon button */
.pp-header__icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--pp-black);
  position: relative;
  transition: color .15s;
}

.pp-header__icon-btn:hover { color: #555; }

/* Cart/wishlist badge */
.pp-header__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--pp-black);
  color: var(--pp-white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-header__badge--hidden { display: none; }

/* ── Secondary black nav bar (desktop only) ─── */
.pp-subnav {
  background: var(--pp-black);
  display: none;
}

@media (min-width: 768px) {
  .pp-subnav { display: block; }
}

.pp-subnav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 40px;
  height: var(--pp-subnav-h);
  overflow-x: auto;
}

.pp-subnav__link {
  color: var(--pp-white);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s;
}

.pp-subnav__link:hover { color: rgba(255,255,255,.75); }

.pp-subnav__link--highlight { color: var(--pp-red); }

.pp-subnav__link--highlight:hover { color: #ff4466; }

/* ── Search overlay ─── */
.pp-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}

.pp-search-overlay[hidden] { display: none; }

.pp-search-overlay__inner {
  background: var(--pp-white);
  width: 100%;
  max-width: 640px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
  margin: 0 16px;
}

.pp-search-overlay__form {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--pp-gray-200);
  gap: 12px;
}

.pp-search-overlay__icon { flex-shrink: 0; color: var(--pp-gray-500); }

.pp-search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: var(--pp-font);
  color: var(--pp-text);
  background: transparent;
}

.pp-search-overlay__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--pp-gray-500);
  padding: 4px;
  border-radius: 4px;
  display: flex;
}

.pp-search-overlay__close:hover { color: var(--pp-black); background: var(--pp-gray-100); }

.pp-search-overlay__results { max-height: 420px; overflow-y: auto; }

.pp-search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pp-gray-100);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}

.pp-search-result-item:hover { background: var(--pp-gray-50); }

.pp-search-result-item__image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--pp-gray-100);
}

.pp-search-result-item__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--pp-text);
  flex: 1;
}

.pp-search-result-item__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--pp-black);
}

.pp-search-overlay__loading,
.pp-search-overlay__empty {
  padding: 24px;
  text-align: center;
  color: var(--pp-gray-500);
  font-size: 14px;
}

/* ─── Mobile menu (full-screen, black) ───────────────────── */
.pp-mobile-menu[hidden] { display: none; }

.pp-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.pp-mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.pp-mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--pp-black);
  color: var(--pp-white);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}

.pp-mobile-menu--open .pp-mobile-menu__panel {
  transform: translateX(0);
}

/* Panel header */
.pp-mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.pp-mobile-menu__head img { height: 32px; width: auto; }

.pp-mobile-menu__head-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Icon buttons inside panel */
.pp-mobile-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--pp-white);
  transition: opacity .2s;
  position: relative;
  text-decoration: none;
}

.pp-mobile-icon-btn--rel { position: relative; }

.pp-mobile-icon-btn:hover { opacity: .7; }

/* Explicit close button so it's always visible even if SVG rendering breaks */
.pp-mobile-menu__close-btn {
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 4px !important;
  color: #fff !important;
}
.pp-mobile-menu__close-btn:hover {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
  opacity: 1 !important;
}
.pp-mobile-menu__close-x {
  display: block !important;
  font-size: 24px !important;
  line-height: 1 !important;
  color: #fff !important;
  font-weight: 400 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.pp-mobile-icon-btn__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--pp-white);
  color: var(--pp-black);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-mobile-icon-btn__badge--hidden { display: none !important; }

/* Mobile nav links */
.pp-mobile-nav { flex: 1; }

.pp-mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--pp-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .15s;
}

.pp-mobile-nav__link:hover { background: rgba(255,255,255,.05); }

/* Expandable "Brand" item */
.pp-mobile-nav__expand-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--pp-white);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}

.pp-mobile-nav__expand-btn:hover { background: rgba(255,255,255,.05); }

.pp-mobile-nav__expand-icon {
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

.pp-mobile-nav__sub[hidden] { display: none; }

.pp-mobile-nav__sub { background: var(--pp-black); }

.pp-mobile-nav__sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 14px 20px;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--pp-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .15s;
}

.pp-mobile-nav__sub-link:hover { background: rgba(255,255,255,.05); }

/* Contact section */
.pp-mobile-menu__contact {
  padding: 32px 20px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
}

.pp-mobile-menu__contact-label {
  color: var(--pp-white);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}

.pp-mobile-menu__contact-phone {
  display: block;
  color: var(--pp-white);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
}

.pp-mobile-menu__contact-phone:hover { color: rgba(255,255,255,.8); }

.pp-mobile-menu__contact-hours {
  color: rgba(255,255,255,.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 4px 0 4px;
}

.pp-mobile-menu__contact-email {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  text-decoration: none;
}

.pp-mobile-menu__contact-email:hover { color: var(--pp-white); }

/* Social row */
.pp-mobile-menu__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.pp-mobile-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: opacity .2s;
}

.pp-mobile-social-icon:hover { opacity: .65; }

/* ─── Hero section ────────────────────────────────────────── */
.pp-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 480px;
  overflow: hidden;
}

.pp-hero__media {
  position: absolute;
  inset: 0;
}

.pp-hero__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity .6s ease;
  z-index: 1;
}

/* Disabled along with the video hero in hero.php / initHeroVideo() —
   replaced by .pp-hero__slide below.
.pp-hero__fallback--hidden {
  opacity: 0;
}

.pp-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  z-index: 2;
}

.pp-hero__video--ready {
  opacity: 1;
}
*/

/* Customizer-driven slide(s) — each slide carries its own image; only
   .is-active is visible, cross-fading via opacity when initHeroCarousel()
   advances to the next one. */
.pp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.pp-hero__slide.is-active { opacity: 1; z-index: 2; }

.pp-hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pp-hero__content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 32px 32px;
}

@media (min-width: 768px) {
  .pp-hero__content { padding: 0 64px 48px; }
}

@media (min-width: 1024px) {
  .pp-hero__content { padding: 0 48px 48px; }
}

.pp-hero__heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3em;
  margin: 0 0 16px;
}

.pp-hero__title {
  color: var(--pp-white);
  font-size: 2.25rem;        /* text-4xl */
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  line-height: 1.15;
}

@media (min-width: 768px) {
  .pp-hero__title { font-size: 3.75rem; }  /* text-6xl */
}

@media (min-width: 1024px) {
  .pp-hero__title { font-size: 2.25rem; }  /* back to text-4xl on lg */
}

.pp-hero__ctas {
  display: flex;
  gap: 32px;
}

@media (min-width: 768px) {
  .pp-hero__ctas { gap: 48px; }
}

.pp-hero__cta {
  color: var(--pp-white);
  font-size: 1.25rem;        /* text-xl */
  font-weight: 500;
  border-bottom: 2px solid var(--pp-white);
  padding-bottom: 4px;
  transition: opacity .2s;
}

@media (min-width: 768px) {
  .pp-hero__cta { font-size: 1.5rem; }   /* text-2xl */
}

@media (min-width: 1024px) {
  .pp-hero__cta { font-size: 1.875rem; } /* text-3xl */
}

.pp-hero__cta:hover { opacity: .8; }

/* ─── Product carousel section ────────────────────────────── */
.pp-carousel-section {
  padding: 48px 0 32px;
  background: var(--pp-white);
}

.pp-carousel-section__header {
  text-align: center;
  padding: 0 16px;
  margin-bottom: 24px;
}

.pp-carousel-section__title {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--pp-text);
  margin: 0;
}

/* Splide overrides */
.pp-carousel .splide__slide {
  width: 200px;
}

@media (min-width: 640px) {
  .pp-carousel .splide__slide { width: 220px; }
}

@media (min-width: 1024px) {
  .pp-carousel .splide__slide { width: 240px; }
}

.pp-carousel .splide__arrows { display: none; }

/* ─── Product card ────────────────────────────────────────── */
.pp-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--pp-gray-50);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
  text-decoration: none;
  color: var(--pp-text);
}

.pp-product-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}

.pp-product-card__image-wrap {
  position: relative;
  background: var(--pp-white);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.pp-product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

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

/* SOLD OUT and/or the product's own badge (pelle_product_badge()), stacked. */
.pp-product-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: calc(100% - 16px);
}

.pp-product-card__badge {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 3px;
  overflow-wrap: anywhere;
}

.pp-product-card__badge--sold-out,
.pp-product-card__badge--own {
  background: var(--pp-black);
  color: var(--pp-white);
}

.pp-product-card__badge--sale {
  background: var(--pp-red);
  color: var(--pp-white);
}

.pp-product-card__info {
  padding: 8px 8px 12px;
  background: var(--pp-white);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 80px;
}

.pp-product-card__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--pp-gray-800);
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pp-product-card__price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pp-product-card__price--original {
  font-size: 13px;
  color: var(--pp-gray-500);
  text-decoration: line-through;
}

.pp-product-card__price--sale,
.pp-product-card__price--regular {
  font-size: 13px;
  font-weight: 700;
  color: var(--pp-black);
}

/* ─── Product grid ────────────────────────────────────────── */
.pp-product-grid {
  width: 100%;
}

.pp-product-grid--3col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 1024px) {
  .pp-product-grid--3col {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ─── Split sections ──────────────────────────────────────── */
.pp-split-section {
  width: 100%;
  background: var(--pp-white);
}

.pp-split-section__grid {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .pp-split-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Image column */
.pp-split-section__image-col {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .pp-split-section__image-col { min-height: 100vh; }
}

.pp-split-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.2);
}

.pp-split-section__label {
  position: relative;
  z-index: 1;
  padding: 16px 24px;
}

@media (min-width: 768px) {
  .pp-split-section__label {
    position: sticky;
    top: 8px;
    padding: 40px 48px;
  }
}

.pp-split-section__heading {
  color: var(--pp-white);
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: .1em;
  margin: 0 0 8px;
}

.pp-split-section__explore {
  display: inline-block;
  color: var(--pp-white);
  font-size: clamp(.9rem, 1.5vw, 1.25rem);
  font-weight: 600;
  border-bottom: 2px solid var(--pp-white);
  padding-bottom: 2px;
  transition: opacity .2s;
}

.pp-split-section__explore:hover { opacity: .75; }

/* Content column */
.pp-split-section__content-col {
  background: var(--pp-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 40vh;
}

@media (min-width: 768px) {
  .pp-split-section__content-col {
    min-height: 100vh;
    padding: 48px;
  }
}

/* Reverse layout – products on left, image on right */
.pp-split-section--reverse .pp-split-section__content-col--left {
  order: 2;
}

.pp-split-section--reverse .pp-split-section__image-col {
  order: 1;
}

@media (min-width: 768px) {
  .pp-split-section--reverse .pp-split-section__content-col--left { order: 1; }
  .pp-split-section--reverse .pp-split-section__image-col          { order: 2; }
}

.pp-split-section__copy {
  text-align: center;
  max-width: 480px;
  margin-top: 32px;
}

.pp-split-section__copy-title {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 900;
  color: var(--pp-text);
  margin: 0 0 12px;
}

.pp-split-section__copy-desc {
  font-size: clamp(.8rem, 1.2vw, 1rem);
  color: var(--pp-gray-500);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* ─── CTA button ──────────────────────────────────────────── */
.pp-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 2px;
  transition: background .2s, color .2s;
  cursor: pointer;
}

.pp-btn--primary {
  background: var(--pp-black);
  color: var(--pp-white);
}

.pp-btn--primary:hover {
  background: #333;
}

.pp-home-order { display: flex; flex-direction: column; }
.pp-home-order > .pp-hero                          { order: 1; }
.pp-home-order > .pp-feat-carousel                  { order: 2; }
.pp-home-order > .pp-split-section:nth-child(4)     { order: 3; } /* split-section.php */
.pp-home-order > .pp-split-section--reverse         { order: 4; }
.pp-home-order > .pp-split-section:nth-child(6)     { order: 5; } /* split-section3.php */
.pp-home-order > .pp-about                          { order: 6; }

/* ─── About section ───────────────────────────────────────── */
.pp-about {
  background: var(--pp-white);
  padding: 48px 16px;
}

@media (min-width: 640px) {
  .pp-about { padding: 64px 24px; }
}

.pp-about__inner { max-width: 1280px; margin: 0 auto; }

.pp-about__headline {
  text-align: center;
  margin-bottom: 32px;
}

.pp-about__title {
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--pp-text);
  line-height: 1.3;
  margin: 0;
}

.pp-about__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .pp-about__body {
    grid-template-columns: 5fr 7fr;
    gap: 32px;
  }
}

.pp-about__image-wrap {
  position: sticky;
  top: 80px;
  overflow: hidden;
}

.pp-about__image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .pp-about__image { height: 380px; }
}

@media (min-width: 1024px) {
  .pp-about__image { height: 420px; }
}

.pp-about__lead {
  font-size: clamp(.8rem, 1.2vw, 1.125rem);
  color: var(--pp-gray-700);
  line-height: 1.7;
  margin: 0 0 16px;
}

.pp-about__expanded {
  font-size: clamp(.75rem, 1.1vw, 1rem);
  color: var(--pp-gray-700);
  line-height: 1.7;
  margin-top: 16px;
}

.pp-about__expanded p { margin: 0 0 20px; }

.pp-about__sub-heading {
  font-size: clamp(.9rem, 1.5vw, 1.25rem);
  font-weight: 700;
  color: var(--pp-text);
  margin: 0 0 12px;
}

.pp-about__sub-heading--lg {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  margin-top: 24px;
}

.pp-about__toggle {
  display: inline-block;
  list-style: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--pp-font);
  font-size: clamp(.75rem, 1vw, .9rem);
  font-weight: 600;
  color: var(--pp-text);
  padding: 0;
  margin-top: 12px;
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pp-about__toggle::-webkit-details-marker { display: none; }
.pp-about__toggle::marker { content: ''; }

.pp-about__toggle:hover { opacity: .7; }

.pp-about__toggle-hide { display: none; }
.pp-about__details[open] .pp-about__toggle-show { display: none; }
.pp-about__details[open] .pp-about__toggle-hide { display: inline; }

/* ─── Footer ──────────────────────────────────────────────── */
.pp-footer {
  background: var(--pp-black);
  color: var(--pp-white);
  padding: 40px 0 24px;
}

.pp-footer__inner {
  max-width: 100%;
  padding: 0 32px;
}

.pp-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 40px;
  text-align: center;
}

@media (min-width: 1024px) {
  .pp-footer__top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.pp-footer__logo-wrap img { height: 40px; width: auto; }

.pp-footer__social-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .pp-footer__social-wrap {
    flex-direction: row;
    align-items: center;
  }
}

.pp-footer__social-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.pp-footer__social {
  display: flex;
  gap: 8px;
}

.pp-footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pp-white);
  transition: opacity .2s;
}

.pp-footer__social a:hover { opacity: .65; }

/* Footer columns */
.pp-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .pp-footer__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .pp-footer__cols { grid-template-columns: repeat(4, 1fr); }
}

.pp-footer__col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin: 0 0 16px;
}

.pp-footer__links li { margin-bottom: 10px; }

.pp-footer__links a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pp-white);
  transition: color .15s;
  letter-spacing: .04em;
  line-height: 1.5;
}

.pp-footer__links a:hover { color: rgba(255,255,255,.65); }

/* 4th column – contact + newsletter + payment */
.pp-footer__col--contact { grid-column: span 2; }
@media (min-width: 768px) { .pp-footer__col--contact { grid-column: span 1; } }

/* Contact info rows */
.pp-footer__contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pp-footer__contact-row { display: flex; align-items: flex-start; gap: 12px; }
.pp-footer__contact-icon { width: 20px !important; height: 20px !important; color: #fff !important; flex-shrink: 0; margin-top: 2px; }
.pp-footer__contact-icon path { stroke: #fff !important; fill: none !important; }
.pp-footer__contact-link {
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.5;
  transition: color .2s;
}
.pp-footer__contact-link:hover { color: rgba(255,255,255,.65) !important; }
.pp-footer__contact-text {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.5;
}

/* Newsletter */
.pp-footer__newsletter-title {
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.pp-footer__newsletter-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
@media (min-width: 640px) { .pp-footer__newsletter-row { flex-direction: row; gap: 0; } }

.pp-footer__newsletter-input {
  flex: 1;
  padding: 12px 14px;
  font-size: 13px;
  font-family: var(--pp-font);
  background: transparent;
  border: 1px solid #6b7280;
  color: #fff;
  border-radius: 0;
  outline: none;
  text-transform: uppercase;
  transition: border-color .2s;
}
.pp-footer__newsletter-input::placeholder { color: #6b7280; text-transform: uppercase; }
.pp-footer__newsletter-input:focus { border-color: rgba(255,255,255,.7); }

.pp-footer__newsletter-btn {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--pp-font);
  text-transform: uppercase;
  background: #6b7280 !important;
  color: #fff !important;
  border: none;
  cursor: pointer;
  border-radius: 0;
  transition: background .2s;
  white-space: nowrap;
}
.pp-footer__newsletter-btn:hover { background: #9ca3af !important; color: #fff !important; }
.pp-footer__newsletter-btn:disabled { opacity: .6; cursor: default; }

.pp-footer__newsletter-msg { font-size: 12px; color: rgba(255,255,255,.8); margin: 0; }
.pp-footer__newsletter-msg[hidden] { display: none !important; }

/* Payment methods */
.pp-footer__payment-title {
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: #fff;
  margin-top: 18px;
  margin-bottom: 14px;
}
.pp-footer__payment-img-wrap { display: block; }
.pp-footer__payment-img { max-width: 100%; height: auto; display: block; }

/* Footer logo – constrain so Astra global img height: auto doesn't shrink it */
.pp-footer__logo-img {
  height: 40px !important;
  width: auto !important;
  max-width: 100% !important;
  display: block !important;
}

/* Payment method icons – brand-color SVGs on dark bg, sized in a row */
.pp-footer__payment-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.pp-footer__pay-icon {
  height: 24px !important;
  width: auto !important;
  max-width: none !important;
  display: inline-block !important;
  background: #fff;
  padding: 4px 6px;
  border-radius: 3px;
  filter: none !important;
}
.pp-footer__pay-icon--lg { height: 28px !important; }
.pp-footer__pay-icon--boxed { padding: 2px 4px; }
/* Google Pay svg is monochrome black – flip to white and put on darker chip */
.pp-footer__pay-icon--invert { background: #fff; filter: none !important; }

/* Footer bottom */
.pp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .pp-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.pp-footer__copyright {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin: 0;
}

.pp-footer__bottom-links {
  display: flex;
  gap: 20px;
}

.pp-footer__bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}

.pp-footer__bottom-links a:hover { color: var(--pp-white); }

/* ─── Utility ─────────────────────────────────────────────── */
.pp-site-wrapper { min-height: 60vh; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* line-clamp helper */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Featured center-stage carousel ─────────────────────── */
.pp-feat-carousel {
  width: 100%;
  background: #fff;
  padding-bottom: 32px;
  margin-top: 32px;
}

/* Title: "FEATURED PELLE PELLE JACKET" */
.pp-feat-carousel__title {
  text-align: center;
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  color: #2b2b2b;
  margin: 0 0 0;
  padding: 0 16px;
  text-transform: uppercase;
}

/* Wrap holds overflow + absolutely-positioned arrows */
.pp-feat-carousel__wrap {
  position: relative;
  padding: 0;
}

@media (min-width: 768px)  { .pp-feat-carousel__wrap { padding: 0 32px; } }
@media (min-width: 1024px) { .pp-feat-carousel__wrap { padding: 0 48px; } }
@media (min-width: 1280px) { .pp-feat-carousel__wrap { padding: 0 64px; } }

/* Clips the track */
.pp-feat-carousel__overflow {
  overflow: hidden;
  position: relative;
}

/* Adds vertical padding so scaled cards aren't clipped */
.pp-feat-carousel__dragzone {
  padding: 32px 0 64px;
  user-select: none;
  cursor: grab;
}

.pp-feat-carousel__dragzone:active { cursor: grabbing; }

/* Flex track – translateX applied by JS */
.pp-feat-carousel__track {
  display: flex;
  align-items: center;
  position: relative;      /* so card.offsetLeft is relative to track */
  gap: 4px;
  will-change: transform;
}

/* ── Card ───────────────────────────────────────────────── */
.pp-feat-card {
  flex: 0 0 calc(23% - 14px);
  flex-shrink: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  transform: scale(0.85) translateY(10px);
  transform-origin: center bottom;
  transition: transform 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.pp-feat-card.is-center {
  transform: scale(1.2) translateY(20px);
}

/* Image block – square, object-contain on white bg */
.pp-feat-card__img-wrap {
  aspect-ratio: 4 / 5;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.pp-feat-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.pp-feat-card.is-center .pp-feat-card__img-wrap img {
  transform: scale(1.05);
}

/* Info block – centered text, shown on ALL cards */
.pp-feat-card__info {
  padding: 8px;
  background: #fff;
  text-align: center;
}

.pp-feat-card__name {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-feat-card__price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.pp-feat-card__orig {
  font-size: 14px;
  color: #6b7280;
  text-decoration: line-through;
}

.pp-feat-card__sale {
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

/* ── Arrow buttons ──────────────────────────────────────── */
.pp-feat-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  display: none;           /* hidden by default; visible ≥1024px */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.pp-feat-carousel__arrow:hover,
.pp-feat-carousel__arrow:focus,
.pp-feat-carousel__arrow:focus-visible,
.pp-feat-carousel__arrow:active,
.pp-feat-carousel__arrow:visited {
  background: #333 !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.pp-feat-carousel__arrow:hover .pp-feat-carousel__chevron,
.pp-feat-carousel__arrow:focus .pp-feat-carousel__chevron,
.pp-feat-carousel__arrow:active .pp-feat-carousel__chevron {
  color: #fff !important;
}

.pp-feat-carousel__arrow--prev { left: 12px; }
.pp-feat-carousel__arrow--next { right: 16px; }

/* Unicode chevron glyphs – text characters, immune to SVG/border resets */
.pp-feat-carousel__chevron {
  display: inline-block !important;
  font-size: 18px !important;
  line-height: 1 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

@media (min-width: 1024px) {
  .pp-feat-carousel__arrow { display: flex; }
}

/* ── Mobile: wider cards ────────────────────────────────── */
@media (max-width: 1023px) {
  .pp-feat-card { flex: 0 0 70%; max-width: 320px; }
  .pp-feat-carousel__dragzone { padding: 24px 0 48px; }
}

/* ─── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 639px) {
  .pp-header__inner { padding: 0 16px; }
  .pp-footer__inner { padding: 0 16px; }
  .pp-about { padding: 32px 16px; }
}

/* ============================================================
   Single Product Page
   ============================================================ */

.pp-single { background: #fff; padding-top: 0; }
.pp-single__inner { max-width: 1280px; margin: 0 auto; padding: 0 24px 64px; }

/* ── Grid ── */
.pp-single__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 1024px) {
  .pp-single__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 32px 0 0; }
}

/* ── Desktop gallery ── */
.pp-single__gallery-desktop { display: none; }
@media (min-width: 1024px) {
  .pp-single__gallery-desktop { display: flex; gap: 16px; }
}

.pp-single__thumbs-wrap {
  display: flex;
  flex-direction: column;
  width: 80px;
  flex-shrink: 0;
}
.pp-single__thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 548px;
  flex: 1;
  scrollbar-width: none;
}
.pp-single__thumbs::-webkit-scrollbar { display: none; }
.pp-single__thumb {
  flex-shrink: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 2px solid var(--pp-gray-200);
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color .15s;
}
.pp-single__thumb.is-active,
.pp-single__thumb:hover { border-color: #000; }
.pp-single__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.pp-single__thumb-nav {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 11px;
  color: #555;
  align-self: center;
}

.pp-single__main-img-wrap { flex: 1; overflow: hidden; aspect-ratio: 4/5; cursor: zoom-in; }
.pp-single__main-img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ── Mobile gallery ── */
.pp-single__gallery-mobile { margin: 0 -24px; }
@media (min-width: 1024px) { .pp-single__gallery-mobile { display: none; } }

.pp-single__mobile-track-wrap { overflow: hidden; position: relative; }
.pp-single__mobile-track { display: flex; }
/* Every slide is the first photo's shape (--pp-slide-ratio, set in the template),
   so the box keeps its height while a photo loads; other shapes fit inside it. */
.pp-single__mobile-slide { flex: 0 0 100%; display: none; aspect-ratio: var(--pp-slide-ratio, 1 / 1); }
.pp-single__mobile-slide.is-active { display: block; }
.pp-single__mobile-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }

.pp-single__dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0; }
.pp-single__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pp-gray-200);
  border: none; cursor: pointer; padding: 0;
  transition: background .15s;
}
.pp-single__dot.is-active { background: #000; }

/* ── Product video (YouTube, last item of the gallery) ── */
.pp-single__thumb--video,
.pp-single__main-img-wrap,
.pp-single__mobile-slide--video { position: relative; }
.pp-single__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pp-single__play svg { width: 16px; height: 16px; margin-left: 3px; fill: #000; }
.pp-single__play--lg { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.pp-single__play--lg svg { width: 28px; height: 28px; margin-left: 4px; }
.pp-single__main-img-wrap.is-video { cursor: default; background: #000; }
.pp-single__main-img-wrap.is-video .pp-single__main-img { visibility: hidden; }
.pp-single__video-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.pp-single__video-poster {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: pointer;
}
.pp-single__video-poster img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pp-single__mobile-slide--video.is-playing { background: #000; }
.pp-single__mobile-slide--video.is-playing .pp-single__video-poster { visibility: hidden; }

/* ── Details column ── */
.pp-single__details { padding: 16px 0 0; }
@media (min-width: 1024px) { .pp-single__details { padding: 0; } }

/* Breadcrumb */
.pp-single__breadcrumb { font-size: 12px; color: var(--pp-gray-500); margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.pp-single__breadcrumb a { color: var(--pp-gray-500); text-decoration: none; }
.pp-single__breadcrumb a:hover { color: #000; text-decoration: underline; }
.pp-single__breadcrumb-sep { color: var(--pp-gray-500); }
.pp-single__breadcrumb-cur { color: #000; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

/* Name + price */
.pp-single__name { font-size: 18px; font-weight: 700; color: #000; text-transform: uppercase; margin: 0 0 8px; line-height: 1.3; }
@media (min-width: 1024px) { .pp-single__name { font-size: 24px; font-weight: 900; } }

.pp-single__price { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 18px; }
@media (min-width: 1024px) { .pp-single__price { font-size: 20px; } }
.pp-single__price-orig { color: var(--pp-gray-500); text-decoration: line-through; }
.pp-single__price-sale { font-weight: 600; color: #000; }

/* Afterpay's <square-placement> message (from the plugin's [afterpay_paragraph]). */
.pp-single__afterpay {
  display: block;
  min-height: 22px; /* room for the message before Afterpay's script draws it */
  font-size: 13px;
  color: #4b5563;
  line-height: 1.4;
}
.pp-single__afterpay square-placement { display: block; }

.pp-cart__express-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
}
.pp-cart__express-buttons:empty { margin: 0; }

.pp-checkout__express-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Express checkout button visibility (showing real PayPal/Venmo/Google Pay/
   Afterpay buttons, hiding genuinely-empty slots like unsupported Apple Pay)
   is handled by initExpressButtonCleanup() in pelle-pelle.js, since the SDK
   renders async and a MutationObserver is more reliable than pure CSS here. */

.pp-single__sku { font-size: 12px; color: var(--pp-gray-700); margin: 2px 0 16px; }
.pp-single__sku-label { font-weight: 600; }
.pp-single__sku-val { font-weight: 700; text-transform: uppercase; }
.pp-single__sku--video { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pp-single__watch-video {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border: 1px solid #000;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.pp-single__watch-video svg { width: 12px; height: 12px; fill: currentColor; }
.pp-single__watch-video:hover { background: #000; color: #fff; }

/* Selector groups */
.pp-single__selector-group { margin-bottom: 24px; }
.pp-single__selector-header { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.pp-single__selector-label { font-weight: 600; font-size: 14px; color: #000; display: block; margin-bottom: 8px; }
.pp-single__selector-header .pp-single__selector-label { margin-bottom: 0; }
.pp-single__unisex-note { font-size: 13px; color: var(--pp-gray-500); margin: 0 0 10px; }
.pp-single__size-guide-btn { background: none; border: none; font-size: 13px; color: var(--pp-gray-500); text-decoration: underline; cursor: pointer; padding: 0; }
.pp-single__size-guide-btn:hover { color: #000; }

/* Desktop button grid */
.pp-single__selectors--desktop { display: none; }
@media (min-width: 1024px) { .pp-single__selectors--desktop { display: block; } }

.pp-single__btn-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-single__opt-btn {
  padding: 8px 16px;
  border: 1px solid var(--pp-gray-200);
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.pp-single__opt-btn:hover { border-color: var(--pp-gray-700); }
.pp-single__opt-btn.is-selected { border-color: #000; background: #000; color: #fff; }
.pp-single__opt-btn.is-disabled { opacity: .5; cursor: not-allowed; }

/* Mobile dropdowns */
.pp-single__selectors--mobile { display: block; }
@media (min-width: 1024px) { .pp-single__selectors--mobile { display: none; } }

.pp-single__dropdowns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }

.pp-single__dropdown-wrap { position: relative; }
.pp-single__dropdown-label {
  position: absolute; top: -8px; left: 12px; background: #fff;
  padding: 0 4px; font-size: 12px; color: var(--pp-gray-500); z-index: 1; line-height: 1;
}
.pp-single__dropdown-btn {
  width: 100%; border: 1px solid var(--pp-gray-200); border-radius: 8px;
  padding: 12px 36px 12px 12px; background: #fff; font-size: 13px; color: #111;
  text-align: left; cursor: pointer; position: relative;
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color .15s;
}
.pp-single__dropdown-btn:hover { border-color: var(--pp-gray-700); }
.pp-single__dropdown-btn.is-disabled { opacity: .5; cursor: not-allowed; }
.pp-single__dropdown-arrow { width: 16px; height: 16px; color: var(--pp-gray-500); flex-shrink: 0; transition: transform .2s; }

.pp-single__dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--pp-gray-200); border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12); z-index: 20; overflow: hidden;
}
.pp-single__dropdown-item {
  display: block; width: 100%; padding: 8px 12px; font-size: 13px;
  text-align: left; background: #fff; border: none; cursor: pointer; color: #111;
  transition: background .1s, color .1s;
}
.pp-single__dropdown-item:hover { background: #000; color: #fff; }
.pp-single__dropdown-item.is-selected { background: var(--pp-gray-200); color: #000; }
.pp-single__dropdown-item.is-disabled { opacity: .5; cursor: not-allowed; }

/* Custom notice */
.pp-single__custom-notice { background: var(--pp-gray-50); border: 1px solid var(--pp-gray-200); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.pp-single__custom-notice-inner { display: flex; gap: 12px; align-items: flex-start; }
.pp-single__custom-notice-inner svg { width: 20px; height: 20px; flex-shrink: 0; color: #000; margin-top: 2px; }
.pp-single__custom-notice-inner strong { display: block; font-size: 13px; margin-bottom: 4px; }
.pp-single__custom-notice-inner p { font-size: 13px; color: var(--pp-gray-700); margin: 0; }

/* Warning */
.pp-single__warning { color: var(--pp-red); font-size: 13px; font-weight: 600; margin-bottom: 8px; }

/* Quantity */
.pp-single__qty-group { margin-bottom: 24px; }
.pp-single__qty {
  display: flex; align-items: center;
  border: 1px solid var(--pp-gray-200); border-radius: 4px; width: fit-content;
}
.pp-single__qty-btn {
  width: 40px; height: 40px; display: flex !important; align-items: center; justify-content: center;
  background: none !important; border: none; cursor: pointer; transition: background .1s;
  color: #000 !important; font-size: 20px; font-weight: 400; line-height: 1;
  box-shadow: none !important; text-shadow: none !important;
}
.pp-single__qty-btn:hover { background: var(--pp-gray-50) !important; box-shadow: none !important; color: #000 !important; }
.pp-single__qty-btn:disabled { opacity: .5; cursor: not-allowed; }
.pp-single__qty-val { width: 48px; text-align: center; font-size: 13px; font-weight: 600; color: #000; }

/* Action buttons */
.pp-single__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.pp-single__btn {
  width: 100%; padding: 16px 24px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; cursor: pointer;
  border: none; transition: background .15s, color .15s, transform .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pp-single__btn--cart { background: #000; color: #fff; }
.pp-single__btn--cart:hover { background: #222; }
.pp-single__btn--cart:disabled { background: #000; cursor: not-allowed; }
.pp-single__btn--buy { background: #fff; color: #000; border: 2px solid #000; }
.pp-single__btn--buy:hover { background: #000; color: #fff; }
.pp-single__btn--soldout { background: #9ca3af; color: #fff; cursor: not-allowed; }
.pp-single__btn-desktop { display: none; }
.pp-single__btn-mobile  { display: inline; }
@media (min-width: 1024px) {
  .pp-single__btn-desktop { display: inline; }
  .pp-single__btn-mobile  { display: none; }
}
.pp-single__btn-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Wishlist */
.pp-single__wishlist {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: transparent !important; border: none; cursor: pointer;
  font-size: 13px; color: var(--pp-gray-500) !important; padding: 8px 0;
  transition: color .15s; text-decoration: none !important;
}
.pp-single__wishlist:hover { color: #000 !important; background: transparent !important; }
.pp-single__wishlist.is-in-wishlist { color: #000 !important; }
.pp-single__wishlist svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Delivery */
.pp-single__delivery { font-size: 12px; margin: 16px 0; text-align: center; }
@media (min-width: 1024px) { .pp-single__delivery { text-align: left; } }
.pp-single__delivery-txt { font-weight: 700; font-size: 12px; margin: 0 0 8px; color: #000; }

/* Delivery & Returns button */
.pp-single__dr-btn {
  background: none; border: 1px solid var(--pp-gray-700); color: var(--pp-gray-700);
  font-size: 12px; font-weight: 500; padding: 5px 12px; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.pp-single__dr-btn:hover { color: #000 !important; border-color: #000; background: none !important; }

/* Delivery & Returns modal content */
.pp-single__modal-box--dr { max-width: 560px; }
.pp-dr-content { display: flex; flex-direction: column; gap: 16px; max-height: 60vh; overflow-y: auto; padding-right: 4px; }

/* Read more button + full description modal */
.pp-single__readmore-btn {
  margin-top: 10px;
  background: transparent !important;
  border: 0;
  padding: 0;
  font-size: 13px;
  color: #374151 !important;
  text-decoration: underline;
  cursor: pointer;
}
.pp-single__readmore-btn:hover { color: #000 !important; }
.pp-single__modal-box--desc { max-width: 760px; }
.pp-single__modal-body { max-height: 70vh; overflow-y: auto; font-size: 14px; line-height: 1.6; color: #374151; padding-right: 4px; }
.pp-single__modal-body h1, .pp-single__modal-body h2, .pp-single__modal-body h3 { color: #111827; margin: 18px 0 8px; }
.pp-single__modal-body p { margin: 0 0 12px; }
.pp-single__modal-body ul, .pp-single__modal-body ol { padding-left: 20px; margin: 0 0 12px; }
.pp-single__modal-body ul { list-style: disc; }
.pp-single__modal-body ol { list-style: decimal; }
.pp-single__modal-body li { margin-bottom: 4px; }
.pp-single__modal-body strong { color: #111827; }
.pp-dr-section h3 { font-size: 13px; font-weight: 700; color: #000; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.pp-dr-section p { font-size: 13px; color: var(--pp-gray-700); margin: 0 0 4px; line-height: 1.5; }
.pp-dr-section ul { list-style: disc; padding-left: 18px; margin: 0; }
.pp-dr-section ul li { font-size: 13px; color: var(--pp-gray-700); margin-bottom: 4px; line-height: 1.5; }
.pp-dr-section a { color: #000; text-decoration: underline; }
.pp-dr-section a:hover { color: #111 !important; }
.pp-dr-section--support { background: var(--pp-gray-50); padding: 12px; border-radius: 4px; }

/* ── Desktop tabs ── */
.pp-single__tabs--desktop { display: none; margin-top: 24px; }
@media (min-width: 1024px) { .pp-single__tabs--desktop { display: block; } }

.pp-single__tab-nav { display: flex; border-bottom: 1px solid var(--pp-gray-200); margin-bottom: 16px; gap: 0; }
.pp-single__tab-btn {
  padding: 8px 12px; font-size: 13px; font-weight: 500; background: none; border: none;
  border-bottom: 2px solid transparent; cursor: pointer; color: var(--pp-gray-500);
  transition: color .15s, border-color .15s; margin-bottom: -1px;
}
.pp-single__tab-btn:hover { color: #000 !important; background: none !important; box-shadow: none !important; }
.pp-single__tab-btn.is-active { border-bottom-color: #000; color: #000; }

.pp-single__tab-content { font-size: 13px; color: var(--pp-gray-700); }
.pp-single__tab-panel[hidden] { display: none !important; }

/* ── Mobile accordions ── */
.pp-single__accordions--mobile { margin-top: 24px; }
@media (min-width: 1024px) { .pp-single__accordions--mobile { display: none; } }

.pp-single__accordion { border-bottom: 1px solid var(--pp-gray-200); }
.pp-single__accordion-hdr {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 12px 0; background: none !important; border: none; cursor: pointer;
  text-align: left;
}
.pp-single__accordion-hdr:hover { background: none !important; box-shadow: none !important; }
.pp-single__accordion-hdr span:first-child { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #000; }
.pp-single__accordion-icon { font-size: 18px; font-weight: 700; color: #000; }
.pp-single__accordion-body { padding-bottom: 12px; font-size: 13px; color: var(--pp-gray-700); }

/* Description */
.pp-single__desc-bullets ul { list-style: disc; padding-left: 20px; }
.pp-single__desc-bullets li { margin-bottom: 4px; }
.pp-single__cat-link { color: #000; text-decoration: underline; }
.pp-single__cat-link:hover { color: #1d4ed8; }

/* Reviews */
.pp-single__reviews { display: flex; flex-direction: column; gap: 16px; }
.pp-single__review { border-bottom: 1px solid var(--pp-gray-200); padding-bottom: 16px; }
.pp-single__review:last-child { border-bottom: none; }
.pp-single__review-stars { display: flex; gap: 2px; margin-bottom: 4px; }
.pp-single__star { width: 16px; height: 16px; flex-shrink: 0; color: var(--pp-gray-200); }
.pp-single__star.is-filled { color: #facc15; }
.pp-single__review-date { font-size: 11px; color: var(--pp-gray-500); }
.pp-single__review-author { display: block; font-size: 13px; color: #111; margin: 4px 0 4px; }
.pp-single__review-body { font-size: 13px; color: var(--pp-gray-700); line-height: 1.5; }

/* ── Best sellers: the shop's product cards in .pp-shop__grid ── */
.pp-single__related { margin-top: 40px; }
.pp-single__section-title { font-size: 20px; font-weight: 700; color: #111; margin-bottom: 16px; text-align: center; }
@media (min-width: 1024px) { .pp-single__section-title { text-align: left; font-size: 24px; } }
/* "View More" under the grid: the shop's Load More button, as a link to /pcat/sale/. */
.pp-single__related-more .pp-shop__more-btn { display: inline-block; text-decoration: none; }
.pp-single__related-more .pp-shop__more-btn:hover,
.pp-single__related-more .pp-shop__more-btn:focus { text-decoration: none; }

/* ── Size guide modal ── */
.pp-single__modal { position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; }
.pp-single__modal:not([hidden]) { display: flex; }
.pp-single__modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.pp-single__modal-box {
  position: relative; background: #fff; width: 90vw; max-width: 700px;
  max-height: 90vh; overflow-y: auto; padding: 24px; border-radius: 4px; z-index: 1;
}
.pp-single__modal-close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--pp-gray-500); }
.pp-single__modal-close:hover { color: #000; }
.pp-single__modal-title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.pp-single__modal-tabs { display: flex; border-bottom: 1px solid var(--pp-gray-200); margin-bottom: 16px; gap: 0; }
.pp-single__modal-tab {
  flex: 1; padding: 10px; font-size: 14px; font-weight: 500; background: none;
  border: none; border-bottom: 2px solid transparent; cursor: pointer; color: var(--pp-gray-500);
  transition: color .15s, border-color .15s; margin-bottom: -1px;
}
.pp-single__modal-tab.is-active { border-bottom-color: #000; color: #000; }

/* ── Image zoom lightbox ── */
.pp-zoom { position: fixed; inset: 0; z-index: 2000; background: rgba(255,255,255,.97); align-items: center; justify-content: center; }
.pp-zoom:not([hidden]) { display: flex; }
.pp-zoom__close, .pp-zoom__nav, .pp-zoom__zoom-btn {
  position: absolute; z-index: 10; width: 40px; height: 40px; min-width: 0; padding: 0; border-radius: 999px;
  background: rgba(229,231,235,.8); border: none; display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: background .15s; color: #1f2937; line-height: 1;
}
.pp-zoom__close:hover, .pp-zoom__nav:hover, .pp-zoom__zoom-btn:hover { background: rgba(229,231,235,1); }
.pp-zoom__close { top: 16px; right: 16px; font-size: 16px; }
.pp-zoom__nav { top: 50%; transform: translateY(-50%); }
.pp-zoom__nav svg { width: 20px; height: 20px; flex-shrink: 0; }
.pp-zoom__nav--prev { left: 16px; }
.pp-zoom__nav--next { right: 16px; }
.pp-zoom__controls { position: absolute; right: 16px; bottom: 80px; z-index: 10; display: flex; flex-direction: column; gap: 8px; }
.pp-zoom__zoom-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.pp-zoom__stage {
  position: relative; width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; padding: 16px; overflow: hidden; touch-action: none;
}
.pp-zoom__img {
  max-width: 100%; max-height: 80vh; object-fit: contain; cursor: grab;
  transition: transform .2s ease-out; user-select: none;
}
.pp-zoom__img.is-dragging { cursor: grabbing; transition: none; }
.pp-zoom__thumbs {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 10;
  background: rgba(229,231,235,.8); border-radius: 8px; padding: 8px; display: flex; gap: 8px;
  max-width: calc(100vw - 32px); overflow-x: auto;
}
.pp-zoom__thumb {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 4px; overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: none;
}
.pp-zoom__thumb.is-active { border-color: #d20228; }
.pp-zoom__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-zoom__counter {
  position: absolute; top: 16px; left: 16px; z-index: 10; background: rgba(229,231,235,.8);
  border-radius: 8px; padding: 4px 12px; font-size: 13px; color: #1f2937;
}
@media (max-width: 639px) {
  .pp-zoom__controls { bottom: 96px; }
  .pp-zoom__thumb { width: 48px; height: 48px; }
}

/* ── Cart popup (mobile) ── */
.pp-single__cart-popup {
  position: fixed; inset: 0; z-index: 500;
  align-items: flex-end; justify-content: center;
  padding: 16px 8px; background: rgba(0,0,0,.25);
}
.pp-single__cart-popup:not([hidden]) { display: flex; }
.pp-single__cart-popup-inner {
  background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.2);
  width: 100%; max-width: 400px; padding: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600;
}
.pp-single__cart-popup-check {
  width: 24px; height: 24px; background: #dcfce7; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pp-single__cart-popup-check svg { width: 12px; height: 12px; flex-shrink: 0; color: #16a34a; }
.pp-single__cart-popup-actions { display: flex; gap: 8px; width: 100%; }
.pp-single__cart-popup-continue {
  flex: 1; padding: 8px; border: 1px solid var(--pp-gray-200); background: #fff;
  color: var(--pp-gray-700); font-size: 12px; font-weight: 600; cursor: pointer;
}
.pp-single__cart-popup-view {
  flex: 1; padding: 8px; background: #000; color: #fff;
  font-size: 12px; font-weight: 600; text-decoration: none; text-align: center;
}

@media (min-width: 1024px) { .pp-single__cart-popup { display: none !important; } }

/* ═══════════════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════════════ */
.pp-cart { min-height: 100vh; background: #f9fafb; padding: 16px 0 48px; }
.pp-cart__wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* Empty */
.pp-cart__empty { max-width: 720px; margin: 32px auto; text-align: center; }
.pp-cart__empty-card { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); padding: 48px 24px; }
.pp-cart__empty-icon { width: 96px; height: 96px; margin: 0 auto 24px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; }
.pp-cart__empty-icon svg { width: 48px; height: 48px; flex-shrink: 0; color: #9ca3af; }
.pp-cart__empty-title { font-size: 24px; font-weight: 300; margin: 0 0 16px; color: #111827; letter-spacing: 0.02em; }
.pp-cart__empty-text { font-size: 14px; color: #6b7280; max-width: 380px; margin: 0 auto 32px; line-height: 1.6; }
.pp-cart__empty-btn { display: inline-block; padding: 14px 32px; background: #000; color: #fff !important; font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s ease; }
.pp-cart__empty-btn:hover { background: #1f2937; transform: scale(1.05); color: #fff !important; }

/* Header */
.pp-cart__header { margin-bottom: 24px; padding-top: 16px; }
.pp-cart__title { font-size: 28px; font-weight: 700; color: #000; margin: 0 0 4px; letter-spacing: 0.02em; }
.pp-cart__subtitle { font-size: 14px; color: #6b7280; margin: 0; }

/* Grid */
.pp-cart__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .pp-cart__grid { grid-template-columns: 2fr 1fr; gap: 32px; } }

/* Items */
.pp-cart__items { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); overflow: hidden; }
.pp-cart__item { position: relative; padding: 20px; }
.pp-cart__item--bordered { border-bottom: 1px solid #f3f4f6; }
.pp-cart__remove { position: absolute; top: 12px; right: 12px; color: #9ca3af; background: none; border: 0; padding: 4px; cursor: pointer; transition: color .2s; z-index: 2; }
.pp-cart__remove:hover { color: #000 !important; }
.pp-cart__remove svg { width: 18px; height: 18px; flex-shrink: 0; }
.pp-cart__item-inner { display: flex; gap: 16px; }
.pp-cart__thumb { flex-shrink: 0; width: 120px; height: 120px; display: block; overflow: hidden; }
.pp-cart__thumb img { width: 100%; height: 100%; object-fit: cover; padding: 8px; }
@media (min-width: 768px) { .pp-cart__thumb { width: 160px; height: 160px; } .pp-cart__thumb img { padding: 12px; } }
.pp-cart__thumb:hover { opacity: .8; }
.pp-cart__info { flex: 1; min-width: 0; padding-right: 28px; }
.pp-cart__name-link { text-decoration: none; color: inherit; }
.pp-cart__name-link:hover { color: #6b7280; }
.pp-cart__name { font-size: 14px; font-weight: 500; color: #111827; margin: 0 0 6px; line-height: 1.4; }
.pp-cart__qty-label { font-size: 12px; color: #6b7280; margin-bottom: 6px; }
.pp-cart__attrs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; color: #6b7280; margin-bottom: 6px; }
.pp-cart__perk { font-size: 11px; color: #9ca3af; margin: 0 0 14px; }
.pp-cart__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-cart__qty { display: inline-flex; border: 1px solid #e5e7eb; border-radius: 4px; overflow: hidden; }
.pp-cart__qty-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #fff; border: 0; cursor: pointer; font-size: 18px; line-height: 1; color: #000 !important; transition: background .15s; }
.pp-cart__qty-btn:hover { background: #f9fafb !important; }
.pp-cart__qty-val { width: 40px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.pp-cart__price { text-align: right; }
.pp-cart__price-old { font-size: 13px; color: #9ca3af; text-decoration: line-through; }
.pp-cart__price-now { font-size: 18px; font-weight: 500; color: #111827; }

/* Summary */
.pp-cart__summary { width: 100%; }
.pp-cart__summary-card { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); padding: 24px; }
@media (min-width: 1024px) { .pp-cart__summary-card { position: sticky; top: 32px; padding: 32px; } }
.pp-cart__summary-title { font-size: 18px; font-weight: 500; margin: 0 0 24px; }

/* Coupon */
.pp-cart__coupon { margin-bottom: 24px; }
.pp-cart__coupon-title { font-size: 14px; font-weight: 500; color: #111827; margin: 0 0 12px; }
.pp-cart__coupon-row { display: flex; gap: 8px; }
.pp-cart__coupon-input { flex: 1; padding: 8px 12px; border: 1px solid #d1d5db; font-size: 14px; outline: none; background: #fff; color: #000; }
.pp-cart__coupon-input:focus { border-color: #000; box-shadow: 0 0 0 1px #000; }
.pp-cart__coupon-btn { padding: 8px 16px; background: #000; color: #fff !important; border: 0; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s; }
.pp-cart__coupon-btn:hover:not(:disabled) { background: #1f2937 !important; }
.pp-cart__coupon-btn:disabled { background: #9ca3af; cursor: not-allowed; }
.pp-cart__coupon-err { font-size: 13px; color: #dc2626; margin: 8px 0 0; }
.pp-cart__coupon-applied { background: #f3f4f6; border: 1px solid #d1d5db; padding: 12px; display: flex; align-items: center; justify-content: space-between; }
.pp-cart__coupon-form[hidden],
.pp-cart__coupon-applied[hidden],
.pp-cart__coupon-err[hidden],
.pp-cart__totals-row[hidden],
.pp-wl__warn[hidden],
.pp-wl__dd-menu[hidden],
.pp-wl__empty[hidden],
.pp-wl__loaded[hidden] { display: none !important; }
.pp-cart__coupon-info { display: flex; align-items: center; gap: 10px; }
.pp-cart__coupon-check { width: 20px; height: 20px; background: #4b5563; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.pp-cart__coupon-check svg { width: 12px; height: 12px; flex-shrink: 0; }
.pp-cart__coupon-label { font-size: 13px; font-weight: 500; color: #111827; }
.pp-cart__coupon-code { font-size: 12px; color: #4b5563; }
.pp-cart__coupon-rm { font-size: 13px; color: #dc2626; background: none; border: 0; font-weight: 500; cursor: pointer; }
.pp-cart__coupon-rm:hover { color: #991b1b !important; }

/* Totals */
.pp-cart__totals { margin-bottom: 24px; }
.pp-cart__totals-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.pp-cart__totals-lbl { font-size: 14px; color: #4b5563; }
.pp-cart__totals-val { font-size: 14px; font-weight: 500; }
.pp-cart__totals-val--free { color: #059669; }
.pp-cart__totals-val--muted { color: #6b7280; font-size: 13px; font-weight: 400; }
.pp-cart__totals-row--discount .pp-cart__totals-lbl,
.pp-cart__totals-row--discount .pp-cart__totals-val { color: #000; }
.pp-cart__totals-final { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e5e7eb; padding-top: 16px; margin-top: 8px; }
.pp-cart__totals-lbl-final { font-size: 16px; font-weight: 500; }
.pp-cart__totals-val-final { font-size: 22px; font-weight: 300; }

/* Checkout */
.pp-cart__checkout-btn { display: block; width: 100%; padding: 16px; background: #000; color: #fff !important; text-align: center; text-decoration: none; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; transition: all .2s; margin-bottom: 16px; box-sizing: border-box; }
.pp-cart__checkout-btn:hover { background: #1f2937 !important; transform: scale(1.02); color: #fff !important; }
.pp-cart__secure { text-align: center; font-size: 12px; color: #6b7280; line-height: 1.5; }
.pp-cart__secure a { color: #6b7280; text-decoration: underline; }
.pp-cart__secure a:hover { color: #000; }

/* Bundle deal (functions.php, PELLE_CART_DEAL). The left column holds the items
   and, under them, the surprise-jacket button (template-parts/cart-deal.php); a
   line's label sits under its size and gender. */
.pp-cart__main { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pp-cart__deal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 500; color: #111827; }
.pp-cart__deal-tag { padding: 2px 6px; border-radius: 2px; background: #ffb000; color: #111; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pp-cart__deal-note { color: #6b7280; font-weight: 400; }
.pp-cart__deal--hint { color: #b45309; }

/* The surprise-jacket button: one slim line, lettered and animated like the
   Sale page banner (.pp-bfb, whose keyframes it shares). EXTRA $X OFF (an
   orange-yellow tag, shown first) and GET A SURPRISE JACKET take turns, 3 seconds each; the
   gift gives a little shake once a round. Sizes are in em of one font size
   that follows the screen width (capped from tablets up); the line never
   wraps. A click opens the offer modal. */
.pp-cart__main .pp-surprise { position: relative; overflow: hidden; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: .55em; width: 100%; min-height: 0; margin: 0; padding: .42em .6em; border: 0; border-radius: 12px; background: #0d0d0d !important; color: #fff !important; box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: min(5.6vw, 24px); line-height: 1; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pp-surprise,
.pp-surprise * { font-family: "Barlow Condensed", "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", sans-serif !important; font-style: normal !important; font-weight: 800 !important; }
.pp-cart__main .pp-surprise:hover,
.pp-cart__main .pp-surprise:focus { background: #0d0d0d !important; color: #fff !important; }
.pp-cart__main .pp-surprise:focus-visible { outline: 2px solid #ffb000 !important; outline-offset: 2px; }
.pp-surprise svg { display: block; flex: none; }
.pp-surprise__gift { display: flex; color: #ffb000; }
.pp-surprise__gift svg { width: 1em; height: 1em; transform-origin: 50% 85%; animation: pp-surprise-shake 7s ease-in-out infinite; }
.pp-surprise__slot { display: grid; overflow: hidden; }
.pp-surprise__phrase { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; animation: pp-bfb-swap 7s infinite both; }
.pp-surprise__phrase + .pp-surprise__phrase { opacity: 0; animation-delay: -3.5s; }
.pp-surprise__title { font-size: 1.15em; }
.pp-surprise__title b { color: #ffb000; }
.pp-surprise__deal { position: relative; overflow: hidden; flex: 1; padding: .2em .6em; background: #ffb000; color: #0d0d0d; text-align: center; clip-path: polygon(.3em 0, 100% 0, calc(100% - .3em) 100%, 0 100%); }
.pp-surprise__deal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%); transform: translateX(-120%); animation: pp-bfb-shine 7s ease-in-out -3.5s infinite; pointer-events: none; } /* the tag is the first phrase here, so its light sweep comes half a round earlier */
.pp-surprise__go { display: flex; align-items: center; justify-content: center; width: 1.3em; height: 1.3em; border: max(1px, .07em) dashed rgba(255, 255, 255, .75); border-radius: 50%; }
.pp-surprise__go svg { width: .7em; height: .7em; }
@media (hover: hover) { .pp-surprise:hover .pp-surprise__go { border-style: solid; border-color: #ffb000; color: #ffb000; } }
@keyframes pp-surprise-shake {
  0%, 78%, 100% { transform: rotate(0); }
  81% { transform: rotate(-14deg); }
  84% { transform: rotate(12deg); }
  87% { transform: rotate(-8deg); }
  90% { transform: rotate(5deg); }
  93% { transform: rotate(0); }
}

/* The offer modal: a dark head lettered like the banner, the jackets below to
   pick a size and gender. A sheet from the bottom on phones. It sits above
   everything, chat bubbles included (pelle-pelle.js moves it to the end of the
   page when it opens). */
html.pp-dm-open,
html.pp-dm-open body { overflow: hidden !important; }
.pp-dm { position: fixed; inset: 0; z-index: 2147483647; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pp-dm[hidden] { display: none !important; }
.pp-dm__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); animation: pp-dm-fade .2s ease both; }
.pp-dm__dialog { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); outline: none; animation: pp-dm-pop .28s cubic-bezier(.2, .8, .2, 1) both; }
@supports (height: 100dvh) { .pp-dm__dialog { max-height: calc(100dvh - 32px); } }
.pp-dm__head { position: relative; padding: 18px 56px 16px 20px; background: #0d0d0d; color: #fff; }
.pp-dm .pp-dm__close { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12) !important; color: #fff !important; cursor: pointer; }
.pp-dm .pp-dm__close:hover,
.pp-dm .pp-dm__close:focus { background: rgba(255, 255, 255, .24) !important; color: #fff !important; }
.pp-dm__close svg { display: block; width: 18px; height: 18px; flex: none; }
.pp-dm__eyebrow,
.pp-dm__title,
.pp-dm__title b { font-family: "Barlow Condensed", "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", sans-serif !important; font-style: normal !important; font-weight: 800 !important; text-transform: uppercase; }
.pp-dm__eyebrow { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; color: #ffb000; font-size: 15px; line-height: 1; letter-spacing: .06em; }
.pp-dm__eyebrow svg { display: block; width: 16px; height: 16px; flex: none; }
.pp-dm__title { margin: 0 0 6px; color: #fff; font-size: 28px; line-height: 1.05; letter-spacing: .01em; }
.pp-dm__title b { color: #ffb000; }
.pp-dm__sub { margin: 0; color: #d1d5db; font-size: 13px; line-height: 1.45; }
.pp-dm__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.pp-dm__list--one { grid-template-columns: minmax(0, 300px); justify-content: center; }
.pp-dm__card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border: 1px solid #e5e7eb; border-radius: 10px; animation: pp-dm-card .45s cubic-bezier(.2, .8, .2, 1) both; }
.pp-dm__card:nth-child(2) { animation-delay: .08s; }
.pp-dm__img { display: block; flex: none; min-height: 0; aspect-ratio: 1; max-height: 220px; overflow: hidden; background: #fff; }
.pp-dm__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pp-dm__name { display: -webkit-box; min-height: 2.7em; overflow: hidden; color: #111827 !important; font-size: 13px; font-weight: 500; line-height: 1.35; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pp-dm__name:hover { color: #6b7280 !important; }
/* The price ladder: the regular and the sale price are struck through in turn
   (a red line drawn across each), then the deal price pops in with its saving.
   Without animations the lines are simply there. */
.pp-dm__prices { display: flex; flex-direction: column; gap: 4px; }
.pp-dm__was-row,
.pp-dm__now-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; }
.pp-dm__was { position: relative; color: #9ca3af; font-size: 13px; line-height: 1.2; text-decoration: none; }
.pp-dm__was--sale { color: #4b5563; font-size: 14px; font-weight: 600; }
.pp-dm__was::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: #dc2626; transform-origin: left center; animation: pp-dm-strike .3s ease-out .4s both; }
.pp-dm__was--sale::after { animation-delay: .75s; }
.pp-dm__now,
.pp-dm__save { font-family: "Barlow Condensed", "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", sans-serif !important; font-style: normal !important; font-weight: 800 !important; }
.pp-dm__now { color: #000; background: none; font-size: 30px; line-height: 1; text-decoration: none; animation: pp-dm-pop-in .45s cubic-bezier(.2, 1.4, .4, 1) 1.1s both; }
.pp-dm__save { padding: .25em .6em; background: #ffb000; color: #0d0d0d; font-size: 14px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; clip-path: polygon(.3em 0, 100% 0, calc(100% - .3em) 100%, 0 100%); animation: pp-dm-pop-in .45s cubic-bezier(.2, 1.4, .4, 1) 1.3s both; }
@keyframes pp-dm-strike { from { transform: scaleX(0); } }
@keyframes pp-dm-pop-in { from { opacity: 0; transform: scale(.5); } }
.pp-dm__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pp-dm .pp-dm__select { width: 100%; height: 36px; min-height: 0; margin: 0; padding: 0 8px; border: 1px solid #d1d5db; border-radius: 4px; background-color: #fff; color: #111; font-size: 13px; line-height: normal; }
.pp-dm .pp-dm__select:focus { border-color: #000; outline: none; box-shadow: 0 0 0 1px #000; }
.pp-dm .pp-dm__add { width: 100%; height: 40px; min-height: 0; margin: 0; padding: 0 12px; border: 0; border-radius: 0; background: #000 !important; color: #fff !important; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .15s; }
.pp-dm .pp-dm__add:hover:not(:disabled) { background: #1f2937 !important; }
.pp-dm .pp-dm__add:disabled { background: #9ca3af !important; cursor: wait; }
.pp-dm__err { margin: 0; color: #dc2626; font-size: 12px; }
.pp-dm__err[hidden] { display: none; }
@media (max-width: 639.98px) {
  .pp-dm { align-items: flex-end; padding: 0; }
  .pp-dm__dialog { max-height: 92vh; border-radius: 16px 16px 0 0; animation-name: pp-dm-up; }
  .pp-dm__title { font-size: 24px; }
  .pp-dm__list { padding: 12px 12px 16px; gap: 10px; }
  .pp-dm__opts { grid-template-columns: 1fr; }
}
@supports (height: 100dvh) { @media (max-width: 639.98px) { .pp-dm__dialog { max-height: 92dvh; } } }
@keyframes pp-dm-fade { from { opacity: 0; } }
@keyframes pp-dm-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes pp-dm-up { from { transform: translateY(100%); } }
@keyframes pp-dm-card { from { opacity: 0; transform: translateY(14px); } }
/* Reduced motion: the phrases swap without sliding; nothing shakes, sweeps or slides in. */
@media (prefers-reduced-motion: reduce) {
  .pp-surprise__phrase { animation-name: pp-bfb-cut; }
  .pp-surprise__deal::after,
  .pp-surprise__gift svg,
  .pp-dm__backdrop,
  .pp-dm__dialog,
  .pp-dm__card,
  .pp-dm__was::after,
  .pp-dm__now,
  .pp-dm__save { animation: none; }
}

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */
body.woocommerce-checkout { background: #f9fafb; }
body.woocommerce-checkout .entry-header { display: none; }
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce { background: #f9fafb; }
body.woocommerce-checkout .site-content .ast-container,
body.woocommerce-checkout .ast-container { max-width: none; padding-left: 0; padding-right: 0; }
body.woocommerce-checkout .entry-content > .woocommerce { margin: 0; }
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout #primary,
body.woocommerce-checkout #main,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .ast-container,
body.woocommerce-checkout .ast-article-single,
body.woocommerce-checkout article,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content [data-ast-blocks-layout="true"] { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; float: none !important; clear: none !important; }

.pp-checkout { width: 100vw; max-width: 100vw; min-height: 100vh; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); overflow-x: clip; background: #f9fafb; padding: 24px 0 56px; color: #111827; }
/* Checkout and thank-you are <main> elements, and the Astra reset at the top of this file zeroes main's top padding (!important), so the heading touched the menu bar. */
main.pp-checkout { padding-top: 24px !important; }
.pp-checkout *,
.pp-checkout *::before,
.pp-checkout *::after { box-sizing: border-box; }
.pp-checkout__wrap { width: min(1200px, calc(100vw - 32px)); margin: 0 auto !important; padding: 0; }
/* 100vw includes a desktop browser's scrollbar (~15px), which left only ~8px beside the content on windows narrower than 1264px. */
@media (min-width: 768px) {
	.pp-checkout__wrap { width: min(1200px, calc(100vw - 64px)); }
}
.pp-checkout__header { margin-bottom: 28px; }
.pp-checkout__title { font-size: 30px; line-height: 1.15; font-weight: 700; color: #111827; margin: 0 0 6px; letter-spacing: 0; }
.pp-checkout__subtitle { font-size: 14px; line-height: 1.6; color: #6b7280; margin: 0; }
.pp-checkout__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.pp-checkout__main { display: grid; gap: 24px; min-width: 0; }
.pp-checkout__side { min-width: 0; }
.pp-checkout__panel,
.pp-checkout__summary,
.pp-checkout__empty-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 24px; }
@media (min-width: 1024px) {
	.pp-checkout__grid { grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr); gap: 32px; }
	.pp-checkout__summary { position: sticky; top: 32px; padding: 32px; }
}
@media (min-width: 768px) {
	.pp-checkout__panel { padding: 32px; }
}

/* Empty */
.pp-checkout__empty { max-width: 720px; margin: 32px auto; text-align: center; }
.pp-checkout__empty-card { padding: 48px 24px; }
.pp-checkout__empty-icon { width: 96px; height: 96px; margin: 0 auto 24px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; }
.pp-checkout__empty-icon svg { width: 48px; height: 48px; flex-shrink: 0; color: #9ca3af; }
.pp-checkout__empty-title { font-size: 24px; font-weight: 300; margin: 0 0 16px; color: #111827; letter-spacing: 0; }
.pp-checkout__empty-text { font-size: 14px; color: #6b7280; max-width: 380px; margin: 0 auto 32px; line-height: 1.6; }
.pp-checkout__empty-btn { display: inline-block; padding: 14px 32px; background: #000; color: #fff !important; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s ease; }
.pp-checkout__empty-btn:hover { background: #1f2937; color: #fff !important; }

/* "Pay for order" / "View order" pages — WooCommerce prints these with its
   own default templates (not our checkout/form-checkout.php), so they
   render outside .pp-checkout entirely and need their own styling. An
   earlier "*, .entry-content > .woocommerce { max-width:none !important;
   margin-left:0 !important; ... }" reset (above) matches this exact same
   selector, so every property it also sets needs !important here to win. */
body.woocommerce-checkout .woocommerce-notices-wrapper:empty { display: none; }
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message { border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; color: #374151; margin: 0 0 18px; padding: 14px 16px; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,.04); list-style: none; }
body.woocommerce-checkout .woocommerce-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
body.woocommerce-checkout .woocommerce-message { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }

/* Narrow centered card for the "verify the order's email" gate (order-pay and
   order-received pages, for shoppers who aren't signed in). */
body.woocommerce-checkout #main > .woocommerce:has(.woocommerce-verify-email),
body.woocommerce-checkout .pp-pay .woocommerce:has(.woocommerce-verify-email) {
	width: 100% !important; max-width: 480px !important;
	margin: 48px auto !important; padding: 0 16px !important;
}
.woocommerce-verify-email {
	background: #fff; border: 1px solid #f3f4f6; border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 40px 32px; text-align: center;
}
.woocommerce-verify-email > p:first-of-type { font-size: 15px; color: #374151; line-height: 1.6; margin: 0 0 24px; }
.woocommerce-verify-email > p:first-of-type a { color: #111827; font-weight: 600; text-decoration: underline; }
.woocommerce-verify-email .form-row { margin: 0 0 20px; text-align: left; }
.woocommerce-verify-email .form-row label { display: block; font-size: 13px; font-weight: 600; color: #111827; margin-bottom: 8px; }
.woocommerce-verify-email .form-row .required { color: #dc2626; }
.woocommerce-verify-email input.input-text {
	width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 4px;
	font-size: 14px; color: #111827;
}
.woocommerce-verify-email input.input-text:focus { outline: none; border-color: #111827; }
.woocommerce-verify-email button.woocommerce-button {
	width: 100%; padding: 14px 32px; background: #000; color: #fff !important;
	font-size: 14px; font-weight: 500; border: none; border-radius: 4px;
	cursor: pointer; transition: background .2s ease;
}
.woocommerce-verify-email button.woocommerce-button:hover { background: #1f2937; }

/* Pay for an existing order (/checkout/order-pay/…): page.php wraps it in .pp-pay
   with a heading. Payment on the left, order summary on the right (stacked on
   phones), like checkout. */
.pp-pay { background: #f9fafb; padding: 32px 0 64px; min-height: 60vh; }
.pp-pay__wrap { width: min(1200px, calc(100vw - 32px)); margin: 0 auto; }
@media (min-width: 768px) { .pp-pay__wrap { width: min(1200px, calc(100vw - 64px)); } }
.pp-pay__header { margin: 0 0 24px; }
.pp-pay__title { font-size: 30px; line-height: 1.15; font-weight: 700; color: #111827; margin: 0 0 6px; }
.pp-pay__intro { font-size: 14px; line-height: 1.6; color: #6b7280; margin: 0; }
@media (max-width: 767px) {
	.pp-pay { padding: 20px 0 48px; }
	.pp-pay__title { font-size: 24px; }
}
.pp-pay .woocommerce::before,
.pp-pay .woocommerce::after { display: none; }
body.woocommerce-order-pay #order_review { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
body.woocommerce-order-pay #order_review > table.shop_table { margin: 0; }
body.woocommerce-order-pay #order_review > #payment { background: #fff; border: 1px solid #f3f4f6; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 20px; }
/* Afterpay over $2,000 (functions.php + initAfterpayLimit in pelle-pelle.js):
   the notice in Afterpay's box at checkout / pay-for-order, shown only while
   Afterpay is selected, in place of Afterpay's "4 payments" schedule. */
#payment .pp-afterpay-limit { display: none; }
#payment:has(#payment_method_afterpay:checked) .pp-afterpay-limit { display: block; }
#payment .payment_box.payment_method_afterpay:has(.pp-afterpay-limit) #afterpay-widget-container { display: none; }
#payment .pp-afterpay-limit { margin: 0 0 12px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; font-size: 13px; line-height: 1.5; color: #374151; text-align: left; }
#payment .payment_box .pp-afterpay-limit { margin: 0; padding: 0; border: 0; background: transparent; }
#payment .pp-afterpay-limit p { margin: 0 0 8px; }
#payment .pp-afterpay-limit .pp-afterpay-limit__title { margin-bottom: 4px; font-size: 15px; font-weight: 700; color: #111827; }
#payment .pp-afterpay-limit strong { color: #111827; }
#payment .pp-afterpay-limit .pp-afterpay-limit__tip { margin: 10px 0 0; padding: 12px 14px; border-radius: 6px; background: #b2fce3; color: #1f2937; }
#payment .pp-afterpay-limit .pp-afterpay-limit__tip p { margin: 0 0 4px; }
#payment .pp-afterpay-limit .pp-afterpay-limit__tip p:last-child { margin-bottom: 0; }

/* The explanation pop-up (cart page Afterpay Express button, Place order with Afterpay). */
.pp-ap-limit { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pp-ap-limit__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.pp-ap-limit__dialog { position: relative; width: 100%; max-width: 448px; max-height: 90vh; overflow-y: auto; padding: 24px; background: #fff; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.3); color: #374151; font-size: 14px; line-height: 1.5; text-align: left; }
.pp-ap-limit__title { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.3; color: #111827; text-transform: none; letter-spacing: 0; }
.pp-ap-limit__lead { margin: 0 0 12px; font-size: 16px; color: #4b5563; }
.pp-ap-limit__text { margin: 0 0 12px; }
.pp-ap-limit__text strong { color: #111827; font-weight: 600; }
.pp-ap-limit__tip { margin: 0 0 20px; padding: 16px; border: 1px solid #bfdbfe; border-radius: 8px; background: #b2fce3; color: #1f2937; }
.pp-ap-limit__tip p { margin: 0 0 4px; }
.pp-ap-limit__tip-title { font-weight: 600; color: #111827; margin-bottom: 8px !important; }
.pp-ap-limit__tip ul { margin: 8px 0 0; padding-left: 20px; list-style: disc; }
.pp-ap-limit__tip li { margin: 4px 0; }
.pp-ap-limit__ok { display: block; width: 100%; margin: 0; padding: 10px 16px; border: 0; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; }
.pp-ap-limit__ok,
.pp-ap-limit__ok:hover,
.pp-ap-limit__ok:focus { background: #b2fce3 !important; color: #111827 !important; }
.pp-ap-limit__ok:hover { background: #9ff2d8 !important; }
.pp-ap-limit__ok:focus-visible { outline: 2px solid #111827; outline-offset: 2px; }
@media (min-width: 640px) { .pp-ap-limit__ok { width: auto; margin-left: auto; } }

/* Afterpay's checkout script adds its logo a second time on this page. */
body.woocommerce-order-pay li.payment_method_afterpay label square-placement ~ square-placement,
body.woocommerce-order-pay li.payment_method_afterpay label .cashappafterpay-logo-img ~ .cashappafterpay-logo-img { display: none !important; }
@media (min-width: 1024px) {
	body.woocommerce-order-pay #order_review { grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: 16px 32px; }
	body.woocommerce-order-pay #order_review > #payment { grid-column: 1; grid-row: 1 / span 2; padding: 24px; }
	body.woocommerce-order-pay #order_review > table.shop_table { grid-column: 2; grid-row: 1; }
	body.woocommerce-order-pay #order_review > .ppcp-messages { grid-column: 2; grid-row: 2; }
}
body.woocommerce-order-pay table.shop_table {
	width: 100%; border-collapse: collapse; margin: 0 0 32px;
	border: 1px solid #f3f4f6; border-radius: 8px; overflow: hidden; background: #fff;
}
body.woocommerce-order-pay table.shop_table th,
body.woocommerce-order-pay table.shop_table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #f3f4f6; font-size: 14px; line-height: 1.5; color: #374151; vertical-align: top; }
body.woocommerce-order-pay table.shop_table thead th { background: #f9fafb; font-weight: 600; color: #111827; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
body.woocommerce-order-pay table.shop_table td.product-name .wc-item-meta { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12.5px; color: #6b7280; }
body.woocommerce-order-pay table.shop_table td.product-name .wc-item-meta li { display: flex; gap: 4px; }
body.woocommerce-order-pay table.shop_table td.product-name .wc-item-meta p { margin: 0; }
body.woocommerce-order-pay table.shop_table tfoot th,
body.woocommerce-order-pay table.shop_table tfoot td { color: #111827; font-weight: 500; }
body.woocommerce-order-pay table.shop_table tfoot tr:last-child th,
body.woocommerce-order-pay table.shop_table tfoot tr:last-child td { border-bottom: 0; font-size: 16px; font-weight: 700; }
body.woocommerce-order-pay #payment { background: transparent; border-radius: 0; padding: 0; }
body.woocommerce-order-pay #payment ul.payment_methods { border: 0; padding: 0; margin: 0 0 18px; list-style: none; }
body.woocommerce-order-pay #payment ul.payment_methods li.wc_payment_method { border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 15px; margin: 0 0 12px; line-height: 1.5; transition: border-color .15s ease, box-shadow .15s ease; }
body.woocommerce-order-pay #payment ul.payment_methods li.wc_payment_method:hover { border-color: #9ca3af; }
body.woocommerce-order-pay #payment ul.payment_methods li.wc_payment_method:has(input:checked) { border-color: #111827; box-shadow: 0 0 0 1px #111827; }
body.woocommerce-order-pay #payment ul.payment_methods li.wc_payment_method > input { margin: 2px 10px 0 0; vertical-align: top; }
body.woocommerce-order-pay #payment ul.payment_methods li.wc_payment_method > label { display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); color: #111827; font-size: 14px; font-weight: 600; cursor: pointer; }
body.woocommerce-order-pay #payment ul.payment_methods li img { max-height: 24px; width: auto; margin-left: 6px; vertical-align: middle; }
body.woocommerce-order-pay #payment .payment_methods li[class*="payment_method_ppcp-"] > label { flex-wrap: wrap; row-gap: 6px; width: 100%; }
body.woocommerce-order-pay #payment .payment_methods li[class*="payment_method_ppcp-"] > label .ppcp-card-icon { max-height: 24px; width: auto; margin-left: 0; }
body.woocommerce-order-pay #payment div.payment_box { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; color: #4b5563; margin: 14px 0 0; padding: 14px; font-size: 13px; line-height: 1.55; }
body.woocommerce-order-pay #payment div.payment_box::before { display: none; }
body.woocommerce-order-pay #payment div.payment_box p:last-child { margin-bottom: 0; }
body.woocommerce-order-pay .woocommerce-terms-and-conditions-wrapper { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px; margin: 16px 0; font-size: 13px; line-height: 1.55; color: #4b5563; }
body.woocommerce-order-pay .woocommerce-terms-and-conditions-wrapper p { margin: 0 0 10px; }
body.woocommerce-order-pay input[type="checkbox"],
body.woocommerce-order-pay input[type="radio"] { width: 16px; height: 16px; accent-color: #111827; }
body.woocommerce-order-pay #payment .form-row.place-order,
body.woocommerce-order-pay #payment div.form-row { margin: 0; }
body.woocommerce-order-pay #place_order,
body.woocommerce-order-pay button#place_order.button { width: 100%; min-height: 52px; margin: 0; padding: 16px; background: #000 !important; color: #fff !important; border: 0; border-radius: 0; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; cursor: pointer; }
body.woocommerce-order-pay #place_order:hover { background: #1f2937 !important; color: #fff !important; }
@media (max-width: 767px) {
	body.woocommerce-order-pay table.shop_table th,
	body.woocommerce-order-pay table.shop_table td { padding: 10px 12px; font-size: 13px; }
	body.woocommerce-order-pay #payment ul.payment_methods li.wc_payment_method > label { max-width: calc(100% - 30px); }
}

/* Express */
.pp-checkout__center { text-align: center; }
.pp-checkout__panel-title { font-size: 18px; font-weight: 600; color: #1f2937; margin: 0 0 8px; letter-spacing: 0; }
.pp-checkout__panel-text { font-size: 14px; line-height: 1.55; color: #6b7280; margin: 0; }
.pp-checkout__express-actions { margin: 18px 0 0; }
.pp-checkout__express-actions:empty { display: none; }
/* PayPal's button iframe is z-index:100 and its wrapper creates no stacking context, so while scrolling it painted over the sticky marquee (60) and header (50). Isolating the wrapper keeps that z-index inside it; the buttons themselves are unchanged. */
.paypal-buttons { isolation: isolate; }
/* Shown under the express PayPal buttons when a payment attempt fails (pelle-pelle.js). */
.pp-checkout__express-error { margin: 12px 0 0; padding: 12px 14px; border: 1px solid #fecaca; border-radius: 8px; background: #fef2f2; color: #991b1b; font-size: 13px; line-height: 1.5; }
.pp-checkout__express-error[hidden] { display: none; }
/* Google Pay / Apple Pay buttons PPCP draws under the PayPal button (pelle-pelle.js). A slot stays empty when the browser can't use that wallet; the PayPal button is 48px tall, so the wallets match it. */
.pp-checkout__wallets { display: flex; flex-direction: column; gap: 14px; }
.pp-checkout__wallets:not(.has-wallet) { margin-top: -8px; } /* nothing shown: cancel the gap above it */
.pp-checkout__wallet:empty { display: none !important; }
/* margin: PPCP's .ppcp-button-apm adds a 14px top margin; the gap above already spaces the buttons evenly. */
.pp-checkout__wallets > .pp-checkout__wallet { width: 100%; height: 48px !important; min-height: 48px; margin: 0; }
/* PayPal's buttons couldn't load: keep only the "Complete Checkout" part of the box. */
.pp-checkout__express.is-unavailable > :not(:last-child) { display: none; }
.pp-checkout__divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 24px 0; }
.pp-checkout__divider span { height: 1px; background: #d1d5db; }
.pp-checkout__divider strong { font-size: 13px; font-weight: 500; color: #6b7280; }

/* Sections */
.pp-checkout__section-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.pp-checkout__section-head h2 { font-size: 20px; line-height: 1.25; font-weight: 600; color: #111827; margin: 0 0 4px; letter-spacing: 0; }
.pp-checkout__section-head p { font-size: 14px; color: #6b7280; line-height: 1.55; margin: 0; }
.pp-checkout__step { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; background: #111827; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.pp-checkout .woocommerce-billing-fields h3,
.pp-checkout .woocommerce-shipping-fields h3,
.pp-checkout .woocommerce-additional-fields h3 { font-size: 18px; line-height: 1.3; font-weight: 600; color: #111827; margin: 0 0 18px; letter-spacing: 0; text-transform: uppercase; }
.pp-checkout .woocommerce-additional-fields { margin-top: 24px; }

/* Notices and hidden default coupon form */
.pp-checkout .woocommerce-notices-wrapper,
.pp-checkout .woocommerce-NoticeGroup { margin: 0 0 18px; }
.pp-checkout .woocommerce-error,
.pp-checkout .woocommerce-info,
.pp-checkout .woocommerce-message { border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; color: #374151; margin: 0 0 18px; padding: 14px 16px; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pp-checkout .woocommerce-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.pp-checkout .woocommerce-message { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.pp-checkout > .pp-checkout__wrap > .woocommerce-form-coupon-toggle,
.pp-checkout > .pp-checkout__wrap > form.checkout_coupon { display: none !important; }

/* Fields */
.pp-checkout .form-row { float: none; clear: none; width: 100%; margin: 0 0 18px; padding: 0; }
.pp-checkout .form-row-first,
.pp-checkout .form-row-last { float: none; width: 100%; }
.pp-checkout .form-row label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 500; color: #374151; line-height: 1.4; }
.pp-checkout abbr.required,
.pp-checkout .required { color: #dc2626; text-decoration: none; }
.pp-checkout .woocommerce-input-wrapper { display: block; width: 100%; }
.pp-checkout input[type="text"],
.pp-checkout input[type="email"],
.pp-checkout input[type="tel"],
.pp-checkout input[type="number"],
.pp-checkout input[type="password"],
.pp-checkout select,
.pp-checkout textarea { width: 100%; min-height: 48px; border: 1px solid #d1d5db; border-radius: 0; background: #fff; color: #111827; font-size: 14px; line-height: 1.5; padding: 12px 14px; outline: none; box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; }
.pp-checkout textarea { min-height: 112px; resize: vertical; }
.pp-checkout input:focus,
.pp-checkout select:focus,
.pp-checkout textarea:focus { border-color: #000; box-shadow: 0 0 0 1px #000; }
.pp-checkout input::placeholder,
.pp-checkout textarea::placeholder { color: #9ca3af; }
.pp-checkout .woocommerce-invalid input,
.pp-checkout .woocommerce-invalid select,
.pp-checkout .woocommerce-invalid textarea,
.pp-checkout .woocommerce-invalid .select2-selection { border-color: #dc2626 !important; box-shadow: 0 0 0 1px #dc2626 !important; }
.pp-checkout .select2-container { width: 100% !important; }
.pp-checkout .select2-container--default .select2-selection--single { height: 48px; border: 1px solid #d1d5db; border-radius: 0; background: #fff; }
.pp-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.pp-checkout .select2-container--default.select2-container--open .select2-selection--single { border-color: #000; box-shadow: 0 0 0 1px #000; }
.pp-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { color: #111827; line-height: 46px; padding-left: 14px; padding-right: 34px; font-size: 14px; }
.pp-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
@media (min-width: 768px) {
	.pp-checkout .woocommerce-billing-fields__field-wrapper,
	.pp-checkout .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.pp-checkout .woocommerce-billing-fields__field-wrapper .form-row,
	.pp-checkout .woocommerce-shipping-fields__field-wrapper .form-row { margin: 0; }
	.pp-checkout .form-row-wide,
	.pp-checkout #billing_country_field,
	.pp-checkout #billing_address_1_field,
	.pp-checkout #billing_address_2_field,
	.pp-checkout #billing_phone_field,
	.pp-checkout #billing_email_field,
	.pp-checkout #shipping_country_field,
	.pp-checkout #shipping_address_1_field,
	.pp-checkout #shipping_address_2_field { grid-column: 1 / -1; }
}

/* Checkboxes */
.pp-checkout .woocommerce-form__label-for-checkbox,
.pp-checkout #ship-to-different-address label,
.pp-checkout .wc_payment_method label { cursor: pointer; }
.pp-checkout input[type="checkbox"],
.pp-checkout input[type="radio"] { width: 16px; height: 16px; accent-color: #111827; }
.pp-checkout #ship-to-different-address { margin: 0 0 18px; }
.pp-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: #111827; text-transform: uppercase; }
.pp-checkout .shipping_address { margin-top: 18px; }

/* Summary items */
.pp-checkout #order_review_heading,
.pp-checkout #order_review { float: none !important; width: 100% !important; clear: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; border: 0 !important; }
.pp-checkout .pp-checkout__summary #order_review_heading.pp-checkout__summary-title { float: none !important; clear: none !important; width: 100% !important; margin: 0 0 24px !important; padding: 0 !important; border: 0 !important; }
.pp-checkout__summary > * { max-width: 100%; }
.pp-checkout__summary-title { display: block; float: none !important; width: 100% !important; font-size: 18px; line-height: 1.35; font-weight: 600; margin: 0 0 24px; color: #111827; letter-spacing: 0; }
.pp-checkout__items { display: grid; gap: 16px; margin-bottom: 24px; }
.pp-checkout__item { display: flex; gap: 14px; align-items: center; width: 100%; min-width: 0; padding-bottom: 16px; border-bottom: 1px solid #f3f4f6; }
.pp-checkout__thumb { flex: 0 0 80px; width: 80px; height: 80px; background: #f3f4f6; display: block; overflow: hidden; }
.pp-checkout__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pp-checkout__item-info { flex: 1 1 auto; min-width: 0; }
.pp-checkout__item-name { display: block; color: #111827; text-decoration: none; font-size: 14px; line-height: 1.35; font-weight: 500; margin-bottom: 7px; }
.pp-checkout__item-name:hover { color: #4b5563; }
.pp-checkout__item-meta { display: flex; flex-wrap: wrap; gap: 5px 9px; color: #6b7280; font-size: 12px; line-height: 1.45; }
.pp-checkout__item-price { flex: 0 0 auto; text-align: right; color: #111827; font-size: 14px; font-weight: 500; white-space: nowrap; }
.pp-checkout__item-price-old { display: block; color: #9ca3af; font-size: 12px; font-weight: 400; text-decoration: line-through; }

/* Phones/tablets (single column): the order summary moves to the top, folded into a bar that shows the total; tapping it opens the full summary. Desktop keeps the summary in the right column. */
.pp-checkout .pp-checkout__summary-toggle { display: none; }
@media (max-width: 1023px) {
	.pp-checkout__side { order: -1; }
	.pp-checkout .pp-checkout__summary-toggle,
	.pp-checkout .pp-checkout__summary-toggle:hover,
	.pp-checkout .pp-checkout__summary-toggle:focus { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 0; padding: 16px 20px; background: #fff; color: #111827; border: 1px solid #f3f4f6; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-align: left; text-transform: none; cursor: pointer; }
	.pp-checkout .pp-checkout__summary-toggle:focus-visible { outline: 2px solid #111827; outline-offset: 2px; }
	.pp-checkout__summary-toggle-text { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
	.pp-checkout__summary-toggle-icon { width: 20px; height: 20px; flex-shrink: 0; }
	.pp-checkout__summary-toggle-arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s ease; }
	.pp-checkout__summary-toggle-total { font-size: 16px; font-weight: 600; white-space: nowrap; }
	.pp-checkout__side:not(.is-open) .pp-checkout__summary { display: none; }
	.pp-checkout .pp-checkout__side.is-open .pp-checkout__summary-toggle { border-radius: 8px 8px 0 0; }
	.pp-checkout__side.is-open .pp-checkout__summary { border-top: 0; border-radius: 0 0 8px 8px; }
	.pp-checkout__side.is-open .pp-checkout__summary-toggle-arrow { transform: rotate(180deg); }
}

/* Coupon */
.pp-checkout__coupon { margin-bottom: 24px; }
.pp-checkout__coupon h3 { font-size: 14px; font-weight: 500; color: #111827; margin: 0 0 12px; letter-spacing: 0; }
.pp-checkout__coupon-row { display: flex; gap: 8px; }
.pp-checkout__coupon-input { flex: 1; min-width: 0; }
.pp-checkout__coupon-btn,
.pp-checkout button.button,
.pp-checkout input.button { border: 0; border-radius: 0; background: #000 !important; color: #fff !important; font-size: 14px; font-weight: 500; padding: 12px 18px; min-height: 48px; cursor: pointer; text-decoration: none; transition: background .15s ease; }
.pp-checkout__coupon-btn:hover,
.pp-checkout button.button:hover,
.pp-checkout input.button:hover { background: #1f2937 !important; color: #fff !important; }

/* Order review */
.pp-checkout__review .woocommerce-checkout-review-order-table { display: table !important; width: 100% !important; max-width: 100% !important; float: none !important; clear: none !important; border: 0 !important; margin: 0 0 22px !important; border-collapse: collapse; table-layout: fixed; }
.pp-checkout__review .woocommerce-checkout-review-order-table thead,
.pp-checkout__review .woocommerce-checkout-review-order-table tbody { display: none; }
.pp-checkout__review .woocommerce-checkout-review-order-table tfoot { display: table-footer-group !important; width: 100% !important; }
.pp-checkout__review .woocommerce-checkout-review-order-table tr { display: table-row !important; width: 100% !important; }
.pp-checkout__review .woocommerce-checkout-review-order-table th,
.pp-checkout__review .woocommerce-checkout-review-order-table td { border: 0 !important; border-bottom: 1px solid #f3f4f6 !important; padding: 11px 0 !important; font-size: 14px; line-height: 1.45; color: #4b5563; vertical-align: top; }
.pp-checkout__review .woocommerce-checkout-review-order-table th { width: 45%; text-align: left; }
.pp-checkout__review .woocommerce-checkout-review-order-table td { width: 55%; text-align: right; color: #111827; font-weight: 500; }
.pp-checkout__review .woocommerce-checkout-review-order-table .order-total th,
.pp-checkout__review .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0 !important; padding-top: 16px !important; color: #111827; font-size: 16px; }
.pp-checkout__review .woocommerce-checkout-review-order-table .order-total .amount { font-size: 22px; font-weight: 300; }
.pp-checkout__review #shipping_method { list-style: none; margin: 0; padding: 0; text-align: right; }
.pp-checkout__review #shipping_method li { margin: 0 0 8px; padding: 0; color: #111827; }
.pp-checkout__review #shipping_method label { font-size: 14px; color: #111827; }
.pp-checkout__review .woocommerce-shipping-destination,
.pp-checkout__review .woocommerce-shipping-calculator { display: none; }

/* Payment */
.pp-checkout #payment { background: transparent; border-radius: 0; padding: 0; }
.pp-checkout #payment ul.payment_methods { border: 0; padding: 0; margin: 0 0 18px; list-style: none; }
.pp-checkout #payment ul.payment_methods li.wc_payment_method { border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 15px; margin: 0 0 12px; line-height: 1.5; transition: border-color .15s ease, box-shadow .15s ease; }
.pp-checkout #payment ul.payment_methods li.wc_payment_method:hover { border-color: #9ca3af; }
.pp-checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked) { border-color: #111827; box-shadow: 0 0 0 1px #111827; }
.pp-checkout #payment ul.payment_methods li.wc_payment_method > input { margin: 2px 10px 0 0; vertical-align: top; }
.pp-checkout #payment ul.payment_methods li.wc_payment_method > label { display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); color: #111827; font-size: 14px; font-weight: 600; }
.pp-checkout #payment ul.payment_methods li img { max-height: 24px; width: auto; margin-left: 6px; vertical-align: middle; }
/* PayPal Payments' card options put up to 7 brand logos in the label: wrap them under the title instead of overflowing the box. Fastlane's own stylesheet sets max-height:none on them with a selector more specific than the 24px cap above, so these rules have to out-rank it. */
.pp-checkout #payment .payment_methods li[class*="payment_method_ppcp-"] > label { flex-wrap: wrap; row-gap: 6px; width: 100%; }
.pp-checkout #payment .payment_methods li[class*="payment_method_ppcp-"] > label .ppcp-card-icon { max-height: 24px; width: auto; margin-left: 0; }
.pp-checkout #payment div.payment_box { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; color: #4b5563; margin: 14px 0 0; padding: 14px; font-size: 13px; line-height: 1.55; }
.pp-checkout #payment div.payment_box::before { display: none; }
.pp-checkout #payment div.payment_box p:last-child { margin-bottom: 0; }
.pp-checkout #signature_delivery_option { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px; margin: 0 0 16px; }
.pp-checkout #signature_delivery_option .form-row { margin: 0; }
.pp-checkout #signature_delivery_option label { display: flex; align-items: center; gap: 10px; margin: 0; color: #111827; font-size: 14px; font-weight: 500; line-height: 1.45; }
.pp-checkout #signature_delivery_option input[type="checkbox"] { flex: 0 0 16px; margin: 0; }
.pp-checkout #signature_delivery_option strong { font-weight: 600; }
.pp-checkout #signature_delivery_option .optional { color: #6b7280; font-weight: 400; white-space: nowrap; }
.pp-checkout .woocommerce-terms-and-conditions-wrapper { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px; margin: 16px 0; font-size: 13px; line-height: 1.55; color: #4b5563; }
.pp-checkout .woocommerce-terms-and-conditions-wrapper p { margin: 0 0 10px; }
.pp-checkout .woocommerce-terms-and-conditions-checkbox-text { color: #374151; }
.pp-checkout #place_order { width: 100%; min-height: 52px; margin: 0; padding: 16px; background: #000 !important; color: #fff !important; border: 0; border-radius: 0; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.pp-checkout #place_order:hover { background: #1f2937 !important; color: #fff !important; }

@media (max-width: 767px) {
	main.pp-checkout { padding-top: 16px !important; }
	.pp-checkout__header { margin-bottom: 22px; }
	.pp-checkout__title { font-size: 26px; }
	.pp-checkout__panel,
	.pp-checkout__summary { padding: 20px; }
	.pp-checkout__section-head { gap: 10px; }
	.pp-checkout__item { align-items: flex-start; flex-wrap: wrap; }
	.pp-checkout__thumb { flex-basis: 68px; width: 68px; height: 68px; }
	.pp-checkout__item-info { flex-basis: calc(100% - 82px); }
	.pp-checkout__item-price { flex-basis: calc(100% - 82px); margin-left: 82px; text-align: left; }
	.pp-checkout__coupon-row { flex-direction: column; }
	.pp-checkout__coupon-btn { width: 100%; }
	.pp-checkout #payment ul.payment_methods li.wc_payment_method > label { max-width: calc(100% - 30px); }
	.pp-checkout #signature_delivery_option { padding: 12px; }
	.pp-checkout #signature_delivery_option label { align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 500; line-height: 1.45; }
	.pp-checkout #signature_delivery_option input[type="checkbox"] { margin-top: 2px; }
}


/* ═══════════════════════════════════════════════════════════════
   WISHLIST PAGE
   ═══════════════════════════════════════════════════════════════ */
.pp-wl { min-height: 100vh; background: #f9fafb; padding: 16px 0 48px; }
.pp-wl__wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* Empty */
.pp-wl__empty { max-width: 720px; margin: 32px auto; text-align: center; }
.pp-wl__empty-card { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); padding: 48px 24px; }
.pp-wl__empty-icon { width: 96px; height: 96px; margin: 0 auto 24px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; }
.pp-wl__empty-icon svg { width: 48px; height: 48px; flex-shrink: 0; color: #9ca3af; }
.pp-wl__empty-title { font-size: 22px; font-weight: 300; margin: 0 0 16px; color: #111827; }
.pp-wl__empty-text { font-size: 14px; color: #6b7280; max-width: 420px; margin: 0 auto 32px; line-height: 1.6; }
.pp-wl__empty-btn { display: inline-block; padding: 14px 32px; background: #000; color: #fff !important; font-size: 14px; font-weight: 500; text-decoration: none; transition: all .2s; }
.pp-wl__empty-btn:hover { background: #1f2937; transform: scale(1.05); color: #fff !important; }

/* Header */
.pp-wl__header { margin-bottom: 24px; padding-top: 16px; }
.pp-wl__title { font-size: 28px; font-weight: 700; color: #000; margin: 0 0 4px; letter-spacing: 0.02em; }
.pp-wl__subtitle { font-size: 14px; color: #6b7280; margin: 0; }
@media (min-width: 768px) { .pp-wl__title { font-size: 32px; } }
@media (min-width: 1024px) { .pp-wl__title { font-size: 36px; } }

/* Grid */
.pp-wl__card { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.pp-wl__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 16px; }
@media (min-width: 768px) { .pp-wl__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px; } }
@media (min-width: 1024px) { .pp-wl__grid { grid-template-columns: repeat(4, 1fr); } }

.pp-wl__item { position: relative; }
.pp-wl__thumb-wrap { aspect-ratio: 1/1; background: #f9fafb; overflow: hidden; margin-bottom: 12px; position: relative; }
.pp-wl__thumb-link { display: block; width: 100%; height: 100%; }
.pp-wl__thumb { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .3s; }
.pp-wl__item:hover .pp-wl__thumb { transform: scale(1.05); }
.pp-wl__remove { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; background: #fff !important; border: 0; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center; cursor: pointer; color: #000 !important; transition: background .15s; }
.pp-wl__remove:hover { background: #f3f4f6 !important; color: #000 !important; }
.pp-wl__remove svg { width: 18px; height: 18px; flex-shrink: 0; }

.pp-wl__body { display: flex; flex-direction: column; gap: 10px; }
.pp-wl__name { font-size: 13px; font-weight: 500; color: #111827; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) { .pp-wl__name { font-size: 15px; } }
.pp-wl__price { font-size: 13px; color: #111827; font-weight: 300; }
@media (min-width: 768px) { .pp-wl__price { font-size: 14px; } }

.pp-wl__selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp-wl__dd { position: relative; }
.pp-wl__dd-btn { width: 100%; padding: 7px 10px; background: #f9fafb !important; border: 1px solid #e5e7eb; font-size: 12px; color: #111827 !important; text-align: left; display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: all .15s; }
.pp-wl__dd-btn:hover { background: #fff !important; border-color: #000; color: #111827 !important; }
.pp-wl__dd.is-open .pp-wl__dd-btn { background: #fff !important; border-color: #000; }
.pp-wl__dd-btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s; }
.pp-wl__dd.is-open .pp-wl__dd-btn svg { transform: rotate(180deg); }
.pp-wl__dd-val { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-wl__dd-menu { position: absolute; top: 100%; left: 0; right: 0; margin-top: 2px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 4px 6px rgba(0,0,0,.07); max-height: 160px; overflow-y: auto; z-index: 30; border-radius: 4px; }
.pp-wl__dd-item { display: block; width: 100%; padding: 7px 10px; background: #fff; border: 0; text-align: left; font-size: 12px; cursor: pointer; color: #111827; }
.pp-wl__dd-item:hover { background: #f3f4f6 !important; }
.pp-wl__warn { font-size: 12px; color: #dc2626; margin: 0; font-weight: 500; }

.pp-wl__add { width: 100%; padding: 10px; background: #000 !important; color: #fff !important; border: 0; font-size: 12px; font-weight: 500; cursor: pointer; transition: background .2s; }
.pp-wl__add:hover:not(:disabled) { background: #1f2937 !important; color: #fff !important; }
.pp-wl__add:disabled { background: #1f2937 !important; cursor: default; }
@media (min-width: 768px) { .pp-wl__add { padding: 12px; font-size: 13px; } }

/* ═══════════════════════════════════════════════════════════════
   SHOP / CATEGORY PAGES
   ═══════════════════════════════════════════════════════════════ */
.pp-shop { min-height: 100vh; background: #fff; display: flex; flex-direction: column; }
.pp-shop__wrap { padding: 16px; flex: 1; }
@media (min-width: 768px) { .pp-shop__wrap { padding: 28px; } }
@media (min-width: 1024px) { .pp-shop__wrap { padding: 40px; } }

/* Mobile MEN / WOMEN bar */
.pp-shop__menwomen { display: grid; grid-template-columns: 1fr 1fr; background: #000; }
.pp-shop__menwomen a { padding: 14px 0; text-align: center; color: #fff !important; text-decoration: none; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.pp-shop__menwomen a:first-child { border-right: 1px solid #6b7280; }
.pp-shop__menwomen a:hover { background: rgba(255,255,255,.05); }
@media (min-width: 768px) { .pp-shop__menwomen { display: none; } }

/* Hero (category) */
.pp-shop__hero { display: block; }
.pp-shop__hero img { display: block; width: 100%; height: 63px; object-fit: cover; }
@media (min-width: 1024px) { .pp-shop__hero { display: none; } }

/* Sale page: Black Friday banner (template-parts/sale-banner.php): one slim
   line. BLACK FRIDAY SALE and FLAT 15% OFF (an orange-yellow tag) take turns
   in the same spot, 3 seconds each, sliding up; PP15 stays put in a dashed
   coupon chip. On every screen, phones to PCs. Sizes are in em of one font
   size that follows the screen width (capped from tablets up). The
   line never wraps, so the banner keeps its height while the font loads (the
   fallbacks are condensed system fonts). Lettering: Barlow Condensed
   ExtraBold, loaded on the Sale page only (functions.php). The whole banner
   is one button that copies the code (initSaleBanner); the line then turns
   orange-yellow with CODE PP15 COPIED! for 2 seconds. */
.pp-bfb { position: relative; overflow: hidden; background: #0d0d0d; font-size: min(5.9vw, 24px); }
.pp-bfb,
.pp-bfb * { font-family: "Barlow Condensed", "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", sans-serif !important; font-style: normal !important; font-weight: 800 !important; }
.pp-bfb__btn,
.pp-bfb__btn:hover,
.pp-bfb__btn:focus { background: transparent !important; color: #fff !important; }
.pp-bfb__btn { position: relative; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: .6em; width: 100%; margin: 0; padding: .42em .5em; border: 0; border-radius: 0; box-shadow: none; font-size: 1em; line-height: 1; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pp-bfb__btn:focus-visible { outline: 2px solid #ffb000 !important; outline-offset: -3px; }
.pp-bfb svg { display: block; flex: none; width: .8em; height: .8em; }
/* The two phrases share one grid cell (as wide as the longer one) and take
   turns: 3s on screen, then a .5s slide up, 7s a round, the second half a
   round behind. Without animations only BLACK FRIDAY SALE shows. */
.pp-bfb__slot { display: grid; overflow: hidden; }
.pp-bfb__phrase { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; animation: pp-bfb-swap 7s infinite both; }
.pp-bfb__phrase + .pp-bfb__phrase { opacity: 0; animation-delay: -3.5s; }
/* BLACK FRIDAY SALE a size up; still shorter than the tag, so the line
   keeps its height (the tag just gets as wide as it). */
.pp-bfb__title { font-size: 1.2em; }
.pp-bfb__title b { color: #ffb000; }
.pp-bfb__deal { position: relative; overflow: hidden; flex: 1; padding: .2em .6em; background: #ffb000; color: #0d0d0d; text-align: center; clip-path: polygon(.3em 0, 100% 0, calc(100% - .3em) 100%, 0 100%); }
.pp-bfb__deal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%); transform: translateX(-120%); animation: pp-bfb-shine 7s ease-in-out infinite; pointer-events: none; }
.pp-bfb__code { display: flex; align-items: center; gap: .3em; padding: .12em .38em; border: max(1px, .07em) dashed rgba(255, 255, 255, .75); border-radius: .18em; }
.pp-bfb__code b { color: #ffb000; letter-spacing: .04em; }
@media (hover: hover) { .pp-bfb__btn:hover .pp-bfb__code { border-style: solid; border-color: #ffb000; } }
/* After a click the whole line turns orange-yellow: CODE PP15 COPIED! */
.pp-bfb__copied { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .35em; background: #ffb000; color: #0d0d0d; letter-spacing: .04em; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s; }
.pp-bfb.is-copied .pp-bfb__copied { visibility: visible; opacity: 1; }
.pp-bfb__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes pp-bfb-swap {
  0%, 42.86% { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(.55, 0, .35, 1); }
  50% { transform: translateY(-100%); opacity: 0; }
  50.01%, 92.86% { transform: translateY(100%); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .35, 1); }
  100% { transform: translateY(0); opacity: 1; }
}
/* The light sweeps the tag once a round, just after it lands. */
@keyframes pp-bfb-shine { 0%, 57% { transform: translateX(-120%); } 71%, 100% { transform: translateX(120%); } }
/* Reduced motion: the phrases swap without sliding, and no light sweep. */
@keyframes pp-bfb-cut { 0%, 49.99% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pp-bfb__phrase { animation-name: pp-bfb-cut; }
  .pp-bfb__deal::after { animation: none; }
  .pp-bfb__copied { transition: none; }
}

/* Header */
.pp-shop__header { margin-bottom: 24px; margin-top: 8px; }
.pp-shop__crumbs { font-size: 12px; color: #6b7280; text-align: center; text-transform: uppercase; letter-spacing: 0.04em; }
.pp-shop__crumbs a { color: #6b7280; text-decoration: none; }
.pp-shop__crumbs a:hover { color: #000 !important; text-decoration: underline; }
.pp-shop__crumb-sep { margin: 0 8px; color: #9ca3af; }
.pp-shop__crumb-cur { color: #000; font-weight: 500; }
.pp-shop__title { font-size: 22px; font-weight: 700; color: #000; text-align: center; text-transform: uppercase; margin: 8px 0 0; letter-spacing: 0.04em; }
@media (min-width: 768px) { .pp-shop__title { font-size: 28px; } }

/* Toolbar */
.pp-shop__toolbar { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 20px; }
.pp-shop__sort-wrap { position: relative; }
.pp-shop__sort-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #fff !important; border: 1px solid #d1d5db; border-radius: 4px; font-size: 13px; color: #000 !important; cursor: pointer; transition: background .15s; }
.pp-shop__sort-btn:hover { background: #f9fafb !important; color: #000 !important; }
.pp-shop__sort-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.pp-shop__sort-menu { position: absolute; top: 100%; left: 0; margin-top: 4px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 4px 6px rgba(0,0,0,.08); z-index: 30; min-width: 200px; }
.pp-shop__sort-menu button { display: block; width: 100%; padding: 8px 14px; background: #fff !important; border: 0; text-align: left; font-size: 13px; color: #111827 !important; cursor: pointer; }
.pp-shop__sort-menu button:hover { background: #f3f4f6 !important; color: #000 !important; }

/* Grid */
.pp-shop__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
@media (min-width: 1024px) { .pp-shop__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.pp-shop__empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: #4b5563; font-size: 16px; }

/* Landing pages (e.g. Black Pelle Pelle Jackets) whose slug matches a
   product category — grid uses .pp-shop__grid above (same columns/gap as
   shop/category), but it sits inside .pp-page__wrap's 880px cap, which
   made it look squeezed/narrow next to the shop grid's edge-to-edge
   width. Break it out to full width and match .pp-shop__wrap's own
   padding scale, same technique .pp-checkout already uses. */
.pp-page-products {
	width: 100vw; max-width: 100vw;
	margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
	margin-top: 24px; overflow-x: clip;
	padding: 0 16px;
}
@media (min-width: 768px)  { .pp-page-products { padding: 0 28px; } }
@media (min-width: 1024px) { .pp-page-products { padding: 0 40px; } }

/* Load more */
.pp-shop__more { text-align: center; margin-bottom: 40px; }
.pp-shop__more-btn { padding: 12px 32px; background: #000 !important; color: #fff !important; border: 0; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s; }
.pp-shop__more-btn:hover:not(:disabled) { background: #1f2937 !important; color: #fff !important; }
.pp-shop__more-btn:disabled { background: #9ca3af !important; cursor: not-allowed; }

/* Category description */
.pp-shop__desc { max-width: 900px; margin: 0 auto 40px; color: #4b5563; font-size: 14px; line-height: 1.7; }
.pp-shop__desc p { margin: 0 0 14px; }
.pp-shop__desc h2, .pp-shop__desc h3 { color: #111827; margin-top: 24px; }

/* ─── Product card (matches Next.js exactly) ─── */
.pp-card { cursor: pointer; }

/* Media: white bg, gray-200 outline, 4:5 ratio */
.pp-card__media-outer { background: #fff; }
.pp-card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; outline: 1px solid #e5e7eb; outline-offset: -1px; background: #fff; }

/* Badges: SOLD OUT and/or the product's own badge (pelle_product_badge()),
   stacked top left, clear of the wishlist heart; clicks go through to the
   product link under them. */
.pp-card__badges {
	position: absolute; top: 8px; left: 8px; z-index: 20;
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
	max-width: calc(100% - 46px); pointer-events: none;
}
@media (min-width: 640px) { .pp-card__badges { max-width: calc(100% - 54px); } }
@media (min-width: 768px) { .pp-card__badges { max-width: calc(100% - 62px); } }
.pp-card__badge {
	background: #000; color: #fff;
	font-size: 12px; font-weight: 700; line-height: 1.25;
	padding: 4px 8px; border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.pp-card__badge--own { text-transform: uppercase; overflow-wrap: anywhere; }
/* Phones: a size down, so EXPRESS SHIPPING fits on one line from 375px. */
@media (max-width: 639.98px) { .pp-card__badge { font-size: 11px; padding: 4px 6px; } }
/* Badge colours (Product data > General > Badge colour); black is the default. */
.pp-badge.pp-badge--red    { background: #dc2626; color: #fff; }
.pp-badge.pp-badge--orange { background: #ffb000; color: #111; }
.pp-badge.pp-badge--green  { background: #15803d; color: #fff; }

/* Wishlist heart – white circle button, 12×12 SVG */
.pp-card__heart {
	position: absolute; top: 8px; right: 8px; z-index: 10;
	width: 24px; height: 24px;
	background: #fff !important; border: 1px solid #d1d5db; border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	padding: 0; cursor: pointer;
	color: #000 !important;
	transition: box-shadow .15s;
}
.pp-card__heart:hover { box-shadow: 0 2px 4px rgba(0,0,0,.1); background: #fff !important; color: #000 !important; }
.pp-card__heart svg { width: 12px; height: 12px; display: block; flex-shrink: 0; }
.pp-card__heart.is-active svg path { fill: #000 !important; }
@media (min-width: 640px) { .pp-card__heart { top: 12px; right: 12px; width: 28px; height: 28px; } }
@media (min-width: 768px) { .pp-card__heart { top: 16px; right: 16px; width: 32px; height: 32px; } .pp-card__heart svg { width: 16px; height: 16px; flex-shrink: 0; } }

/* Image link + image */
/* The link is a tall 595:1024 canvas, the shape of the 595x1024 copies most
   product photos have (made at import: the photo in the middle of a white
   595x1024 canvas). The 4:5 frame shows its top part, so a jacket starts about a
   third of the way down and its bottom is cut off, on every card. */
.pp-card__link { position: absolute; top: 0; right: 0; left: 0; aspect-ratio: 595 / 1024; display: flex; flex-direction: column; background: #fff; }
/* The image is as wide as the card, at its own height. A 595x1024 copy fills the
   canvas; a shorter photo (e.g. an 800x800 upload) sits in its middle, as the
   imported ones do, so it lines up with the cards around it; a taller one starts
   at the top. The auto margins centre an image only when there is room for it.
   Two classes, to beat WooCommerce's ".woocommerce img { height: auto }" on
   every page. */
.pp-card .pp-card__img { position: static; flex: none; width: 100%; height: auto; margin: auto 0; background: #fff !important; }

/* Body */
.pp-card__body { padding-top: 12px; display: flex; flex-direction: column; }
@media (min-width: 768px) { .pp-card__body { padding-top: 16px; } }

.pp-card__top-row { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; gap: 8px; margin-bottom: 8px; }

.pp-card__name-link { flex: 1; text-decoration: none; color: inherit; min-width: 0; }
.pp-card__name {
	font-size: 12px; font-weight: 700; color: #111827;
	text-transform: capitalize; line-height: 1.25;
	margin: 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
}
@media (min-width: 640px) { .pp-card__name { font-size: 14px; } }
@media (min-width: 768px) { .pp-card__name { font-size: 16px; } }

/* Quick View (desktop only — visible from lg up, next to name) */
.pp-card__quick--desktop {
	display: none;
	background: transparent !important;
	font-size: 10px; color: #4b5563 !important;
	text-transform: uppercase; font-weight: 500;
	border: 1px solid #000;
	padding: 2px 4px;
	white-space: nowrap; flex-shrink: 0;
	cursor: pointer; text-decoration: none;
	transition: color .15s;
}
.pp-card__quick--desktop:hover { color: #000 !important; }
@media (min-width: 1024px) { .pp-card__quick--desktop { display: inline-block; } }
@media (min-width: 1280px) { .pp-card__quick--desktop { font-size: 12px; padding: 4px 8px; } }

/* Bottom row: price + mobile quick view */
.pp-card__bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pp-card__price { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
@media (min-width: 768px) { .pp-card__price { font-size: 18px; } }
.pp-card__price-old { color: #9ca3af; text-decoration: line-through; }
.pp-card__price-now { color: #000; font-weight: 800; }

/* Quick View (mobile only — hidden from lg up) */
.pp-card__quick--mobile {
	background: transparent !important;
	font-weight: 600; font-size: 6px;
	color: #4b5563 !important;
	text-transform: uppercase; white-space: nowrap;
	border: 1px solid #000;
	padding: 2px 2px;
	flex-shrink: 0;
	cursor: pointer; text-decoration: none;
	transition: color .15s;
}
.pp-card__quick--mobile:hover { color: #000 !important; }
@media (min-width: 380px) { .pp-card__quick--mobile { font-size: 8px; padding: 2px 4px; } }
@media (min-width: 640px) { .pp-card__quick--mobile { font-size: 9px; } }
@media (min-width: 768px) { .pp-card__quick--mobile { font-size: 10px; } }
@media (min-width: 1024px) { .pp-card__quick--mobile { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   QUICK VIEW MODAL
   ═══════════════════════════════════════════════════════════════ */
.pp-qv { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pp-qv[hidden] { display: none !important; }
.pp-qv__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.pp-qv__dialog { position: relative; z-index: 2; width: 100%; max-width: 880px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 4px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.pp-qv__close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 36px; height: 36px; background: #fff !important; border: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #000 !important; transition: background .15s; }
.pp-qv__close:hover { background: #f3f4f6 !important; color: #000 !important; }
.pp-qv__close svg { width: 20px; height: 20px; flex-shrink: 0; }

.pp-qv__body { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .pp-qv__body { grid-template-columns: 1fr 1fr; } }

.pp-qv__media { position: relative; background: #fff; aspect-ratio: 4/5; overflow: hidden; }
.pp-qv__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pp-qv__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: calc(100% - 24px); }
.pp-qv__sold-badge { background: #000; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.25; padding: 4px 8px; border-radius: 2px; }
.pp-qv__sold-badge[hidden] { display: none; }
.pp-qv__badge { text-transform: uppercase; overflow-wrap: anywhere; }

.pp-qv__info { padding: 24px; display: flex; flex-direction: column; }
@media (min-width: 768px) { .pp-qv__info { padding: 32px; } }

.pp-qv__name { font-size: 18px; font-weight: 700; color: #111827; margin: 0 0 12px; line-height: 1.3; }
@media (min-width: 768px) { .pp-qv__name { font-size: 22px; } }

.pp-qv__price-row { display: flex; gap: 12px; align-items: baseline; margin-bottom: 24px; }
.pp-qv__price-old { font-size: 16px; color: #9ca3af; text-decoration: line-through; }
.pp-qv__price-now { font-size: 22px; font-weight: 800; color: #000; }
.pp-qv__price-old[hidden] { display: none !important; }

.pp-qv__select-group { margin-bottom: 18px; }
.pp-qv__select-group[hidden] { display: none !important; }
.pp-qv__label { display: block; font-size: 13px; font-weight: 500; color: #111827; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.pp-qv__btn-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-qv__opt-btn { min-width: 44px; padding: 8px 14px; background: #fff !important; border: 1px solid #d1d5db; font-size: 13px; color: #000 !important; cursor: pointer; transition: all .15s; text-transform: uppercase; font-weight: 500; }
.pp-qv__opt-btn:hover { border-color: #000; color: #000 !important; background: #fff !important; }
.pp-qv__opt-btn.is-selected { background: #000 !important; color: #fff !important; border-color: #000; }

.pp-qv__warn { font-size: 13px; color: #dc2626; margin: 0 0 12px; font-weight: 500; }
.pp-qv__warn[hidden] { display: none !important; }

.pp-qv__add { width: 100%; padding: 14px; background: #000 !important; color: #fff !important; border: 0; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.pp-qv__add:hover:not(:disabled) { background: #1f2937 !important; color: #fff !important; }
.pp-qv__add:disabled { background: #1f2937 !important; cursor: default; }

.pp-qv__details { display: block; text-align: center; font-size: 13px; color: #4b5563 !important; text-decoration: underline; padding: 8px; }
.pp-qv__details:hover { color: #000 !important; }

/* ═══════════════════════════════════════════════════════════════
   STATIC / POLICY PAGES (about, privacy, terms, shipping, refund, etc)
   ═══════════════════════════════════════════════════════════════ */
.pp-page { min-height: 100vh; background: #fff; padding: 48px 16px; }
@media (min-width: 768px) { .pp-page { padding: 48px 32px; } }
.pp-page__wrap { max-width: 880px; margin: 0 auto; }
.pp-page__wrap--center { text-align: left; }
.pp-page__wrap--lg { max-width: 1200px; }
.pp-page__h1 { font-size: 26px; font-weight: 700; color: #111827; margin: 0 0 24px; text-transform: uppercase; letter-spacing: 0.02em; }
@media (min-width: 768px) { .pp-page__h1 { font-size: 36px; margin-bottom: 32px; } }
.pp-page__h2 { font-size: 20px; font-weight: 600; color: #111827; margin: 28px 0 14px; }
@media (min-width: 768px) { .pp-page__h2 { font-size: 24px; } }
.pp-page__h3 { font-size: 17px; font-weight: 600; color: #111827; margin: 18px 0 10px; }
@media (min-width: 768px) { .pp-page__h3 { font-size: 19px; } }
.pp-page__updated { font-size: 14px; color: #6b7280; margin: 0 0 28px; }
.pp-page__body { color: #374151; font-size: 15px; line-height: 1.7; }
.pp-page__body p { margin: 0 0 14px; }
.pp-page__body section { margin-bottom: 28px; }
.pp-page__lead { font-size: 17px; line-height: 1.6; color: #374151; }
.pp-page__list { list-style: disc; padding-left: 22px; margin: 0 0 14px; }

/* Generic landing pages (page.php) — breadcrumb + centered title, and a
   centered "prose" body to match the old Next.js layout. The product grid
   pelle_page_category_products() injects sits inside .pp-page__body, so it
   gets left-aligned back explicitly — cards shouldn't inherit the centered
   text alignment meant for the page's own paragraphs. */
.pp-page__wrap > .pp-shop__crumbs { margin-bottom: 12px; }
.pp-page__h1--center { text-align: center; }
.pp-page__body--center { text-align: center; }
.pp-page__body--center p { max-width: 720px; margin-left: auto; margin-right: auto; }
.pp-page__body--center .pp-page-products,
.pp-page__body--center .pp-card { text-align: left; }
.pp-page__list li { margin-bottom: 6px; }
.pp-page__list--ordered { list-style: decimal; }
.pp-page__note { font-size: 14px; color: #6b7280; margin-top: 18px; }
.pp-page__note a { color: #000; text-decoration: underline; }
.pp-page__contact-box {
	background: #f9fafb; border-radius: 8px; padding: 24px; margin-top: 24px;
}
.pp-page__contact-box h3 { font-size: 17px; font-weight: 600; color: #111827; margin: 0 0 12px; }
.pp-page__contact-box p { margin: 0 0 6px; font-size: 14px; }

.pp-page__callout { padding: 14px 16px; border-radius: 8px; margin: 8px 0 16px; border: 1px solid; }
.pp-page__callout p { margin: 0; font-weight: 600; }
.pp-page__callout--success { background: #f0fdf4; border-color: #bbf7d0; }
.pp-page__callout--success p { color: #166534; }
.pp-page__callout--warn { background: #fffbeb; border-color: #fde68a; }
.pp-page__callout--warn p { color: #92400e; }
/* Refund policy (pages/refund-policy.php): "Start a return or exchange" box, and
   underlined links to the Returns & Exchanges page in the text. */
.pp-page__callout--cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 28px; }
.pp-page__callout--cta p { flex: 1 1 260px; }
.pp-page__cta { display: inline-block; padding: 11px 20px; border-radius: 999px; background: #0d0d0d; color: #fff !important; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-decoration: none !important; text-transform: uppercase; white-space: nowrap; transition: background .15s; }
.pp-page__cta:hover { background: #1f2937; }
.pp-page__body--links a:not(.pp-page__cta) { color: #000; text-decoration: underline; }

/* ─── FAQs page ─── */
.pp-faqs__head { text-align: center; margin-bottom: 36px; }
.pp-faqs__subtitle { font-size: 16px; color: #6b7280; }
.pp-faqs__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.pp-faqs__filter {
	padding: 8px 18px; background: #f3f4f6 !important; color: #374151 !important;
	border: 0; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer;
	transition: background .15s;
}
.pp-faqs__filter:hover { background: #e5e7eb !important; color: #374151 !important; }
.pp-faqs__filter.is-active { background: #000 !important; color: #fff !important; }
.pp-faqs__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.pp-faqs__item { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.pp-faqs__item[hidden] { display: none !important; }
.pp-faqs__q-btn {
	width: 100%; padding: 16px 20px; background: #fff !important; border: 0;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	text-align: left; cursor: pointer; color: #111827 !important;
	transition: background .15s;
}
.pp-faqs__q-btn:hover { background: #f9fafb !important; color: #111827 !important; }
.pp-faqs__q-text { flex: 1; }
.pp-faqs__q-cat { font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.04em; }
.pp-faqs__q { font-size: 15px; font-weight: 600; color: #111827; margin: 4px 0 0; }
.pp-faqs__chevron { width: 20px; height: 20px; flex-shrink: 0; color: #6b7280; transition: transform .2s; }
.pp-faqs__item.is-open .pp-faqs__chevron { transform: rotate(180deg); }
.pp-faqs__a { padding: 0 20px 16px; }
.pp-faqs__a[hidden] { display: none !important; }
.pp-faqs__a p { color: #374151; font-size: 14px; line-height: 1.6; margin: 0; }

.pp-faqs__contact { text-align: center; background: #f9fafb; border-radius: 8px; padding: 32px 20px; }
.pp-faqs__contact-title { font-size: 22px; font-weight: 700; color: #111827; margin: 0 0 12px; }
.pp-faqs__contact p { color: #6b7280; margin: 0 0 20px; }
.pp-faqs__contact-btns { display: flex; flex-direction: column; gap: 12px; justify-content: center; align-items: center; }
@media (min-width: 640px) { .pp-faqs__contact-btns { flex-direction: row; } }
.pp-faqs__btn { padding: 12px 24px; font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: all .15s; }
.pp-faqs__btn--solid { background: #000 !important; color: #fff !important; }
.pp-faqs__btn--solid:hover { background: #1f2937 !important; color: #fff !important; }
.pp-faqs__btn--ghost { background: #fff !important; color: #374151 !important; border: 1px solid #d1d5db; }
.pp-faqs__btn--ghost:hover { background: #f3f4f6 !important; color: #374151 !important; }

/* ─── Contact page ─── */
.pp-contact { background: #f9fafb; }
.pp-contact__head { text-align: center; margin-bottom: 48px; }
.pp-contact__subtitle { font-size: 16px; color: #6b7280; }
.pp-contact__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .pp-contact__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.pp-contact__card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 32px; }
.pp-contact__card-title { font-size: 20px; font-weight: 600; color: #111827; margin: 0 0 24px; }
.pp-contact__info-list { display: flex; flex-direction: column; gap: 22px; }
.pp-contact__info-row { display: flex; gap: 16px; align-items: flex-start; }
.pp-contact__icon-circle { background: #f3f4f6; padding: 12px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pp-contact__icon-circle svg { width: 22px; height: 22px; flex-shrink: 0; color: #374151; }
.pp-contact__icon-circle svg path { stroke: #374151; }
.pp-contact__info-row h3 { font-size: 15px; font-weight: 600; color: #111827; margin: 0 0 4px; }
.pp-contact__info-row p { font-size: 14px; color: #6b7280; margin: 0; line-height: 1.5; }

.pp-contact__form { display: flex; flex-direction: column; gap: 20px; }
.pp-contact__field label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 8px; }
.pp-contact__field input, .pp-contact__field textarea {
	width: 100%; padding: 12px 16px; font-size: 14px; font-family: var(--pp-font);
	background: #fff; color: #111827; border: 1px solid #d1d5db; border-radius: 8px;
	outline: none; transition: border-color .15s, box-shadow .15s;
	box-sizing: border-box;
}
.pp-contact__field input:focus, .pp-contact__field textarea:focus {
	border-color: #000; box-shadow: 0 0 0 2px rgba(0,0,0,.05);
}
.pp-contact__field textarea { resize: vertical; min-height: 110px; }
.pp-contact__submit {
	width: 100%; padding: 14px; font-size: 14px; font-weight: 600;
	background: #000 !important; color: #fff !important; border: 0; border-radius: 8px;
	cursor: pointer; transition: background .15s; text-transform: none;
}
.pp-contact__submit:hover:not(:disabled) { background: #1f2937 !important; color: #fff !important; }
.pp-contact__submit:disabled { opacity: .6; cursor: default; }

.pp-contact__alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; border: 1px solid; }
.pp-contact__alert[hidden] { display: none !important; }
.pp-contact__alert--success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.pp-contact__alert--error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* ─── Size chart page ─── */
.pp-size-chart__head { text-align: center; margin-bottom: 40px; }
.pp-size-chart__section { margin-bottom: 40px; }
.pp-size-chart__table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 8px; }
.pp-size-chart__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-size-chart__table thead { background: #000; color: #fff; }
.pp-size-chart__table th, .pp-size-chart__table td {
	padding: 12px 16px; text-align: left; border-bottom: 1px solid #e5e7eb;
}
.pp-size-chart__table th { font-weight: 600; }
.pp-size-chart__table thead th { color: #fff; }
.pp-size-chart__table tbody tr:last-child th, .pp-size-chart__table tbody tr:last-child td { border-bottom: 0; }
.pp-size-chart__table tbody tr:hover { background: #f9fafb; }
.pp-size-chart__table tbody th { background: #f3f4f6; color: #111827; }

/* ═══════════════════════════════════════════════════════════════
   ORDER TRACKING PAGE
   ═══════════════════════════════════════════════════════════════ */
.pp-ot { min-height: 100vh; background: #f9fafb; padding: 48px 16px; }
@media (min-width: 768px) { .pp-ot { padding: 48px 32px; } }
.pp-ot__wrap { max-width: 1100px; margin: 0 auto; }
.pp-ot__head { text-align: center; margin-bottom: 36px; }
.pp-ot__h1 { font-size: 28px; font-weight: 800; color: #111827; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .02em; }
@media (min-width: 768px) { .pp-ot__h1 { font-size: 36px; } }
.pp-ot__sub { font-size: 14px; color: #6b7280; max-width: 600px; margin: 0 auto; }

.pp-ot__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .pp-ot__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.pp-ot__card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 10px 24px rgba(0,0,0,.06); padding: 28px; }
.pp-ot__card-title { font-size: 18px; font-weight: 700; color: #111827; margin: 0 0 18px; }

/* Toggle Email / Zip */
.pp-ot__toggle { display: inline-flex; background: #f3f4f6; padding: 4px; border-radius: 6px; margin: 4px 0 14px; }
.pp-ot__toggle-btn { background: transparent !important; border: 0; padding: 8px 18px; font-size: 13px; font-weight: 500; color: #4b5563 !important; cursor: pointer; border-radius: 4px; transition: all .15s; }
.pp-ot__toggle-btn.is-active { background: #fff !important; color: #000 !important; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.pp-ot__toggle-btn:hover:not(.is-active) { color: #111827 !important; }

/* Form fields */
.pp-ot__form { display: flex; flex-direction: column; gap: 16px; }
.pp-ot__field label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 6px; }
.pp-ot__field[hidden] { display: none !important; }
.pp-ot__field input { width: 100%; padding: 12px 14px; font-size: 14px; font-family: var(--pp-font); background: #fff; color: #111827; border: 1px solid #d1d5db; border-radius: 6px; outline: none; transition: all .15s; box-sizing: border-box; }
.pp-ot__field input:focus { border-color: #000; box-shadow: 0 0 0 2px rgba(0,0,0,.06); }

.pp-ot__pw-wrap { position: relative; }
.pp-ot__pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: transparent !important; border: 0; padding: 6px; color: #6b7280 !important; cursor: pointer; }
.pp-ot__pw-toggle:hover { color: #111827 !important; }
.pp-ot__pw-toggle svg { width: 18px; height: 18px; flex-shrink: 0; }
.pp-ot__pw-wrap input { padding-right: 38px; }

.pp-ot__err { font-size: 13px; color: #dc2626; margin: 0; font-weight: 500; }
.pp-ot__err[hidden] { display: none !important; }
.pp-ot__ok  { font-size: 13px; color: #047857; margin: 0; font-weight: 500; }
.pp-ot__ok[hidden]  { display: none !important; }

.pp-ot__submit { width: 100%; padding: 13px; background: #000 !important; color: #fff !important; border: 0; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; }
.pp-ot__submit:hover:not(:disabled) { background: #1f2937 !important; color: #fff !important; }
.pp-ot__submit:disabled { opacity: .6; cursor: default; }
.pp-ot__submit--link { display: inline-block; width: auto; text-align: center; text-decoration: none; padding: 12px 22px; }

.pp-ot__login-help { font-size: 13px; color: #6b7280; margin: 0 0 18px; }
.pp-ot__forgot { font-size: 13px; text-align: center; margin: 8px 0 0; }
.pp-ot__forgot a { color: #4b5563; text-decoration: underline; }
.pp-ot__forgot a:hover { color: #000; }
.pp-ot__logout { display: inline-block; margin-top: 12px; font-size: 13px; color: #6b7280; text-decoration: underline; }

/* Results panel */
.pp-ot__results { margin-top: 32px; }
.pp-ot__results[hidden] { display: none !important; }
.pp-ot__result-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 10px 24px rgba(0,0,0,.06); padding: 28px; }
.pp-ot__result-head { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #e5e7eb; margin-bottom: 18px; }
@media (min-width: 640px) { .pp-ot__result-head { grid-template-columns: repeat(4, 1fr); } }
.pp-ot__result-label { font-size: 11px; text-transform: uppercase; color: #6b7280; letter-spacing: .04em; margin-bottom: 2px; }
.pp-ot__result-val { font-size: 15px; font-weight: 600; color: #111827; }
.pp-ot__result-status { color: #059669; }

.pp-ot__sect-title { font-size: 15px; font-weight: 700; color: #111827; margin: 0 0 14px; }

.pp-ot__items { margin-bottom: 24px; }
.pp-ot__item-list { display: flex; flex-direction: column; gap: 10px; }
.pp-ot__item { display: flex; gap: 14px; align-items: center; background: #f9fafb; padding: 10px; border-radius: 8px; }
.pp-ot__item-img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 4px; }
.pp-ot__item-text { flex: 1; }
.pp-ot__item-name { font-size: 14px; font-weight: 500; color: #111827; }
.pp-ot__item-qty  { font-size: 12px; color: #6b7280; margin-top: 2px; }

/* Tracking cards */
.pp-ot__tracking-wrap { display: flex; flex-direction: column; gap: 14px; }
.pp-ot__no-tracking { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 14px 16px; font-size: 14px; color: #92400e; }
.pp-ot__tk-card { background: #f9fafb; border: 1px solid #d1d5db; border-radius: 12px; padding: 22px; }
.pp-ot__tk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pp-ot__tk-icon { width: 40px; height: 40px; background: #000; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pp-ot__tk-icon svg { width: 20px; height: 20px; flex-shrink: 0; color: #fff; }
.pp-ot__tk-carrier { font-size: 16px; font-weight: 600; color: #000; }
.pp-ot__tk-number  { font-size: 12px; color: #6b7280; font-family: monospace; margin-top: 2px; }
.pp-ot__tk-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 12px; }
.pp-ot__tk-label { font-size: 12px; color: #6b7280; margin-bottom: 2px; }
.pp-ot__tk-val { font-size: 14px; font-weight: 600; color: #111827; }
.pp-ot__tk-shipped { text-align: right; }
.pp-ot__tk-link { display: inline-block; font-size: 13px; color: #000 !important; text-decoration: underline; padding: 6px 0; font-weight: 500; }
.pp-ot__tk-link:hover { color: #4b5563 !important; }
.pp-ot__tk-val--green { color: #059669; }
.pp-ot__tk-history { margin-top: 10px; }
.pp-ot__tk-history-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; background: transparent; padding: 6px 0; color: #111827; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.pp-ot__tk-history-btn:hover { color: #4b5563; }
.pp-ot__tk-history-label { display: inline-flex; align-items: center; gap: 8px; }
.pp-ot__tk-history-label svg { width: 18px; height: 18px; flex-shrink: 0; color: currentColor; }
.pp-ot__tk-chev { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .18s ease; }
.pp-ot__tk-history-btn.is-open .pp-ot__tk-chev { transform: rotate(180deg); }
.pp-ot__tk-events { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.pp-ot__tk-events[hidden] { display: none !important; }
.pp-ot__tk-event { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.pp-ot__tk-event-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pp-ot__tk-event-desc { color: #111827; font-size: 14px; font-weight: 700; line-height: 1.35; }
.pp-ot__tk-latest { flex: 0 0 auto; border: 1px solid #bbf7d0; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 11px; font-weight: 700; line-height: 1; padding: 5px 8px; }
.pp-ot__tk-event-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; color: #4b5563; font-size: 13px; }
.pp-ot__tk-event-loc { display: inline-flex; align-items: center; gap: 5px; color: #111827; font-weight: 600; }
.pp-ot__tk-event-loc svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   LOGIN / REGISTER PAGE
   ═══════════════════════════════════════════════════════════════ */
.pp-login { min-height: 100vh; background: #f9fafb; padding: 48px 16px; }
@media (min-width: 768px) { .pp-login { padding: 48px 32px; } }
.pp-login__wrap { max-width: 460px; margin: 0 auto; }
.pp-login__head { text-align: center; margin-bottom: 28px; }
.pp-login__h1 { font-size: 28px; font-weight: 800; color: #111827; margin: 0 0 8px; }
.pp-login__sub { font-size: 14px; color: #6b7280; margin: 0; }

/* Tabs */
.pp-login__tabs-wrap { background: #fff; border-radius: 8px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 4px; margin-bottom: 22px; }
.pp-login__tabs { display: flex; gap: 4px; }
.pp-login__tab {
	flex: 1; padding: 12px 14px; background: #f9fafb !important; color: #4b5563 !important;
	border: 0; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s;
}
.pp-login__tab:hover { background: #f3f4f6 !important; color: #111827 !important; }
.pp-login__tab.is-active { background: #000 !important; color: #fff !important; }

/* Form card */
.pp-login__card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 32px; }
.pp-login__card[hidden] { display: none !important; }
.pp-login__form { display: flex; flex-direction: column; gap: 18px; }
.pp-login__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pp-login__field label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 6px; }
.pp-login__field input[type="text"],
.pp-login__field input[type="email"],
.pp-login__field input[type="password"] {
	width: 100%; padding: 12px 14px; font-size: 14px; font-family: var(--pp-font);
	background: #fff; color: #111827; border: 1px solid #d1d5db; border-radius: 6px; outline: none;
	transition: border-color .15s, box-shadow .15s; box-sizing: border-box;
}
.pp-login__field input:focus { border-color: #000; box-shadow: 0 0 0 2px rgba(0,0,0,.06); }

.pp-login__pw-wrap { position: relative; }
.pp-login__pw-wrap input { padding-right: 38px; }
.pp-login__pw-toggle {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	background: transparent !important; border: 0; padding: 6px; color: #6b7280 !important; cursor: pointer;
}
.pp-login__pw-toggle:hover { color: #111827 !important; }
.pp-login__pw-toggle svg { width: 18px; height: 18px; flex-shrink: 0; }

.pp-login__remember { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4b5563; }
.pp-login__remember input { width: 16px; height: 16px; }

.pp-login__err { font-size: 13px; color: #dc2626; margin: 0; font-weight: 500; }
.pp-login__ok  { font-size: 13px; color: #047857; margin: 0; font-weight: 500; }
.pp-login__err[hidden], .pp-login__ok[hidden] { display: none !important; }

.pp-login__submit {
	width: 100%; padding: 13px; background: #000 !important; color: #fff !important;
	border: 0; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.pp-login__submit:hover:not(:disabled) { background: #1f2937 !important; color: #fff !important; }
.pp-login__submit:disabled { opacity: .6; cursor: default; }

.pp-login__forgot { font-size: 13px; text-align: center; color: #4b5563; margin: 4px 0 0; }
.pp-login__forgot a { color: #000; font-weight: 500; text-decoration: underline; }
.pp-login__forgot a:hover { color: #4b5563; }

.pp-login__legal { font-size: 12px; text-align: center; color: #6b7280; margin: 24px 0 0; line-height: 1.6; }
.pp-login__legal a { color: #000; text-decoration: underline; }
.pp-login__legal a:hover { color: #4b5563; }

/* ═══════════════════════════════════════════════════════════════
   BLOG INDEX + SINGLE POST
   ═══════════════════════════════════════════════════════════════ */
.pp-blog { min-height: 100vh; background: #f9fafb; }

/* Sticky category filter */
.pp-blog__filter-bar {
	position: sticky; top: 0; z-index: 40;
	background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
	border-bottom: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pp-blog__filter-inner {
	max-width: 1200px; margin: 0 auto; padding: 12px 16px;
	display: flex; gap: 8px; overflow-x: auto;
	-ms-overflow-style: none; scrollbar-width: none;
}
.pp-blog__filter-inner::-webkit-scrollbar { display: none; }
.pp-blog__filter {
	flex-shrink: 0; padding: 8px 16px; border-radius: 4px;
	background: #f3f4f6 !important; color: #4b5563 !important;
	font-size: 13px; font-weight: 500; text-decoration: none;
	white-space: nowrap; transition: all .15s;
}
.pp-blog__filter:hover { background: #e5e7eb !important; color: #111827 !important; }
.pp-blog__filter.is-active { background: #000 !important; color: #fff !important; }

.pp-blog__wrap { max-width: 1200px; margin: 0 auto; padding: 32px 16px 64px; }
@media (min-width: 768px) { .pp-blog__wrap { padding: 48px 24px 80px; } }

.pp-blog__sect-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pp-blog__sect-title { font-size: 20px; font-weight: 800; color: #111827; margin: 0; }
@media (min-width: 768px) { .pp-blog__sect-title { font-size: 26px; } }
.pp-blog__sect-pill { display: inline-flex; align-items: center; gap: 6px; background: #f3f4f6; color: #374151; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; }
.pp-blog__pulse { width: 7px; height: 7px; background: #6b7280; border-radius: 50%; animation: ppPulse 1.5s ease-in-out infinite; }
@keyframes ppPulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* Featured hero card */
.pp-blog__featured { margin-bottom: 48px; }
.pp-blog__featured-card {
	display: block; text-decoration: none; color: inherit;
	background: #fff; border-radius: 18px; overflow: hidden;
	border: 2px solid #f3f4f6;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
	transition: box-shadow .4s, transform .4s;
}
.pp-blog__featured-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.18); transform: translateY(-4px); }
.pp-blog__featured-media {
	position: relative; height: 240px;
	background-size: cover; background-position: center; background-color: #f3f4f6;
}
@media (min-width: 768px) { .pp-blog__featured-media { height: 360px; } }
.pp-blog__featured-badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; }
.pp-blog__badge { font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 4px; }
.pp-blog__badge--dark  { background: #111827; color: #fff; }
.pp-blog__badge--light { background: rgba(255,255,255,.92); color: #111827; backdrop-filter: blur(4px); }

.pp-blog__featured-body { padding: 24px; }
@media (min-width: 768px) { .pp-blog__featured-body { padding: 32px; } }
.pp-blog__featured-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b7280; margin-bottom: 12px; flex-wrap: wrap; }
.pp-blog__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.pp-blog__author { color: #374151; font-weight: 600; }
.pp-blog__sep { color: #d1d5db; }
.pp-blog__featured-title { font-size: 22px; font-weight: 800; color: #111827; margin: 0 0 12px; line-height: 1.25; }
@media (min-width: 768px) { .pp-blog__featured-title { font-size: 30px; } }
.pp-blog__featured-excerpt { font-size: 15px; color: #4b5563; line-height: 1.6; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pp-blog__read-link { font-size: 14px; font-weight: 600; color: #111827; }

/* All articles grid */
.pp-blog__list { display: block; }
.pp-blog__grid {
	display: grid; gap: 24px;
	grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .pp-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pp-blog__grid { grid-template-columns: repeat(3, 1fr); } }

/* Blog card (used in grid + related posts) */
.pp-blog-card {
	display: flex; flex-direction: column; background: #fff;
	border-radius: 14px; overflow: hidden; border: 1px solid #f3f4f6;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
	text-decoration: none; color: inherit;
	transition: box-shadow .35s, transform .35s;
}
.pp-blog-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.12); transform: translateY(-4px); }
.pp-blog-card__media {
	position: relative; height: 200px;
	background-size: cover; background-position: center; background-color: #f3f4f6;
}
.pp-blog-card__cat {
	position: absolute; top: 14px; left: 14px;
	background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
	color: #111827; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 4px;
}
.pp-blog-card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.pp-blog-card__title { font-size: 16px; font-weight: 700; color: #111827; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pp-blog-card__excerpt { font-size: 13px; color: #6b7280; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.pp-blog-card__meta { display: flex; gap: 6px; font-size: 12px; color: #9ca3af; }

/* Pagination */
.pp-blog__pagination { margin-top: 40px; display: flex; justify-content: center; }
.pp-blog__pagination .page-numbers { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.pp-blog__pagination a, .pp-blog__pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; background: #fff; color: #374151; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; text-decoration: none; transition: all .15s; }
.pp-blog__pagination a:hover { background: #f3f4f6; color: #111827; }
.pp-blog__pagination .current { background: #000 !important; color: #fff !important; border-color: #000; }

.pp-blog__empty { text-align: center; padding: 60px 20px; color: #6b7280; }

/* ─── Single Post ─── */
.pp-post { background: #fff; }
.pp-post__hero {
	position: relative; min-height: 360px; padding: 80px 20px 60px;
	background-size: cover; background-position: center; background-color: #111827;
	color: #fff;
}
@media (min-width: 768px) { .pp-post__hero { min-height: 460px; padding: 100px 32px 80px; } }
.pp-post__hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.75));
}
.pp-post__hero-inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.pp-post__back { display: inline-block; font-size: 13px; color: rgba(255,255,255,.85); text-decoration: none; margin-bottom: 18px; }
.pp-post__back:hover { color: #fff; }
.pp-post__cat-pill { display: inline-block; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); color: #fff !important; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 4px; text-decoration: none; margin-bottom: 18px; }
.pp-post__cat-pill:hover { background: rgba(255,255,255,.28); color: #fff !important; }
.pp-post__title { font-size: 28px; font-weight: 800; color: #fff; line-height: 1.2; margin: 0 0 18px; }
@media (min-width: 768px) { .pp-post__title { font-size: 44px; } }
.pp-post__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.85); }
.pp-post__author { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; text-decoration: none; font-weight: 600; }
.pp-post__author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.pp-post__sep { color: rgba(255,255,255,.5); }

.pp-post__body {
	max-width: 760px; margin: 0 auto; padding: 64px 20px 48px;
	padding-top: 64px !important; /* wins over the global article padding-top reset above */
}
@media (min-width: 768px) { .pp-post__body { padding: 88px 32px 64px; padding-top: 88px !important; } }

/* Content + TOC sidebar layout */
.pp-post__body.has-toc { max-width: 1180px; }
@media (min-width: 1024px) {
	.pp-post__body.has-toc {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 260px;
		align-items: start;
		gap: 56px;
	}
}
.pp-post__main { min-width: 0; }

/* AI / reader summary box */
.pp-post__summary {
	background: #f8f9fa;
	border-left: 4px solid #111827;
	border-radius: 6px;
	padding: 22px 26px;
	margin-bottom: 36px;
}
.pp-post__summary-label {
	font-size: 26px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
	color: #111827; margin-bottom: 14px; line-height: 1.2;
}
@media (min-width: 768px) { .pp-post__summary-label { font-size: 30px; } }
.pp-post__summary p { font-size: 15.5px; line-height: 1.75; color: #374151; margin: 0 0 10px; }
.pp-post__summary p:last-child { margin-bottom: 0; }

/* End-of-article call to action box */
.pp-post__cta {
	background: #f8f9fa;
	border-left: 4px solid #111827;
	border-radius: 6px;
	padding: 26px 28px;
	margin: 40px 0;
}
.pp-post__cta-title { font-size: 21px; font-weight: 800; color: #111827; margin: 0 0 10px; }
.pp-post__cta p { font-size: 15.5px; line-height: 1.75; color: #374151; margin: 0 0 10px; }
.pp-post__cta p:last-child { margin-bottom: 0; }

.pp-post__content { font-size: 17px; line-height: 1.75; color: #374151; }
.pp-post__content > * { margin-bottom: 22px; }
.pp-post__content h2, .pp-post__content h3, .pp-post__content h4 {
	color: #111827; margin-top: 36px; margin-bottom: 14px; font-weight: 800; line-height: 1.3;
	scroll-margin-top: 110px;
}
.pp-post__content h2 { font-size: 26px; }
.pp-post__content h3 { font-size: 22px; }
.pp-post__content h4 { font-size: 19px; }
.pp-post__content p { margin: 0 0 22px; }
.pp-post__content a { color: #000; text-decoration: underline; }
.pp-post__content a:hover { color: #4b5563; }
.pp-post__content img { max-width: 100%; height: auto; border-radius: 10px; margin: 28px 0; display: block; }
.pp-post__content ul, .pp-post__content ol { margin: 0 0 22px; padding-left: 26px; }
.pp-post__content ul { list-style: disc; }
.pp-post__content ol { list-style: decimal; }
.pp-post__content ul ul { list-style: circle; margin: 8px 0 0; }
.pp-post__content ul ul ul, .pp-post__content ol ul ul { list-style: square; }
.pp-post__content li { margin-bottom: 8px; }
.pp-post__content li > ul, .pp-post__content li > ol { margin-top: 8px; margin-bottom: 0; }
.pp-post__content blockquote {
	border-left: 4px solid #000; padding: 6px 22px;
	margin: 28px 0; font-style: italic; color: #1f2937; background: #f9fafb;
}
.pp-post__content code {
	background: #f3f4f6; color: #111827; padding: 2px 6px; border-radius: 4px; font-size: 14px;
}
.pp-post__content pre {
	background: #111827; color: #f9fafb; padding: 18px; border-radius: 8px; overflow-x: auto;
}
.pp-post__content hr { border: 0; border-top: 1px solid #e5e7eb; margin: 36px 0; }
.pp-post__content table {
	width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 22px;
}
.pp-post__content th, .pp-post__content td {
	padding: 10px 14px; border: 1px solid #e5e7eb; text-align: left;
}
.pp-post__content th { background: #f9fafb; font-weight: 700; color: #111827; }

/* ── Table of contents sidebar ─────────────────────────────── */
.pp-toc {
	border: 1px solid #f3f4f6;
	border-radius: 12px;
	background: #f9fafb;
}
@media (min-width: 1024px) {
	.pp-toc {
		position: sticky;
		top: 96px;
		align-self: start;
		max-height: calc(100vh - 128px);
		overflow-y: auto;
		padding: 22px 20px;
	}
}

.pp-toc__label {
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
	color: #9ca3af; margin-bottom: 10px;
}

.pp-toc__list { list-style: none; margin: 0; padding: 0; }
.pp-toc__list--nested { margin: 4px 0 6px 14px; padding-left: 12px; border-left: 1px solid #e5e7eb; }
.pp-toc__item { margin: 0; }

.pp-toc__link {
	display: block;
	padding: 6px 0 6px 12px;
	margin-left: -13px;
	font-size: 13.5px;
	line-height: 1.45;
	color: #4b5563;
	text-decoration: none;
	border-left: 2px solid transparent;
	transition: color .15s ease, border-color .15s ease;
}
.pp-toc__item--h2 > .pp-toc__link { font-weight: 700; color: #111827; }
.pp-toc__item--h3 > .pp-toc__link { font-size: 13px; }
.pp-toc__item--h4 > .pp-toc__link { font-size: 12.5px; color: #6b7280; }
.pp-toc__link:hover { color: #000; }
.pp-toc__link.is-active {
	color: #000 !important;
	border-left-color: #000;
	font-weight: 700;
}

.pp-toc__mobile-toggle { display: none; }

@media (max-width: 1023.98px) {
	.pp-toc {
		margin-bottom: 32px;
		background: transparent;
		border: none;
	}
	.pp-toc__mobile-toggle {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		width: 100%; padding: 14px 18px;
		background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px;
		font-size: 14px; font-weight: 700; color: #111827;
		cursor: pointer; text-align: left;
	}
	.pp-toc__chevron { flex-shrink: 0; transition: transform .2s ease; }
	.pp-toc[data-open="true"] .pp-toc__mobile-toggle { border-radius: 10px 10px 0 0; }
	.pp-toc[data-open="true"] .pp-toc__chevron { transform: rotate(180deg); }

	.pp-toc__panel {
		max-height: 0;
		overflow: hidden;
		background: #f9fafb;
		border: 1px solid #e5e7eb; border-top: none;
		border-radius: 0 0 10px 10px;
		transition: max-height .3s ease;
	}
	.pp-toc[data-open="true"] .pp-toc__panel {
		max-height: 70vh;
		overflow-y: auto;
		padding: 6px 18px 18px;
	}
	.pp-toc__label { display: none; }

	/* Show the (collapsed) TOC above the article body on mobile/tablet */
	.pp-post__body.has-toc { display: flex; flex-direction: column; }
	.pp-post__body.has-toc .pp-toc { order: -1; }
}

.pp-post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid #e5e7eb; }
.pp-post__tag {
	background: #f3f4f6; color: #4b5563 !important; padding: 6px 12px; border-radius: 4px;
	font-size: 13px; text-decoration: none; transition: background .15s;
}
.pp-post__tag:hover { background: #e5e7eb; color: #111827 !important; }

.pp-post__author-card {
	margin-top: 40px; background: #f9fafb; border-radius: 14px;
	padding: 24px; display: flex; gap: 18px; align-items: flex-start;
	border: 1px solid #f3f4f6;
}
.pp-post__author-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pp-post__author-label { font-size: 12px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.pp-post__author-name { font-size: 17px; font-weight: 700; color: #111827; margin: 0 0 8px; }
.pp-post__author-bio { font-size: 14px; color: #6b7280; margin: 0; line-height: 1.55; }

/* Previous / Next post nav */
.pp-post__adjacent {
	max-width: 760px; margin: 0 auto; padding: 0 20px 48px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (min-width: 768px) { .pp-post__adjacent { padding: 0 32px 64px; } }
.pp-post__adjacent-link {
	display: flex; flex-direction: column; gap: 6px;
	padding: 18px 20px; border: 1px solid #e5e7eb; border-radius: 10px;
	text-decoration: none; transition: border-color .15s ease, background .15s ease;
}
.pp-post__adjacent-link:hover { border-color: #111827; background: #f9fafb; }
.pp-post__adjacent-link--next { grid-column: 2; text-align: right; align-items: flex-end; }
.pp-post__adjacent-dir { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9ca3af; }
.pp-post__adjacent-title {
	font-size: 15px; font-weight: 700; color: #111827; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 639px) {
	.pp-post__adjacent { grid-template-columns: 1fr; }
	.pp-post__adjacent-link--next { grid-column: 1; text-align: left; align-items: flex-start; }
	.pp-post__adjacent-spacer { display: none; }
}

/* Related */
.pp-post__related { background: #f9fafb; padding: 56px 20px; }
.pp-post__related-inner { max-width: 1200px; margin: 0 auto; }
.pp-post__related-title { font-size: 22px; font-weight: 800; color: #111827; margin: 0 0 24px; }
@media (min-width: 768px) { .pp-post__related-title { font-size: 28px; } }
.pp-post__related-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px)  { .pp-post__related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pp-post__related-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Order Received / Thank You page
   ========================================================================== */
.pp-thankyou__card-wrap { max-width: 640px; margin: 0 auto 24px; }
.pp-thankyou__card { background: #fff; border: 1px solid #f3f4f6; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 40px 24px; text-align: center; }
.pp-thankyou__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #ecfdf5; display: flex; align-items: center; justify-content: center; }
.pp-thankyou__icon svg { width: 34px; height: 34px; flex-shrink: 0; color: #059669; }
.pp-thankyou__icon--error svg { color: #9ca3af; }
.pp-thankyou__title { font-size: 26px; font-weight: 700; color: #111827; margin: 0 0 12px; letter-spacing: 0; }
.pp-thankyou__text { font-size: 14px; line-height: 1.6; color: #6b7280; max-width: 420px; margin: 0 auto 24px; }
.pp-thankyou__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; border-top: 1px solid #f3f4f6; padding-top: 20px; }
.pp-thankyou__meta-item { display: flex; flex-direction: column; gap: 4px; }
.pp-thankyou__meta-item span { font-size: 12px; color: #9ca3af; text-transform: uppercase; letter-spacing: .03em; }
.pp-thankyou__meta-item strong { font-size: 14px; font-weight: 600; color: #111827; }

.pp-thankyou__details { max-width: 880px; margin: 0 auto 24px; }
.pp-thankyou__details h2 { font-size: 16px; font-weight: 600; color: #111827; margin: 0 0 16px; }
.pp-thankyou__details h2:not(:first-child) { margin-top: 28px; }
.pp-thankyou__details table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-thankyou__details th,
.pp-thankyou__details td { padding: 10px 12px; border-bottom: 1px solid #f3f4f6; text-align: left; }
.pp-thankyou__details tfoot th,
.pp-thankyou__details tfoot td { border-bottom: none; }
.pp-thankyou__details address { font-style: normal; line-height: 1.6; color: #374151; font-size: 14px; }
.pp-thankyou__details .woocommerce-customer-details { display: grid; gap: 24px; margin-top: 8px; }
@media (min-width: 640px) {
	.pp-thankyou__details .woocommerce-customer-details { grid-template-columns: 1fr 1fr; }
}

.pp-thankyou__next { max-width: 880px; margin: 0 auto 24px; }
.pp-thankyou__next-list { list-style: disc; padding-left: 20px; margin: 0; display: grid; gap: 8px; font-size: 14px; line-height: 1.55; color: #374151; }

.pp-thankyou__actions { max-width: 480px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 480px) { .pp-thankyou__actions { flex-direction: row; } }
.pp-thankyou__btn { flex: 1; margin-bottom: 0; }
.pp-thankyou__btn--outline { display: block; width: 100%; padding: 16px; background: #fff; color: #000 !important; border: 1px solid #000; text-align: center; text-decoration: none; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; transition: all .2s; box-sizing: border-box; }
.pp-thankyou__btn--outline:hover { background: #f3f4f6; }

@media (max-width: 767px) {
	.pp-thankyou__card { padding: 32px 20px; }
	.pp-thankyou__meta { grid-template-columns: 1fr; }
}
