body.dar-faq-modal-open { overflow: hidden; }
body.dar-faq-modal-open #scroll-to-top { display: none !important; }
.dar-faq-modal[hidden] { display: none !important; }
.dar-faq-modal {
    --faq-modal-ink: #33271f;
    --faq-modal-muted: #75685e;
    --faq-modal-gold: #a86b2c;
    --faq-modal-line: #eadfd2;
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(47,36,27,.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
    backdrop-filter: blur(5px);
}
.dar-faq-modal.is-open { opacity: 1; visibility: visible; }
.dar-faq-modal__dialog {
    display: grid;
    width: min(760px, 100%);
    max-height: min(88dvh, 820px);
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(155,95,39,.2);
    border-radius: 20px;
    background: #fff;
    color: var(--faq-modal-ink);
    box-shadow: 0 28px 85px rgba(31,20,12,.28);
    transform: translateY(16px) scale(.985);
    transition: transform .22s ease;
}
.dar-faq-modal.is-open .dar-faq-modal__dialog { transform: none; }
.dar-faq-modal__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 34px 25px;
    border-bottom: 1px solid var(--faq-modal-line);
    background-color: #fbf7f1;
}
.dar-faq-modal__header::before { position: absolute; inset: 0; content: ""; pointer-events: none; background: url("../../img/gift-pattern.svg?v=4") center top / 118px 84px repeat; opacity: .34; }
.dar-faq-modal__header > div { position: relative; z-index: 1; }
.dar-faq-modal__meta { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.dar-faq-modal__eyebrow { display: block; color: var(--faq-modal-gold); font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.dar-faq-modal__header h2 { margin: 0; color: var(--faq-modal-ink); font-family: "Playfair Display", Georgia, serif; font-size: 36px; font-weight: 600; line-height: 1.1; }
.dar-faq-modal__close { position: relative; z-index: 2; display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; margin: 0; padding: 0; border: 1px solid #dccbb8; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--faq-modal-ink); box-shadow: none; }
.dar-faq-modal__close span { margin-top: -3px; font-family: Arial, sans-serif; font-size: 28px; font-weight: 300; line-height: 1; }
.dar-faq-modal__body { min-height: 0; padding: 22px 26px 0; overflow-y: auto; }
.dar-faq-modal__search { position: sticky; top: 0; z-index: 3; display: flex; min-height: 54px; align-items: center; border: 1px solid #ddc9b2; border-radius: 12px; background: #fff; box-shadow: 0 9px 24px rgba(65,43,25,.07); }
.dar-faq-modal__search svg { width: 21px; margin-left: 17px; fill: none; stroke: var(--faq-modal-gold); stroke-width: 1.8; stroke-linecap: round; }
.dar-faq-modal__search input { width: 100%; height: 52px; padding: 0 17px 0 12px; border: 0; background: transparent !important; color: var(--faq-modal-ink) !important; -webkit-text-fill-color: var(--faq-modal-ink); caret-color: var(--faq-modal-gold); font-size: 15px; opacity: 1 !important; outline: 0; }
.dar-faq-modal__search input::placeholder { color: #94877b !important; -webkit-text-fill-color: #94877b; opacity: 1; }
.dar-faq-modal__count { display: inline-grid; min-width: 22px; height: 22px; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--faq-modal-gold); color: #fff; font-size: 9px; font-weight: 900; line-height: 1; }
.dar-faq-modal__list { display: grid; gap: 9px; padding-bottom: 24px; }
.dar-faq-modal__item { overflow: hidden; border: 1px solid var(--faq-modal-line); border-radius: 12px; background: #fff; }
.dar-faq-modal__item[open] { border-color: #d8b890; background: #fffcf8; }
.dar-faq-modal__item summary { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 16px 15px 19px; color: var(--faq-modal-ink); cursor: pointer; font-size: 14px; font-weight: 800; line-height: 1.4; list-style: none; }
.dar-faq-modal__item summary::-webkit-details-marker { display: none; }
.dar-faq-modal__item summary i { position: relative; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid #dfc9af; border-radius: 50%; }
.dar-faq-modal__item summary i::before, .dar-faq-modal__item summary i::after { position: absolute; top: 50%; left: 50%; width: 9px; height: 1px; background: var(--faq-modal-gold); content: ""; transform: translate(-50%,-50%); }
.dar-faq-modal__item summary i::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .2s ease; }
.dar-faq-modal__item[open] summary i::after { transform: translate(-50%,-50%); }
.dar-faq-modal__answer { margin: 0 18px; padding: 16px 36px 20px 0; border-top: 1px solid #eee5da; color: var(--faq-modal-muted); font-size: 14px; line-height: 1.72; }
.dar-faq-modal__answer > *:last-child { margin-bottom: 0; }
.dar-faq-modal__empty { padding: 30px 20px; border: 1px solid var(--faq-modal-line); border-radius: 12px; background: #fbf7f1; text-align: center; }
.dar-faq-modal__empty strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 23px; }
.dar-faq-modal__empty p { margin: 7px 0 15px; color: var(--faq-modal-muted); }
.dar-faq-modal__empty a { color: var(--faq-modal-gold); font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.dar-faq-modal__footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; padding: 17px 26px; border-top: 1px solid var(--faq-modal-line); background: #fbf7f1; }
.dar-faq-modal__footer small, .dar-faq-modal__footer strong { display: block; }
.dar-faq-modal__footer small { margin-bottom: 2px; color: #91775e; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.dar-faq-modal__footer strong { font-size: 14px; }
.dar-faq-modal__footer > a { color: var(--faq-modal-gold); font-size: 12px; font-weight: 900; }
.dar-faq-modal__footer > a:not(.dar-faq-modal__all) { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border: 1px solid #d9bc99; border-radius: 9px; background: #fff; }
.dar-faq-modal__footer > a:not(.dar-faq-modal__all) svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dar-faq-modal__footer > a span { margin-right: 4px; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.dar-faq-modal__all { display: flex; align-items: center; gap: 7px; }
@media (max-width: 767px) {
    .dar-faq-modal { align-items: end; padding: 0; }
    .dar-faq-modal__dialog { width: 100%; max-height: 92dvh; border-width: 1px 0 0; border-radius: 20px 20px 0 0; transform: translateY(100%); }
    .dar-faq-modal__header { padding: 23px 18px 19px; }
    .dar-faq-modal__header h2 { font-size: 30px; }
    .dar-faq-modal__close { width: 38px; height: 38px; flex-basis: 38px; }
    .dar-faq-modal__body { padding: 16px 14px 0; }
    .dar-faq-modal__item summary { min-height: 57px; padding: 13px 14px; font-size: 13px; }
    .dar-faq-modal__answer { margin: 0 14px; padding: 14px 0 18px; font-size: 13px; }
    .dar-faq-modal__footer { grid-template-columns: 1fr auto; gap: 10px; padding: 13px 14px max(13px, env(safe-area-inset-bottom)); }
    .dar-faq-modal__footer > div { display: none; }
    .dar-faq-modal__footer > a:not(.dar-faq-modal__all) { text-align: center; }
    .dar-faq-modal__all { justify-content: flex-end; font-size: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .dar-faq-modal, .dar-faq-modal__dialog { transition: none; }
}
