/* ═══════════════════════════════════
   XO LOVE — Base Reset & Typography
   ═══════════════════════════════════ */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--xo-font-size);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--xo-font);
  background: var(--xo-bg);
  color: var(--xo-text);
  line-height: var(--xo-line-height);
  min-height: 100vh;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--xo-transition);
}

/* Images */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul, ol { list-style: none; }

/* Headings — accent color on page titles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 2rem; color: var(--xo-accent); margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 12px; }
h3 { font-size: 1.2rem; }

/* Container */
.xo-container {
  max-width: var(--xo-container);
  margin: 0 auto;
  padding: 0 var(--xo-gap);
}

/* Section spacing */
.xo-section {
  padding: var(--xo-section-gap) 0;
}

/* Buttons */
.xo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--xo-font);
  border: none;
  border-radius: var(--xo-radius-sm);
  cursor: pointer;
  transition: all var(--xo-transition);
  text-decoration: none;
  line-height: 1;
}

.xo-btn-primary {
  background: var(--xo-accent);
  color: #000;
}
.xo-btn-primary:hover {
  background: var(--xo-accent-hover);
  box-shadow: 0 0 20px var(--xo-accent-glow);
}

.xo-btn-outline {
  background: transparent;
  color: var(--xo-text);
  border: 1px solid var(--xo-border);
}
.xo-btn-outline:hover {
  border-color: var(--xo-text-secondary);
}

.xo-btn-gold {
  background: linear-gradient(135deg, var(--xo-gold), var(--xo-gold-light));
  color: #1a1000;
}
.xo-btn-gold:hover {
  box-shadow: 0 0 20px var(--xo-gold-glow);
}

/* Tags / Chips */
.xo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--xo-bg-elevated);
  border: 1px solid var(--xo-border);
  border-radius: var(--xo-radius-pill);
  font-size: 0.8rem;
  color: var(--xo-text-secondary);
  transition: all var(--xo-transition);
}
.xo-tag:hover {
  border-color: var(--xo-accent);
  color: var(--xo-accent);
  background: var(--xo-accent-glow);
}

/* Section title */
.xo-sec-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--xo-text-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--xo-border);
  font-weight: 500;
}

/* Badge */
.xo-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--xo-radius-pill);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.xo-badge-new       { background: var(--xo-accent); color: #000; }
.xo-badge-exclusive  { background: linear-gradient(135deg, var(--xo-gold), var(--xo-gold-light)); color: #1a1000; }
.xo-badge-top        { background: linear-gradient(135deg, #f472b6, var(--xo-pink)); color: #fff; }

/* Availability dot */
.xo-available {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--xo-green);
  background: rgba(52, 211, 153, 0.1);
  padding: 5px 12px;
  border-radius: var(--xo-radius-pill);
  white-space: nowrap;
}
.xo-available::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--xo-green);
  border-radius: 50%;
  animation: xo-pulse 2s infinite;
}
@keyframes xo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hide WP auto-generated headings */
h2.screen-reader-text { display: none !important; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
