:root {
  --kchd-amber: #f99c37;
  --kchd-amber-shadow: rgba(249, 156, 55, 0.34);
}

/* Shared KCHD amber */
.text-amber-300,
.text-amber-450,
.text-amber-500,
.text-amber-600,
.hover\:text-amber-300:hover,
.hover\:text-amber-450:hover,
.hover\:text-amber-500:hover {
  color: var(--kchd-amber) !important;
}

.bg-amber-300,
.bg-amber-450,
.bg-amber-500,
.bg-amber-600,
.hover\:bg-amber-300:hover,
.hover\:bg-amber-450:hover,
.hover\:bg-amber-500:hover {
  background-color: var(--kchd-amber) !important;
  box-shadow: none !important;
  --tw-shadow: 0 0 #0000 !important;
}

.border-amber-450,
.border-amber-500,
.border-amber-600,
.border-amber-500\/30,
.border-amber-500\/40,
.border-amber-500\/60,
.border-amber-500\/70,
.border-amber-500\/80,
.hover\:border-amber-500\/30:hover,
.hover\:border-amber-500\/40:hover,
.hover\:border-amber-500\/60:hover,
.hover\:border-amber-500\/70:hover,
.hover\:border-amber-500\/80:hover {
  border-color: var(--kchd-amber) !important;
}

.bg-amber-500\/10 { background-color: rgba(249, 156, 55, 0.10) !important; }
.bg-amber-500\/15 { background-color: rgba(249, 156, 55, 0.15) !important; }
.bg-amber-500\/20 { background-color: rgba(249, 156, 55, 0.20) !important; }
.bg-amber-500\/30 { background-color: rgba(249, 156, 55, 0.30) !important; }

::selection {
  background: var(--kchd-amber) !important;
}

.shadow-amber-500\/20,
.shadow-amber-500\/30,
.shadow-amber-500\/40 {
  --tw-shadow-color: var(--kchd-amber) !important;
}

.gold-gradient-text {
  background: var(--kchd-amber) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.gold-border-glow {
  box-shadow: 0 0 25px var(--kchd-amber-shadow) !important;
}

svg [stroke="#D4942A"],
svg [stroke="#E5A93C"],
svg [stroke="#B87B1E"],
svg [stroke="#F5D076"],
svg [fill="#D4942A"],
svg [fill="#E5A93C"],
svg [fill="#B87B1E"],
svg [fill="#F5D076"] {
  stroke: var(--kchd-amber) !important;
  fill: var(--kchd-amber) !important;
}

/* Amber glow for light cards and white content boxes */
.bg-white,
.bg-gray-50,
.bg-gray-100,
[class*="bg-white/"],
[class*="bg-gray-50/"] {
  box-shadow: 0 8px 24px var(--kchd-amber-shadow) !important;
}

/* Keep the glow visible around light booking and form panels */
input,
select,
textarea,
.bg-white input,
.bg-white select,
.bg-white textarea {
  accent-color: var(--kchd-amber);
  box-shadow: 0 8px 24px var(--kchd-amber-shadow) !important;
}

[style*="#F5D076"],
[style*="#D4942A"],
[style*="#E5A93C"],
[style*="#B87B1E"] {
  color: var(--kchd-amber) !important;
  border-color: var(--kchd-amber) !important;
}

.ba-handle {
  background: var(--kchd-amber) !important;
}

.ba-handle-knob {
  border-color: var(--kchd-amber) !important;
  color: var(--kchd-amber) !important;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--kchd-amber) !important;
}

:focus-visible {
  outline-color: var(--kchd-amber) !important;
}

button.bg-amber-300,
button.bg-amber-450,
button.bg-amber-500,
button.bg-amber-600,
a.bg-amber-300,
a.bg-amber-450,
a.bg-amber-500,
a.bg-amber-600 {
  box-shadow: none !important;
  --tw-shadow: 0 0 #0000 !important;
}

/* Dark text on every amber action button and active filter */
a[class*="bg-amber-"],
button[class*="bg-amber-"],
.gallery-filter-btn.active,
.rev-filter-btn.active {
  color: #08090B !important;
}

a[class*="bg-amber-"]:hover,
a[class*="bg-amber-"]:focus-visible,
button[class*="bg-amber-"]:hover,
button[class*="bg-amber-"]:focus-visible,
.gallery-filter-btn.active:hover,
.rev-filter-btn.active:hover {
  color: #08090B !important;
}

/* High-contrast treatment for all amber action buttons and links */
a[class*="bg-amber-"],
button[class*="bg-amber-"],
.gallery-filter-btn.active,
.rev-filter-btn.active {
  background-color: #08090B !important;
  border: 1px solid #f99c37 !important;
  color: #f99c37 !important;
  box-shadow: none !important;
  --tw-shadow: 0 0 #0000 !important;
}

a[class*="bg-amber-"]:hover,
a[class*="bg-amber-"]:focus-visible,
button[class*="bg-amber-"]:hover,
button[class*="bg-amber-"]:focus-visible,
.gallery-filter-btn.active:hover,
.gallery-filter-btn.active:focus-visible,
.rev-filter-btn.active:hover,
.rev-filter-btn.active:focus-visible {
  background-color: #f99c37 !important;
  border-color: #f99c37 !important;
  color: #08090B !important;
}

/* Final high-contrast action-button override */
a[class*="bg-amber-"],
a[class*="bg-amber-"] *,
button[class*="bg-amber-"],
button[class*="bg-amber-"] *,
.gallery-filter-btn.active,
.gallery-filter-btn.active *,
.rev-filter-btn.active,
.rev-filter-btn.active * {
  background-color: #08090B !important;
  border-color: #f99c37 !important;
  color: #f99c37 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  --tw-shadow: 0 0 #0000 !important;
}

a[class*="bg-amber-"]:hover,
a[class*="bg-amber-"]:hover *,
a[class*="bg-amber-"]:focus-visible,
a[class*="bg-amber-"]:focus-visible *,
button[class*="bg-amber-"]:hover,
button[class*="bg-amber-"]:hover *,
button[class*="bg-amber-"]:focus-visible,
button[class*="bg-amber-"]:focus-visible *,
.gallery-filter-btn.active:hover,
.gallery-filter-btn.active:hover *,
.rev-filter-btn.active:hover,
.rev-filter-btn.active:hover * {
  background-color: #f99c37 !important;
  border-color: #f99c37 !important;
  color: #08090B !important;
}

/* Explicit header CTA color, matching the site amber */
.kchd-header-cta,
.kchd-header-cta:hover,
.kchd-header-cta:focus-visible {
  background-color: #f99c37 !important;
  border-color: #f99c37 !important;
  color: #08090B !important;
  box-shadow: none !important;
}

/* Subtle dark outline for header lettering */
body > header nav a:not(:last-child),
body > header nav a:not(:last-child) span,
body > header #mobileMenu a,
body > header #siteMobileMenu a:not(:last-child),
body > header details summary,
body > header > div:first-child a span {
  text-shadow: -1px -1px 0 rgba(8, 9, 11, 0.92), 1px -1px 0 rgba(8, 9, 11, 0.92), -1px 1px 0 rgba(8, 9, 11, 0.92), 1px 1px 0 rgba(8, 9, 11, 0.92) !important;
}

/* Header redesign: dark, high-contrast, outlined CTA */
body > header {
  background: rgba(8, 9, 11, 0.96) !important;
  border-bottom: 1px solid rgba(249, 156, 55, 0.28) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28) !important;
}

body > header nav {
  background: rgba(20, 23, 29, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 999px !important;
  padding: 0.35rem !important;
  gap: 0.2rem !important;
}

body > header nav a:not(:last-child) {
  color: #D7D9DE !important;
  border-radius: 999px !important;
  padding: 0.55rem 0.75rem !important;
  transition: color 160ms ease, background-color 160ms ease !important;
}

body > header nav a:not(:last-child):hover,
body > header nav a:not(:last-child):focus-visible {
  color: #f99c37 !important;
  background: rgba(249, 156, 55, 0.10) !important;
}

body > header nav a:last-child,
body > header #mobileMenu a:last-child,
body > header #siteMobileMenu a:last-child,
body > header details div a:last-child {
  background: transparent !important;
  border: 1px solid #f99c37 !important;
  border-radius: 0.75rem !important;
  color: #f99c37 !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

body > header nav a:last-child:hover,
body > header nav a:last-child:focus-visible,
body > header #mobileMenu a:last-child:hover,
body > header #siteMobileMenu a:last-child:hover,
body > header details div a:last-child:hover {
  background: #f99c37 !important;
  color: #08090B !important;
}

body > header > div:first-child a img,
body > header > div:first-child svg,
body > header a img {
  border-color: #f99c37 !important;
}

/* Keep the estimate CTA readable on amber hover */
.kchd-estimate-cta:hover,
.kchd-estimate-cta:hover > span:first-child {
  color: #08090B !important;
}

.kchd-estimate-cta:hover > span:last-child {
  background-color: #08090B !important;
  color: #f99c37 !important;
}

/* Final override: make every amber action match the header */
:is(a, button)[class*="bg-amber-"] {
  background: #08090B !important;
  border: 1px solid #f99c37 !important;
  color: #f99c37 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

:is(a, button)[class*="bg-amber-"] * {
  color: inherit !important;
  text-shadow: none !important;
}

:is(a, button)[class*="bg-amber-"]:hover,
:is(a, button)[class*="bg-amber-"]:focus-visible {
  background: #f99c37 !important;
  border-color: #f99c37 !important;
  color: #08090B !important;
}

:is(a, button)[class*="bg-amber-"]:hover *,
:is(a, button)[class*="bg-amber-"]:focus-visible * {
  color: #08090B !important;
}