/* ==========================================================================
   ORMAU Product Reviews – Frontend Styles
   ========================================================================== */

/* ── Stars (shared) -------------------------------------------------------- */
.ormau-stars {
    display: inline-flex;
    gap: 2px;
    line-height: 1;
    font-size: 16px;
}
.ormau-star--full  { color: #f5a623; }
.ormau-star--half  { color: #f5a623; opacity: .5; }
.ormau-star--empty { color: #d8d8d8; }

/* ══ Loop stars (shop / category / collection pages) ══════════════════════ */
.ormau-loop-stars {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 2px 0 6px;
    line-height: 1;
    font-size: 14px;
}
.ormau-loop-stars .ormau-stars { font-size: 15px; }
.ormau-loop-stars__count { font-size: 11px; color: #999; }
.ormau-loop-stars--empty { display: none !important; }

/* ══ Single-product inline stars (directly below title) ══════════════════ */
.ormau-single-stars {
    margin: 0 0 8px;        /* tight – sits right under the title */
    line-height: 1;
}
.ormau-single-stars__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: inherit;
}
.ormau-single-stars__link:hover .ormau-single-stars__meta { text-decoration: underline; }
.ormau-single-stars .ormau-stars { font-size: 16px; }
.ormau-single-stars__meta {
    font-size: 13px;
    color: #666;
}

/* ══ Review section wrap ══════════════════════════════════════════════════ */
.ormau-reviews-wrap {
    font-family: inherit;
    font-size: 15px;
    color: #333;
    max-width: 900px;
}

/* ══ Summary row (histogram + CTA on same line) ══════════════════════════ */
.ormau-summary-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

/* ══ Summary ══════════════════════════════════════════════════════════════ */
.ormau-summary {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem 0 1.75rem;
    border-bottom: none;
    margin-bottom: 0;
    flex: 0 0 70%;
    width: 70%;
    min-width: 260px;
    box-sizing: border-box;
}

.ormau-summary__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 90px;
    gap: 4px;
}

.ormau-summary__score {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #111;
    letter-spacing: -.02em;
}

.ormau-summary__stars .ormau-stars { font-size: 20px; }

.ormau-summary__total {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    margin-top: 2px;
}

.ormau-summary__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ormau-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 2px 6px;
    margin: 0 -6px;
    border-radius: 5px;
    width: calc(100% + 12px);
    cursor: pointer;
    font-family: inherit;
    transition: background .12s;
    text-align: left;
}
.ormau-bar-row:hover { background: rgba(245,166,35,.1); }
.ormau-bar-row.is-active { background: rgba(245,166,35,.15); }
.ormau-bar-row.is-active .ormau-bar-label { font-weight: 700; color: #111; }

.ormau-bar-label {
    min-width: 26px;
    font-size: 12px;
    color: #555;
    text-align: right;
    flex-shrink: 0;
}

.ormau-bar-track {
    flex: 1;
    height: 7px;
    background: #efefef;
    border-radius: 4px;
    overflow: hidden;
}

.ormau-bar-fill {
    height: 100%;
    background: #f5a623;
    border-radius: 4px;
}

.ormau-bar-count {
    min-width: 20px;
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

/* ══ Active rating filter badge ══════════════════════════════════════════ */
.ormau-rating-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 13px;
    color: #555;
}
.ormau-rating-badge[hidden] { display: none; }
.ormau-rating-badge__clear {
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    cursor: pointer;
    color: #666;
    font-family: inherit;
    transition: border-color .12s, color .12s;
}
.ormau-rating-badge__clear:hover { border-color: #bbb; color: #111; }

/* ══ Media strip carousel ════════════════════════════════════════════════ */
.ormau-media-strip {
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}
.ormau-media-strip__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    opacity: 0;
    transition: opacity .2s, background .15s;
    pointer-events: none;
}
.ormau-media-strip__arrow svg { width: 18px; height: 18px; display: block; }
.ormau-media-strip__arrow--prev { left: 4px; }
.ormau-media-strip__arrow--next { right: 4px; }
.ormau-media-strip__arrow:hover { background: #fff; }
.ormau-media-strip:hover .ormau-media-strip__arrow:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}
.ormau-media-strip__track {
    display: flex;
    gap: 8px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}
.ormau-media-strip__track::-webkit-scrollbar { display: none; }
.ormau-media-strip__track.is-dragging { cursor: grabbing; }
.ormau-media-strip__item {
    flex-shrink: 0;
    width: calc((100% - 4 * 8px) / 4.5);
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    border: 1px solid #ebebeb;
    transition: opacity .15s;
}
.ormau-media-strip__item:hover { opacity: .82; }
.ormau-media-strip__item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

/* ══ Review cards ═════════════════════════════════════════════════════════ */
.ormau-review {
    padding: 1.4rem 0;
    border-bottom: 1px solid #e5e5e5;
}
.ormau-review:last-child { border-bottom: none; }

/* Row 1: stars left + date right */
.ormau-review__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .6rem;
}
.ormau-review__top .ormau-stars { font-size: 15px; }

.ormau-review__date {
    font-size: 12px;
    color: #aaa;
    flex-shrink: 0;
}

/* Row 2: avatar + name + badge */
.ormau-review__author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: .55rem;
    flex-wrap: wrap;
}

.ormau-review__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: .02em;
}

.ormau-review__author {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

/* Badge */
.ormau-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: .15em .55em;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .01em;
}
.ormau-badge--verified {
    background: #f0faf2;
    color: #27863a;
    border: 1px solid #b6e4bf;
}

/* Title + body */
.ormau-review__title {
    margin: 0 0 .35rem;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

.ormau-review__body {
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}
.ormau-review__body p { margin: 0 0 .4em; }
.ormau-review__body p:last-child { margin: 0; }

/* ══ Pagination ═══════════════════════════════════════════════════════════ */
.ormau-pagination-wrap {
    margin-top: 1.5rem;
}

.ormau-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.25rem;
}

.ormau-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e2ddd2;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #4b4b4b;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.ormau-page-link:hover {
    transform: translateY(-1px);
    border-color: #c9b38a;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.ormau-page-link:hover,
.ormau-page-link.current {
    background: linear-gradient(135deg, #395544 0%, #4e705a 100%);
    border-color: #395544;
    color: #fff;
    box-shadow: 0 14px 32px rgba(57, 85, 68, 0.22);
}

.ormau-page-link.current {
    cursor: default;
    transform: none;
}

/* ══ No reviews placeholder ═══════════════════════════════════════════════ */
.ormau-no-reviews {
    color: #999;
    font-size: 14px;
    padding: .75rem 0 1.5rem;
    margin: 0;
}

/* ══ Write a Review form ══════════════════════════════════════════════════ */
.ormau-form-wrap {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.75rem 2rem;
    margin-top: 2rem;
}

.ormau-form-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin: 0 0 1.3rem;
}

.ormau-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ormau-form-row .ormau-field {
    flex: 1;
    margin-bottom: 0;
}

.ormau-field { margin-bottom: 1rem; }

.ormau-label {
    display: block;
    margin-bottom: .35rem;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}
.ormau-label small { font-weight: 400; color: #aaa; margin-left: .3rem; }

.ormau-required { color: #e53935; }

.ormau-input,
.ormau-textarea {
    display: block;
    width: 100%;
    padding: .55em .8em;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.ormau-input:focus,
.ormau-textarea:focus {
    outline: none;
    border-color: #f5a623;
    box-shadow: 0 0 0 3px rgba(245,166,35,.12);
}
.ormau-textarea {
    resize: vertical;
    min-height: 110px;
}

/* Star picker */
.ormau-star-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 3px;
    font-size: 30px;
    margin: .2rem 0 .1rem;
}
.ormau-star-pick {
    color: #ddd;
    cursor: pointer;
    transition: color .1s, transform .1s;
    user-select: none;
    outline: none;
}
.ormau-star-pick:hover,
.ormau-star-pick.selected,
.ormau-star-pick.hovered {
    color: #f5a623;
    transform: scale(1.12);
}

/* Field error */
.ormau-field-error {
    display: block;
    font-size: 12px;
    color: #e53935;
    margin-top: .2rem;
    min-height: 15px;
}

/* Submit row */
.ormau-field--submit { margin-top: .25rem; }

.ormau-btn--primary {
    display: inline-block;
    padding: .65em 1.75em;
    background: #f5a623;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .01em;
    transition: background .15s;
}
.ormau-btn--primary:hover    { background: #d98e0e; }
.ormau-btn--primary:disabled { opacity: .55; cursor: not-allowed; }

/* Form result message */
.ormau-form-message {
    padding: .7rem 1rem;
    border-radius: 5px;
    font-size: 13px;
    margin-top: .9rem;
    display: none;
}
.ormau-form-message.success {
    background: #f0faf2;
    border: 1px solid #b6e4bf;
    color: #27863a;
    display: block;
}
.ormau-form-message.error {
    background: #fff5f5;
    border: 1px solid #ffc5c5;
    color: #c62828;
    display: block;
}

.ormau-privacy-note {
    font-size: 12px;
    color: #bbb;
    margin: .4rem 0;
}

.ormau-form-notice {
    font-size: 14px;
    color: #888;
    padding: .75rem 0;
}

/* ══ Responsive ═══════════════════════════════════════════════════════════ */
@media (max-width: 520px) {
    .ormau-summary { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .ormau-summary__left { flex-direction: row; align-items: center; gap: .75rem; }
    .ormau-summary__score { font-size: 2.4rem; }
    .ormau-summary__right { width: 100%; }

    .ormau-form-row { flex-direction: column; gap: 0; }
    .ormau-form-row .ormau-field { margin-bottom: 1rem; }

    .ormau-form-wrap { padding: 1.25rem; }

    .ormau-review__img { width: 64px; height: 64px; }
}

/* ══ Review images ════════════════════════════════════════════════════════ */
.ormau-review__images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: .9rem;
}
.ormau-review__img-link {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ebebeb;
    transition: opacity .15s;
}
.ormau-review__img-link:hover { opacity: .82; }
.ormau-review__img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* ══ Upload area (form) ═══════════════════════════════════════════════════ */
.ormau-upload-area {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: .65rem 1rem;
    border: 2px dashed #d8d8d8;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    color: #999;
    font-size: 14px;
    user-select: none;
}
.ormau-upload-area:hover {
    border-color: #f5a623;
    background: #fffbf5;
    color: #e09010;
}
.ormau-upload-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }

.ormau-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

/* Preview grid */
.ormau-image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: .6rem;
}
.ormau-img-thumb {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}
.ormau-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ormau-img-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .1s;
}
.ormau-img-remove:hover { background: #c62828; }

/* ══ Sort bar ══════════════════════════════════════════════════════════════ */
/* Force the reviews wrap to create a stacking context so the
   dropdown menu is never clipped by an ancestor overflow:hidden */
.ormau-reviews-wrap { overflow: visible !important; isolation: isolate; }
.ormau-sortbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ormau-sortbar__label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.ormau-sortbar__dropdown {
    position: relative;
}

.ormau-sortbar__toggle {
    display: inline-flex;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s;
    font-family: inherit;
    background: #ff000000;
}
.ormau-sortbar__toggle[aria-expanded="true"] {
    color: #111;
}

.ormau-sortbar__chevron {
    font-size: 16px;
    line-height: 1;
    transition: transform .18s;
    display: inline-block;
}
.ormau-sortbar__toggle[aria-expanded="true"] .ormau-sortbar__chevron {
    transform: rotate(180deg);
}

.ormau-sortbar__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    list-style: none;
    margin: 0;
    padding: .4rem 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s, transform .15s, visibility .15s;
}
.ormau-sortbar__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ormau-sortbar__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 1.1rem;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background .1s;
}
.ormau-sortbar__item:hover { background: #f7f7f7; }
.ormau-sortbar__item.is-selected {
    background: #375542;
    color: #fff;
    border-radius: 6px;
    margin: 0 .35rem;
    padding-left: .75rem;
    padding-right: .75rem;
}
.ormau-sortbar__item.is-selected:hover { background: #2d4437; }

.ormau-sortbar__check { flex-shrink: 0; font-size: 12px; }

/* Spinner used during AJAX load */
.ormau-review-list.is-loading {
    opacity: .45;
    pointer-events: none;
    transition: opacity .15s;
}

/* ══ Helpful vote ═════════════════════════════════════════════════════ */
.ormau-review__helpful {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: .95rem;
    padding-top: .75rem;
    border-top: 1px solid #f3f3f3;
    justify-content: flex-end;
}
.ormau-helpful__label {
    font-size: 13px;
    color: #888;
    flex-shrink: 0;
}
.ormau-helpful__btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    font-size: 13px;
    color: #888;
    cursor: pointer;
    font-family: inherit;
    transition: color .12s;
    white-space: nowrap;
}
.ormau-helpful__btn:hover {
    color: #222;
}
.ormau-helpful__btn.voted {
    color: #00796b;
    pointer-events: none;
}
.ormau-helpful__btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}
.ormau-helpful__count { font-weight: 600; }

body.ormau-no-scroll { overflow: hidden; }

/* ══ Lightbox ═════════════════════════════════════════════════════════════ */
.ormau-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ormau-lightbox[hidden] { display: none; }

.ormau-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ormau-lightbox__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(92vw, 560px);
    max-height: 92vh;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.ormau-lightbox,
.ormau-lightbox * {
    box-sizing: border-box;
}

.ormau-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgb(0 0 0 / 0%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background .15s;
}
.ormau-lightbox__close:hover { background: rgba(0,0,0,.7); }
.ormau-lightbox__close svg { width: 18px; height: 18px; display: block; }

.ormau-lightbox__stage {
    width: 100%;
    background: #111;
    position: relative;
    flex: 0 1 auto;
    min-height: 0;
    overflow: hidden;
}
.ormau-lightbox__img {
    width: 100%;
    max-height: min(55vh, 420px);
    object-fit: contain;
    display: block;
}

.ormau-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: background .12s;
}
.ormau-lightbox__arrow:hover { background: #fff; }
.ormau-lightbox__arrow[hidden] { display: none; }
.ormau-lightbox__arrow svg { width: 20px; height: 20px; display: block; }
.ormau-lightbox__arrow--prev { left: 10px; }
.ormau-lightbox__arrow--next { right: 10px; }

.ormau-lightbox__review {
    width: 100%;
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
    flex: 0 0 auto;
    min-height: 120px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    color: #111;
}
.ormau-lightbox__review-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: .5rem;
}
.ormau-lightbox__review-stars .ormau-star { font-size: 15px; }
.ormau-lightbox__review-stars .ormau-star--full  { color: #f5a623 !important; }
.ormau-lightbox__review-stars .ormau-star--half  { color: #f5a623 !important; opacity: .5; }
.ormau-lightbox__review-stars .ormau-star--empty { color: #d8d8d8 !important; }
.ormau-lightbox__review-name { font-size: 14px; color: #111; }
.ormau-lightbox__review-date { font-size: 12px; color: #aaa; }
.ormau-lightbox__review-badge {
    font-size: 11px;
    color: #2e7d32;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 20px;
    padding: 1px 8px;
    white-space: nowrap;
}
.ormau-lightbox__review-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0 0 .3rem;
}
.ormau-lightbox__review-body {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ormau-lightbox__review,
.ormau-lightbox__review p,
.ormau-lightbox__review span,
.ormau-lightbox__review strong,
.ormau-lightbox__review div {
    color: inherit;
}

.ormau-lightbox__review-stars,
.ormau-lightbox__review-stars span {
    color: initial;
}

.ormau-lightbox__review-name,
.ormau-lightbox__review-title {
    color: #111 !important;
}

.ormau-lightbox__review-date {
    color: #777 !important;
}

.ormau-lightbox__review-body,
.ormau-lightbox__review-body p {
    color: #555 !important;
}

.ormau-loop-stars__numeric {
    font-size: 12px;
    color: #444;
    font-weight: 500;
}


/* ==========================================================================
   CTA bar – Write a Review / Ask a Question buttons
   ========================================================================== */
.ormau-cta-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 calc(30% - 1.25rem);
    width: calc(30% - 1.25rem);
    box-sizing: border-box;
    align-self: stretch;
}
.ormau-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #375542;
    background: #fff;
    color: #111;
    transition: background .15s, color .15s;
    font-family: inherit;
}
.ormau-cta-btn:hover {
    background: #375542;
    color: #fff;
}
.ormau-cta-btn--review {
    background: #395544;
    color: #fff;
}
.ormau-cta-btn--review:hover {
    background: #2e4437;
    border-color: #2e4437;
}
.ormau-cta-btn svg {
    flex-shrink: 0;
    display: block;
}

/* ==========================================================================
   Tabs – Reviews / Questions
   ========================================================================== */
.ormau-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 1.25rem;
}
.ormau-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color .15s, border-color .15s;
    font-family: inherit;
}
.ormau-tab:hover { color: #111; }
.ormau-tab.is-active {
    color: #111;
    border-bottom-color: #111;
}
.ormau-tab-panel[hidden] { display: none; }

/* ==========================================================================
   Questions list
   ========================================================================== */
.ormau-qa-list { display: flex; flex-direction: column; gap: 1rem; }
.ormau-qa-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}
.ormau-qa-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.ormau-qa-body { flex: 1; min-width: 0; }
.ormau-qa-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.ormau-qa-name { font-size: 14px; color: #111; }
.ormau-qa-date { font-size: 12px; color: #999; }
.ormau-qa-question { margin: 0; font-size: 14px; color: #333; line-height: 1.5; }
.ormau-no-questions { padding: 1.5rem 0; color: #888; font-size: 14px; }

/* ==========================================================================
   Modal overlay
   ========================================================================== */
.ormau-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.ormau-modal[hidden] { display: none !important; }
.ormau-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}
.ormau-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 540px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,.22);
    padding: 32px 28px 28px;
}
.ormau-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666;
    line-height: 1;
    transition: color .12s;
}
.ormau-modal__close:hover { color: #111; }
.ormau-modal__title {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
}
.ormau-modal__body {}

/* Fix iOS input zoom issue */
@media (max-width: 767px) {
    .ormau-input,
    .ormau-textarea {
        font-size: 16px !important;
    }
}

/* Mobile layout overrides for summary and cta bar */
@media (max-width: 767px) {
    .ormau-summary {
        flex: 1 1 100% !important;
        width: 100% !important;
        padding-bottom: 0 !important;
    }
    .ormau-cta-bar {
        flex: 1 1 100% !important;
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
    }
    .ormau-cta-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 10px !important;
    }
}
