/* Luxury Presence design system: components.
   Depends on tokens.css (CSS variables). Values come from the Figma file
   "NEW Brand Book 26" > Typography > Button Styles / Typography Spec.
   Hover and focus states are NOT in the brand book; they are added here for usability. */

.lp-eyebrow { font: inherit; }

/* ---------- Buttons ---------- */
.lp-btn {
  --_bg: transparent; --_border: transparent; --_color: var(--lp-color-primary-deep-black);
  --_py: var(--lp-space-button-y); --_px: var(--lp-space-button-x);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--_py) var(--_px);
  background: var(--_bg); color: var(--_color);
  border: 1px solid var(--_border); border-radius: var(--_radius, var(--lp-radius-button));
  font-family: var(--lp-font-sans);
  font-size: var(--lp-type-button-size); font-weight: var(--lp-type-button-weight);
  line-height: var(--lp-type-button-line-height); letter-spacing: var(--lp-type-button-letter-spacing);
  text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: opacity .15s ease;
}
.lp-btn:hover { opacity: .88; }
.lp-btn:focus-visible { outline: 2px solid var(--lp-color-primary-deep-black); outline-offset: 3px; }

.lp-btn--gold         { --_bg: var(--lp-color-accent-k-gold); }
.lp-btn--gold-outline { --_bg: var(--lp-color-primary-tech-white); --_border: var(--lp-color-border-gold); }
.lp-btn--small        { --_py: var(--lp-space-button-sm-y); --_px: var(--lp-space-button-sm-x); }
/* All buttons are K Gold. "Soft" means a softer (rounder) corner radius, not a different color.
   Soft radius = --lp-radius-button-soft (10px), decided by the team. Figma still draws these at 4px. */
.lp-btn--gold-soft    { --_bg: var(--lp-color-accent-k-gold); --_radius: var(--lp-radius-button-soft); }
.lp-btn--ghost-soft   { --_bg: var(--lp-color-primary-tech-white); --_radius: var(--lp-radius-button-soft); }

.lp-btn--plain {
  padding: 0; border: 0; background: none; letter-spacing: 0; text-transform: none;
  font-weight: var(--lp-type-link-plain-weight); color: var(--lp-color-text-link-plain);
}

.lp-btn__icon {
  width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22 viewBox=%220 0 16 16%22 fill=%22none%22 aria-hidden=%22true%22%3E %3Cpath d=%22M11.8625 5.27475C12.1765 4.96071 12.1765 4.45156 11.8625 4.13752C11.5485 3.82349 11.0393 3.82349 10.7253 4.13752L3.90194 10.9609C3.58791 11.2749 3.58791 11.7841 3.90194 12.0981C4.21598 12.4121 4.72513 12.4121 5.03917 12.0981L11.8625 5.27475Z%22 fill=%22black%22/%3E %3Cpath d=%22M5.03918 4.94161C4.59506 4.94161 4.23504 4.58159 4.23504 4.13747C4.23504 3.69336 4.59506 3.33333 5.03918 3.33333H11.8625C12.2931 3.33333 12.6472 3.67242 12.6659 4.10254L12.9502 10.6416C12.9695 11.0853 12.6255 11.4606 12.1818 11.4799C11.7381 11.4992 11.3627 11.1551 11.3435 10.7114L11.0926 4.94161H5.03918Z%22 fill=%22black%22/%3E %3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22 viewBox=%220 0 16 16%22 fill=%22none%22 aria-hidden=%22true%22%3E %3Cpath d=%22M11.8625 5.27475C12.1765 4.96071 12.1765 4.45156 11.8625 4.13752C11.5485 3.82349 11.0393 3.82349 10.7253 4.13752L3.90194 10.9609C3.58791 11.2749 3.58791 11.7841 3.90194 12.0981C4.21598 12.4121 4.72513 12.4121 5.03917 12.0981L11.8625 5.27475Z%22 fill=%22black%22/%3E %3Cpath d=%22M5.03918 4.94161C4.59506 4.94161 4.23504 4.58159 4.23504 4.13747C4.23504 3.69336 4.59506 3.33333 5.03918 3.33333H11.8625C12.2931 3.33333 12.6472 3.67242 12.6659 4.10254L12.9502 10.6416C12.9695 11.0853 12.6255 11.4606 12.1818 11.4799C11.7381 11.4992 11.3627 11.1551 11.3435 10.7114L11.0926 4.94161H5.03918Z%22 fill=%22black%22/%3E %3C/svg%3E") center / contain no-repeat;
}

/* ---------- Pills ---------- */
.lp-pill {
  display: inline-flex; align-items: center; padding: var(--lp-space-pill);
  border-radius: var(--lp-radius-pill);
  font-family: var(--lp-font-sans);
  font-size: var(--lp-type-pill-size); font-weight: var(--lp-type-pill-weight);
  line-height: var(--lp-type-pill-line-height); letter-spacing: var(--lp-type-pill-letter-spacing);
  text-transform: uppercase; color: var(--lp-color-text-body); white-space: nowrap;
}
.lp-pill--white { background: var(--lp-color-primary-tech-white); border: 1px solid var(--lp-color-border-default); }
.lp-pill--beige { background: var(--lp-color-primary-off-white); border: 1px solid transparent; }

/* ---------- Logo clear space ---------- */
/* Clear space = 1/4 of the logo height on every side. Set --lp-logo-height on the wrapper. */
.lp-logo { display: inline-block; padding: calc(var(--lp-logo-height, 48px) * 0.25); line-height: 0; }
.lp-logo > svg, .lp-logo > img { height: var(--lp-logo-height, 48px); width: auto; display: block; }
