/* Hesham Rabea price list. Values come from design/price-list.dc.html. */

:root {
  --bg: #131110;
  --text: #F2EBE1;
  --muted: #A1978A;
  --desc: #BDB4A8;
  --copper: #D9A066;
  --row-line: #27231F;
  --line: #3A332C;
  --groom-bg: #1A1613;
  --groom-row-line: #2E2924;
  --chevron: #857B70;
  --link: #E4DCD1;

  --font-head: 'El Messiri', serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-en: 'Cormorant Garamond', serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

/* English labels switch.
   <body class="hide-en"> hides the English under each service, its description and the groom options
   (the same labels the design's "showEnglish" toggle controls).
   Headings like PRICE LIST carry .en-title; add ".hide-en .en-title" below to hide those too. */
.hide-en .en { display: none; }

.page {
  max-width: 440px;
  margin: 0 auto;
  padding: 28px 22px 36px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ---------- Header ---------- */

.masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 16px 8px;
  text-align: center;
}

.logo {
  width: 230px;
  height: 73px;
  background: var(--copper);
  -webkit-mask: url(assets/logo-copper.png) center / contain no-repeat;
  mask: url(assets/logo-copper.png) center / contain no-repeat;
}

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 150px;
}
.divider-line { flex: 1; height: 1px; background: var(--copper); }
.diamond { width: 6px; height: 6px; background: var(--copper); transform: rotate(45deg); }

.divider-small { width: 120px; }
.divider-small .divider-line { background: var(--line); }
.divider-small .diamond { width: 5px; height: 5px; }

.titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.kicker {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .42em;
  color: var(--muted);
}

.hint { margin: 0; font-size: 12px; color: var(--muted); }

/* ---------- Service sections ---------- */

.category { display: flex; flex-direction: column; }

.category-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--copper);
}
.category-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}
.category-en {
  margin-inline-start: auto;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

.row { border-bottom: 1px solid var(--row-line); }

.row-head {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  -webkit-tap-highlight-color: transparent;
}
button.row-head { cursor: pointer; }
button.row-head:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
  border-radius: 4px;
}

.names { display: flex; flex-direction: column; }
.name-ar { font-size: 16px; font-weight: 500; line-height: 1.4; }
.name-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 13px;
  line-height: 1.2;
  color: var(--muted);
}

.meta { flex: none; display: flex; align-items: center; gap: 10px; }
.from { font-size: 12px; color: var(--muted); }

.price {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--copper);
}

.chev { flex: none; color: var(--chevron); transition: transform .2s; }
[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Description: under the row, on the page background. No box, border or fill. */
.details {
  padding: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: reveal .25s ease-out;
}
.details p { margin: 0; }
.details-ar { font-size: 14px; line-height: 1.7; color: var(--desc); }
.details-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Groom package ---------- */

.groom {
  padding: 6px;
  border: 1px solid var(--copper);
  border-radius: 190px 190px 28px 28px;
}

.groom-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 48px 16px 22px;
  background: var(--groom-bg);
  border: 1px solid var(--line);
  border-radius: 184px 184px 22px 22px;
}

.groom-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.groom-head .diamond { width: 7px; height: 7px; }
.groom-kicker {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--copper);
}
.groom-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.groom-options { display: flex; flex-direction: column; }

/* Plain rows separated by lines. No boxes. */
.groom-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--groom-row-line);
}
.groom-name { font-size: 15px; font-weight: 500; line-height: 1.4; }
.price-lg { font-size: 21px; }

.groom-notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--desc);
}
.groom-notes p { margin: 0; }
.num { color: var(--copper); font-weight: 600; }

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
  text-align: center;
}

.follow { margin: 0; font-size: 13px; color: var(--muted); }

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--link);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pill svg { flex: none; color: var(--copper); }
.pill:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

/* ---------- Load error ---------- */

.status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: var(--desc);
}
.status p { margin: 0; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .details { animation: none; }
  .chev { transition: none; }
}
