/**
 * PetorPaw B2B Design System — standalone, load after style.css
 */
:root {
  --pp-navy: #0b1220;
  --pp-navy-soft: #151f32;
  --pp-green: #1b4332;
  --pp-green-mid: #2d6a4f;
  --pp-gold: #c9920a;
  --pp-gold-light: #f5e6b8;
  --pp-text: #1e293b;
  --pp-muted: #64748b;
  --pp-border: #e2e8f0;
  --pp-bg: #f8fafc;
  --pp-bg-warm: #f4f7f5;
  --pp-white: #ffffff;
  --pp-radius: 14px;
  --pp-radius-sm: 8px;
  --pp-shadow: 0 4px 24px rgba(11, 18, 32, 0.06);
  --pp-shadow-lg: 0 20px 50px rgba(11, 18, 32, 0.12);
  --pp-max: 1180px;
  --pp-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pp-site { font-family: var(--pp-font); color: var(--pp-text); -webkit-font-smoothing: antialiased; }
.pp-wrap { max-width: var(--pp-max); margin: 0 auto; padding: 0 24px; }
.pp-main { overflow: hidden; }

/* Header overrides */
#pc-header .navbar { background: var(--pp-white); border-bottom: 1px solid var(--pp-border); box-shadow: none; }
#pc-header .logo { padding: 12px 0; }
#pc-header .logo img { max-height: 42px; width: auto; }
#pc-header .line { display: flex; align-items: center; }
#pc-header .x7 { flex: 1; min-width: 0; }
#pc-header .nav { display: flex; flex-wrap: nowrap; justify-content: center; float: none; white-space: nowrap; }
#pc-header .nav li { float: none; flex-shrink: 0; }
#pc-header .nav li a { line-height: 64px; font-size: 14px; font-weight: 500; color: var(--pp-muted); padding: 0 12px; white-space: nowrap; }
#pc-header .nav li.active > a.first-level,
#pc-header .nav li a.first-level:hover,
#pc-header .nav li:hover > a.first-level { color: var(--pp-green); }
#pc-header .nav li.active > a.first-level::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 16px;
  height: 2px; background: var(--pp-gold); border-radius: 2px;
}
#pc-header .nav li ul { top: 64px; border: 1px solid var(--pp-border); border-radius: var(--pp-radius-sm); box-shadow: var(--pp-shadow-lg); }
#pc-header .nav li ul li a { line-height: 42px; font-size: 13px; }
#pc-header .nav li ul li a:hover { background: #eef6f1; color: var(--pp-green); }
#pc-header .header-tools { height: 64px; }
#pc-header .lang-select { border-radius: 999px; border-color: var(--pp-border); background: var(--pp-bg); font-size: 13px; }

/* Buttons */
.pp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; font-size: 14px; font-weight: 600; border-radius: 999px;
  border: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  text-decoration: none; line-height: 1.2;
}
.pp-btn--gold { background: var(--pp-gold); color: #fff; }
.pp-btn--gold:hover { background: #b88408; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,146,10,.35); }
.pp-btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.pp-btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.pp-btn--green { background: var(--pp-green); color: #fff; }
.pp-btn--green:hover { background: var(--pp-green-mid); color: #fff; }
.pp-btn--ghost { background: var(--pp-bg); color: var(--pp-green); border: 1px solid var(--pp-border); }
.pp-btn--sm { padding: 8px 16px; font-size: 13px; border-radius: var(--pp-radius-sm); }
.pp-btn--block { width: 100%; }

/* Section typography */
.pp-sec { padding: 72px 0; }
.pp-sec--gray { background: var(--pp-bg); }
.pp-sec--dark { background: var(--pp-navy); color: #fff; }
.pp-sec--warm { background: var(--pp-bg-warm); }
.pp-sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.pp-sec-head--left { text-align: left; margin-left: 0; }
.pp-kicker {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pp-green-mid); margin: 0 0 12px;
}
.pp-sec--dark .pp-kicker { color: var(--pp-gold-light); }
.pp-sec-head h2 {
  font-size: clamp(28px, 3.5vw, 38px); font-weight: 700; letter-spacing: -.03em;
  color: var(--pp-navy); margin: 0 0 14px; line-height: 1.15;
}
.pp-sec--dark .pp-sec-head h2 { color: #fff; }
.pp-lead { font-size: 17px; line-height: 1.7; color: var(--pp-muted); margin: 0; }
.pp-sec--dark .pp-lead { color: rgba(255,255,255,.72); }

/* Hero — native full-width slider (replaces Owl on homepage) */
.pp-hero { position: relative; background: var(--pp-navy); width: 100%; overflow: hidden; }
.pp-hero__frame {
  width: 100%; position: relative; overflow: hidden;
  height: clamp(260px, 38vw, 520px); max-height: 520px;
}
.pp-hero__slider { position: relative; width: 100%; height: 100%; }
.pp-hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .55s ease; pointer-events: none;
}
.pp-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; pointer-events: auto; }
.pp-hero__slide a { display: block; width: 100%; height: 100%; position: relative; }
.pp-hero__slide a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,18,32,.72) 0%, rgba(11,18,32,.25) 55%, transparent 100%);
}
.pp-hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; image-orientation: from-image;
}
.pp-hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%; background: rgba(11,18,32,.55); color: #fff;
  cursor: pointer; opacity: 0; transition: opacity .3s, background .25s;
  display: flex; align-items: center; justify-content: center; padding: 0;
  backdrop-filter: blur(6px);
}
.pp-hero__frame:hover .pp-hero__nav { opacity: 1; }
.pp-hero__nav:hover { background: rgba(27,67,50,.85); }
.pp-hero__nav--prev { left: 20px; }
.pp-hero__nav--next { right: 20px; }
.pp-hero__nav i { font-size: 20px; line-height: 1; }
.pp-hero__dots {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3;
  display: flex; justify-content: center; align-items: center; gap: 6px;
}
.pp-hero__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.42); cursor: pointer;
  transition: width .35s ease, background .35s ease, border-radius .35s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.pp-hero__dot.is-active { width: 26px; border-radius: 4px; background: var(--pp-gold); }
.pp-hero__frame.pp-hero--single .pp-hero__nav,
.pp-hero__frame.pp-hero--single .pp-hero__dots { display: none; }

/* Trust bar */
.pp-trust { background: var(--pp-white); border-bottom: 1px solid var(--pp-border); padding: 28px 0; }
.pp-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pp-trust__item { display: flex; align-items: flex-start; gap: 14px; }
.pp-trust__icon {
  width: 44px; height: 44px; border-radius: 12px; background: #eef6f1;
  color: var(--pp-green); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.pp-trust__item strong { display: block; font-size: 15px; color: var(--pp-navy); margin-bottom: 4px; }
.pp-trust__item span { font-size: 13px; color: var(--pp-muted); line-height: 1.45; }

/* About split */
.pp-about__split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.pp-about__copy .pp-kicker { text-align: left; }
.pp-about__copy h2 { font-size: clamp(30px, 3.5vw, 42px); font-weight: 700; letter-spacing: -.03em; margin: 0 0 18px; color: var(--pp-navy); }
.pp-about__text { font-size: 17px; line-height: 1.75; color: var(--pp-muted); margin: 0 0 28px; }
.pp-about__list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.pp-about__list li { display: flex; gap: 10px; font-size: 15px; color: var(--pp-text); line-height: 1.5; }
.pp-about__list li i { color: var(--pp-green-mid); margin-top: 3px; }
.pp-about__visual { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; max-height: 520px; box-shadow: var(--pp-shadow-lg); }
.pp-about__visual img { width: 100%; height: 100%; object-fit: cover; }
.pp-about__tag {
  position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); padding: 14px 18px; border-radius: 12px; box-shadow: var(--pp-shadow);
}
.pp-about__tag strong { display: block; font-size: 14px; color: var(--pp-navy); }
.pp-about__tag span { font-size: 12px; color: var(--pp-muted); }

/* Catalog tabs + grid */
.pp-tabs__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.pp-tabs__nav a {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--pp-muted); border: 1px solid var(--pp-border); background: var(--pp-white); text-decoration: none;
}
.pp-tabs__nav li.active a, .pp-tabs__nav a:hover { background: var(--pp-green); color: #fff; border-color: var(--pp-green); }
.pp-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.pp-card {
  background: var(--pp-white); border: 1px solid var(--pp-border); border-radius: var(--pp-radius);
  overflow: hidden; box-shadow: var(--pp-shadow); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.pp-card:hover { transform: translateY(-4px); box-shadow: var(--pp-shadow-lg); }
.pp-card__media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--pp-bg); }
.pp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pp-card:hover .pp-card__media img { transform: scale(1.04); }
.pp-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.pp-card__body h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.45; min-height: 2.9em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pp-card__body h3 a { color: var(--pp-navy); text-decoration: none; }
.pp-card__body h3 a:hover { color: var(--pp-green); }
.pp-card__foot { margin-top: auto; }

/* Trade program cards (shared) */
.pp-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.pp-prog { background: var(--pp-white); border: 1px solid var(--pp-border); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--pp-shadow); transition: transform .3s, box-shadow .3s; }
.pp-prog:hover { transform: translateY(-5px); box-shadow: var(--pp-shadow-lg); }
.pp-prog__media { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pp-prog__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.pp-prog:hover .pp-prog__media img { transform: scale(1.05); }
.pp-prog__badge {
  position: absolute; top: 14px; left: 14px; background: var(--pp-gold); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px;
}
.pp-prog__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pp-prog__meta { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--pp-muted); margin: 0 0 8px; }
.pp-prog__body h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.pp-prog__body h3 a { color: var(--pp-navy); text-decoration: none; }
.pp-prog__desc { font-size: 14px; line-height: 1.65; color: var(--pp-muted); margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pp-prog__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--pp-border); font-size: 13px; font-weight: 600; color: var(--pp-green); text-decoration: none;
}
.pp-prog__link:hover { color: var(--pp-gold); gap: 10px; }

/* News */
.pp-news__layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.pp-news__featured { border-radius: var(--pp-radius); overflow: hidden; position: relative; box-shadow: var(--pp-shadow); }
.pp-news__featured img { width: 100%; height: 340px; object-fit: cover; display: block; }
.pp-news__featured-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px;
  background: linear-gradient(transparent, rgba(11,18,32,.85));
}
.pp-news__featured-cap h3 { margin: 0 0 8px; font-size: 20px; }
.pp-news__featured-cap h3 a { color: #fff; text-decoration: none; }
.pp-news__featured-cap time { font-size: 13px; color: rgba(255,255,255,.7); }
.pp-news__list { display: grid; gap: 12px; }
.pp-news__row {
  display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center;
  padding: 14px 16px; background: var(--pp-white); border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-sm); transition: box-shadow .2s;
}
.pp-news__row:hover { box-shadow: var(--pp-shadow); }
.pp-news__row img { width: 88px; height: 60px; object-fit: cover; border-radius: 6px; }
.pp-news__row h4 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.pp-news__row h4 a { color: var(--pp-navy); text-decoration: none; }
.pp-news__row h4 a:hover { color: var(--pp-green); }

/* CTA band */
.pp-cta-band {
  background: linear-gradient(135deg, var(--pp-green) 0%, var(--pp-green-mid) 100%);
  padding: 56px 0; text-align: center;
}
.pp-cta-band h2 { font-size: clamp(24px, 3vw, 32px); color: #fff; margin: 0 0 12px; font-weight: 700; }
.pp-cta-band p { color: rgba(255,255,255,.85); font-size: 16px; margin: 0 0 28px; }
.pp-cta-band__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Trade list page */
.pp-page-hero {
  background: linear-gradient(135deg, var(--pp-navy) 0%, var(--pp-green) 100%);
  padding: 48px 0 52px; color: #fff;
}
.pp-page-hero__bread { font-size: 13px; margin-bottom: 16px; opacity: .8; }
.pp-page-hero__bread a { color: rgba(255,255,255,.9); }
.pp-page-hero h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; margin: 0 0 14px; letter-spacing: -.02em; }
.pp-page-hero__lead { font-size: 17px; line-height: 1.65; opacity: .9; max-width: 680px; margin: 0 0 24px; }
.pp-page-hero__stats { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-stat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 10px 18px; min-width: 130px;
}
.pp-stat span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.pp-stat strong { display: block; font-size: 14px; margin-top: 4px; }

.pp-filter {
  background: var(--pp-white); border-bottom: 1px solid var(--pp-border);
  position: sticky; top: 0; z-index: 8; box-shadow: 0 2px 12px rgba(11,18,32,.04);
}
.pp-filter__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 14px 0; list-style: none; margin: 0; }
.pp-filter__list a {
  display: block; padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--pp-muted); text-decoration: none; border: 1px solid transparent;
}
.pp-filter__list a:hover { color: var(--pp-green); }
.pp-filter__list a.is-active { background: var(--pp-green); color: #fff; }

.pp-gateways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 48px; }
.pp-gateway {
  display: block; padding: 32px; border-radius: 16px; background: var(--pp-white);
  border: 1px solid var(--pp-border); box-shadow: var(--pp-shadow); text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pp-gateway:hover { transform: translateY(-3px); box-shadow: var(--pp-shadow-lg); border-color: var(--pp-green-mid); }
.pp-gateway__icon {
  width: 48px; height: 48px; border-radius: 50%; background: #eef6f1; color: var(--pp-green);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.pp-gateway h3 { font-size: 20px; color: var(--pp-navy); margin: 0 0 10px; }
.pp-gateway p { font-size: 14px; line-height: 1.6; color: var(--pp-muted); margin: 0 0 14px; }
.pp-gateway span { font-size: 13px; font-weight: 600; color: var(--pp-green); }

.pp-list-body { background: var(--pp-bg-warm); padding: 48px 0 64px; }
.pp-list-body .pp-sec-head { margin-bottom: 32px; }

/* Trade detail */
.pp-detail-hero {
  min-height: 320px; max-height: 440px; background-size: cover; background-position: center; position: relative;
}
.pp-detail-hero__mask {
  min-height: 320px; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(11,18,32,.4) 0%, rgba(11,18,32,.88) 100%);
  padding: 40px 0 48px; color: #fff;
}
.pp-detail-hero h1 { font-size: clamp(28px, 3.5vw, 38px); font-weight: 700; margin: 10px 0; max-width: 820px; line-height: 1.2; }
.pp-detail-hero__sub { font-size: 16px; opacity: .9; max-width: 720px; line-height: 1.6; margin: 0; }
.pp-detail-hero__meta { margin-top: 14px; font-size: 13px; opacity: .8; display: flex; gap: 20px; flex-wrap: wrap; }

.pp-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; padding: 32px 0 64px; align-items: start; }
.pp-detail-main { min-width: 0; }
.pp-detail-content {
  background: var(--pp-white); border-radius: var(--pp-radius); border: 1px solid var(--pp-border);
  padding: 36px 40px; box-shadow: var(--pp-shadow);
}
.pp-detail-content .trade-rich-content { font-size: 16px; line-height: 1.85; color: var(--pp-text); }
.pp-detail-content .trade-rich-content h2 {
  font-size: 22px; color: var(--pp-green); border-bottom: 2px solid var(--pp-gold);
  padding-bottom: 8px; margin: 32px 0 16px;
}
.pp-detail-sidebar { display: grid; gap: 20px; }
.pp-sidebar-box {
  background: var(--pp-white); border: 1px solid var(--pp-border); border-radius: var(--pp-radius);
  padding: 24px; box-shadow: var(--pp-shadow);
}
.pp-sidebar-box h3 { font-size: 15px; font-weight: 700; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--pp-gold); }
.pp-sidebar-list { list-style: none; padding: 0; margin: 0; }
.pp-sidebar-list li { padding: 10px 0; border-bottom: 1px solid var(--pp-border); }
.pp-sidebar-list li:last-child { border-bottom: none; }
.pp-sidebar-list a { font-size: 14px; font-weight: 500; color: var(--pp-navy); text-decoration: none; display: block; margin-bottom: 4px; }
.pp-sidebar-list a:hover { color: var(--pp-green); }
.pp-sidebar-list time { font-size: 12px; color: var(--pp-muted); }
.pp-sidebar-cta {
  background: linear-gradient(135deg, var(--pp-green), var(--pp-green-mid));
  border-radius: var(--pp-radius); padding: 24px; color: #fff;
}
.pp-sidebar-cta h3 { color: #fff; border: none; padding: 0; margin: 0 0 8px; }
.pp-sidebar-cta p { font-size: 14px; opacity: .9; margin: 0 0 16px; line-height: 1.55; }

.pp-prenext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pp-prenext a { font-size: 14px; font-weight: 600; color: var(--pp-green); text-decoration: none; }
.pp-prenext small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--pp-muted); margin-bottom: 6px; }

/* Footer touch-up */
footer.bg-main { background: var(--pp-navy) !important; }
footer .contact .media span { background: var(--pp-gold) !important; }

/* Pagination */
.pagination li a { border-radius: var(--pp-radius-sm); }
.pagination li.active a, .pagination li a:hover { background: var(--pp-green) !important; border-color: var(--pp-green) !important; }

/* Responsive */
@media (max-width: 1024px) {
  .pp-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .pp-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pp-about__split { grid-template-columns: 1fr; gap: 40px; }
  .pp-about__visual { max-height: 360px; aspect-ratio: 16/10; }
  .pp-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .pp-news__layout { grid-template-columns: 1fr; }
  .pp-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pp-sec { padding: 48px 0; }
  .pp-wrap { padding: 0 16px; }
  .pp-hero__frame { height: clamp(200px, 56vw, 320px); max-height: 320px; }
  .pp-grid-4, .pp-grid-3, .pp-gateways { grid-template-columns: 1fr; }
  .pp-trust__grid { grid-template-columns: 1fr; }
  .pp-prenext { grid-template-columns: 1fr; }
  #pc-header .nav li a { font-size: 13px; padding: 0 8px; line-height: 56px; }
}

/* Mobile mask */
#mobile-mask .pp-sec { padding: 40px 0; }
#mobile-mask .pp-wrap { padding: 0 14px; }
#mobile-mask .pp-grid-3, #mobile-mask .pp-grid-4 { grid-template-columns: 1fr; gap: 14px; }
#mobile-mask .pp-gateways { grid-template-columns: 1fr; }
#mobile-mask .pp-about__split { grid-template-columns: 1fr; gap: 24px; }
#mobile-mask .pp-hero__frame { height: clamp(180px, 52vw, 240px); max-height: 240px; }
#mobile-mask .pp-trust__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
#mobile-mask .pp-news__featured img { height: 220px; }
#mobile-mask .pp-news__row { grid-template-columns: 72px 1fr; }

/* Mobile horizontal product scroll */
.pp-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(72%, 1fr);
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 8px; scrollbar-width: none;
}
.pp-scroll::-webkit-scrollbar { display: none; }
.pp-scroll .pp-card { scroll-snap-align: start; min-width: 0; }
@media (min-width: 480px) {
  #mobile-mask .pp-scroll { grid-auto-columns: calc(50% - 8px); }
}

/* Channel hero with background image */
.pp-page-hero--channel {
  position: relative; background-size: cover; background-position: center;
  padding: 56px 0 60px; color: #fff;
}
.pp-page-hero--channel .pp-page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,18,32,.82) 0%, rgba(27,67,50,.75) 100%);
}
.pp-page-hero--channel .pp-wrap { position: relative; z-index: 1; }
.pp-page-hero--channel h1 { color: #fff; }

/* Inner page body */
.pp-inner { background: var(--pp-bg-warm); padding: 48px 0 64px; }
.pp-inner--white { background: #fff; }

/* Product list */
.pp-filter-panel {
  background: #fff; border: 1px solid var(--pp-border); border-radius: var(--pp-radius);
  padding: 20px 24px; margin-bottom: 28px; box-shadow: var(--pp-shadow);
}
.pp-filter-panel dl { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 16px; align-items: flex-start; }
.pp-filter-panel dt { font-weight: 600; font-size: 14px; color: var(--pp-navy); min-width: 80px; margin: 0; padding-top: 6px; }
.pp-filter-panel dd { margin: 0; flex: 1; }
.pp-filter-panel .filter-nav li { display: inline-block; margin: 0 6px 6px 0; }
.pp-filter-panel .filter-nav a {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--pp-border); color: var(--pp-muted); text-decoration: none;
}
.pp-filter-panel .filter-nav a.active, .pp-filter-panel .filter-nav a:hover {
  background: var(--pp-green); color: #fff; border-color: var(--pp-green);
}
.pp-product-card__price { font-size: 15px; font-weight: 700; color: var(--pp-gold); margin: 4px 0 8px; }
.pp-product-card__meta { font-size: 12px; color: var(--pp-muted); display: flex; justify-content: space-between; }

/* Article list */
.pp-article-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center;
  padding: 24px; background: #fff; border: 1px solid var(--pp-border); border-radius: var(--pp-radius);
  margin-bottom: 16px; box-shadow: var(--pp-shadow); transition: box-shadow .2s;
}
.pp-article-row:hover { box-shadow: var(--pp-shadow-lg); }
.pp-article-row__img { border-radius: var(--pp-radius-sm); overflow: hidden; aspect-ratio: 16/10; }
.pp-article-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-article-row h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.pp-article-row h3 a { color: var(--pp-navy); text-decoration: none; }
.pp-article-row h3 a:hover { color: var(--pp-green); }
.pp-article-row p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--pp-muted); }
.pp-article-row__date { font-size: 12px; color: var(--pp-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }

/* Article / content detail */
.pp-content-box {
  background: #fff; border: 1px solid var(--pp-border); border-radius: var(--pp-radius);
  padding: 36px 40px; box-shadow: var(--pp-shadow);
}
.pp-content-box h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--pp-navy); margin: 0 0 16px; line-height: 1.25; }
.pp-content-meta { font-size: 13px; color: var(--pp-muted); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--pp-border); }
.pp-content-body { font-size: 16px; line-height: 1.85; color: var(--pp-text); }
.pp-content-body img { max-width: 100%; height: auto; border-radius: var(--pp-radius-sm); }
.pp-content-body h2 { font-size: 22px; color: var(--pp-green); margin: 28px 0 12px; }
.pp-content-body p { margin: 0 0 16px; }

/* Download list */
.pp-download-list { list-style: none; padding: 0; margin: 0; }
.pp-download-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: #fff; border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-sm); margin-bottom: 10px; box-shadow: var(--pp-shadow);
}
.pp-download-list li a { font-size: 15px; font-weight: 500; color: var(--pp-navy); text-decoration: none; flex: 1; }
.pp-download-list li a:hover { color: var(--pp-green); }
.pp-download-list time { font-size: 13px; color: var(--pp-muted); white-space: nowrap; }

/* Contact page */
.pp-contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.pp-contact-info { display: grid; gap: 20px; }
.pp-contact-item { display: flex; gap: 14px; align-items: flex-start; }
.pp-contact-item i { width: 40px; height: 40px; border-radius: 10px; background: #eef6f1; color: var(--pp-green); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.pp-contact-item strong { display: block; font-size: 13px; color: var(--pp-navy); margin-bottom: 4px; }
.pp-contact-item span, .pp-contact-item a { font-size: 15px; color: var(--pp-muted); }
.pp-contact-form-wrap {
  background: linear-gradient(135deg, var(--pp-navy) 0%, var(--pp-green) 100%);
  border-radius: var(--pp-radius); padding: 32px; color: #fff;
}
.pp-contact-form-wrap h2 { color: #fff; margin: 0 0 8px; font-size: 22px; }
.pp-contact-form-wrap p { opacity: .88; margin: 0 0 24px; font-size: 14px; }
.pp-contact-form-wrap .input, .pp-contact-form-wrap textarea, .pp-contact-form-wrap select {
  width: 100%; border-radius: var(--pp-radius-sm); border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.95); padding: 10px 14px; margin-bottom: 12px;
}
.pp-contact-qr { text-align: center; padding: 24px; background: var(--pp-bg); border-radius: var(--pp-radius); border: 1px solid var(--pp-border); }
.pp-contact-qr img { max-width: 160px; margin: 12px auto; display: block; border-radius: 8px; }

/* Product detail — layout shell over legacy markup */
.pp-product-detail { background: var(--pp-bg-warm); padding: 32px 0 64px; }
.pp-product-detail .product-description .padding-large { padding: 28px !important; }
.pp-product-detail .article h1 { font-size: 28px; font-weight: 700; color: var(--pp-navy); }
.pp-product-detail .bg-white, .pp-product-detail .media-y { border-radius: var(--pp-radius); border: 1px solid var(--pp-border); box-shadow: var(--pp-shadow); }
.pp-product-detail .button.bg-yellow { background: var(--pp-gold) !important; border-radius: var(--pp-radius-sm) !important; }

/* Search */
.pp-search-box { max-width: 640px; margin: 0 auto 40px; }
.pp-search-box .input { border-radius: 999px; border: 1px solid var(--pp-border); padding: 14px 20px; font-size: 16px; width: 100%; }

/* Footer redesign */
footer.bg-main, footer.pp-footer {
  background: var(--pp-navy) !important; padding-top: 0;
}
.pp-footer__main { padding: 56px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pp-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(auto-fit, minmax(140px, 1fr)) minmax(220px, 1.3fr);
  gap: 28px 22px; align-items: start;
}
.pp-footer__brand { min-width: 0; }
.pp-footer__col { min-width: 0; }
.pp-footer__contact { min-width: 0; grid-column: -1; }
.pp-footer__brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.68); margin: 14px 0 18px; }
.pp-footer__logo img { max-height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.pp-btn--sm { padding: 10px 18px; font-size: 13px; display: inline-block; }
.pp-footer__col h3 {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.92); margin: 0 0 16px;
}
.pp-footer__col ul { list-style: none; padding: 0; margin: 0; }
.pp-footer__col li { margin-bottom: 8px; }
.pp-footer__col a { font-size: 13px; color: rgba(255,255,255,.62); text-decoration: none; line-height: 1.5; }
.pp-footer__col a:hover { color: var(--pp-gold-light); }
.pp-footer__contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.pp-footer__contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,.65); }
.pp-footer__contact-list i { color: var(--pp-gold); margin-top: 2px; }
.pp-footer__contact-list a { color: rgba(255,255,255,.65); }
.pp-footer__markets {
  padding: 28px 0 32px; border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.pp-footer__markets h3 {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.88); margin: 0 0 14px;
}
.pp-footer__market-links {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
}
.pp-footer__market-links a {
  font-size: 13px; color: rgba(255,255,255,.58); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.pp-footer__market-links a:hover {
  color: var(--pp-gold-light); border-bottom-color: rgba(201,146,10,.35);
}
#mobile-mask .pp-footer__market-links { gap: 8px 14px; }
#mobile-mask .pp-footer__market-links a { font-size: 12px; }

.pp-footer__bottom { padding: 18px 0 24px; }
.pp-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pp-footer__bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,.48); }
.pp-footer__legal { display: flex; gap: 18px; }
.pp-footer__legal a { font-size: 13px; color: rgba(255,255,255,.55); text-decoration: none; }
.pp-footer__legal a:hover { color: var(--pp-gold-light); }
.pp-footer__brand--mobile p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.65); margin: 0 0 16px; }
.pp-footer__links-mobile { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; }
.pp-footer__links-mobile a { font-size: 13px; color: rgba(255,255,255,.72); text-decoration: none; }
.pp-footer__copy { font-size: 12px; color: rgba(255,255,255,.45); margin: 0 0 6px; }
.pp-footer__copy a { color: rgba(255,255,255,.55); }

/* Mobile bottom bar */
.pp-mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--pp-navy);
  border-top: 1px solid rgba(255,255,255,.1); padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.pp-mbar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; color: rgba(255,255,255,.72); text-decoration: none; padding: 6px 4px;
}
.pp-mbar a i { font-size: 18px; color: var(--pp-gold); }
#mobile-mask { padding-bottom: 64px; }

/* Product detail SEO layout */
.pp-breadcrumb { font-size: 13px; color: var(--pp-muted); margin-bottom: 20px; padding: 12px 0; }
.pp-breadcrumb a { color: var(--pp-muted); }
.pp-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 48px; }
.pp-product-summary h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--pp-navy); margin: 0 0 14px; line-height: 1.25; }
.pp-product-lead { font-size: 16px; line-height: 1.7; color: var(--pp-muted); margin: 0 0 20px; }
.pp-product-price { margin-bottom: 20px; }
.pp-product-price .ey-price { font-size: 22px; font-weight: 700; color: var(--pp-gold); }
.pp-product-desc {
  background: #fff; border: 1px solid var(--pp-border); border-radius: var(--pp-radius);
  padding: 32px 36px; box-shadow: var(--pp-shadow); margin-bottom: 32px;
}
.pp-product-desc h2 { font-size: 22px; font-weight: 700; color: var(--pp-navy); margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--pp-border); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

footer.pp-footer .footer-qr-block .qr img { max-width: 88px; border-radius: 8px; }
footer.pp-footer .footer-qr-tip { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 8px; }

/* Legacy footer overrides cleanup */
footer.pp-footer .container-layout > ul { display: none; }

@media (max-width: 1024px) {
  .pp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-footer__brand { grid-column: 1 / -1; }
  .pp-footer__contact { grid-column: 1 / -1; }
  .pp-product-layout { grid-template-columns: 1fr; gap: 24px; }
  .pp-contact-grid { grid-template-columns: 1fr; }
  .pp-article-row { grid-template-columns: 1fr; }
  .pp-article-row__img { max-height: 200px; }
}
@media (max-width: 768px) {
  .pp-footer__grid { grid-template-columns: 1fr; }
  .pp-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .pp-product-desc { padding: 22px 18px; }
  .pp-content-box { padding: 24px 20px; }
  .pp-page-hero--channel { padding: 40px 0 44px; }
  .pp-download-list li { flex-direction: column; align-items: flex-start; }
}

/* Article hero (no bg image) */
.pp-page-hero--article {
  background: linear-gradient(135deg, var(--pp-navy) 0%, #152238 100%);
  padding: 44px 0 48px;
}
.pp-page-hero--article h1 { color: #fff; font-size: clamp(22px, 5vw, 32px); margin: 12px 0 0; line-height: 1.25; }
.pp-page-hero--article .pp-detail-hero__meta { color: rgba(255,255,255,.75); margin-top: 14px; }

.pp-section-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--pp-navy);
  margin: 0;
}

/* ===== Owl Carousel — global B2B overrides ===== */
.pp-site .owl-carousel { position: relative; }

/* Reset legacy style.css vertical side-dots */
.pp-site .owl-carousel .owl-dots {
  position: absolute; top: auto; left: 0; right: 0; width: 100%;
  transform: none; text-align: center; padding: 0; margin: 0;
}
.pp-site .owl-carousel .owl-dots .owl-dot { display: inline-block; vertical-align: middle; }
.pp-site .owl-carousel .owl-dots .owl-dot span {
  width: 8px; height: 8px; margin: 0 5px; border-radius: 50%;
  background: rgba(11,18,32,.18); display: inline-block;
  transition: width .35s ease, background .35s ease, border-radius .35s ease;
}
.pp-site .owl-carousel .owl-dots .owl-dot.active span,
.pp-site .owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--pp-gold); width: 22px; border-radius: 4px;
}

/* Fix slides-arrow legacy dot offset from style.css */
.pp-site .slides-arrow.dot-center .owl-dots,
.pp-site .slides.dot-center .owl-dots {
  position: absolute !important; top: auto !important; bottom: 28px;
  display: flex; justify-content: center; width: 100%;
}

/* Nav arrows — shared */
.pp-site .owl-carousel .owl-nav .owl-prev,
.pp-site .owl-carousel .owl-nav .owl-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; line-height: 44px; border-radius: 50%;
  background: rgba(11,18,32,.6) !important; border: 1px solid rgba(255,255,255,.12);
  opacity: 0; transition: opacity .3s, background .25s; z-index: 4; text-align: center;
}
.pp-site .owl-carousel:hover .owl-nav .owl-prev,
.pp-site .owl-carousel:hover .owl-nav .owl-next { opacity: 1; }
.pp-site .owl-carousel .owl-nav .owl-prev { left: 16px; right: auto; }
.pp-site .owl-carousel .owl-nav .owl-next { right: 16px; }
.pp-site .owl-carousel .owl-nav .owl-prev i,
.pp-site .owl-carousel .owl-nav .owl-next i {
  font-size: 18px; color: #fff; position: static; left: auto; right: auto;
}

/* Product thumbnail carousel */
.pp-site .pp-product-detail .pro-thumb.owl-carousel { margin-top: 14px; padding: 0 4px; }
.pp-site .pp-product-detail .pro-thumb .item {
  border-radius: var(--pp-radius-sm); overflow: hidden;
  border: 2px solid var(--pp-border); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.pp-site .pp-product-detail .pro-thumb .item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border: none !important;
}
.pp-site .pp-product-detail .pro-thumb .item:hover {
  border-color: var(--pp-gold-light); box-shadow: 0 4px 14px rgba(201,146,10,.15);
}
.pp-site .pp-product-detail .pro-thumb .owl-item.current .item,
.pp-site .pp-product-detail .pro-thumb .item.MagicThumb-selected {
  border-color: var(--pp-gold); box-shadow: 0 4px 14px rgba(201,146,10,.25);
}
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-prev,
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-next {
  width: 32px; height: 32px; line-height: 30px;
  background: #fff !important; border: 1px solid var(--pp-border);
  opacity: 1; box-shadow: var(--pp-shadow);
}
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-prev i,
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-next i { color: var(--pp-navy); font-size: 14px; }
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-prev { left: -6px; }
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-next { right: -6px; }
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-prev:hover,
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-next:hover {
  background: var(--pp-green) !important; border-color: var(--pp-green);
}
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-prev:hover i,
.pp-site .pp-product-detail .pro-thumb .owl-nav .owl-next:hover i { color: #fff; }

/* Related products carousel (legacy carousel-pro) */
.pp-site .carousel-pro.owl-carousel { padding-bottom: 8px; }
.pp-site .carousel-pro .owl-dots { position: relative; top: 20px; padding-bottom: 8px; }
.pp-site .carousel-pro .item.media {
  border-radius: var(--pp-radius); border: 1px solid var(--pp-border);
  overflow: hidden; box-shadow: var(--pp-shadow); transition: box-shadow .25s, transform .25s;
}
.pp-site .carousel-pro .item.media:hover { box-shadow: var(--pp-shadow-lg); transform: translateY(-2px); }
.pp-site .carousel-pro .media-body h2 { font-size: 15px; font-weight: 600; min-height: 44px; line-height: 1.4; }
.pp-site .carousel-pro .media-body h2 a { color: var(--pp-navy); }
.pp-site .carousel-pro .button { background: var(--pp-gold) !important; border-radius: var(--pp-radius-sm) !important; box-shadow: none !important; }

/* Main zoom image on product detail */
.pp-site .pp-product-detail .MagicZoom,
.pp-site .pp-product-detail #zoom1 {
  display: block; border-radius: var(--pp-radius); overflow: hidden;
  border: 1px solid var(--pp-border); box-shadow: var(--pp-shadow); background: #fff;
}
.pp-site .pp-product-detail .zoomimg,
.pp-site .pp-product-detail #zoom1 img {
  width: 100%; aspect-ratio: 1; object-fit: contain; display: block; background: #fff;
}

@media (max-width: 768px) {
  .pp-site .pp-hero__frame .owl-nav .owl-prev,
  .pp-site .pp-hero__frame .owl-nav .owl-next {
    width: 36px; height: 36px; line-height: 36px; opacity: .9;
  }
  .pp-site .pp-hero__frame .owl-nav .owl-prev { left: 10px; }
  .pp-site .pp-hero__frame .owl-nav .owl-next { right: 10px; }
  .pp-site .pp-hero__frame .owl-dots { bottom: 14px; }
  .pp-site .pp-hero__frame .owl-dots .owl-dot span { width: 6px; height: 6px; margin: 0 3px; }
  .pp-site .pp-hero__frame .owl-dot.active span { width: 18px; }
  .pp-site .pp-product-detail .pro-thumb .owl-nav .owl-prev { left: 0; }
  .pp-site .pp-product-detail .pro-thumb .owl-nav .owl-next { right: 0; }
}
