/* Luxury buttons and icon discs (first used in Pearl Gatefold). Re-theme by overriding the --lux-* variables on :root or a page. */
:root {
  --lux-plaque-hi: #FFFDF9;
  --lux-plaque-mid: #F5ECDF;
  --lux-plaque-lo: #E9DCC7;
  --lux-hair: rgba(184, 145, 95, .6);
  --lux-band: rgba(251, 247, 240, .92);
  --lux-band-edge: rgba(184, 145, 95, .32);
  --lux-pearl: rgba(184, 145, 95, .5);
  --lux-text: #8A6440;
  --lux-jewel-1: #CBA675;
  --lux-jewel-2: #AA7F51;
  --lux-jewel-3: #87623E;
  --lux-jewel-text: #FBF5EC;
  --lux-jewel-pearl: rgba(255, 248, 236, .75);
  --lux-shadow: rgba(110, 85, 60, .55);
  --lux-font: "Bodoni Moda", "Didot", serif;
}

/* ivory plaque: gold hairline, outer ivory band, inner ring of pearl beads (secondary buttons, tabs, sound, scroll) */
.lux-plaque {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: radial-gradient(120% 140% at 50% 0%, var(--lux-plaque-hi) 0%, var(--lux-plaque-mid) 55%, var(--lux-plaque-lo) 100%);
  border: 1px solid var(--lux-hair);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(160, 125, 85, .16),
    0 0 0 3px var(--lux-band), 0 0 0 4px var(--lux-band-edge), 0 10px 20px -10px var(--lux-shadow);
  font-family: var(--lux-font); font-size: 12.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lux-text); white-space: nowrap;
}

/* gold jewel: the primary action (directions, WhatsApp) and the active tab */
.lux-jewel, .lux-plaque.is-active {
  background: linear-gradient(160deg, var(--lux-jewel-1) 0%, var(--lux-jewel-2) 48%, var(--lux-jewel-3) 100%);
  border: 1px solid rgba(120, 85, 50, .55);
  box-shadow: inset 0 1px 0 rgba(255, 240, 220, .6), inset 0 -3px 6px rgba(70, 45, 20, .25),
    0 0 0 3px var(--lux-band), 0 0 0 4px var(--lux-band-edge), 0 12px 20px -10px rgba(80, 55, 30, .85);
  color: var(--lux-jewel-text);
}
.lux-jewel {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font-family: var(--lux-font); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; text-decoration: none;
}

.lux-plaque::before, .lux-jewel::before {
  content: ""; position: absolute; inset: 4px; border-radius: inherit; pointer-events: none;
  border: 2px dotted var(--lux-pearl);
}
.lux-jewel::before, .lux-plaque.is-active::before { border-color: var(--lux-jewel-pearl); }

/* slow light sweep across jewels */
.lux-jewel::after, .lux-disc::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 245, 230, .45) 50%, transparent 65%);
  translate: -120% 0; animation: lux-sheen 4.5s ease-in-out var(--lux-sheen-delay, 0s) infinite;
}
@keyframes lux-sheen { 0%, 70% { translate: -120% 0; } 100% { translate: 120% 0; } }

/* round jewel disc for icons and countdown numbers; set its size where used */
.lux-disc {
  position: relative; display: grid; place-items: center; border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, var(--lux-jewel-1) 0%, var(--lux-jewel-2) 48%, var(--lux-jewel-3) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 220, .6), inset 0 -3px 6px rgba(70, 45, 20, .25),
    0 0 0 3px var(--lux-band), 0 0 0 4px var(--lux-band-edge), 0 10px 18px -8px rgba(80, 55, 30, .7);
  outline: 1.6px dotted var(--lux-jewel-pearl); outline-offset: -4px;
  color: var(--lux-jewel-text);
}

.lux-plaque:active, .lux-jewel:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .lux-jewel::after, .lux-disc::after { animation: none; } }
