.pp-products {
  background: transparent;
  color: var(--pp-text);
}

.pp-products .site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--pp-border);
  backdrop-filter: blur(12px);
}

.pp-products .main-nav a,
.pp-products .header-actions a,
.pp-products .header-actions button {
  color: var(--pp-text);
}

.pp-products .main-nav a.is-active {
  color: var(--pp-accent);
}

.pp-products__main {
  padding: 0 0 80px;
}

.pp-products__hero.section {
  padding: 0 0 8px;
  margin: 0;
  min-height: auto;
}

.pp-products__hero > .container-fluid > .container {
  padding-top: 0;
}

.pp-products__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--pp-muted);
  margin-bottom: 12px;
}

.pp-products__breadcrumb a {
  color: var(--pp-muted);
  text-decoration: none;
}

.pp-products__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.pp-products__intro h1 {
  margin: 0 0 6px;
  font-size: clamp(32px, 3.8vw, 44px);
  letter-spacing: -0.02em;
  color: var(--pp-text);
}

.pp-products__intro p {
  margin: 0;
  color: var(--pp-muted);
  font-size: 1rem;
}

.pp-products__cta {
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pp-accent), var(--pp-accent-strong));
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(92, 46, 46, 0.22);
}

.pp-products__catalog {
  margin-top: 8px;
}

.pp-products__catalog.section {
  padding: 0 0 64px;
  margin: 0;
}

.pp-products__catalog > .container-fluid > .container {
  padding-top: 0;
}

.pp-products__layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 24px;
}

.pp-products__toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--pp-border);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 18px 40px rgba(61, 31, 31, 0.08);
}

.pp-products__search {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--pp-border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 12px 26px rgba(61,31,31,0.08);
}

.pp-products__search input {
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
  color: var(--pp-text);
}

.pp-products__toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pp-products__filters-pill {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(92, 46, 46, 0.08);
  color: var(--pp-accent);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(92,46,46,0.12);
}

.pp-products__sort {
  border: 1px solid var(--pp-border);
  border-radius: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--pp-text);
}

.pp-products__filters {
  background: var(--pp-surface-soft);
  border: 1px solid var(--pp-border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(61, 31, 31, 0.1);
  height: fit-content;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 96px;
}

.pp-products__filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pp-products__filters-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--pp-text);
}

.pp-products__reset {
  font-size: 0.85rem;
  color: var(--pp-accent-strong);
  text-decoration: none;
}

.pp-products__filter-group {
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--pp-border);
}

.pp-products__filter-group:first-of-type {
  padding-top: 0;
}

.pp-products__filter-group:last-of-type {
  margin-bottom: 0;
  border-bottom: none;
}

.pp-products__filter-group h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--pp-text);
}

.pp-products__checklist {
  display: grid;
  gap: 8px;
}

.pp-products__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--pp-text);
}

.pp-products__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--pp-accent);
}

.pp-products__range {
  display: grid;
  gap: 8px;
}

.pp-products__range input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(92, 46, 46, 0.18);
  outline: none;
}

.pp-products__range input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(92, 46, 46, 0.18);
}

.pp-products__range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pp-gold);
  border: 2px solid rgba(92, 46, 46, 0.25);
  box-shadow: 0 6px 16px rgba(61, 31, 31, 0.12);
  cursor: pointer;
}

.pp-products__range input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pp-gold);
  border: 2px solid rgba(92, 46, 46, 0.25);
  box-shadow: 0 6px 16px rgba(61, 31, 31, 0.12);
  cursor: pointer;
}

.pp-products__range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--pp-muted);
}

.pp-products__apply {
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border: none;
  border-radius: 999px;
  background: #5c2e2e;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(92, 46, 46, 0.22);
}

.pp-products__results {
  min-width: 0;
}

.pp-products__count {
  margin: 0 0 16px;
  color: var(--pp-muted);
}

.pp-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.pp-product-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(92, 46, 46, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(61, 31, 31, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(8px);
}

.pp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(61, 31, 31, 0.16);
}

.pp-product-card__media {
  position: relative;
  display: block;
  padding: 18px;
  border-bottom: 1px solid var(--pp-border);
  background:
    radial-gradient(420px 220px at 65% 30%, rgba(197,142,79,0.14), transparent 60%),
    radial-gradient(520px 260px at 20% 60%, rgba(92,46,46,0.10), transparent 65%),
    rgba(255,255,255,0.7);
}

.pp-product-card__media img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.pp-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(92, 46, 46, 0.92);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.pp-product-card__badge--preorder {
  background: rgba(197, 142, 79, 0.85);
}

.pp-product-card__body {
  padding: 16px;
}

.pp-product-card__body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--pp-text);
}

.pp-product-card__body p {
  margin: 0 0 12px;
  color: var(--pp-muted);
  font-size: 0.9rem;
}

.pp-product-card__price {
  font-weight: 700;
  color: var(--pp-accent);
  margin-bottom: 10px;
}

.pp-product-card__tier-note {
  font-size: 0.82rem;
  color: var(--pp-muted);
  margin-top: -6px;
  margin-bottom: 8px;
}

.pp-product-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pp-product-chip {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(92, 46, 46, 0.1);
  color: var(--pp-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.pp-product-card__actions {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
}

.pp-products__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.pp-products__btn--primary {
  background: linear-gradient(135deg, var(--pp-accent), var(--pp-accent-strong));
  color: #fff;
}

.pp-products__btn--ghost {
  background: #fff;
  color: var(--pp-accent);
  border-color: var(--pp-border);
}

.pp-products__pagination {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--pp-muted);
}

.pp-products__page {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(92, 46, 46, 0.12);
  color: var(--pp-accent);
  text-decoration: none;
}

.pp-products__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px;
  border-radius: 18px;
  background: var(--pp-surface);
  border: 1px dashed var(--pp-border);
}

.pp-products__quote {
  display: grid;
  gap: 12px;
}

.pp-products__field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--pp-text);
}

.pp-products__field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--pp-border);
}

@media (max-width: 980px) {
  .pp-products__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pp-products__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .pp-products__toolbar-actions {
    justify-content: space-between;
  }
}

/* =====================================================
   PRODUCTS PAGE: MOCKUP ALIGNMENT OVERRIDES
   ===================================================== */

body.pp-light.pp-products .pp-products__hero {
    padding: 0 0 8px;
}

body.pp-light.pp-products .pp-products__intro h1 {
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.02em;
}

body.pp-light.pp-products .pp-products__intro p {
  color: rgba(61, 31, 31, 0.6);
}

body.pp-light.pp-products .pp-products__cta {
  background: #5c2e2e;
  box-shadow: 0 12px 26px rgba(92, 46, 46, 0.22);
  padding: 10px 18px;
}

body.pp-light.pp-products .pp-products__toolbar {
  border-radius: 18px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px rgba(61, 31, 31, 0.08);
}

body.pp-light.pp-products .pp-products__search {
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.9);
}

body.pp-light.pp-products .pp-products__search input {
  font-size: 0.95rem;
}

body.pp-light.pp-products .pp-products__filters-pill {
  background: rgba(92, 46, 46, 0.08);
  color: #5c2e2e;
  border: 1px solid rgba(92, 46, 46, 0.12);
  font-size: 0.85rem;
}

body.pp-light.pp-products .pp-products__sort {
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(92, 46, 46, 0.16);
}

body.pp-light.pp-products .pp-products__filters {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(92, 46, 46, 0.12);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(61, 31, 31, 0.08);
  backdrop-filter: blur(10px);
}

body.pp-light.pp-products .pp-products__check {
  color: rgba(61, 31, 31, 0.75);
}

body.pp-light.pp-products .pp-products__apply {
  border-radius: 14px;
  background: #5c2e2e;
  box-shadow: 0 12px 26px rgba(92, 46, 46, 0.22);
}

body.pp-light.pp-products .pp-products__grid .pp-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(92, 46, 46, 0.1);
  box-shadow: 0 18px 40px rgba(61, 31, 31, 0.1);
}

body.pp-light.pp-products .pp-products__grid .pp-card-media {
  background:
    radial-gradient(420px 220px at 60% 30%, rgba(197, 142, 79, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.6);
  padding: 14px;
}

body.pp-light.pp-products .pp-products__grid .pp-card-media img {
  aspect-ratio: 4 / 3;
}

body.pp-light.pp-products .pp-products__grid .pp-badge {
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  padding: 5px 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

body.pp-light.pp-products .pp-products__grid .pp-badge--stock {
  background: #a8b7a1;
  color: #2c3a2b;
}

body.pp-light.pp-products .pp-products__grid .pp-badge--preorder {
  background: #c7a277;
  color: #3d1f1f;
}

body.pp-light.pp-products .pp-products__grid .pp-card-title {
  font-size: 0.98rem;
}

body.pp-light.pp-products .pp-products__grid .pp-card-sub {
  color: rgba(61, 31, 31, 0.55);
  min-height: 36px;
}

body.pp-light.pp-products .pp-products__grid .pp-price {
  color: #5c2e2e;
  font-weight: 700;
}

body.pp-light.pp-products .pp-products__grid .pp-chip {
  background: rgba(92, 46, 46, 0.08);
  color: rgba(61, 31, 31, 0.75);
  border: 1px solid rgba(92, 46, 46, 0.1);
}

body.pp-light.pp-products .pp-products__grid .pp-actions .pp-btn-primary {
  background: #5c2e2e;
  color: #fff;
  box-shadow: 0 12px 24px rgba(92, 46, 46, 0.22);
}

body.pp-light.pp-products .pp-products__grid .pp-actions .pp-btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(92, 46, 46, 0.18);
  color: #5c2e2e;
}

body.pp-light.pp-products .pp-products__pagination {
  gap: 10px;
  margin-top: 18px;
}

body.pp-light.pp-products .pp-products__page {
  background: rgba(92, 46, 46, 0.08);
  color: #5c2e2e;
}

/* =====================================================
   PRODUCTS PAGE: DEVICES DASHBOARD LAYOUT (02_01_32)
   ===================================================== */

body.pp-light.pp-products .pp-products__main--devices {
  padding-top: 18px;
}

body.pp-light.pp-products .pp-products__layout--devices {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

body.pp-light.pp-products .pp-products__sidebar {
  display: grid;
  gap: 18px;
}

body.pp-light.pp-products .pp-products__sidebar-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(92, 46, 46, 0.12);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 18px 44px rgba(61, 31, 31, 0.08);
  backdrop-filter: blur(10px);
}

body.pp-light.pp-products .pp-products__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

body.pp-light.pp-products .pp-products__avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(197, 142, 79, 0.18);
  color: #5c2e2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
}

body.pp-light.pp-products .pp-products__profile-title {
  margin: 0;
  font-weight: 700;
  color: #3d1f1f;
}

body.pp-light.pp-products .pp-products__profile-sub {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: rgba(61, 31, 31, 0.6);
}

body.pp-light.pp-products .pp-products__profile-badge {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(92, 46, 46, 0.12);
  color: #5c2e2e;
  font-size: 0.75rem;
  font-weight: 700;
}

body.pp-light.pp-products .pp-products__sidebar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #5c2e2e;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(92, 46, 46, 0.2);
}

body.pp-light.pp-products .pp-products__side-nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

body.pp-light.pp-products .pp-products__side-nav a {
  text-decoration: none;
  color: rgba(61, 31, 31, 0.7);
  padding: 8px 10px;
  border-radius: 12px;
}

body.pp-light.pp-products .pp-products__side-nav a.is-active,
body.pp-light.pp-products .pp-products__side-nav a:hover {
  background: rgba(92, 46, 46, 0.1);
  color: #5c2e2e;
  font-weight: 600;
}

body.pp-light.pp-products .pp-products__panel {
  min-width: 0;
}

body.pp-light.pp-products .pp-products__panel-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(92, 46, 46, 0.12);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 24px 50px rgba(61, 31, 31, 0.08);
  backdrop-filter: blur(12px);
}

body.pp-light.pp-products .pp-products__panel-head h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  color: #3d1f1f;
}

body.pp-light.pp-products .pp-products__panel-head p {
  margin: 6px 0 0;
  color: rgba(61, 31, 31, 0.6);
}

body.pp-light.pp-products .pp-products__toolbar {
  margin: 12px 0 18px;
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 40px rgba(61, 31, 31, 0.08);
}

body.pp-light.pp-products .pp-products__search {
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(92, 46, 46, 0.12);
}

body.pp-light.pp-products .pp-products__search-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(61, 31, 31, 0.45);
}

body.pp-light.pp-products .pp-products__search-icon svg {
  width: 18px;
  height: 18px;
}

body.pp-light.pp-products .pp-products__toolbar-actions {
  gap: 12px;
}

body.pp-light.pp-products .pp-products__filters-pill {
  background: rgba(92, 46, 46, 0.08);
  border: 1px solid rgba(92, 46, 46, 0.14);
  color: #5c2e2e;
  font-weight: 600;
}

body.pp-light.pp-products .pp-products__sort {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(92, 46, 46, 0.14);
}

body.pp-light.pp-products .pp-products__grid--devices {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

body.pp-light.pp-products .pp-device-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(92, 46, 46, 0.12);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 16px 36px rgba(61, 31, 31, 0.08);
}

body.pp-light.pp-products .pp-device-card__media {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  background: rgba(244, 236, 236, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.pp-light.pp-products .pp-device-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.pp-light.pp-products .pp-device-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.pp-light.pp-products .pp-device-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body.pp-light.pp-products .pp-device-card__top h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #3d1f1f;
}

body.pp-light.pp-products .pp-device-card__status {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #dfe6dd;
  color: #2c3a2b;
  font-weight: 600;
  white-space: nowrap;
}

body.pp-light.pp-products .pp-device-card__status.is-preorder {
  background: #f1e2cf;
  color: #5c2e2e;
}

body.pp-light.pp-products .pp-device-card__meta {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(61, 31, 31, 0.6);
  line-height: 1.4;
}

body.pp-light.pp-products .pp-device-card__price {
  font-weight: 700;
  color: #5c2e2e;
  font-size: 0.9rem;
}

body.pp-light.pp-products .pp-device-card__tier {
  font-size: 0.75rem;
  color: rgba(61, 31, 31, 0.55);
  margin-top: -2px;
}

body.pp-light.pp-products .pp-device-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.pp-light.pp-products .pp-device-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

body.pp-light.pp-products .pp-device-card__btn {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

body.pp-light.pp-products .pp-device-card__btn--primary {
  background: #5c2e2e;
  color: #fff;
  box-shadow: 0 10px 22px rgba(92, 46, 46, 0.22);
}

body.pp-light.pp-products .pp-device-card__btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(92, 46, 46, 0.18);
  color: #5c2e2e;
}

@media (max-width: 1200px) {
  body.pp-light.pp-products .pp-products__grid--devices {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 980px) {
  body.pp-light.pp-products .pp-products__layout--devices {
    grid-template-columns: 1fr;
  }

  body.pp-light.pp-products .pp-products__grid--devices {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}

@media (max-width: 640px) {
  body.pp-light.pp-products .pp-products__grid--devices {
    grid-template-columns: 1fr;
  }

  body.pp-light.pp-products .pp-device-card {
    grid-template-columns: 64px 1fr;
  }
}
