/* JEWELLERY SHOP — FIVE ROYAL / FANCY / PREMIUM THEMES */
:root {
  --theme-accent: var(--color-gold);
  --theme-accent-dark: var(--color-gold-dark);
  --theme-accent-soft: var(--color-gold-soft);
  --theme-surface: var(--color-cream);
  --theme-surface-2: var(--color-cream-dark);
  --theme-text: var(--color-text);
  --theme-muted: var(--color-text-muted);
  --theme-deep: var(--color-brown);
  --theme-border: var(--color-border);
  --theme-gradient: linear-gradient(135deg, var(--theme-surface), var(--theme-surface-2));
}

html[data-theme="royal_gold"] {
  --theme-accent:#d4af37; --theme-accent-dark:#9c7718; --theme-accent-soft:#f5e8b8;
  --theme-surface:#fffdf8; --theme-surface-2:#f6efe0; --theme-text:#29251f; --theme-muted:#756f63; --theme-deep:#3a2a20; --theme-border:#e8dfca;
  --theme-gradient:linear-gradient(135deg,#fffdf8 0%,#f5ead1 55%,#fffdf8 100%);
}
html[data-theme="midnight_royal"] {
  --theme-accent:#d9b75c; --theme-accent-dark:#b78f2f; --theme-accent-soft:#f0dfad;
  --theme-surface:#11131a; --theme-surface-2:#1b1d27; --theme-text:#f8f4ea; --theme-muted:#c4bfaf; --theme-deep:#08090d; --theme-border:#3a3b45;
  --theme-gradient:linear-gradient(135deg,#0d0f16 0%,#24232c 55%,#101117 100%);
}
html[data-theme="rose_luxe"] {
  --theme-accent:#b76e79; --theme-accent-dark:#8f4d58; --theme-accent-soft:#f0d8dc;
  --theme-surface:#fffaf9; --theme-surface-2:#f7e9e8; --theme-text:#332629; --theme-muted:#7d696c; --theme-deep:#432d32; --theme-border:#ead6d8;
  --theme-gradient:linear-gradient(135deg,#fffafa 0%,#f5dfdf 55%,#fffaf9 100%);
}
html[data-theme="emerald_luxe"] {
  --theme-accent:#b99745; --theme-accent-dark:#866b28; --theme-accent-soft:#e7dfc5;
  --theme-surface:#f8fbf6; --theme-surface-2:#e6efe7; --theme-text:#1f2d26; --theme-muted:#63746a; --theme-deep:#173127; --theme-border:#d1dfd4;
  --theme-gradient:linear-gradient(135deg,#fbfcf9 0%,#dce9df 55%,#f8fbf6 100%);
}
html[data-theme="pearl_champagne"] {
  --theme-accent:#c49a57; --theme-accent-dark:#8e6a37; --theme-accent-soft:#f0e1c6;
  --theme-surface:#fffefa; --theme-surface-2:#f3eee3; --theme-text:#34302a; --theme-muted:#766f63; --theme-deep:#504436; --theme-border:#e4dac7;
  --theme-gradient:linear-gradient(135deg,#fffefa 0%,#eee5d4 50%,#fffefa 100%);
}

body { background:var(--theme-surface); color:var(--theme-text); }
.site-header { background:color-mix(in srgb, var(--theme-surface) 94%, transparent); border-color:var(--theme-border); }
.site-footer { background:var(--theme-deep); color:var(--theme-surface); }
.brand-mark, .eyebrow, .nav-link:hover, .nav-link[aria-current="page"], .p9-link, .footer-links a:hover { color:var(--theme-accent); }
.nav-link[aria-current="page"]::after, .p9-promo-banner { background:var(--theme-accent); }
.button-primary { background:var(--theme-accent); border-color:var(--theme-accent); color:var(--theme-deep); }
.button-primary:hover { background:var(--theme-accent-dark); border-color:var(--theme-accent-dark); color:#fff; }
.button-secondary { border-color:var(--theme-accent); color:var(--theme-deep); }
.button-secondary:hover { background:var(--theme-accent-soft); border-color:var(--theme-accent-dark); }
.hero-section, .page-hero, .section-soft { background:var(--theme-gradient); }
.p9-hero-visual { background:var(--theme-gradient); border-color:var(--theme-border); }
.p9-category-card { box-shadow:0 16px 34px color-mix(in srgb, var(--theme-deep) 18%, transparent); }
.p9-category-card::after { background:linear-gradient(180deg,transparent 20%,color-mix(in srgb, var(--theme-deep) 82%, transparent)); }
.p9-product-card, .content-placeholder, .rates-card, .p9-empty { border-color:var(--theme-border); background:var(--theme-surface); color:var(--theme-text); }
.p9-product-card:hover { border-color:var(--theme-accent); box-shadow:0 16px 35px color-mix(in srgb, var(--theme-deep) 15%, transparent); }
.p9-product-card .p9-product-price, .p9-product-card .p9-product-discount, .p9-discount-detail-save { color:var(--theme-accent-dark) !important; }
input, textarea, select { border-color:var(--theme-border); background:var(--theme-surface); color:var(--theme-text); }
input:focus, textarea:focus, select:focus { border-color:var(--theme-accent); outline-color:var(--theme-accent-soft); }
.rate-card, .rates-grid > *, .contact-cta { border-color:var(--theme-border); }
.contact-cta { background:var(--theme-gradient); }

/* Midnight keeps premium contrast across cards and forms. */
html[data-theme="midnight_royal"] .site-header,
html[data-theme="midnight_royal"] .p9-product-card,
html[data-theme="midnight_royal"] .p9-empty,
html[data-theme="midnight_royal"] .content-placeholder,
html[data-theme="midnight_royal"] .rates-grid > * { background:#171922; color:#f8f4ea; }
html[data-theme="midnight_royal"] .main-nav .nav-link,
html[data-theme="midnight_royal"] .brand-name,
html[data-theme="midnight_royal"] h1,
html[data-theme="midnight_royal"] h2,
html[data-theme="midnight_royal"] h3 { color:#f8f4ea; }
html[data-theme="midnight_royal"] input { background:#11131a; color:#f8f4ea; }
