@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-700-normal.woff2') format('woff2');
}

:root {
  --gold: #D4AF37;
  --gold-bright: #FFD700;
  --charcoal: #2c2c2c;
  --page: #141414;
  --panel: #1f1f1f;
}

body {
  background-color: var(--page);
  color: #f0f0f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.title,
.title-gold-shine {
  font-family: 'Playfair Display', Georgia, serif;
}

.title {
  color: var(--gold);
}

.navbar,
.navbar-menu {
  background-color: var(--charcoal);
}

.navbar-item,
.navbar-item strong {
  color: #ffffff;
}

.navbar-brand .navbar-item strong {
  color: var(--gold);
}

.navbar-brand .navbar-item img {
  max-height: 50px;
}

a.navbar-item:hover,
a.navbar-item:focus,
a.navbar-item.is-active {
  color: var(--gold-bright);
  background-color: transparent;
}

.navbar-burger {
  color: var(--gold);
}

.navbar-burger:hover {
  background-color: transparent;
}

.title-gold-shine {
  font-size: clamp(2.25rem, 8vw, 4rem);
  font-weight: 700;
  background: linear-gradient(
    90deg,
    #B8860B 0%,
    #FFD700 25%,
    #FFF8DC 50%,
    #FFD700 75%,
    #B8860B 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hair-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#leftbutton,
#rightbutton {
  width: 80px;
  height: 80px;
  padding: 1px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
}

#leftbutton img,
#rightbutton img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#leftbutton:hover,
#rightbutton:hover {
  filter: brightness(1.2);
}

#leftbutton:focus-visible,
#rightbutton:focus-visible,
.photo-button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.carousel-box {
  display: grid;
  overflow: hidden;
  width: min(640px, 100%);
  padding: 24px;
  border: 1px solid var(--gold);
}

.slide {
  grid-area: 1 / 1;
  align-self: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.slide.from-right,
.slide.to-right {
  transform: translateX(100px);
  opacity: 0;
}

.slide.from-left,
.slide.to-left {
  transform: translateX(-100px);
  opacity: 0;
}

.slide h2 {
  text-align: center;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.slide-body {
  display: flex;
  align-items: center;
  gap: 24px;
}

.slide-body img {
  width: 140px;
  aspect-ratio: 7 / 9;
  flex-shrink: 0;
}

.shop-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.style-card {
  height: 100%;
  background-color: var(--panel);
  border: 1px solid var(--gold);
  color: #f0f0f0;
}

.style-card img {
  display: block;
  width: 110px;
  margin: 0 auto 1rem;
}

.style-card .title {
  text-align: center;
}

.photo-button {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 1px solid var(--gold);
  cursor: zoom-in;
}

.photo-button img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.modal-content {
  width: min(1000px, 95vw);
}

.info-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--panel);
  border: 1px solid var(--gold);
}

main a:not(.button) {
  color: var(--gold);
  text-decoration: underline;
}

.intro {
  max-width: 640px;
  margin: 0.5rem auto 0;
  padding: 0 1rem;
}

.info-panel.is-wide {
  max-width: 800px;
}

.info-panel h2.title {
  margin: 2rem 0 0.5rem;
}

.info-panel h3.title {
  margin: 1.25rem 0 0.25rem;
}

.info-panel h2.title:first-child {
  margin-top: 0;
}

.info-panel p + p {
  margin-top: 0.75rem;
}

.info-panel dt {
  color: var(--gold);
  font-weight: 700;
}

.info-panel dd {
  margin: 0 0 1.25rem;
}

.info-panel dd:last-child {
  margin-bottom: 0;
}

.placeholder {
  color: #9a9a9a;
  font-style: italic;
}

.footer {
  padding: 2rem 1.5rem;
  background-color: var(--charcoal);
  color: #b5b5b5;
}

.footer .columns {
  margin-bottom: 0;
}

.footer p,
.footer address {
  margin-bottom: 0.35rem;
  font-style: normal;
}

.footer a {
  color: var(--gold);
  text-decoration: underline;
}

.footer-heading {
  color: var(--gold);
  font-weight: 700;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #444;
  text-align: center;
}

.last-updated {
  color: #9a9a9a;
  font-size: 0.9rem;
}

.terms-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 16px;
  background-color: var(--charcoal);
  border-top: 1px solid var(--gold);
}

.terms-notice p {
  margin: 0;
}

.terms-notice a {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .slide-body {
    flex-direction: column;
  }

  .carousel-box {
    padding: 16px;
  }

  .hair-carousel {
    gap: 0;
  }

  #leftbutton,
  #rightbutton {
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .title-gold-shine {
    animation: none;
  }

  .slide {
    transition: none;
  }
}

/* ---------------------------------------------------------------
   Google-style review cards
   --------------------------------------------------------------- */

.gr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gr-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.25rem 1.1rem;
  background-color: var(--panel);
  border: 1px solid var(--gold);
  border-radius: 10px;
}

.gr-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gr-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  overflow: hidden;
  background-color: #4a4a7a;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.gr-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gr-meta {
  min-width: 0;
}

.gr-name {
  margin: 0;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.25;
}

.gr-date {
  margin: 0;
  color: #9a9a9a;
  font-size: 0.85rem;
}

.gr-text {
  flex: 1;
  margin: 0.9rem 0 0;
  color: #e4e4e4;
  line-height: 1.6;
}

.gr-text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

.gr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.6rem;
  min-height: 1.2rem;
}

.gr-more,
.translate-review-link {
  padding: 0;
  background: none;
  border: none;
  color: var(--gold);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

.gr-more:hover,
.gr-more:focus-visible,
.translate-review-link:hover,
.translate-review-link:focus-visible {
  color: var(--gold-bright);
}

.translate-review-link[disabled] {
  color: #9a9a9a;
  cursor: default;
}

.gr-stars {
  display: flex;
  gap: 2px;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid #3a3a3a;
}

.gr-star {
  width: 20px;
  height: 20px;
  fill: #4a4a4a;
}

.gr-star.is-filled {
  fill: #FBBC04;
}

/* ---------------------------------------------------------------
   Language picker (in-page translation)
   --------------------------------------------------------------- */

.translate-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.translate-label {
  color: var(--gold);
  font-weight: 700;
}

.translate-select {
  padding: 0.35rem 0.6rem;
  background-color: var(--charcoal);
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: #f0f0f0;
  font: inherit;
}

.translate-select:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.translate-status {
  color: #9a9a9a;
  font-size: 0.9rem;
}

.translate-note {
  margin-top: 0.4rem;
  color: #9a9a9a;
  font-size: 0.9rem;
}
