/* ==========================================================================
   Aurora Souq - brand colour (#E9AA08)
   --------------------------------------------------------------------------
   The brand colour is set in the theme options and reaches the theme as
   var(--theme-color). Older page styles (wholesale / landing pages, gifting
   assistant, gold plating chart) had the previous coral colour (#e38359,
   #c96a41 and their light tints) typed in directly. This file switches
   those to the brand colour without editing the original files.

   - Loaded on every page, after the other theme styles (inc/home-v2/setup.php).
   - Selectors are the originals prefixed with "html " so they win even when
     a page loads its own stylesheet later.
   - Colour mapping:
       #e38359 (coral)        -> var(--theme-color)       #E9AA08
       #c96a41 (dark coral)   -> var(--brand-color-dark)  #B07F06 (text, hovers)
       #f0a17e (light coral)  -> #F3CC66
       #fdf6f2 / #fbeae2 / #fdebe1 (pale tints) -> #FEF9EC / #FCF1D6 / #FDF2D7
       #efe3dc / #f2d6c8 / #e6d6cc (borders)    -> #EFE7D5 / #F4E3B8 / #E8DEC6
   ========================================================================== */

:root {
	--brand-color: var(--theme-color, #E9AA08);
	/* Darker gold for text and hover states on white (better contrast). */
	--brand-color-dark: #B07F06;
}

/* Theme-option colours that still hold the old coral (#e38359).
   Also update them in the theme options: Header > Menu background / Menu active colour. */
html:root {
	--menubar-background: var(--theme-color, #E9AA08);
	--menu-active-color: var(--theme-color, #E9AA08);
}

/* ---- style.css ---- */

html .as-page > :where(.hero, .trust, .section, .cta) h1 em {
	color: var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section, .cta) .eyebrow,
html .smcp-page .smcp-hero-note {
	color: var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section) a:not(.btn):not(.collection) {
	color: var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section, .cta) .btn,
html .smcp-page .smcp-button {
	border: 1px solid var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section, .cta) .btn.primary,
html .smcp-page .smcp-button {
	background: var(--theme-color);
	border-color: var(--theme-color);
}

html .as-page > :where(.hero, .trust, .section, .cta) .btn:focus-visible,
html .as-page > :where(.hero, .trust, .section, .cta) .collection:focus-visible,
html .as-page > :where(.hero, .trust, .section, .cta) summary:focus-visible {
	outline: 2px solid var(--brand-color-dark);
}

html .as-page > .hero {
	background: linear-gradient(110deg, #FEF9EC 0%, #fff 70%);
}

html .as-page > :where(.hero, .trust, .section, .cta) .hero-art {
	border: 1px solid #F4E3B8;
	background: #FCF1D6;
}

html .as-page > .trust {
	background: linear-gradient(110deg, #FEF9EC 0%, #fff 70%);
}

html .as-page > :where(.hero, .trust, .section, .cta) .trust-item {
	background: linear-gradient(310deg, #FDF2D7 0%, #ead87c1f 70%);
	border: 1px solid rgba(233, 170, 8, 0.25);
}

html .as-page > :where(.hero, .trust, .section, .cta) .trust-item:hover {
	background: linear-gradient(100deg, #FDF2D7 0%, #ead87c1f 70%);
}

html .as-page > .section.alt {
	background: #FEF9EC;
}

html .as-page > :where(.hero, .trust, .section, .cta) .collection {
	border: 1px solid #EFE7D5;
}

html .as-page > :where(.hero, .trust, .section, .cta) .collection:hover {
	border-color: var(--theme-color);
}

html .as-page > :where(.hero, .trust, .section, .cta) .collection-image {
	background: #FEF9EC;
}

html .as-page > :where(.hero, .trust, .section, .cta) .collection p u,
html .smcp-page .smcp-card-link {
	color: var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section, .cta) .step {
	border: 1px solid rgba(233, 170, 8, 0.25);
}

html .as-page > :where(.hero, .trust, .section, .cta) .step-num {
	color: var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section, .cta) .supply {
	border-left: 3px solid var(--theme-color);
	background: #FEF9EC;
}

html .as-page > :where(.hero, .trust, .section, .cta) .supply p.eyebrow {
	color: var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section, .cta) .supply p.step-num {
	color: var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section, .cta) .supply.featured {
	background: #FCF1D6;
}

html .as-page > :where(.hero, .trust, .section, .cta) .supply li::before,
html .as-page > :where(.hero, .trust, .section, .cta) .wrap.supply-grid > .copy li::before {
	color: var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section, .cta) .table-wrap {
	border: 1px solid #EFE7D5;
}

html .as-page > :where(.hero, .trust, .section, .cta) .table-wrap tbody td,
html .as-page > :where(.hero, .trust, .section, .cta) .table-wrap tbody th {
	border-bottom: 1px solid #EFE7D5;
}

html .as-page > :where(.hero, .trust, .section, .cta) .table-wrap tbody tr > :first-child {
	background: #FCF1D6;
}

html .as-page > :where(.hero, .trust, .section, .cta) .table-wrap tbody tr:hover > * {
	background: #FEF9EC;
}

html .as-page > :where(.hero, .trust, .section, .cta) .table-wrap tbody tr:hover > :first-child {
	background: #FCF1D6;
}

html .as-page > :where(.hero, .trust, .section, .cta) .faqs details {
	border: 1px solid #EFE7D5;
}

html .as-page > :where(.hero, .trust, .section, .cta) .faqs summary:hover {
	color: var(--brand-color-dark);
}

html .as-page > :where(.hero, .trust, .section, .cta) .faq-icon {
	color: var(--brand-color-dark);
}

html .as-page > .section.explore-ranges {
	border-top: 1px solid #EFE7D5;
}

html .as-page > .explore-ranges .actions .btn,
html .as-page > .section .actions > span.btn {
	border: 1px solid #EFE7D5;
}

html .as-page > .explore-ranges .actions .btn:hover {
	background: #FCF1D6;
	border-color: var(--theme-color);
	color: var(--brand-color-dark);
}

html .as-page > .section .actions > span.btn:hover {
	border-color: #EFE7D5;
}

html .as-page > .cta .eyebrow {
	color: #F3CC66;
}

html .as-page > .cta .btn.secondary {
	border-color: var(--theme-color);
	color: var(--theme-color);
}

html .as-page > .cta .btn.secondary:hover {
	background: var(--theme-color) !important;
	border-color: var(--theme-color) !important;
}

html .as-page > .contact-form .contact-form-card {
	border: 1px solid #EFE7D5;
}

html .as-page > .contact-form .ninja-forms-req-symbol {
	color: var(--brand-color-dark);
}

html .as-page > .contact-form .nf-field-element input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
html .as-page > .contact-form .nf-field-element select,
html .as-page > .contact-form .nf-field-element textarea {
	border: 1px solid #E8DEC6;
}

html .as-page > .contact-form .nf-field-element select {
	background-image: linear-gradient(45deg, transparent 50%, var(--brand-color-dark) 50%),
                      linear-gradient(135deg, var(--brand-color-dark) 50%, transparent 50%);
}

html .as-page > .contact-form .nf-field-element input:focus,
html .as-page > .contact-form .nf-field-element select:focus,
html .as-page > .contact-form .nf-field-element textarea:focus {
	border-color: var(--theme-color);
	box-shadow: 0 0 0 3px rgba(233, 170, 8, 0.15);
}

html .as-page > .contact-form .nf-field-element input[type="checkbox"],
html .as-page > .contact-form .nf-field-element input[type="radio"] {
	accent-color: var(--theme-color);
}

html .as-page > .contact-form .submit-container .nf-field-element input[type="button"],
html .as-page > .contact-form .submit-container .nf-field-element input[type="submit"],
html .as-page > .contact-form .nf-field-element input[type="submit"] {
	background: var(--theme-color);
	border: 1px solid var(--theme-color);
}

html .as-page > .contact-form .submit-container .nf-field-element input:focus-visible {
	outline: 2px solid var(--brand-color-dark);
}

html .as-page > .contact-form .nf-response-msg {
	background: #FEF9EC;
	border-left: 3px solid var(--theme-color);
}

html .smcp-section.smcp-faq .smcp-eyebrow {
	color: var(--brand-color-dark);
}

html .smcp-section.smcp-faq details {
	border: 1px solid #EFE7D5;
}

html .smcp-section.smcp-faq summary:hover {
	color: var(--brand-color-dark);
}

html .smcp-section.smcp-faq summary:focus-visible {
	outline: 2px solid var(--brand-color-dark);
}

html .smcp-section.smcp-faq .smcp-faq-icon {
	color: var(--brand-color-dark);
}

html .smcp-cta .smcp-eyebrow {
	color: #F3CC66;
}

html .smcp-cta .smcp-button {
	background: var(--theme-color);
	border: 1px solid var(--theme-color);
}

html .smcp-cta .smcp-button:focus-visible {
	outline: 2px solid var(--brand-color-dark);
}

html .aurora-audit-details a {
	color: var(--theme-color);
}

/* ---- assets/css/jewellery-gifting-assistant.css ---- */

html .eat-tool .eat-kicker {
	color: var(--theme-color);
}

html .eat-tool h2:after {
	background: var(--brand-color-dark);
}

html .eat-tool .eat-form {
	border: 1px solid #EFE7D5;
	box-shadow: 0 6px 24px rgba(176, 127, 6, 0.06);
}

html .eat-tool .eat-step {
	border: 1.5px solid var(--theme-color);
	color: var(--theme-color);
	background: #FEF9EC;
}

html .eat-tool .eat-opt span {
	border: 1px solid #EFE7D5;
}

html .eat-tool .eat-opt:hover span {
	border-color: var(--theme-color);
}

html .eat-tool .eat-opt input:checked + span {
	border-color: var(--brand-color-dark);
	background: #FCF1D6;
	box-shadow: inset 0 0 0 1px var(--brand-color-dark);
}

html .eat-tool .eat-opt input:focus-visible + span {
	outline: 2px solid var(--brand-color-dark);
}

html .eat-tool input[type="number"],
html .eat-tool select {
	border: 1px solid #EFE7D5;
}

html .eat-tool input[type="number"]:focus,
html .eat-tool select:focus {
	border-color: var(--brand-color-dark);
	box-shadow: 0 0 0 3px rgba(233, 170, 8, 0.25);
}

html .eat-tool summary:focus-visible,
html .eat-tool button:focus-visible {
	outline: 2px solid var(--brand-color-dark);
}

html .eat-tool details {
	border: 1px dashed #EFE7D5;
	background: #FEF9EC;
}

html .eat-tool summary {
	color: var(--theme-color);
}

html .eat-tool button.eat-go:hover {
	background: var(--theme-color);
}

html .eat-tool .eat-card {
	border-left: 4px solid var(--brand-color-dark);
	background: #FCF1D6;
}

html .eat-tool .eat-big {
	color: var(--brand-color-dark);
}

html .eat-tool .eat-tablewrap {
	border: 1px solid #EFE7D5;
}

html .eat-tool th,
html .eat-tool td {
	border-bottom: 1px solid #EFE7D5;
}

html .eat-tool th {
	background: #FEF9EC;
}

html .eat-tool li::marker {
	color: var(--brand-color-dark);
}

html .eat-tool .eat-math {
	border-top: 1px dashed #EFE7D5;
}

html .eat-tool .eat-foot a {
	color: var(--brand-color-dark);
	border-bottom: 1px solid var(--brand-color-dark);
}

html .eat-tool .eat-foot a:hover {
	color: var(--theme-color);
	border-bottom-color: var(--theme-color);
}

/* ---- assets/css/gold-plating.css ---- */

html .eat-tool {
	--a: var(--theme-color);
}

html .eat-tool .eat-result {
	background: rgba(233, 170, 8, 0.08);
}

html .eat-tool .eat-kicker {
	color: var(--theme-color);
}
