@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&display=swap');

/* ============================================================
   LITERARY RESERVE — WordPress Brand Refresh
   ============================================================ */

/* === HIDE OFF-BRAND PROMOTIONS === */
.elementor-widget-button:has(a[href*="avon.com"]) {
  display: none !important;
}
.elementor-widget-button:has(a[href*="marykay.com"]) {
  display: none !important;
}

/* === CSS VARIABLES === */
:root {
  --lr-bg-darkest: #0a0a0f;
  --lr-bg-dark: #111118;
  --lr-bg-card: #1a1a24;
  --lr-bg-card-hover: #22222f;
  --lr-gold: #c9a962;
  --lr-gold-dim: #a08840;
  --lr-gold-glow: rgba(201, 169, 98, 0.15);
  --lr-copper: #b87333;
  --lr-wine: #722f37;
  --lr-wine-light: #8b3a42;
  --lr-text: #e8e4df;
  --lr-text-secondary: #9a9590;
  --lr-text-dim: #6b6560;
  --lr-border: #2a2a35;
  --lr-border-accent: #3a3a48;
}

/* === FORCE DARK BACKGROUND EVERYWHERE === */
html,
html body,
html body.flavor-flavor,
body,
body #page,
body .site,
body .site-content,
body #content,
body main,
body article,
body .entry-content {
  background: #0a0a0f !important;
  background-color: #0a0a0f !important;
  color: #e8e4df !important;
}

/* Elementor page-level wrappers */
.elementor,
.elementor-inner,
.elementor .elementor-element,
.elementor-page,
div[data-elementor-type],
div[data-elementor-type="wp-page"],
div[data-elementor-type="wp-post"] {
  background: #0a0a0f !important;
  background-color: #0a0a0f !important;
  color: #e8e4df !important;
}

/* Elementor sections — kill all background colors/images */
.elementor-section,
.elementor-section.elementor-section-boxed,
.elementor-section.elementor-section-full_width,
.elementor-section.elementor-section-stretched,
.elementor-top-section,
.elementor-inner-section,
section.elementor-section,
.elementor-section > .elementor-container,
.elementor-column,
.elementor-column-wrap,
.elementor-widget-wrap {
  background-color: transparent !important;
  background-image: none !important;
  background: transparent !important;
}

/* Kill Elementor background overlays */
.elementor-background-overlay {
  background-color: transparent !important;
  background-image: none !important;
  opacity: 0 !important;
}

/* === HEADER & NAVIGATION === */
.flavor-flavor .flavor-flavor__header,
.site-header,
header#masthead,
header,
#masthead,
.flavor-flavor .flavor-flavor__nav,
.main-navigation,
.primary-menu-container,
.flavor-flavor__header-inner {
  background: rgba(10, 10, 15, 0.97) !important;
  background-color: rgba(10, 10, 15, 0.97) !important;
  border-bottom: 1px solid #2a2a35 !important;
}

.site-title,
.site-title a,
.custom-logo-link,
.site-branding a,
.site-branding .site-title a {
  color: #c9a962 !important;
  font-family: 'Cormorant Garamond', serif !important;
  letter-spacing: 3px !important;
}

.main-navigation a,
.primary-menu a,
.primary-menu li a,
.menu-item a,
.menu a,
nav a,
.flavor-flavor .flavor-flavor__nav a,
header a {
  color: #e8e4df !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  font-size: 0.85rem !important;
}

.main-navigation a:hover,
.primary-menu a:hover,
.menu-item a:hover,
nav a:hover,
header a:hover {
  color: #c9a962 !important;
}

.current-menu-item > a,
.current_page_item > a {
  color: #c9a962 !important;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.site-title,
.widget-title,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Playfair Display', serif !important;
  color: #e8e4df !important;
  letter-spacing: 0.02em;
}

h1,
h1.elementor-heading-title,
.elementor-widget-heading h1.elementor-heading-title {
  color: #c9a962 !important;
}

body p,
body li,
body td,
body th,
body span:not(.elementor-icon):not([class*="fa-"]),
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-text-editor p,
.elementor-widget-text-editor span {
  font-family: 'Inter', sans-serif !important;
  color: #e8e4df !important;
}

/* Links */
a,
.elementor-widget a,
.entry-content a {
  color: #c9a962 !important;
  transition: color 0.3s ease;
}

a:hover,
.elementor-widget a:hover {
  color: #b87333 !important;
}

/* === BUTTONS === */
.elementor-button,
.elementor-widget-button .elementor-button,
.elementor-button-wrapper .elementor-button,
button:not(.customize-partial-edit-shortcut-button):not([class*="CodeMirror"]),
input[type="submit"],
.wp-block-button__link,
a.elementor-button {
  background-color: #c9a962 !important;
  background: #c9a962 !important;
  color: #0a0a0f !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 2px !important;
  transition: all 0.3s ease !important;
  font-size: 0.85rem !important;
}

.elementor-button:hover,
a.elementor-button:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #b87333 !important;
  background: #b87333 !important;
  color: #0a0a0f !important;
}

/* Button text color override */
.elementor-button .elementor-button-text,
.elementor-button span,
.elementor-button-content-wrapper {
  color: #0a0a0f !important;
}

/* === ELEMENTOR WIDGETS === */
.elementor-widget,
.elementor-widget-container {
  color: #e8e4df !important;
}

/* Image styling */
.elementor-widget-image img,
.elementor-image img {
  border-radius: 2px;
}

/* === FOOTER === */
.flavor-flavor .flavor-flavor__footer,
.site-footer,
footer,
footer#colophon,
#colophon {
  background: #111118 !important;
  background-color: #111118 !important;
  color: #9a9590 !important;
  border-top: 1px solid #2a2a35 !important;
}

.site-footer a,
footer a,
#colophon a {
  color: #c9a962 !important;
}

.site-footer p,
footer p,
#colophon p,
.site-info,
.site-info a {
  color: #9a9590 !important;
}

/* === SIDEBAR & WIDGETS === */
.widget,
.sidebar .widget,
aside .widget {
  background-color: #1a1a24 !important;
  border: 1px solid #2a2a35 !important;
  border-radius: 2px !important;
  padding: 20px !important;
}

.widget-title {
  color: #c9a962 !important;
  font-family: 'Playfair Display', serif !important;
  border-bottom: 1px solid #2a2a35 !important;
  padding-bottom: 10px !important;
  margin-bottom: 15px !important;
}

/* === FORMS & INPUTS === */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
  background-color: #1a1a24 !important;
  border: 1px solid #2a2a35 !important;
  color: #e8e4df !important;
  font-family: 'Inter', sans-serif !important;
  border-radius: 2px !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #c9a962 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.15) !important;
}

::placeholder {
  color: #6b6560 !important;
}

/* === BLOCKQUOTES === */
blockquote,
.wp-block-quote,
.wp-block-pullquote {
  border-left: 3px solid #c9a962 !important;
  background-color: #1a1a24 !important;
  padding: 20px 25px !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  color: #9a9590 !important;
}

/* === DIVIDERS === */
hr,
.elementor-divider-separator,
.wp-block-separator {
  border-color: #2a2a35 !important;
  background-color: #2a2a35 !important;
}

/* === ICONS === */
.elementor-icon,
.elementor-icon i,
.elementor-widget-icon i {
  color: #c9a962 !important;
}

/* === SOCIAL ICONS === */
.elementor-social-icon,
.elementor-widget-social-icons a {
  background-color: #1a1a24 !important;
  color: #c9a962 !important;
  border: 1px solid #2a2a35 !important;
}

.elementor-social-icon:hover,
.elementor-widget-social-icons a:hover {
  background-color: #c9a962 !important;
  color: #0a0a0f !important;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111118; }
::-webkit-scrollbar-thumb { background: #3a3a48; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a08840; }

/* === SELECTION HIGHLIGHT === */
::selection {
  background-color: #722f37 !important;
  color: #e8e4df !important;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .site-title a {
    font-size: 1.1rem !important;
    letter-spacing: 2px !important;
  }
  h1, .elementor-heading-title {
    font-size: 1.8rem !important;
  }
}

/* === FIX: Hide Twitter share button (now X) === */
.elementor-share-btn_twitter {
  display: none !important;
}

/* === FIX: Contact link display clean URL === */
.elementor-icon-list-text a[href*="undertheradarbooks"] {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}
.elementor-icon-list-text a[href*="undertheradarbooks"]::after {
  content: "undertheradarbooks.com" !important;
  font-size: 16px !important;
  line-height: normal !important;
  color: #c9a962 !important;
  font-family: 'Inter', sans-serif !important;
}