/* Juju's Bites — order builder */

.order-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px);
  align-items: start; padding: clamp(28px, 5vw, 56px) 0 clamp(64px, 8vw, 112px);
}
.order-intro { margin-bottom: 40px; }
.order-intro h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

.step { border: 0; padding: 0; margin: 0 0 52px; min-width: 0; scroll-margin-top: 100px; }
.step legend {
  font-family: var(--serif); font-size: 1.9rem; text-transform: uppercase; color: var(--brown); padding: 0; margin-bottom: 18px; line-height: 1;
  display: flex; align-items: center; gap: 12px;
}
.step legend .n {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--burgundy); color: var(--white);
  font-family: var(--sans); font-size: .88rem; font-weight: 700; display: grid; place-items: center;
}
.step.is-locked { opacity: .45; pointer-events: none; }
.hint { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.optional { font-weight: 400; color: var(--muted); }

/* Option cards (real radio inputs underneath) */
.opts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opts--type { grid-template-columns: repeat(3, 1fr); }
.opts--two { grid-template-columns: 1fr 1fr; }
.opt { position: relative; cursor: pointer; display: block; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-body {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 16px 18px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.opt:hover .opt-body { border-color: #C4AE97; }
.opt input:checked + .opt-body { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(137, 11, 11, .12); }
.opt input:focus-visible + .opt-body { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.opt input:disabled + .opt-body { opacity: .55; cursor: not-allowed; background: transparent; }
.opts--sizes { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.opt-big { font-family: var(--serif); font-size: 1.9rem; text-transform: uppercase; color: var(--burgundy); line-height: 1.15; white-space: nowrap; }
.opt-title { font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.opt-sub { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.opt-price { font-size: .9rem; margin-top: auto; padding-top: 10px; color: var(--brown); font-weight: 600; }
.opt-note { font-size: .74rem; color: var(--burgundy); font-weight: 600; }
@media (max-width: 600px) {
  .opts, .opts--sizes { grid-template-columns: 1fr 1fr; }
  .opts.opts--type, .opts.opts--two { grid-template-columns: 1fr; }
}

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label, .field-label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font-size: 1rem; transition: border-color .15s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(137, 11, 11, .1); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23564026' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--burgundy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.half-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy); font-weight: 700; margin: 4px 0 10px; }
.split-box { background: var(--paper-2); border-radius: var(--radius); padding: 18px 18px 4px; margin-top: 8px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .92rem; line-height: 1.5; margin: 6px 0 14px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--burgundy); flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: .9rem;
  transition: background .15s, color .15s, border-color .15s;
}
.chip-check input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.chip-check input:focus-visible + span { outline: 2px solid var(--burgundy); outline-offset: 2px; }

/* Uploads */
.upload {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
  border: 1.5px dashed #C4AE97; border-radius: var(--radius); padding: 22px 16px; background: var(--white); cursor: pointer;
  transition: border-color .15s, background .15s; margin-top: 10px;
}
.upload:hover, .upload:focus-within { border-color: var(--burgundy); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-title { font-weight: 600; color: var(--burgundy); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* Calendar */
.cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; max-width: 460px; margin-top: 12px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head h3 { margin: 0; font-size: 1.2rem; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1.1rem; color: var(--brown);
}
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 0; font-weight: 600; }
.day {
  position: relative; aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--ink); min-height: 40px;
}
.day.is-open, .day.is-few { background: var(--paper); font-weight: 600; }
.day.is-open:hover, .day.is-few:hover { background: var(--beige); }
.day.is-few::after {
  content: ''; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--brown); transform: translateX(-50%);
}
.day.is-full { color: #B3A08C; text-decoration: line-through; cursor: not-allowed; }
.day.is-off { color: #C8B8A6; cursor: not-allowed; }
.day[aria-pressed="true"] { background: var(--burgundy) !important; color: var(--white); }
.day[aria-pressed="true"]::after { background: var(--white); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: var(--muted); margin-top: 14px; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 6px; }
.date-picked { font-weight: 600; color: var(--brown); margin-top: 14px; }

/* Payment */
.pay-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); }
.pay-amount { font-family: var(--serif); font-size: 3.2rem; color: var(--burgundy); line-height: 1.1; margin: 4px 0 2px; }
.pay-steps { padding-left: 20px; margin: 20px 0; display: grid; gap: 18px; }
.pay-steps li::marker { color: var(--burgundy); font-weight: 700; }
.copy-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--paper); border-radius: 12px; padding: 8px 8px 8px 16px; margin-top: 10px;
}
.copy-row code { font-family: var(--sans); font-weight: 700; font-size: 1rem; word-break: break-all; }
.errors {
  margin: 20px 0 0; padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--burgundy);
  color: var(--burgundy); font-size: .92rem;
}
.errors ul { margin: 6px 0 0; padding-left: 18px; }
.errors a { font-weight: 600; }
.btn--submit { width: 100%; margin-top: 20px; padding: 18px; font-size: 1.05rem; }

/* Summary */
.summary {
  position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow);
}
.summary h2 { font-size: 1.4rem; margin-bottom: 12px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.sum-row > span:first-child { color: var(--muted); flex: none; }
.sum-row > span:last-child { text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.sum-empty { color: #B3A08C; }
.sum-money { margin-top: 18px; display: grid; gap: 6px; }
.sum-money .line { display: flex; justify-content: space-between; font-size: .92rem; }
.sum-money .line.total { font-weight: 700; }
.sum-money .big { font-family: var(--serif); font-size: 2.4rem; color: var(--burgundy); font-weight: 400; }
.sum-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* Mobile bottom bar */
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mobile-bar {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(58, 42, 25, .08);
  }
  .mobile-bar .hint { display: block; margin: 0; font-size: .75rem; }
  .mobile-bar strong { font-family: var(--serif); font-size: 1.7rem; color: var(--burgundy); font-weight: 400; }
  .order-page .site-footer { padding-bottom: 110px; }
  .order-page.is-done .mobile-bar { display: none; }
}

/* Confirmation */
.done { max-width: 640px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 0; text-align: center; outline: none; }
.done .order-no {
  display: inline-block; font-family: var(--sans); font-weight: 700; letter-spacing: .08em; background: var(--white);
  border: 1.5px dashed var(--burgundy); color: var(--burgundy); padding: 10px 18px; border-radius: 12px; margin: 8px 0 28px;
}
.done .summary { position: static; text-align: left; box-shadow: none; margin: 28px 0; }
.done ol { text-align: left; display: grid; gap: 10px; padding-left: 20px; }
.preview-note { font-size: .85rem; background: var(--paper-2); border-radius: 12px; padding: 12px 16px; color: var(--muted); }

/* ---------- Cart ---------- */
.step h2.legend {
  font-family: var(--serif); font-size: 1.9rem; text-transform: uppercase; color: var(--brown); margin: 0 0 18px; line-height: 1;
  display: flex; align-items: center; gap: 12px;
}
.step h2.legend .n {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--burgundy); color: var(--white);
  font-family: var(--sans); font-size: .88rem; font-weight: 700; display: grid; place-items: center;
}
.line-item {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 18px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
}
.li-thumb { width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; }
.li-thumb img { width: 100%; height: 100%; object-fit: cover; }
.li-icon { width: 40px; height: 40px; background: url('../assets/favicon.png') center / contain no-repeat; opacity: .5; }
.li-main h3 { font-size: 1.4rem; margin: 2px 0 2px; }
.li-sub { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.li-lines { margin: 0; display: grid; gap: 2px; font-size: .86rem; }
.li-lines div { display: flex; gap: 8px; }
.li-lines dt { color: var(--muted); flex: none; }
.li-lines dd { margin: 0; overflow-wrap: anywhere; }
.line-item .thumbs img { width: 52px; height: 52px; }
.line-item .thumbs:empty { display: none; }
.li-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.li-price { font-weight: 700; color: var(--brown); white-space: nowrap; }
.li-price small { font-weight: 400; color: var(--muted); }
.li-each { font-size: .8rem; color: var(--muted); }
.li-remove { background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: .84rem; text-decoration: underline; cursor: pointer; }
.li-remove:hover { color: var(--burgundy); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: var(--paper); cursor: pointer; font-size: 1.1rem; color: var(--brown); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty span { min-width: 30px; text-align: center; font-weight: 600; }
.add-more { display: flex; gap: 20px; flex-wrap: wrap; margin: 14px 0 0; font-weight: 600; font-size: .92rem; }
.add-more a { text-decoration: none; }
.add-more a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .line-item { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .li-thumb { width: 64px; height: 64px; }
  .li-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
}
.capacity-warning {
  background: var(--white); border: 1.5px solid var(--burgundy); border-radius: var(--radius); padding: 16px 18px;
  color: var(--ink); font-size: .92rem; margin-top: 12px;
}
.capacity-warning strong { display: block; color: var(--burgundy); margin-bottom: 4px; }
.order-page.is-empty .mobile-bar { display: none; }
.sum-money .big small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.summary .btn--submit { margin-top: 18px; }

/* ---------- Receipt ---------- */
.receipt {
  text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px); margin: 28px 0 0;
}
.receipt-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); font-size: .9rem; text-align: right; }
.receipt-head img { height: 52px; width: auto; }
.receipt-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 0; font-size: .9rem; }
.receipt-meta span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.receipt-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.receipt-table th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.receipt-table td { padding: 12px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.receipt-table td small { color: var(--muted); }
.receipt-table .num { text-align: right; white-space: nowrap; padding-left: 12px; }
@media (max-width: 520px) { .receipt-meta { grid-template-columns: 1fr; } }

@media print {
  .site-header, .site-footer, .preview-bar, .mobile-bar, .done .btn-row, .preview-note, .toast { display: none !important; }
  body { background: #fff; }
  .done { padding: 0; }
  .receipt { border: 0; }
}

/* ---------- Account ---------- */
.loading { padding: 80px 0; text-align: center; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; color: var(--burgundy); text-decoration: underline; cursor: pointer; font-size: .9rem; }
.form-msg { font-size: .9rem; color: var(--burgundy); font-weight: 600; margin: 4px 0 12px; }
.form-msg.is-ok { color: var(--brown); font-weight: 500; }
.auth-wrap { max-width: 520px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) 0 clamp(64px, 8vw, 96px); }
.auth-wrap .lead { margin-left: auto; margin-right: auto; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.auth-tab { border: 0; background: transparent; padding: 10px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--muted); }
.auth-tab.is-on { background: var(--white); color: var(--burgundy); box-shadow: 0 1px 3px rgba(58, 42, 25, .12); }
.auth-alt { text-align: center; margin: 14px 0 0; }
.acct-line { margin: 0 0 16px; }

.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 48px); align-items: start; padding-bottom: clamp(64px, 8vw, 96px); }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.acc-h { font-size: 1.9rem; margin: 40px 0 16px; }
.empty-note { color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; }

.stamp-card { background: var(--burgundy); color: var(--beige); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 32px); }
.stamp-card .hint { color: var(--beige); opacity: .85; }
.stamp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stamp-head h2 { color: var(--white); font-size: 1.9rem; margin: 0; }
.stamp-head span { font-weight: 700; }
.stamps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 20px 0 14px; max-width: 420px; }
.stamp {
  aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(226, 210, 195, .55);
  display: grid; place-items: center;
}
.stamp.is-on { border: 0; background: var(--beige) url('../assets/favicon.png') center / 70% no-repeat; }
.reward-box { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 18px 20px; margin-top: 16px; }
.reward-box strong { color: var(--burgundy); font-size: 1.05rem; }
.reward-box .hint { color: var(--muted); opacity: 1; }
.reward-banner { background: var(--beige); border-radius: var(--radius); padding: 14px 18px; font-size: .92rem; margin-top: 4px; }
.reward-banner strong { color: var(--burgundy); }

.order-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; }
.oc-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.oc-head .hint { display: block; margin: 2px 0 0; }
.oc-items { margin: 12px 0; padding-left: 18px; font-size: .94rem; }
.oc-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.oc-foot b { color: var(--brown); }
.oc-note { background: var(--paper); border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin: 12px 0 0; }
.status { flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--brown); }
.status--pending { background: var(--beige); color: var(--brown); }
.status--confirmed { background: var(--burgundy); color: var(--white); }
.status--completed { background: var(--brown); color: var(--white); }
.status--closed { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ---------- Owner dashboard ---------- */
.admin-page .order-intro { margin-top: clamp(28px, 5vw, 48px); }
.days-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day-chip { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 2px; font-size: .82rem; }
.day-chip span { color: var(--muted); }
.day-chip small { color: var(--muted); }
.day-chip.is-some { border-color: var(--brown); }
.day-chip.is-full { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.day-chip.is-full span, .day-chip.is-full small { color: var(--beige); }
@media (max-width: 760px) { .days-strip { grid-template-columns: repeat(4, 1fr); } }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0 18px; }
.tab { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 16px; font-weight: 600; cursor: pointer; color: var(--ink); }
.tab.is-on { background: var(--brown); color: var(--white); border-color: var(--brown); }
.tab-n { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--paper-2); color: var(--brown); font-size: .78rem; }
.tab.is-on .tab-n { background: var(--white); }
.admin-order { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 16px; }
.ao-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.ao-date { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; text-transform: uppercase; color: var(--burgundy); display: block; line-height: 1; }
.ao-head .hint { display: block; }
.ao-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; padding: 14px 0; }
@media (max-width: 900px) { .ao-grid { grid-template-columns: 1fr; gap: 6px; } }
.ao-grid h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.ao-grid p { margin: 0 0 8px; font-size: .92rem; }
.admin-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.admin-items small { color: var(--muted); }
.ai-head { display: flex; justify-content: space-between; gap: 10px; }
.ao-money { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: .9rem; color: var(--muted); }
.ao-money b { color: var(--brown); }
.thumbs.proof img { width: 120px; height: 160px; }
.admin-actions { border-top: 1px dashed var(--line); padding-top: 14px; display: grid; grid-template-columns: 180px 1fr; gap: 0 16px; align-items: end; }
.admin-actions .btn-row, .admin-actions .hint { grid-column: 1 / -1; }
.admin-actions .field input { min-height: 44px; }
@media (max-width: 600px) { .admin-actions { grid-template-columns: 1fr; } }
.block-form { display: grid; grid-template-columns: 200px 1fr auto; gap: 12px; align-items: end; max-width: 640px; }
.block-form .field { margin: 0; }
@media (max-width: 600px) { .block-form { grid-template-columns: 1fr; } }
.blocked-list { list-style: none; padding: 0; margin: 16px 0 80px; display: grid; gap: 8px; max-width: 640px; }
.blocked-list li { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.blocked-list .link-btn { margin-left: auto; }

/* ---------- Arabic (right to left) ---------- */
html[dir="rtl"] .field select { padding-right: 14px; padding-left: 40px; background-position: left 16px center; }
html[dir="rtl"] .pay-steps, html[dir="rtl"] .errors ul, html[dir="rtl"] .oc-items, html[dir="rtl"] .done ol { padding-left: 0; padding-right: 20px; }
html[dir="rtl"] .copy-row { padding: 8px 16px 8px 8px; }
html[dir="rtl"] .copy-row code { direction: ltr; }
html[dir="rtl"] .li-side { text-align: left; }
html[dir="rtl"] .receipt-head { text-align: left; }
html[dir="rtl"] .receipt-table th { text-align: right; }
html[dir="rtl"] .receipt-table .num { text-align: left; padding-left: 0; padding-right: 12px; }
html[dir="rtl"] .cal-nav button { transform: scaleX(-1); }
html[dir="rtl"] .step legend, html[dir="rtl"] .step h2.legend { line-height: 1.3; }

/* ---------- Ready-made design chosen from the menu ---------- */
.design-pick {
  display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 14px 18px 14px 14px;
  background: var(--white); border: 1.5px solid var(--burgundy); border-radius: var(--radius-lg);
}
.design-pick img { width: 110px; height: 110px; object-fit: contain; flex: none; filter: drop-shadow(0 8px 10px rgba(58, 42, 25, .18)); }
.design-pick .eyebrow { margin-bottom: 2px; }
.design-pick b { display: block; font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; color: var(--brown); line-height: 1.1; }
.design-pick p { margin: 4px 0 6px; font-size: .9rem; color: var(--muted); }
.design-pick a { font-size: .85rem; font-weight: 600; }
/* Example of a good reference photo */
.design-example { display: flex; gap: 16px; align-items: center; margin: 0 0 18px; background: var(--paper-2); border-radius: var(--radius); padding: 12px; }
.design-example img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; flex: none; }
.design-example figcaption { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.design-example b { color: var(--brown); }
@media (max-width: 520px) { .design-pick img { width: 84px; height: 84px; } }
