.product-lightbox:not([open]) { display: none; }

.product-empty-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-block-size: clamp(168px, 24vw, 240px);
    padding: 1.25rem 1rem;
    border: 1px dashed #cbd9ea;
    border-radius: .85rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6fc 100%);
    text-align: center;
    color: var(--p-muted, #5b7088);
    font-size: .85rem;
}
.product-empty-photo__art {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dbe7f4;
    box-shadow: 0 4px 12px rgb(15 41 66 / 5%);
}
.product-empty-photo__art svg {
    width: 48px;
    height: 48px;
}
.product-empty-photo__label {
    margin: 0;
    font-size: .84rem;
    font-weight: 500;
    color: #52677d;
}
.product-lightbox { width: min(92vw, 50rem); max-height: 92vh; margin: auto; padding: .85rem; border: 1px solid var(--p-rule); border-radius: .8rem; background: #fff; }
.product-lightbox::backdrop { background: rgb(9 34 65 / .78); }
.product-lightbox img { display: block; width: 100%; height: min(66vh, 44rem); object-fit: contain; touch-action: pan-y; }

.product-colors { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; margin-block-start: .55rem; font-size: .87rem; }
.product-swatches { display: flex; flex-wrap: wrap; gap: .4rem; }
.product-color-picker { gap: 4px 12px; }
.product-color-option { position: relative; }
.product-color-chip {
    display: grid;
    place-items: center;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.product-color-dot {
    display: block;
    width: 24px;
    height: 24px;
    border: 1px solid rgb(15 40 65 / 24%);
    border-radius: 50%;
    background: var(--swatch, #e0e7ef);
}
.product-color-chip[aria-current] .product-color-dot {
    outline: 1.5px solid var(--color-brand-600, #0878d1);
    outline-offset: 3px;
}
.product-color-option[data-color-unavailable] .product-color-dot::after {
    content: "";
    position: absolute;
    inset: 50% 9px auto;
    border-block-start: 2px solid #fff;
    box-shadow: 0 1px 1px #172d43;
    transform: rotate(-45deg);
}
.product-color-chip:focus-visible { outline: 2px solid var(--color-brand-700, #075da6); }
.product-color-tooltip {
    display: none;
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 100%;
    z-index: 2;
    width: max-content;
    padding: 3px 8px;
    border-radius: 6px;
    color: white;
    background: #122940;
    font-size: 12px;
    pointer-events: none;
}
.product-color-chip:focus-visible + .product-color-tooltip { display: block; }
@media (hover: hover) {
    .product-color-chip:hover + .product-color-tooltip { display: block; }
}

.product-benefits { border-block-start: 1px solid var(--p-rule); padding-block-start: .52rem; display: grid; gap: .35rem; font-size: .83rem; }
.product-benefits li, .product-benefits div { display: flex; gap: .45rem; align-items: center; }
.product-benefits dd { font-weight: 500; }

.product-cart-form { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.product-cart-form .input { max-width: 4.65rem; }

.product-panel { scroll-margin-block-start: 1rem; }
.product-panel { min-width: 0; overflow-wrap: anywhere; padding-block: 1.25rem; border-block-end: 1px solid var(--p-rule); }
.product-panel h2 { margin-block: 0 .58rem; font-size: 1.19rem; font-weight: 700; line-height: 1.55; }
.product-panel h3 { margin-block: 0 .25rem; font-size: .95rem; font-weight: 700; }
.product-lines { white-space: pre-line; line-height: 1.87; }
.product-editorial-lead { max-inline-size: 70ch; margin-block-end: .85rem; padding-inline-start: .7rem; border-inline-start: 3px solid #82b7e2; }
.product-editorial-lead .product-lines { font-weight: 500; }
.product-editorial-grid { display: grid; column-gap: 1.25rem; row-gap: .7rem; }
.product-editorial-grid > div { padding-block-start: .5rem; border-block-start: 1px solid var(--p-rule); }
.product-editorial-grid .product-lines { max-inline-size: 66ch; color: var(--p-muted); font-size: .9rem; }
.product-editorial .product-lines + .product-lines { margin-block-start: .35rem; }

.product-spec-table-wrap { overflow: hidden; border: 1px solid var(--p-rule); border-radius: .65rem; }
.product-spec-table { table-layout: fixed; border-collapse: collapse; width: 100%; font-size: .87rem; }
.product-spec-table th, .product-spec-table td { padding: .56rem .75rem; text-align: start; overflow-wrap: anywhere; }
.product-spec-table th[scope="row"] { width: 40%; color: var(--p-muted); font-weight: 500; }
.product-spec-table td { font-weight: 700; }
.product-spec-table .product-spec-category { background: #e7f2fb; color: #153c60; }
.product-spec-table tbody + tbody .product-spec-category { border-block-start: 1px solid var(--p-rule); }
.product-spec-table tr:nth-child(even) { background: #f6f9fc; }

.product-feedback-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-block-end: .9rem; }
.product-feedback-heading h2 { margin: 0; font-size: 1.2rem; color: #0f2942; }
.product-feedback-heading__titles { display: grid; gap: .18rem; }
.product-feedback-count, .product-entry time { color: var(--p-muted, #5b7088); font-size: .81rem; margin: 0; }
.product-feedback-heading .btn { min-height: 44px; padding-inline: 1rem; border-radius: .65rem; }
.product-feedback-empty { margin: 0; color: #1e3a56; font-size: .9rem; font-weight: 600; }
.premium-storefront .review-empty,
.review-empty {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    margin-block-start: .25rem;
    border: 1px solid #e2ecf6;
    border-radius: .8rem;
    background: #f8fbfe;
}
.review-empty__icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: .65rem;
    background: #eaf3fd;
    color: #075da6;
    flex: none;
}
.review-empty__icon svg { width: 19px; height: 19px; }
.review-empty__copy { display: grid; gap: .15rem; min-width: 0; }
.review-empty__copy small { font-size: .8rem; color: #5b7088; line-height: 1.65; }
.rating-choice {
    margin: 0;
    padding: .75rem .9rem;
    border: 1px solid #e2ecf6;
    border-radius: .75rem;
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
}
.rating-choice legend {
    padding: 0 .35rem;
    font-size: .82rem;
    font-weight: 600;
    color: #334e68;
}
.rating-none-option {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    color: #5b7088;
    cursor: pointer;
}

.product-rating-summary {
    display: grid;
    gap: 1rem 1.5rem;
    align-items: center;
    margin-block: .85rem 1.1rem;
    padding: 1rem 1.15rem;
    border: 1px solid #dbe7f3;
    border-radius: .85rem;
    background: linear-gradient(135deg, #f4f9ff 0%, #f9fbfe 100%);
}
.product-rating-hero { display: flex; align-items: center; gap: .85rem; }
.product-score-big { font-size: 2.15rem; font-weight: 800; line-height: 1; color: #0f2942; font-variant-numeric: tabular-nums; }
.product-rating-hero__meta { display: grid; gap: .25rem; }
.product-score { margin: 0; font-size: .83rem; font-weight: 600; color: #16654e; }
.rating-stars--summary, .rating-stars--display { display: inline-flex; align-items: center; gap: 2px; font-size: 1.05rem; line-height: 1; color: #cbd5e1; }
.rating-stars--summary > span, .rating-stars--display > span { display: inline-block; font-size: 1.08rem; line-height: 1; }
.rating-stars--summary .is-filled, .rating-stars--display .is-filled { color: #f59e0b; }

.product-rating-breakdown { list-style: none; margin: 0; padding: 0; display: grid; gap: .42rem; max-inline-size: 26rem; }
.product-rating-breakdown li { display: grid; grid-template-columns: 3.8rem minmax(0, 1fr) 2rem; align-items: center; gap: .6rem; font-size: .82rem; color: #334e68; }
.product-rating-breakdown__label { font-weight: 500; white-space: nowrap; }
.product-rating-breakdown__count { text-align: end; font-variant-numeric: tabular-nums; color: #5b7088; }
.product-rating-bar { display: block; height: 8px; border-radius: 999px; background: #e2ecf5; overflow: hidden; }
.product-rating-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.product-review-sort { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-block: .75rem .95rem; padding: .55rem .75rem; border-radius: .65rem; background: #f8fafc; border: 1px solid #e5edf5; }
.product-review-sort .label { margin: 0; font-size: .83rem; color: #475569; }
.product-review-sort .input { width: auto; max-width: 100%; min-height: 38px; padding-block: .35rem; }
.product-review-sort .btn { min-height: 38px; padding-inline: .85rem; }

.product-entries-list { display: grid; gap: .8rem; margin-block-start: .65rem; }
.product-entry {
    display: grid;
    gap: .65rem;
    padding: .95rem 1.05rem;
    border: 1px solid #dfe8f2;
    border-radius: .85rem;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 41, 66, 0.03);
    font-size: .91rem;
}
.product-entry--pending {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 55%);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.08);
}
.product-entry__pending-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .65rem;
    padding-block-end: .55rem;
    border-block-end: 1px dashed rgba(217, 119, 6, 0.32);
    font-size: .81rem;
    color: #92400e;
}
.product-entry__pending-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d97706;
    flex: none;
}
.product-entry__pending-badge {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #92400e;
    font-size: .76rem;
    font-weight: 700;
}
.product-entry__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem .85rem;
}
.product-entry__author { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.product-entry__author .review-author-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #edf4fc;
    color: #0b5cab;
    flex: none;
}
.product-entry__author-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.product-entry__author-meta strong { font-size: .9rem; color: #0f2942; }
.review-role-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .16rem .55rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}
.review-role-badge--verified { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.product-entry__meta-end { display: flex; align-items: center; gap: .6rem; margin-inline-start: auto; }
.product-entry__body { margin: 0; color: #1e293b; line-height: 1.9; font-size: .91rem; }
.product-entry--own { border-color: #cbd5e1; background: #fcfdff; }
.product-entry__owner-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem .85rem;
    padding-block-start: .6rem;
    border-block-start: 1px solid #eef2f7;
    font-size: .8rem;
}
.product-entry__owner-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #475569;
    font-weight: 500;
}
.product-entry__owner-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #f59e0b;
    flex: none;
}
.product-entry__owner-status--rejected .product-entry__owner-dot { background: #ef4444; }
.product-entry__edit-btn {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .25rem .75rem;
    border-radius: .55rem;
    border: 1px solid #cbd9ea;
    background: #f8fbff;
    color: #1d5bd6;
    font-size: .79rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease;
}
.product-entry__edit-btn:hover { background: #eef4fc; border-color: #93b7e8; }
.product-entry__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem .85rem;
    padding-block-start: .55rem;
    border-block-start: 1px solid #f1f5f9;
}
.product-entry__footer-end {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-inline-start: auto;
}
.product-helpful-form { margin: 0; }
.product-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    min-height: 34px;
    padding: .25rem .7rem;
    border-radius: 999px;
    border: 1px solid #d7e3f0;
    background: #f8fafc;
    color: #475569;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.product-helpful-btn:hover { background: #f1f6fd; border-color: #b4cce6; color: #1e3a5f; }
.product-helpful-btn.is-voted { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }
.product-helpful-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    font-size: .73rem;
    font-variant-numeric: tabular-nums;
}
.product-helpful-btn.is-voted .product-helpful-count { background: rgba(4, 120, 87, 0.14); }
.product-helpful-count[hidden] { display: none; }

.product-feedback--question .product-entry { border-inline-start: 3px solid #84b1d6; background: #fbfdff; }
.product-reply {
    margin-block-start: .2rem;
    padding: .8rem .95rem;
    border-radius: .7rem;
    background: #f4f8fd;
    border: 1px solid #dbe8f6;
    border-inline-start: 3px solid #1d5bd6;
    display: grid;
    gap: .35rem;
}
.product-reply__head { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.product-reply__logo { width: 22px; height: 22px; object-fit: contain; flex: none; }
.product-reply__head strong { font-size: .84rem; color: #0f2942; font-weight: 700; }
.product-reply__tag { font-size: .72rem; font-weight: 600; color: #1d5bd6; background: #e8f1fc; padding: .1rem .48rem; border-radius: 999px; }
.product-reply p { margin: 0; font-size: .87rem; color: #243b53; line-height: 1.8; }

.product-notice {
    margin-block: .5rem;
    padding: .68rem .9rem;
    border-radius: .65rem;
    background: #f0f7ff;
    border: 1px solid #cbe2fb;
    color: #123e6b;
    font-size: .86rem;
    font-weight: 500;
}
.product-notice--success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.product-notice--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.product-notice--warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }

.product-report { border: 0; padding: 0; }
.product-feedback-form[hidden] { display: none !important; }
.product-feedback-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; justify-content: flex-start; }
.product-report-toggle {
    border: 0;
    background: transparent;
    padding: .15rem 0;
    font-size: .77rem;
    color: #64748b;
    cursor: pointer;
}
.product-report-toggle:hover { color: #0f2942; text-decoration: underline; }
.product-report-panel { margin-block-start: .5rem; padding: .7rem .85rem; border: 1px solid #e2e8f0; border-radius: .65rem; background: #f8fafc; }
.product-report-panel[hidden] { display: none !important; }
.product-report form { max-width: 19rem; display: grid; gap: .45rem; }

.product-feedback-form {
    display: grid;
    gap: .75rem;
    margin-block-start: 1.15rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid #dbe6f2;
    border-radius: .9rem;
    background: #f9fbfd;
    scroll-margin-block-start: 4rem;
}
.product-feedback-form__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .75rem; }
.product-feedback-form__head .label { margin: 0; font-size: .96rem; font-weight: 700; color: #0f2942; }
.product-feedback-status-pill {
    display: inline-flex;
    align-items: center;
    padding: .22rem .65rem;
    border-radius: 999px;
    font-size: .77rem;
    font-weight: 600;
}
.product-feedback-status-pill--pending { background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; }
.product-feedback-textarea { min-height: 7rem; line-height: 1.85; background: #ffffff; }
.product-feedback-form__actions { display: flex; justify-content: flex-start; }
.product-feedback-form button { justify-self: start; min-height: 44px; padding-inline: 1.25rem; }

[data-theme="dark"] .product-rating-summary,
html[data-support-theme="dark"] .product-rating-summary {
    background: #152238;
    border-color: #2b3e5b;
}
[data-theme="dark"] .product-entry,
html[data-support-theme="dark"] .product-entry {
    background: #152033;
    border-color: #2b3d59;
    color: #e2e8f0;
}
[data-theme="dark"] .product-entry--pending {
    background: linear-gradient(180deg, rgba(180, 83, 9, 0.2) 0%, #152033 65%);
    border-color: #d97706;
}
[data-theme="dark"] .product-entry__author-meta strong,
[data-theme="dark"] .product-feedback-heading h2,
[data-theme="dark"] .product-score-big { color: #f1f5f9; }
[data-theme="dark"] .product-entry__body { color: #cbd5e1; }
[data-theme="dark"] .product-reply { background: #1c2c46; border-inline-start-color: #60a5fa; }
[data-theme="dark"] .product-reply__head strong { color: #93c5fd; }
[data-theme="dark"] .product-reply p { color: #dbeafe; }
[data-theme="dark"] .product-feedback-form { background: #131d2f; border-color: #2b3d59; }
[data-theme="dark"] .product-feedback-textarea { background: #0f172a; border-color: #334868; color: #f1f5f9; }

@media (min-width: 47.5rem) {
    .product-rating-summary { grid-template-columns: auto minmax(0, 1fr); }
}
.product-faq details { border-block-start: 1px solid var(--p-rule); }
.product-faq summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .65rem; min-height: 47px; padding: .45rem .15rem; list-style: none; font-size: .93rem; font-weight: 680; }
.product-faq summary::-webkit-details-marker { display: none; }
.product-faq details[open] summary { color: #00569f; }
.product-faq-answer { max-inline-size: none; width: 100%; padding-block-end: .7rem; color: var(--p-muted); font-size: .9rem; }
.product-accordion-icon { flex: none; position: relative; width: 1.35rem; height: 1.35rem; border-radius: .3rem; background: #eaf3fb; }
.product-accordion-icon::before,.product-accordion-icon::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: .55rem; height: 2px; background: #285575; transform: translate(-50%,-50%); }
.product-accordion-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.product-faq details[open] .product-accordion-icon::after { transform: translate(-50%,-50%); }

@media (min-width: 47.5rem) {
    .product-editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .product-panel { scroll-margin-block-start: 4rem; padding-block: 1.5rem; }
}
@media (max-width: 47.49rem) {
    .product-spec-table th,.product-spec-table td { padding: .48rem .55rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .product-accordion-icon::after { transition: transform .14s ease; }
}

.product-faq-chevron { flex: none; transition: transform .18s ease; }
.product-faq details[open] .product-faq-chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .product-faq-chevron { transition: none; } }