/**
 * Furniture Plus Core - Design System & Shared Tokens
 *
 * SINGLE SOURCE OF TRUTH for the --fpp-* token set.
 * Do not re-declare these tokens in plugin or theme stylesheets; consuming
 * stylesheets should only reference var(--fpp-*).
 *
 * Strictly zero emojis - vector icons only.
 */

:root {
  /* --- Brand ------------------------------------------------------------- */
  --fpp-primary: #181716;
  --fpp-secondary: #272522;
  --fpp-accent: #b8860b;
  --fpp-accent-hover: #9e6b38;
  --fpp-accent-subtle: rgba(184, 134, 11, 0.12);
  --fpp-accent-subtle-solid: #fdf6e7;

  /* --- Surfaces ---------------------------------------------------------- */
  --fpp-paper: #f8f7f4;
  --fpp-paper-subtle: #f2efe9;
  --fpp-surface: #ffffff;
  --fpp-border: #e5e1d8;
  --fpp-border-dark: #bcb5a6;
  --fpp-muted: #68645e;

  /* --- Semantic states ---------------------------------------------------
     Both names are kept deliberately: --fpp-success/--fpp-danger are the
     canonical names, --fpp-green/--fpp-danger-bg are retained as aliases so
     existing markup keeps working. They must not diverge in value. */
  --fpp-success: #26634c;
  --fpp-success-subtle: #f0f7f4;
  --fpp-green: #26634c;
  --fpp-green-bg: #eef7f2;
  --fpp-danger: #a92323;
  --fpp-danger-subtle: #fdf2f2;
  --fpp-danger-bg: #fdf2f2;
  --fpp-warning: #9e6b38;
  --fpp-warning-subtle: #fef8ee;
  --fpp-amber: #b45309;
  --fpp-amber-bg: #fef3c7;
  --fpp-blue: #1d4ed8;
  --fpp-blue-bg: #eff6ff;

  /* --- Typography -------------------------------------------------------- */
  --fpp-font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fpp-font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fpp-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* --- Radii ------------------------------------------------------------- */
  --fpp-radius-sm: 4px;
  --fpp-radius-md: 8px;
  --fpp-radius-lg: 12px;
  --fpp-radius-pill: 9999px;

  /* --- Elevation --------------------------------------------------------- */
  --fpp-shadow-sm: 0 2px 8px rgba(24, 23, 22, 0.04);
  --fpp-shadow-md: 0 8px 24px rgba(24, 23, 22, 0.07);
  --fpp-shadow-lg: 0 16px 36px rgba(24, 23, 22, 0.12);

  /* --- Spacing scale ----------------------------------------------------- */
  --fpp-space-1: 4px;
  --fpp-space-2: 8px;
  --fpp-space-3: 12px;
  --fpp-space-4: 16px;
  --fpp-space-5: 20px;
  --fpp-space-6: 24px;
  --fpp-space-8: 32px;
  --fpp-space-10: 40px;

  /* --- Admin surface -----------------------------------------------------
     WordPress's own admin greys, mapped to the brand palette so the wp-admin
     tool screens and the front-end portals read as one product. */
  --fpp-admin-border: var(--fpp-border);
  --fpp-admin-card-bg: var(--fpp-surface);
  --fpp-admin-muted: #646970;
}

/* ==========================================================================
   Global utilities
   ========================================================================== */

.fpp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.fpp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}

.fpp-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.fpp-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--fpp-radius-pill);
  font-family: var(--fpp-font-sans);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--fpp-border);
  background: var(--fpp-surface);
  color: var(--fpp-primary);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
}

.fpp-btn-pill:hover {
  border-color: var(--fpp-accent);
  color: var(--fpp-accent);
}

.fpp-btn-pill.is-active,
.fpp-btn-pill-primary {
  background: var(--fpp-primary);
  border-color: var(--fpp-primary);
  color: #ffffff;
}

.fpp-btn-pill-primary:hover {
  background: var(--fpp-accent);
  border-color: var(--fpp-accent);
  color: #ffffff;
}

/* Solid + outline action buttons. The front end had three conflicting copies
   of these (core / portal / theme); this is now the only definition. */
.fpp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--fpp-primary);
  color: #ffffff;
  font-family: var(--fpp-font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 11px 20px;
  border-radius: var(--fpp-radius-sm);
  border: 1px solid var(--fpp-primary);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fpp-btn-primary:hover {
  background: var(--fpp-accent);
  border-color: var(--fpp-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
}

.fpp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--fpp-primary);
  font-family: var(--fpp-font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  padding: 10px 20px;
  border-radius: var(--fpp-radius-sm);
  border: 1px solid var(--fpp-border);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fpp-btn-outline:hover {
  border-color: var(--fpp-accent);
  color: var(--fpp-accent);
}

/* Label span inside an action button. JS swaps its text ("Submit Inquiry" ->
   "Submitting...") so it needs to be a stable, inline-flex-safe box. */
.fpp-btn-text {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}

/* While an async action is in flight, the label is swapped and the button
   disabled; show a spinner beside it so the state change is visible. */
.fpp-btn.is-loading .fpp-btn-text,
.fpp-inquiry-submit-btn.is-loading .fpp-btn-text {
  opacity: 0.85;
}

.fpp-spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: fppSpin 0.6s linear infinite;
  flex-shrink: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .fpp-spinner { animation-duration: 1.6s; }
}

/* Inert controls must look inert on every AJAX path, not only inside
   .fpp-builder-summary (which is where the old rule was scoped). */
.fpp-btn-primary:disabled,
.fpp-btn-outline:disabled,
.fpp-btn-pill:disabled,
.fpp-inquiry-submit-btn:disabled,
.fpp-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* ==========================================================================
   Badges & status
   ========================================================================== */

.fpp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--fpp-radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.fpp-badge-gold {
  background: var(--fpp-accent-subtle);
  color: var(--fpp-accent);
  border: 1px solid rgba(184, 134, 11, 0.25);
}

.fpp-badge-green,
.fpp-badge-success {
  background: var(--fpp-success-subtle);
  color: var(--fpp-success);
  border: 1px solid rgba(38, 99, 76, 0.25);
}

.fpp-badge-danger {
  background: var(--fpp-danger-subtle);
  color: var(--fpp-danger);
  border: 1px solid rgba(169, 35, 35, 0.25);
}

.fpp-badge-warning {
  background: var(--fpp-warning-subtle);
  color: var(--fpp-warning);
  border: 1px solid rgba(158, 107, 56, 0.25);
}

.fpp-badge-muted {
  background: var(--fpp-paper-subtle);
  color: var(--fpp-muted);
  border: 1px solid var(--fpp-border);
}

/* ==========================================================================
   Surfaces
   ========================================================================== */

.fpp-card {
  background: var(--fpp-surface);
  border: 1px solid var(--fpp-border);
  border-radius: var(--fpp-radius-md);
  padding: 24px;
  box-shadow: var(--fpp-shadow-sm);
  box-sizing: border-box;
}

.fpp-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fpp-primary);
  margin-bottom: 18px;
}

.fpp-card-title h4 {
  font-size: 16px;
  margin: 0;
}

/* Section eyebrow label */
.fpp-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  color: var(--fpp-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.fpp-form-group {
  margin-bottom: 20px;
}

.fpp-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--fpp-primary);
}

.fpp-form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--fpp-radius-sm);
  border: 1px solid var(--fpp-border);
  font-family: var(--fpp-font-sans);
  font-size: 14px;
  line-height: 1.4;
  box-sizing: border-box;
  background: var(--fpp-surface);
  color: var(--fpp-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fpp-form-control:focus {
  outline: none;
  border-color: var(--fpp-accent);
  box-shadow: 0 0 0 3px var(--fpp-accent-subtle);
}

.fpp-form-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--fpp-muted);
}

/* Inline validation/error text. Previously emitted by set-builder.js with no
   CSS rule at all, so "choose 2 more pieces" rendered as body copy. */
.fpp-component-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--fpp-danger);
}

.fpp-component-error:empty {
  display: none;
}

/* ==========================================================================
   Tables
   ========================================================================== */

.fpp-table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--fpp-surface);
  border: 1px solid var(--fpp-border);
  border-radius: var(--fpp-radius-md);
  box-shadow: var(--fpp-shadow-sm);
}

.fpp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.fpp-table th {
  background: var(--fpp-paper);
  color: var(--fpp-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 14px 20px;
  border-bottom: 1px solid var(--fpp-border);
}

.fpp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--fpp-border);
  color: var(--fpp-primary);
  vertical-align: middle;
}

.fpp-table tr:last-child td {
  border-bottom: none;
}

.fpp-table tbody tr:hover td {
  background: #faf9f6;
}

/* ==========================================================================
   Notices
   ========================================================================== */

.fpp-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--fpp-accent-subtle-solid);
  border-left: 4px solid var(--fpp-accent);
  border-radius: var(--fpp-radius-sm);
  color: var(--fpp-primary);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  margin: 20px 0;
}

.fpp-notice-success {
  background: var(--fpp-success-subtle);
  border-left-color: var(--fpp-success);
}

.fpp-notice-error {
  background: var(--fpp-danger-subtle);
  border-left-color: var(--fpp-danger);
}

/* ==========================================================================
   Modals
   ========================================================================== */

.fpp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 23, 22, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.fpp-modal-card {
  background: var(--fpp-surface);
  border-radius: var(--fpp-radius-md);
  border: 1px solid var(--fpp-border);
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-shadow: var(--fpp-shadow-lg);
  animation: fppModalFadeIn 0.2s ease-out;
}

@keyframes fppModalFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fpp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--fpp-border);
  background: var(--fpp-paper);
}

.fpp-modal-title {
  font-family: var(--fpp-font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--fpp-primary);
}

.fpp-modal-body {
  padding: 24px;
}

.fpp-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 24px;
  background: var(--fpp-paper);
  border-top: 1px solid var(--fpp-border);
}

.fpp-modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--fpp-border);
  border-radius: var(--fpp-radius-sm);
  background: var(--fpp-surface);
  color: var(--fpp-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.fpp-modal-close-btn:hover {
  border-color: var(--fpp-danger);
  color: var(--fpp-danger);
}

/* ==========================================================================
   Portals
   ========================================================================== */

.fpp-portal-container {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 24px;
  font-family: var(--fpp-font-sans);
  color: var(--fpp-primary);
  box-sizing: border-box;
}

.fpp-portal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--fpp-border);
  padding-bottom: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.fpp-portal-title {
  font-family: var(--fpp-font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--fpp-primary);
  letter-spacing: -0.02em;
}

.fpp-portal-subtitle {
  font-size: 14px;
  color: var(--fpp-muted);
  margin: 0;
}

.fpp-portal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fpp-portal-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--fpp-border);
  margin-bottom: 32px;
  overflow-x: auto;
}

.fpp-portal-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fpp-muted);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.fpp-portal-tab:hover {
  color: var(--fpp-primary);
}

.fpp-portal-tab.is-active {
  color: var(--fpp-primary);
  font-weight: 600;
  border-bottom-color: var(--fpp-primary);
}

/* Tab panels are hidden by a class rather than an inline style, so the
   attribute stays out of the markup and JS only toggles state. */
.fpp-tab-content {
  display: none;
}

.fpp-tab-content.is-active {
  display: block;
}

/* ==========================================================================
   Header bar
   ========================================================================== */

/* The word "Cart" beside the cart icon in the site header. Emitted by
   fpp_header_bar but never given a rule, so it inherited body type. */
.fpp-cart-label {
  font-size: 13px;
  font-weight: 500;
  color: inherit;
}

/* ==========================================================================
   Status badges (order / proposal lifecycle)
   ========================================================================== */

.fpp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--fpp-radius-pill);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  background: var(--fpp-paper-subtle);
  color: var(--fpp-muted);
  border: 1px solid var(--fpp-border);
}

.fpp-status-pending,
.fpp-status-on-hold {
  background: var(--fpp-warning-subtle);
  color: var(--fpp-warning);
  border-color: rgba(158, 107, 56, 0.25);
}

.fpp-status-processing {
  background: var(--fpp-blue-bg);
  color: var(--fpp-blue);
  border-color: rgba(29, 78, 216, 0.25);
}

.fpp-status-approved,
.fpp-status-completed {
  background: var(--fpp-success-subtle);
  color: var(--fpp-success);
  border-color: rgba(38, 99, 76, 0.25);
}

.fpp-status-rejected,
.fpp-status-cancelled,
.fpp-status-failed,
.fpp-status-refunded {
  background: var(--fpp-danger-subtle);
  color: var(--fpp-danger);
  border-color: rgba(169, 35, 35, 0.25);
}

/* ==========================================================================
   Catalogue & product cards  (shared by the portal and showcase catalog)
   ==========================================================================
   These were defined twice — once in furniture-plus-portal/assets/portal.css
   and once in furniture-plus-catalog/assets/css/catalog.css — with the catalog
   copy consistently winning because it loads later. They are component
   primitives shared by both plugins, so they live here and are defined once.
   ========================================================================== */

/* --- Filter tabs ------------------------------------------------------- */

.fpp-cat-filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.fpp-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--fpp-radius-pill);
  border: 1px solid var(--fpp-border);
  background: var(--fpp-paper);
  color: var(--fpp-primary);
  font-family: var(--fpp-font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fpp-tab-btn:hover {
  border-color: var(--fpp-accent);
  background: var(--fpp-surface);
  color: var(--fpp-accent);
}

.fpp-tab-btn.is-active {
  background: var(--fpp-primary);
  border-color: var(--fpp-primary);
  color: #ffffff;
  box-shadow: var(--fpp-shadow-sm);
}

.fpp-tab-label {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 500;
}

.fpp-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--fpp-radius-pill);
  background: var(--fpp-paper-subtle);
  color: var(--fpp-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.fpp-tab-btn:hover .fpp-tab-count {
  background: var(--fpp-accent-subtle);
  color: var(--fpp-accent);
}

.fpp-tab-btn.is-active .fpp-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* --- Catalogue shell --------------------------------------------------- */

.fpp-catalogue-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 24px 80px;
  box-sizing: border-box;
  font-family: var(--fpp-font-sans);
}

.fpp-catalogue-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--fpp-border);
}

.fpp-catalogue-title {
  font-family: var(--fpp-font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  margin: 6px 0 12px;
  color: var(--fpp-primary);
  letter-spacing: -0.02em;
}

.fpp-catalogue-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fpp-muted);
  max-width: 760px;
  margin: 0;
}

.fpp-cat-section {
  margin-bottom: 64px;
}

.fpp-section-desc {
  font-size: 14px;
  color: var(--fpp-muted);
  margin: 6px 0 0;
  max-width: 640px;
  line-height: 1.55;
}

/* --- Product grid ------------------------------------------------------ */

.fpp-suites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  box-sizing: border-box;
}

.fpp-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  box-sizing: border-box;
}

.fpp-prod-card {
  display: flex;
  flex-direction: column;
  background: var(--fpp-surface);
  border: 1px solid var(--fpp-border);
  border-radius: var(--fpp-radius-md);
  overflow: hidden;
  box-shadow: var(--fpp-shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.fpp-prod-card:hover {
  border-color: var(--fpp-accent);
  box-shadow: var(--fpp-shadow-md);
}

/* Set by the catalogue filter scripts to hide a non-matching card. The rule
   previously existed only in portal.css, so filtering was inert on any page
   that loaded catalog.css without it. */
.fpp-prod-card.is-hidden {
  display: none !important;
}

.fpp-prod-media {
  position: relative;
  width: 100%;
  height: 240px;
  max-height: 240px;
  background: var(--fpp-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  box-sizing: border-box;
}

.fpp-prod-media img {
  max-height: 208px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.fpp-prod-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.fpp-prod-title {
  font-family: var(--fpp-font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.3;
  color: var(--fpp-primary);
}

.fpp-prod-title a {
  color: inherit;
  text-decoration: none;
}

.fpp-prod-title a:hover {
  color: var(--fpp-accent);
}

.fpp-prod-materials {
  font-size: 12px;
  color: var(--fpp-muted);
  line-height: 1.5;
  margin: 0 0 14px;
}

.fpp-prod-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--fpp-border);
}

.fpp-prod-pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fpp-price-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fpp-muted);
}

.fpp-prod-price {
  font-size: 19px;
  font-weight: 600;
  color: var(--fpp-primary);
  line-height: 1.2;
}

.fpp-suite-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(24, 23, 22, 0.88);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--fpp-radius-sm);
  z-index: 2;
}

/* "Price on application" trade badge. The showcase catalog renders this as
   accent-coloured text rather than a filled pill, which is the treatment that
   was actually visible in production. */
.fpp-spec-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fpp-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 1024px) {
  .fpp-prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .fpp-suites-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .fpp-prod-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .fpp-catalogue-title {
    font-size: 26px;
  }
}

/* --- Catalogue breadcrumbs & action affordances ------------------------- */

.fpp-breadcrumbs {
  font-size: 13px;
  color: var(--fpp-muted);
  margin-bottom: 16px;
}

.fpp-breadcrumbs a {
  color: var(--fpp-muted);
  text-decoration: none;
}

.fpp-breadcrumbs a:hover {
  color: var(--fpp-accent);
}

.fpp-breadcrumbs span {
  color: var(--fpp-primary);
  font-weight: 600;
}

.fpp-prod-card:hover .fpp-prod-media img {
  transform: scale(1.04);
}

/* Category pill overlaid on a product image (portal catalogue). */
.fpp-prod-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(24, 23, 22, 0.85);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--fpp-radius-sm);
  backdrop-filter: blur(4px);
}

.fpp-btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 8px 18px;
  box-sizing: border-box;
  border-radius: var(--fpp-radius-sm);
  border: 1px solid var(--fpp-primary);
  background: var(--fpp-primary);
  color: #ffffff;
  font-family: var(--fpp-font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fpp-btn-add-cart:hover {
  background: var(--fpp-secondary);
  border-color: var(--fpp-secondary);
  color: #ffffff;
  box-shadow: var(--fpp-shadow-sm);
}

/* WooCommerce injects <br> inside its add-to-cart labels; these buttons are
   flex containers so the break would add an unwanted gap. */
.fpp-btn-add-cart br,
.fpp-tab-btn br {
  display: none;
}

