/* Gadget Review Hub — single gadget page, same-to-same as the MobileDokan
   Redmi 17 reference (v2.2).
   Brand colors come from Settings → Gadget Review Hub as CSS variables:
   --grh-primary #F97316, --grh-secondary #09793E, --grh-white #FFFFFF,
   --grh-dark #333333.
   Reference ink/muted/line colors are literal: ink-strong #14161a,
   ink #232629, muted #5d646b, line #e1e5e8, chip #f4f6f7, page bg #f1f3f4. */

/* Elementor's global kit styles every native <button> with the site accent
   color (orange) and white text, which made our buttons unreadable.
   These rules win back our own button look: white background, dark text.
   Orange is only used as a fill with BLACK text (never white on orange). */

.grh-single .grh-tab-btn,
.grh-single .grh-variant-pill,
.grh-single .grh-media-pill,
.grh-single .grh-shortlist-btn,
.grh-single .grh-share-btn,
.grh-single .grh-share-close,
.grh-single .grh-faq-q,
.grh-single .grh-vote-btn,
.grh-single .grh-gallery-prev,
.grh-single .grh-gallery-next,
.grh-single .grh-expand-hint,
.grh-single .grh-read-more,
.grh-single .grh-comment-attach,
.grh-single .grh-star-rate button {
    background-color: #fff !important;
    color: #232629 !important;
    border: 1px solid #e1e5e8 !important;
}

.grh-single .grh-tab-btn.active {
    background-color: var(--grh-primary, #F97316) !important;
    border-color: var(--grh-primary, #F97316) !important;
    color: #14161a !important;
}

.grh-single .grh-variant-pill.selected {
    background-color: var(--grh-primary, #F97316) !important;
    border-color: var(--grh-primary, #F97316) !important;
    color: #14161a !important;
}

.grh-single .grh-variant-pill.selected .grh-variant-label {
    color: #14161a !important;
}

.grh-single .grh-variant-pill.selected .grh-variant-price {
    color: #26221e !important;
}

.grh-single .grh-on-orange {
    background-color: var(--grh-primary, #F97316) !important;
    border-color: var(--grh-primary, #F97316) !important;
    color: #14161a !important;
}

.grh-single .grh-shortlist-btn.grh-shortlisted {
    background-color: var(--grh-secondary, #09793E) !important;
    border-color: var(--grh-secondary, #09793E) !important;
    color: #fff !important;
}

.grh-single .grh-gallery-prev:hover,
.grh-single .grh-gallery-next:hover {
    background-color: var(--grh-primary, #F97316) !important;
    border-color: var(--grh-primary, #F97316) !important;
    color: #14161a !important;
}

.grh-single .grh-star-rate button {
    background: none !important;
    border: none !important;
    color: #c8cdd1 !important;
}

.grh-single .grh-star-rate button.on {
    color: var(--grh-primary, #F97316) !important;
}

.grh-single .grh-vote-btn.grh-voted {
    background-color: var(--grh-primary, #F97316) !important;
    border-color: var(--grh-primary, #F97316) !important;
    color: #14161a !important;
}

/* Lightbox buttons are appended to <body> (outside .grh-single), so they
   need their own overrides. The close button is dark with a white × so it
   is unmistakable on the white lightbox. */
.grh-lightbox .grh-lightbox-close {
    background-color: #14161a !important;
    color: #fff !important;
    border: 1px solid #14161a !important;
    border-radius: 50% !important;
}
.grh-lightbox .grh-lightbox-prev,
.grh-lightbox .grh-lightbox-next,
.grh-lightbox .grh-lb-thumb {
    background-color: #fff !important;
    color: #14161a !important;
    border: 1px solid #e1e5e8 !important;
}

.grh-lightbox .grh-lb-thumb.grh-thumb-active {
    border-color: var(--grh-primary, #F97316) !important;
}

/* ---------- Base ---------- */

.grh-single {
    background: #f1f3f4;
    color: #232629;
    font-family: ui-sans-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.grh-single h1,
.grh-single h2,
.grh-single h3,
.grh-single h4 {
    font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
    line-height: 1.2;
    margin: 0;
}

.grh-single a {
    color: var(--grh-secondary, #09793E) !important;
    text-decoration: none;
}

.grh-single a:hover {
    text-decoration: underline;
}

.grh-single-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 14px 60px;
}

/* ---------- Card + title bar ---------- */

.grh-card {
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(16, 24, 20, .08), 0 8px 24px rgba(16, 24, 20, .06);
    margin-top: 18px;
    padding: 20px 22px 22px;
}

.grh-title-bar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.grh-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
    margin: 0;
    color: #14161a;
}

.grh-title-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.grh-share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e1e5e8;
    background: #f4f6f7;
    color: #232629;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.grh-share-btn:hover {
    border-color: var(--grh-primary, #F97316);
    color: #14161a;
}

.grh-shortlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
    padding: 9px 16px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid #e1e5e8;
    background: #fff;
    color: #232629;
    min-height: 42px;
    cursor: pointer;
}

.grh-shortlist-btn.grh-shortlisted {
    background: var(--grh-secondary, #09793E);
    border-color: var(--grh-secondary, #09793E);
    color: #fff;
}

/* ---------- Score badge (next to the title) ---------- */

.grh-score-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--grh-secondary, #09793E);
    color: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    line-height: 1.05;
    margin-left: 2px;
    text-align: center;
}

.grh-score-badge small {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.grh-score-badge strong {
    font-size: 18px;
    font-weight: 800;
}

/* ---------- Top: image + info ---------- */

.grh-top {
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 26px;
    margin-top: 14px;
}

.grh-top-left {
    position: relative;
}

/* ---------- Image stage / gallery ---------- */

/* The stage is the positioning context for the carousel arrows. The arrows
   sit OUTSIDE the zoom wrap on purpose: an arrow click must only swap the
   image — it must never reach the zoom wrap's click handler that opens the
   lightbox. */
.grh-gallery-stage {
    position: relative;
}

.grh-image-wrap {
    position: relative;
    border: 1px solid #e1e5e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1 / 1.02;
    display: block;
    cursor: zoom-in;
}

.grh-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .18s ease-out;
    will-change: transform;
}

.grh-image-wrap.grh-zooming img {
    transition: none;
    transform: scale(2);
}

.grh-slide-num {
    position: absolute;
    top: 10px;
    left: 12px;
    background: rgba(20, 22, 26, .78);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    z-index: 3;
}

.grh-gallery-prev,
.grh-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e1e5e8;
    background: #fff;
    color: #14161a;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.grh-gallery-prev { left: 10px; }
.grh-gallery-next { right: 10px; }

.grh-gallery-prev:hover,
.grh-gallery-next:hover {
    background: var(--grh-primary, #F97316);
    color: #14161a;
    border-color: var(--grh-primary, #F97316);
}

.grh-gallery-prev:disabled,
.grh-gallery-next:disabled {
    opacity: .35;
    cursor: default;
    background: #fff;
    color: #232629;
}

.grh-expand-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    background: rgba(20, 22, 26, .78);
    color: #fff;
    border-radius: 8px;
    padding: 7px 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}

.grh-single .grh-show-all-photos {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 3;
    background: var(--grh-primary, #F97316) !important;
    color: #14161a !important;
    font-weight: 800;
    font-size: 14px;
    border: 0;
    border-radius: 8px;
    padding: 9px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    text-decoration: none;
    white-space: nowrap;
}

.grh-single .grh-show-all-photos:hover {
    color: #14161a !important;
    text-decoration: none;
}

.grh-media-pills {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.grh-media-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 8px;
    padding: 9px 14px;
    font-weight: 700;
    color: #14161a;
    font-size: 15px;
    min-height: 42px;
    text-decoration: none;
}

.grh-media-pill:hover {
    border-color: var(--grh-primary, #F97316);
    text-decoration: none;
}

.grh-media-pill svg {
    color: var(--grh-secondary, #09793E);
}

/* ---------- Meta row ---------- */

.grh-meta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #e1e5e8;
    border-radius: 8px;
    overflow: hidden;
}

.grh-meta-row > div {
    padding: 9px 12px;
    font-size: 14px;
    color: #5d646b;
}

.grh-meta-row > div + div {
    border-left: 1px solid #e1e5e8;
}

.grh-meta-row b {
    color: #14161a;
    font-weight: 700;
}

.grh-meta-row a {
    font-weight: 700;
}

/* ---------- Price box ---------- */

.grh-price-box {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.grh-price-line {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.grh-price-line h2 {
    font-size: 16px;
    font-weight: 700;
    color: #232629;
}

.grh-price-big {
    font-size: 32px;
    font-weight: 800;
    color: #14161a;
    letter-spacing: -.01em;
    line-height: 1.2;
}

.grh-price-tag {
    font-weight: 800;
    font-size: 17px;
}

.grh-tag-off {
    color: var(--grh-secondary, #09793E);
}

.grh-tag-unoff,
.grh-tag-exp {
    color: #c2570b;
}

.grh-variants-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.grh-variants-head h3 {
    font-size: 17px;
    font-weight: 800;
    color: #14161a;
}

.grh-variants-head span {
    font-size: 13px;
    color: #5d646b;
}

.grh-variant-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    min-width: 0;
}

.grh-variant-pill {
    flex: 1 1 130px;
    max-width: 190px;
    min-width: 0;
    /* The theme/Elementor kit styles native <button> elements (see the note
       at the top of this file). It also forced the pill text onto one line,
       so long variant labels could not wrap: the pills kept their full
       min-content width and the row overflowed the card instead of wrapping.
       These three lines win the wrapping back: the pill may shrink below
       its content width and its label wraps inside the pill. */
    white-space: normal;
    overflow-wrap: break-word;
    text-align: left;
    background: #fff;
    border: 2px solid #e1e5e8;
    border-radius: 10px;
    padding: 10px 14px;
    min-height: 64px;
    position: relative;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.grh-variant-pill:hover {
    border-color: #FDBA74;
}

.grh-variant-label {
    display: block;
    font-weight: 800;
    font-size: 16px;
    color: #14161a;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.grh-variant-price {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #5d646b;
    margin-top: 2px;
}

.grh-variant-pill.selected {
    background: var(--grh-primary, #F97316);
    border-color: var(--grh-primary, #F97316);
}

.grh-variant-pill.selected .grh-variant-label {
    color: #14161a;
}

.grh-variant-pill.selected .grh-variant-price {
    color: #26221e;
}

.grh-variant-pill.selected::after {
    content: "✓ Selected";
    position: absolute;
    top: -10px;
    right: 10px;
    background: #14161a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.grh-updated {
    text-align: right;
    font-size: 13px;
    color: #5d646b;
    margin-top: 10px;
}

/* ---------- Buttons ---------- */

.grh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 8px;
    padding: 9px 16px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    min-height: 42px;
    text-decoration: none;
    cursor: pointer;
}

.grh-btn:hover {
    text-decoration: none;
    filter: brightness(.97);
}

.grh-btn-primary {
    background: var(--grh-primary, #F97316);
    color: #000;
}

.grh-btn-primary:hover {
    color: #000;
    opacity: .92;
}

.grh-btn-outline {
    border: 2px solid var(--grh-primary, #F97316);
    color: #14161a;
    background: #fff;
}

.grh-btn-dark {
    background: #2b2e33;
    color: #fff;
}

/* ---------- Key specs ---------- */

.grh-key-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    border-top: 1px solid #e1e5e8;
    padding-top: 16px;
}

.grh-key-head h3 {
    font-size: 18px;
    font-weight: 800;
    color: #14161a;
}

.grh-single .grh-see-full {
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    color: var(--grh-secondary, #09793E) !important;
}

.grh-os-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    font-weight: 700;
    color: #14161a;
}

.grh-os-row svg {
    color: var(--grh-secondary, #09793E);
}

.grh-chips {
    display: grid;
    /* minmax(0, 1fr): a plain 1fr track cannot shrink below its content's
       longest word, so on a phone the 3-column grid forced the whole page
       wider than the screen (horizontal scroll, card cut off on the right).
       With minmax(0, ...) the tracks may shrink and long words wrap. */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
    margin-top: 12px;
}

.grh-chip {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
}

.grh-chip-text {
    min-width: 0;
    overflow-wrap: break-word;
}

.grh-chip-icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f6f7;
    display: grid;
    place-items: center;
    color: #5d646b;
}

.grh-chip-text small {
    display: block;
    color: #5d646b;
    font-size: 13px;
    line-height: 1.3;
}

.grh-chip-text b {
    color: #14161a;
    font-size: 15px;
    line-height: 1.3;
}

.grh-hl-chips {
    border-top: 1px solid #e1e5e8;
    margin-top: 16px;
    padding-top: 14px;
}

.grh-hl-chips .grh-chip {
    align-items: center;
}

.grh-hl-chips .grh-chip b {
    font-weight: 600;
    font-size: 15px;
}

/* ---------- Tabs (pill style) ---------- */

.grh-tabs {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(16, 24, 20, .08), 0 8px 24px rgba(16, 24, 20, .06);
    margin-top: 16px;
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.grh-tab-btn {
    padding: 9px 18px;
    border-radius: 8px;
    background: #f4f6f7;
    color: #14161a;
    font-weight: 700;
    font-size: 15px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: none;
}

.grh-tab-btn:hover {
    text-decoration: none;
    background: #FFF1E6;
}

.grh-tab-btn.active {
    background: var(--grh-primary, #F97316);
    color: #14161a;
}

.grh-tab-section {
    scroll-margin-top: 84px;
}

/* ---------- Panels ---------- */

.grh-panel {
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(16, 24, 20, .08), 0 8px 24px rgba(16, 24, 20, .06);
    padding: 20px 22px;
    margin-top: 16px;
    scroll-margin-top: 84px;
}

.grh-panel > h2 {
    font-size: 21px;
    font-weight: 800;
    color: #14161a;
    margin-bottom: 12px;
}

.grh-panel > h3 {
    font-size: 17px;
    font-weight: 800;
    color: #14161a;
    margin-top: 14px;
}

.grh-panel p {
    margin: 0 0 12px;
}

/* ---------- Review text (Details) ---------- */

.grh-review {
    font-size: 16px;
    line-height: 1.75;
}

.grh-review p {
    margin: 0 0 12px;
}

/* Details tab sections rendered from meta (v2.2.17): SEO headings + lists. */
.grh-review h3 {
    font-size: 18px;
    font-weight: 800;
    color: #14161a;
    margin: 18px 0 8px;
}

.grh-review ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.grh-review li {
    margin-bottom: 4px;
}

.grh-hl-more {
    display: none;
}

.grh-review.grh-hl-open .grh-hl-more {
    display: block;
}

.grh-read-more {
    margin-top: 4px;
}

/* ---------- Section titles (legacy) ---------- */

.grh-section-title {
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #14161a;
}

/* ---------- Full spec tables ---------- */

.grh-spec-group {
    margin-top: 18px;
}

.grh-spec-group:first-of-type {
    margin-top: 4px;
}

.grh-full-specs .grh-spec-group h3,
.grh-spec-group h3 {
    color: var(--grh-secondary, #09793E);
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
}

/* ---------- Pros / Cons (shortcode only) ---------- */

.grh-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 26px;
}

.grh-pros,
.grh-cons {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px 18px;
}

.grh-pros h4 {
    color: var(--grh-secondary, #09793E);
    margin: 0 0 8px;
}

.grh-cons h4 {
    color: #b91c1c;
    margin: 0 0 8px;
}

.grh-pros ul,
.grh-cons ul {
    margin: 0;
    padding-left: 18px;
}

.grh-pros li,
.grh-cons li {
    margin-bottom: 4px;
}

/* ---------- FAQ ---------- */

.grh-faq {
    margin: 0;
}

.grh-faq > h2 {
    font-size: 21px;
    font-weight: 800;
    color: #14161a;
    margin-bottom: 12px;
}

.grh-faq-item {
    border: 1px solid #e1e5e8;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.grh-faq-q {
    width: 100%;
    background: #fff;
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 13px 16px;
    font-weight: 700;
    color: #14161a;
    font-size: 16px;
    min-height: 48px;
    cursor: pointer;
}

.grh-faq-q svg {
    flex: none;
    transition: transform .2s;
    color: var(--grh-secondary, #09793E);
}

.grh-faq-item.open .grh-faq-q svg {
    transform: rotate(180deg);
}

.grh-faq-a {
    display: none;
    padding: 0 16px 14px;
    color: #232629;
}

.grh-faq-item.open .grh-faq-a {
    display: block;
}

.grh-faq-a p {
    margin: 0;
}

/* ---------- Related ---------- */

.grh-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.grh-rel-card {
    border: 1px solid #e1e5e8;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.grh-rel-img {
    position: relative;
    background: #fff;
    aspect-ratio: 1 / .82;
}

.grh-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.grh-rel-score {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--grh-secondary, #09793E);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 0 0 8px 0;
    z-index: 2;
}

.grh-rel-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.grh-rel-body h3 {
    font-size: 16px;
    font-weight: 700;
}

.grh-rel-body h3 a {
    color: #14161a !important;
}

.grh-rel-price {
    font-weight: 800;
    color: #14161a;
    margin: 0;
}

.grh-rel-cmp {
    margin-top: auto;
    border-top: 1px solid #e1e5e8;
    padding-top: 9px;
}

.grh-rel-cmp label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 2px;
    min-height: 36px;
}

.grh-rel-cmp input {
    width: 18px;
    height: 18px;
    accent-color: var(--grh-primary, #F97316);
}

/* ---------- Reviews ---------- */

.grh-rev-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.grh-write-review-btn {
    margin-top: 10px;
}

.grh-rev-summary {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.grh-rev-score {
    background: var(--grh-secondary, #09793E);
    color: #fff;
    border-radius: 10px;
    padding: 14px 20px;
    text-align: center;
    min-width: 110px;
}

.grh-rev-big {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.grh-rev-stars {
    margin: 6px 0;
}

.grh-stars {
    color: var(--grh-primary, #F97316);
    letter-spacing: 2px;
    font-size: 16px;
}

.grh-stars .grh-stars-off {
    color: #c8cdd1;
}

.grh-rev-bars {
    flex: 1;
    min-width: 210px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
}

.grh-rev-count-label {
    font-weight: 700;
}

.grh-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.grh-bar-row span {
    width: 64px;
    color: #5d646b;
}

.grh-bar {
    flex: 1;
    height: 10px;
    background: #f4f6f7;
    border-radius: 6px;
    overflow: hidden;
}

.grh-bar i {
    display: block;
    height: 100%;
    background: #b9bfc4;
}

.grh-bar i.grh-bar-neg {
    background: #d33f2e;
}

.grh-bar-row b {
    width: 16px;
    text-align: right;
}

.grh-review-card {
    border: 1px solid #e1e5e8;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 14px;
}

.grh-review-top {
    display: flex;
    gap: 12px;
    align-items: center;
}

.grh-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grh-secondary, #09793E);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 17px;
    flex: none;
}

.grh-review-top h4 {
    font-size: 16px;
}

.grh-review-top small {
    color: #5d646b;
}

.grh-review-stars {
    margin-left: auto;
}

.grh-review-card h5 {
    font-size: 16px;
    margin: 10px 0 4px;
    color: #14161a;
}

.grh-votes {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.grh-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e1e5e8;
    background: #f4f6f7;
    border-radius: 20px;
    padding: 5px 13px;
    font-weight: 700;
    min-height: 36px;
    color: #232629;
    cursor: pointer;
}

.grh-vote-btn.grh-voted {
    background: var(--grh-primary, #F97316);
    color: #14161a;
    border-color: var(--grh-primary, #F97316);
}

.grh-report-link {
    margin-left: auto;
    font-size: 14px;
    color: #5d646b;
}

.grh-first-review {
    font-weight: 800;
    letter-spacing: .03em;
    margin-top: 14px;
}

.grh-form-note {
    font-size: 14px;
    color: #5d646b;
}

/* ---------- Forms (review + discussion) ---------- */

.grh-field {
    margin-bottom: 12px;
}

.grh-field label {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 5px;
}

.grh-field label em {
    color: #d33f2e;
    font-style: normal;
}

.grh-field input[type="text"],
.grh-field input[type="email"],
.grh-field input[type="password"],
.grh-field textarea {
    width: 100%;
    border: 1px solid #e1e5e8;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
    color: #232629;
    box-sizing: border-box;
}

.grh-field textarea {
    min-height: 96px;
    resize: vertical;
}

.grh-star-rate {
    display: flex;
    gap: 4px;
}

.grh-star-rate button {
    background: none;
    border: 0;
    font-size: 27px;
    line-height: 1;
    color: #c8cdd1;
    padding: 4px;
    min-height: 40px;
    min-width: 40px;
    cursor: pointer;
}

.grh-star-rate button.on {
    color: var(--grh-primary, #F97316);
}

.grh-inline-msg {
    display: none;
    margin-top: 10px;
    background: #E7F4EC;
    border: 1px solid var(--grh-secondary, #09793E);
    color: #232629;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
}

.grh-inline-msg.show {
    display: block;
}

.grh-discussion-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.grh-discussion-form .grh-field {
    flex: 1 1 100%;
    margin-bottom: 0;
}

.grh-discussion-form .grh-disc-field {
    flex: 1;
    min-width: 200px;
}

.grh-discussion-form .grh-disc-field input {
    margin-bottom: 0;
}

.grh-discussion-form .form-submit {
    margin: 0;
    display: flex;
    gap: 10px;
}

.grh-comment-attach {
    min-height: 42px;
}

.grh-no-reviews {
    margin-top: 14px;
}

/* ---------- Showrooms ---------- */

.grh-showroom-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
}

.grh-showroom-card h4 {
    margin: 0 0 12px;
}

/* ---------- Breadcrumb ---------- */

.grh-breadcrumb {
    margin: 18px 2px 4px;
    font-size: 14px;
    color: #5d646b;
}

.grh-single .grh-breadcrumb a {
    color: #232629 !important;
    font-weight: 600;
}

/* ---------- Share modal ---------- */

.grh-share-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(12, 14, 16, .62);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 14px;
    overflow: auto;
}

.grh-share-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    max-width: 430px;
    width: 100%;
    margin: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.grh-share-card h2 {
    font-size: 20px;
    color: #14161a;
    margin-bottom: 14px;
}

.grh-share-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #f4f6f7;
    color: #14161a;
    font-size: 18px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.grh-share-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.grh-share-links a,
.grh-share-links button {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #e1e5e8;
    border-radius: 9px;
    padding: 11px 13px;
    font-weight: 700;
    color: #14161a;
    background: #fff;
    min-height: 46px;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
}

.grh-share-links a:hover,
.grh-share-links button:hover {
    border-color: var(--grh-primary, #F97316);
    text-decoration: none;
}

.grh-share-links button[data-grh-copy-link] {
    grid-column: 1 / -1;
    justify-content: center;
}

/* ---------- Lightbox (white, like the reference) ---------- */

.grh-lightbox {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 300;
    display: flex;
    flex-direction: column;
}

.grh-lb-top {
    display: flex;
    justify-content: center;
    padding: 12px;
    position: relative;
}

.grh-lightbox-close {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    border: 1px solid #14161a;
    background: #14161a;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.grh-lightbox-close:hover {
    background: var(--grh-primary, #F97316);
    border-color: var(--grh-primary, #F97316);
    color: #14161a;
}

.grh-lightbox-count {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    color: #14161a;
}

.grh-lb-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 0;
    padding: 0 64px;
}

.grh-lightbox-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.grh-lightbox-prev,
.grh-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e1e5e8;
    background: #fff;
    color: #14161a;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    z-index: 2;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.grh-lightbox-prev { left: 12px; }
.grh-lightbox-next { right: 12px; }

.grh-lightbox-prev:hover,
.grh-lightbox-next:hover {
    background: var(--grh-primary, #F97316);
    color: #14161a;
}

.grh-lightbox-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 14px 10px 20px;
    flex-wrap: wrap;
}

.grh-lb-thumb {
    border: 2px solid #e1e5e8;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    width: 74px;
    height: 74px;
    cursor: pointer;
}

.grh-lb-thumb.grh-thumb-active {
    border-color: var(--grh-primary, #F97316);
}

.grh-lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ---------- Gallery page ---------- */

.grh-gallery-page {
    scroll-margin-top: 84px;
}

.grh-gal-close {
    float: right;
}

.grh-gal-title {
    color: #14161a;
    font-size: 22px;
    font-weight: 800;
    margin: 8px 0 14px;
}

.grh-gal-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.grh-gal-nav a {
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 700;
    color: #14161a;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.grh-gal-nav a:hover {
    border-color: var(--grh-primary, #F97316);
    text-decoration: none;
}

.grh-gal-h3 {
    color: #14161a;
    font-size: 18px;
    font-weight: 800;
    margin: 22px 0 12px;
    scroll-margin-top: 84px;
}

.grh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.grh-gtile {
    position: relative;
    border: 1px solid #e1e5e8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #14161a !important;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 1 / .92;
    display: block;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    text-align: center;
}

.grh-gtile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    display: block;
    box-sizing: border-box;
}

.grh-gtile > span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 22, 26, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 8px;
    text-align: center;
}

.grh-gtile-extra {
    display: none;
}

.grh-gallery-grid.grh-show-all .grh-gtile-extra {
    display: block;
}

.grh-more-veil {
    position: absolute;
    inset: 0;
    background: rgba(30, 32, 36, .66);
    color: #fff;
    display: none;
    place-items: center;
    font-weight: 800;
    font-size: 17px;
}

.grh-gallery-grid:not(.grh-show-all) .grh-gtile-veil .grh-more-veil {
    display: grid;
}

.grh-color-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.grh-color-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    font-weight: 600;
    background: #fff;
}

.grh-color-swatch {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 10px;
    border: 1px solid #ddd;
}

.grh-gal-bottom {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
    border-top: 1px solid #e1e5e8;
    padding-top: 16px;
}

.grh-gal-bottom a {
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    color: #14161a;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.grh-gal-bottom a:hover {
    border-color: var(--grh-primary, #F97316);
    text-decoration: none;
}

/* ---------- Misc ---------- */

.grh-muted {
    color: #5d646b;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
    .grh-top {
        grid-template-columns: 340px minmax(0, 1fr);
    }

    .grh-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .grh-top {
        grid-template-columns: 1fr;
    }

    .grh-title {
        font-size: 24px;
    }

    .grh-price-big {
        font-size: 28px;
    }

    /* Key Specifications: one item per line on phones — 2 columns at ~327px
       made each column too narrow and pushed the page wider than the screen. */
    .grh-chips {
        grid-template-columns: 1fr;
    }

    /* Related cards: full width on phones — 2 columns are too narrow and
       can overflow the card. */
    .grh-related-grid {
        grid-template-columns: 1fr;
    }

    .grh-meta-row {
        grid-template-columns: 1fr;
    }

    .grh-meta-row > div + div {
        border-left: 0;
        border-top: 1px solid #e1e5e8;
    }

    .grh-card {
        padding: 16px;
    }

    .grh-panel {
        padding: 16px;
    }

    .grh-lb-main {
        padding: 0 8px;
    }

    .grh-lightbox-prev { left: 6px; }
    .grh-lightbox-next { right: 6px; }

    .grh-gallery-grid,
    .grh-color-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grh-pros-cons {
        grid-template-columns: 1fr;
    }
}
