/* ROSH HAIR Gallery common CSS
   Palette: cream beige, Tiffany blue, white, soft charcoal.
   Scoped to gallery classes to avoid collisions with WordPress/Neve. */
:root {
  --rh-ink: #4a4a48;
  --rh-muted: #686c6c;
  --rh-paper: #fffbf0;
  --rh-sand: #eee8d9;
  --rh-line: #e5e1d8;
  --rh-tiffany: #0ABAB5;
  --rh-gallery-max: 1160px;
}
.rh-gallery, .rh-gallery * { box-sizing: border-box; }
.rh-gallery {
  margin: 0;
  background: var(--rh-paper);
  color: var(--rh-ink);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.9;
}
.rh-gallery a { color: inherit; text-decoration: none; }
.rh-gallery a:focus-visible {
  outline: 2px solid var(--rh-tiffany);
  outline-offset: 3px;
}
.rh-gallery .brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  letter-spacing: .25em;
  white-space: nowrap;
}
.rh-gallery .crumb {
  max-width: var(--rh-gallery-max);
  margin: 0 auto;
  padding: 8px 24px 12px;
  color: var(--rh-muted);
  font-size: 12px;
}
.rh-gallery .crumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rh-gallery .hero {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: #e9f2ef;
}
.rh-gallery .hero-image {
  position: absolute;
  inset: 0 0 0 52%;
  background-position: center 26%;
  background-size: cover;
  background-repeat: no-repeat;
}
.rh-gallery .hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  max-width: var(--rh-gallery-max);
  min-height: 450px;
  margin: 0 auto;
  padding: 65px 48px;
}
.rh-gallery .hero-copy { max-width: min(520px, 46%); }
.rh-gallery .eyebrow,
.rh-gallery .section-label {
  color: #687575;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  letter-spacing: .25em;
}
.rh-gallery .hero h1,
.rh-gallery .about h2,
.rh-gallery .process h2,
.rh-gallery .coupon h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .05em;
}
.rh-gallery .hero h1 {
  margin: 15px 0 20px;
  font-size: clamp(28px, 4vw, 43px);
  letter-spacing: .06em;
}
.rh-gallery .hero-description {
  max-width: 420px;
  font-size: 14px;
  line-height: 2;
}
.rh-gallery .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.rh-gallery .tag {
  padding: 4px 12px;
  border: 1px solid rgba(74, 74, 72, .2);
  border-radius: 30px;
  background: rgba(255, 255, 255, .6);
  font-size: 12px;
}
.rh-gallery main {
  width: 90%;
  max-width: var(--rh-gallery-max);
  margin: 0 auto;
  padding: 65px 48px 55px;
}
.rh-gallery .about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 6vw, 75px);
  align-items: center;
}
.rh-gallery .about h2,
.rh-gallery .process h2,
.rh-gallery .coupon h2 {
  margin: 8px 0 20px;
  font-size: clamp(22px, 2.6vw, 29px);
}
.rh-gallery .about p,
.rh-gallery .process p {
  margin: 0 0 15px;
  color: #535754;
  font-size: 16px;
  line-height: 2.1;
}
.rh-gallery .main-photo {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  overflow: hidden;
  background: var(--rh-sand);
}
.rh-gallery .main-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.rh-gallery .divider {
  height: 1px;
  margin: 55px 0 45px;
  background: var(--rh-line);
}
.rh-gallery .process {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(115deg, rgba(238,232,217,.75), rgba(10,186,181,.08));
}
.rh-gallery .process h2 { margin-bottom: 22px; }
.rh-gallery .process h3 {
  margin: 24px 0 12px;
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
}
.rh-gallery .process-note {
  margin-top: 25px;
  padding: 17px 20px;
  border-left: 3px solid var(--rh-tiffany);
  background: rgba(255,255,255,.65);
  font-size: 14px;
  line-height: 2;
}
.rh-gallery .coupon {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid #e4deda;
  background: linear-gradient(115deg, #f5eee8, var(--rh-paper));
}
.rh-gallery .coupon h2 { margin-bottom: 12px; }
.rh-gallery .coupon-intro {
  margin: 0 0 22px;
  color: #535754;
  font-size: 15px;
  line-height: 2.1;
}
.rh-gallery .coupon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border: 1px solid #ded9d1;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 3px 12px rgba(74,74,72,.06);
  color: inherit;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.rh-gallery .coupon-item + .coupon-item { margin-top: 12px; }
.rh-gallery .coupon-item strong { font-weight: 500; }
.rh-gallery .coupon-detail {
  display: block;
  margin-top: 4px;
  color: var(--rh-muted);
  font-size: 13px;
}
.rh-gallery .coupon-price {
  flex-shrink: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.rh-gallery .coupon-price small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
}
.rh-gallery .coupon-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  margin-top: 22px;
  padding: 17px 24px;
  border: 1px solid var(--rh-tiffany);
  border-radius: 3px;
  background: var(--rh-tiffany);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  transition: background .25s, color .25s, border-color .25s;
}
.rh-gallery .coupon-button::after {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform .25s;
}
.rh-gallery .coupon-button:hover {
  border-color: var(--rh-ink);
  background: var(--rh-ink);
  color: #fff;
}
.rh-gallery .coupon-button:hover::after { transform: translateX(4px) rotate(45deg); }
.rh-gallery .fineprint {
  margin: 10px 0 0;
  color: var(--rh-muted);
  font-size: 12px;
}
.rh-gallery .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--rh-gallery-max);
  margin: 0 auto;
  padding: 0 48px 30px;
  color: var(--rh-muted);
  font-size: 12px;
}
.rh-gallery .footer-brand { text-align: center; }
.rh-gallery .footer-brand .brand { font-size: 15px; }
.rh-gallery .footer-brand small {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: .15em;
}
@media (max-width: 700px) {
  .rh-gallery .brand { font-size: 18px; }
  .rh-gallery .crumb { padding: 10px 18px; font-size: 9px; }
  .rh-gallery .hero,
  .rh-gallery .hero-inner { min-height: 490px; }
  .rh-gallery .hero-image {
    inset: 0;
    background-position: 58% center;
    opacity: .9;
  }
  .rh-gallery .hero-inner {
    align-items: flex-start;
    padding: 48px 22px;
  }
  .rh-gallery .hero-copy { max-width: 90%; padding-top: 25px; }
  .rh-gallery .hero h1 { font-size: 29px; }
  .rh-gallery main { padding: 45px 19px 35px; }
  .rh-gallery .about { grid-template-columns: 1fr; gap: 24px; }
  .rh-gallery .main-photo { max-width: none; }
  .rh-gallery .divider { margin: 40px 0 32px; }
  .rh-gallery .process { padding: 22px 19px; }
  .rh-gallery .coupon { padding: 22px 18px; }
  .rh-gallery .coupon-item { align-items: flex-start; gap: 10px; }
  .rh-gallery .coupon-item .coupon-info { min-width: 0; }
  .rh-gallery .coupon-price { font-size: 21px; }
  .rh-gallery .footer { padding: 0 19px 25px; gap: 12px; }
  .rh-gallery .footer-brand .brand { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .rh-gallery *, .rh-gallery *::before, .rh-gallery *::after { transition: none !important; }
}

/* WordPress / Neve layout adjustments for gallery pages */
body:has(.rh-gallery) .nv-page-title-wrap,
body:has(.rh-gallery) .nv-page-title,
body:has(.rh-gallery) .nv-title-meta-wrap,
body:has(.rh-gallery) .neve-breadcrumbs-wrapper,
body:has(.rh-gallery) .page-header,
body:has(.rh-gallery) .entry-header,
body:has(.rh-gallery) .entry-title {
  display: none !important;
}
body:has(.rh-gallery) .container,
body:has(.rh-gallery) .nv-single-page-wrap,
body:has(.rh-gallery) .nv-content-wrap,
body:has(.rh-gallery) .nv-page-content,
body:has(.rh-gallery) .neve-main,
body:has(.rh-gallery) #content,
body:has(.rh-gallery) .wrapper,
body:has(.rh-gallery) #wrapper {
  max-width: none !important;
  width: 100% !important;
}
body:has(.rh-gallery) .nv-single-page-wrap .nv-content-wrap,
body:has(.rh-gallery) .nv-page-title-wrap + * {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
