/* Product reviews (light site, 2026-11-01): product header score, product page section, All Reviews page,
   order details Order Review box and dialog. Values follow the site rules: type scale (body 12, labels #6B7280 400,
   card title 15/800), boxes (big 12 white + faint shadow, small 8 + #ECEDEF line, info #F4F5F7 + #E3E5E8 line,
   input 8 + 1.5px #E3E5E8, typing = #FFF4D6 + gold gradient frame), buttons pill, one gold. */

#ProductReviews, #AllReviews, #OrderReview, .sxr-dlg {
    --sxr-ink: #1A1D24; --sxr-text: #3F4350; --sxr-grey: #6B7280; --sxr-line: #ECEDEF; --sxr-line2: #E3E5E8;
    --sxr-info: #F4F5F7; --sxr-gold: #F29A00; --sxr-off: #DADDE2;
    --sxr-goldtext: linear-gradient(160deg, #FFD24A, #F2A900 55%, #C77800);
    --sxr-goldbtn: linear-gradient(110deg, #FFB21A 0%, #F29A00 45%, #B86A00 100%);
    --sxr-goldframe: linear-gradient(135deg, #FFD24A, #9C5A00);
    font-family: Manrope, Arial, system-ui, sans-serif;
}

/* ---------- Stars ---------- */
.sxr-st { display: inline-flex; gap: 2px; font-size: 11px; line-height: 1; white-space: nowrap; }
.sxr-st i { background: var(--sxr-goldtext, linear-gradient(160deg, #FFD24A, #F2A900 55%, #C77800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sxr-st i.sxr-e { background: none; color: var(--sxr-off, #DADDE2); }

/* ---------- Product header: score, first in the list (same build as the Instant Delivery item) ---------- */
/* The site's header rules use !important, so these do too. */
html body #ProductDisplayWrapper .Specification > li.sxr-badge .T i { display: block !important; font-size: 15px !important; line-height: 16px !important; text-align: center; color: transparent !important;
    background: linear-gradient(160deg, #FFD24A, #F2A900 55%, #C77800) !important; -webkit-background-clip: text !important; background-clip: text !important; }
html body #ProductDisplayWrapper .Specification > li.sxr-badge .C a, html body #ProductDisplayWrapper .Specification > li.sxr-badge .C b { color: #fff !important; font-weight: 600 !important; text-decoration: none; }
html body #ProductDisplayWrapper .Specification:has(> li.sxr-badge) { flex-wrap: wrap !important; }
html body #ProductDisplayWrapper .Specification > li.sxr-badge .C .sxr-bl { font-weight: 400 !important; opacity: .85; margin-left: 6px; color: #fff !important; }
#ProductDisplayWrapper .Specification > li.sxr-badge .C a:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- One review: avatar / name / stars + date / comment ---------- */
.sxr-rv { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--sxr-line); }
.sxr-rv:last-child { border-bottom: 0; padding-bottom: 0; }
.sxr-av { width: 32px; height: 32px; border-radius: 50%; background: var(--sxr-info); box-shadow: inset 0 0 0 1px var(--sxr-line2);
    color: #9CA3AF; display: flex; align-items: center; justify-content: center; font-size: 13px; overflow: hidden; }
.sxr-av { position: relative; }
.sxr-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sxr-name { color: var(--sxr-ink); font-weight: 600; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
.sxr-line2 { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.sxr-date { color: var(--sxr-grey); font-size: 12px; font-weight: 400; line-height: 18px; }
.sxr-rv p { margin: 6px 0 0; color: var(--sxr-text); font-size: 12px; font-weight: 400; line-height: 18px; overflow-wrap: anywhere; }
.sxr-rv p.sxr-nc { color: var(--sxr-grey); font-style: italic; }

/* ---------- Product page section: a card like Description / Guidance / FAQ ---------- */
#ProductReviews { background: #fff; border-radius: 12px; padding: 30px 24px; margin: 0 -16px;
    box-shadow: 0 0 0 1px #ECEDEF, 0 1px 2px rgba(16, 24, 40, .04); border-bottom: 2px solid #E6E8EC; overflow: hidden; color: var(--sxr-ink); }
#ProductReviews > .ContentTitle { display: flex; align-items: center; gap: 8px; margin: -30px -24px 20px; padding: 16px 24px;
    font-size: 15px; font-weight: 800; line-height: 22.5px; color: var(--sxr-ink); border-bottom: 1px solid #EEF0F3;
    background: radial-gradient(240px 110px at 0% 50%, rgba(255, 176, 0, .3), transparent 70%), linear-gradient(90deg, rgba(255, 190, 40, .12), transparent 65%); }
/* Same as the "View More" link on the related-products cards (product-related.css .RelatedMore). */
#ProductReviews .sxr-all { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 21px; color: var(--sxr-ink); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
#ProductReviews .sxr-all::after { content: "\f101"; font-family: "Font Awesome 6 Free"; font-weight: 800; font-size: 10.8px; display: flex; align-items: center; justify-content: center;
    height: 21px; padding: 0 5.4px; box-sizing: border-box; border-radius: 999px; border: 2px solid transparent; color: var(--sxr-gold);
    background: linear-gradient(#FFFBF1, #FFFBF1) padding-box, linear-gradient(110deg, #FFD24A 0%, #FFB400 35%, #E08A00 70%, #9C5A00 100%) border-box; transition: transform .22s cubic-bezier(.2,.8,.2,1); }
#ProductReviews .sxr-all:hover::after { transform: translateX(2px); }
@media (max-width: 767px) { #ProductReviews .sxr-all span { display: none; } }
#ProductReviews .sxr-sum { display: grid; grid-template-columns: 1fr 1fr; background: var(--sxr-info); border: 1px solid var(--sxr-line2); border-radius: 8px; }
#ProductReviews .sxr-sum > div { padding: 12px 16px; }
#ProductReviews .sxr-sum > div + div { border-left: 1px solid var(--sxr-line2); }
#ProductReviews .sxr-sum small { display: block; color: var(--sxr-grey); font-size: 12px; font-weight: 400; line-height: 18px; }
#ProductReviews .sxr-sum b { display: inline-block; color: var(--sxr-ink); font-size: 18px; font-weight: 600; line-height: 26px; margin-right: 8px; vertical-align: middle; }
#ProductReviews .sxr-sum .sxr-st { vertical-align: middle; font-size: 12px; }
#ProductReviews .sxr-list { margin-top: 4px; }
@media (min-width: 768px) {
    #ProductReviews { padding: 30px; margin: 0; }
    #ProductReviews > .ContentTitle { margin: -30px -30px 22px; padding: 16px 30px; }
    #ProductReviews .sxr-sum { max-width: 420px; }
}
@media (min-width: 1024px) {
    #ProductReviews .sxr-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
    #ProductReviews .sxr-list .sxr-rv:nth-last-child(2):nth-child(odd) { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- All Reviews page ---------- */
/* Its own route, so it gets the light page background the other shop pages set in their page CSS. */
html:has(#AllReviews), body:has(#AllReviews) { background-color: #F3F2EF !important; }
main:has(> #AllReviews) { background: transparent !important; }
body:has(#AllReviews) { background-image: radial-gradient(1100px 520px at 50% -120px, rgba(255, 186, 50, .3), transparent 72%),
    radial-gradient(700px 500px at 100% 40%, rgba(255, 200, 90, .08), transparent 70%) !important; background-repeat: no-repeat !important; }
.sxr-page { max-width: 1440px; margin: 24px auto 60px; padding: 0 24px; box-sizing: border-box; color: var(--sxr-ink); }
.sxr-page h1 { font-size: 20px; font-weight: 800; line-height: 28px; color: var(--sxr-ink) !important; margin: 0 0 16px; }
.sxr-page .sxr-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.sxr-page .sxr-card { background: #fff; border-radius: 12px; padding: 20px; min-width: 0; box-shadow: 0 0 0 1px #ECEDEF, 0 1px 2px rgba(16, 24, 40, .04); }
.sxr-page .sxr-product { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--sxr-line); color: inherit; text-decoration: none; }
.sxr-page .sxr-product img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px var(--sxr-line); }
.sxr-page .sxr-product b { color: var(--sxr-ink); font-size: 12px; font-weight: 600; line-height: 18px; }
.sxr-page .sxr-product small { display: block; color: var(--sxr-grey); font-size: 12px; font-weight: 400; margin-top: 2px; }
.sxr-page .sxr-nums { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 0 6px; background: var(--sxr-info); border: 1px solid var(--sxr-line2); border-radius: 8px; }
.sxr-page .sxr-nums > div { padding: 10px 14px; }
.sxr-page .sxr-nums > div + div { border-left: 1px solid var(--sxr-line2); }
.sxr-page .sxr-nums b { display: block; color: var(--sxr-ink); font-size: 18px; font-weight: 600; line-height: 26px; }
.sxr-page .sxr-nums small { display: block; color: var(--sxr-grey); font-size: 12px; font-weight: 400; line-height: 18px; }
.sxr-page .sxr-nums .sxr-st { font-size: 12px; vertical-align: 2px; margin-left: 6px; }
.sxr-page .sxr-bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: 12px; font-weight: 400; color: var(--sxr-grey); margin: 10px 0; }
.sxr-page .sxr-bar span { font-weight: 400; }
.sxr-page .sxr-bar i { height: 6px; background: var(--sxr-line); border-radius: 6px; overflow: hidden; display: block; }
.sxr-page .sxr-bar i b { display: block; height: 100%; border-radius: 6px; background: var(--sxr-goldbtn); }
.sxr-page .sxr-bar span:last-child { text-align: right; color: var(--sxr-ink); }
.sxr-page .sxr-hrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--sxr-line); }
/* Star tabs: the same look as My Orders (#FilterTab) — folder tabs on a computer, chips on a phone (no counts: the bars above show them). */
.sxr-page .sxr-tabs { display: flex; flex-wrap: nowrap; margin-bottom: -1px; }
.sxr-page .sxr-tab { position: relative; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 5px; height: 44px; padding: 0 18px;
    border-radius: 12px 12px 0 0; white-space: nowrap; color: var(--sxr-grey); font-size: 12px; font-weight: 500; line-height: 18px; text-decoration: none; }
.sxr-page .sxr-tab:hover { color: var(--sxr-ink); }
.sxr-page .sxr-tab.on { color: var(--sxr-gold); font-weight: 700; background: #fff; box-shadow: inset 0 1px 0 var(--sxr-line), inset 1px 0 0 var(--sxr-line), inset -1px 0 0 var(--sxr-line); }
.sxr-page .sxr-tab.on::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px; border-radius: 3px;
    background: linear-gradient(110deg, #FFD24A, #FFB400 50%, #E08A00); }
.sxr-page .sxr-chk { display: flex; align-items: center; gap: 8px; color: var(--sxr-text); font-size: 12px; margin: 0; cursor: pointer; user-select: none; }
.sxr-page .sxr-chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sxr-page .sxr-chk span { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--sxr-line2); background: #fff; color: transparent;
    display: inline-flex; align-items: center; justify-content: center; font-size: 10px; box-sizing: border-box; }
.sxr-page .sxr-chk input:checked + span { background: var(--sxr-goldbtn); border-color: transparent; color: #fff; }
.sxr-page .sxr-chk input:focus-visible + span { outline: 2px solid var(--sxr-gold); outline-offset: 2px; }
.sxr-page .sxr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.sxr-page .sxr-list .sxr-rv { border: 1px solid var(--sxr-line); border-radius: 8px; padding: 14px 16px; margin-top: 12px; align-content: start; }
.sxr-page .sxr-none { color: var(--sxr-grey); font-size: 12px; margin: 18px 0 4px; }
.sxr-page .sxr-more { display: block; width: 100%; height: 44px; margin-top: 16px; background: #fff; color: var(--sxr-ink); border: 1.5px solid var(--sxr-line2);
    border-radius: 999px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.sxr-page .sxr-more:hover { border-color: #C9CDD3; }
.sxr-page .sxr-more:disabled { opacity: .6; cursor: default; }
.sxr-page [hidden] { display: none !important; }
@media (max-width: 1100px) {
    .sxr-page .sxr-list { grid-template-columns: 1fr; }
    .sxr-page .sxr-hrow { display: block; border-bottom: 0; }
    .sxr-page .sxr-tabs { border-bottom: 1px solid var(--sxr-line); }
    .sxr-page .sxr-hrow .sxr-chk { margin: 14px 0 2px; }
}
@media (max-width: 800px) {
    .sxr-page { padding: 0 16px; margin-top: 16px; }
    .sxr-page h1 { font-size: 18px; line-height: 26px; }
    .sxr-page .sxr-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .sxr-page .sxr-card { padding: 16px; }
    .sxr-page .sxr-tabs { gap: 8px; margin: 0; padding: 0 0 12px; border-bottom: 0; }
    .sxr-page .sxr-tab { flex: 1 1 0; min-width: 0; padding: 0 4px; border-radius: 8px; background: #fff; border: 1px solid var(--sxr-line2); color: var(--sxr-text); }
    .sxr-page .sxr-tab.on { border-color: transparent; box-shadow: none;
        background: linear-gradient(#FFFBF1, #FFFBF1) padding-box, linear-gradient(110deg, #FFD24A 0%, #FFB400 35%, #E08A00 70%, #9C5A00 100%) border-box; }
    .sxr-page .sxr-tab.on::after { left: 16px; right: 16px; bottom: 5px; }
    .sxr-page .sxr-hrow .sxr-chk { margin: 4px 0 2px; }
    .sxr-page .sxr-list .sxr-rv { border-radius: 12px; }
}

/* ---------- Order details: "Rate this order" card (the page's own .card.sgR look, next to "Need help") ---------- */
#OrderReview h3 { font-size: 15px; font-weight: 800; line-height: 22.5px; color: var(--sxr-ink); }
/* White with a border like the Review button on My Orders (2026-11-05); gold here to match the Live Chat button next to it. */
#OrderReview .sxr-obtn { flex: 0 0 auto; width: auto; min-width: 140px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: #fff;
    color: #C98500; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: inset 0 0 0 1.5px #F2A100; }
#OrderReview .sxr-obtn:hover { background: #FFF8E6; }
#OrderReview .sxr-obtn:focus-visible { outline: 2px solid var(--sxr-gold); outline-offset: 2px; }
#OrderReview .sxr-orated { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#OrderReview .sxr-orated .sxr-st { font-size: 14px; gap: 3px; }
#OrderReview .sxr-orated b { color: var(--sxr-ink); font-size: 12px; font-weight: 600; }
#OrderReview p.sxr-oauto { margin: 6px 0 0 !important; color: var(--sxr-grey) !important; font-size: 12px; font-style: italic; line-height: 18px; }
#OrderReview p.sxr-ocomment { margin: 6px 0 0 !important; color: var(--sxr-text) !important; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
/* Without order-details.js (no .sgTwo around it): a plain box below the purchased items. */
#OrderItemList > #OrderReview { margin-top: 12px; background: #fff; border: 1px solid var(--sxr-line); border-radius: 8px; padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px; }
@media (max-width: 767px) {
    #OrderReview .sxr-obtn { width: 100%; height: 44px; }
}

/* ---------- Review dialog ---------- */
.sxr-ov { position: fixed; inset: 0; background: rgba(17, 19, 24, .55); z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.sxr-dlg { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 12px; padding: 22px 24px 24px;
    box-sizing: border-box; text-align: left; color: var(--sxr-ink); box-shadow: 0 20px 50px rgba(16, 24, 40, .25); }
.sxr-dlg .sxr-x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; background: none; border: 0; border-radius: 50%;
    color: var(--sxr-grey); font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sxr-dlg .sxr-x:hover { background: var(--sxr-info); color: var(--sxr-ink); }
.sxr-dlg h2 { font-size: 18px; font-weight: 800; line-height: 26px; color: var(--sxr-ink); margin: 0; padding: 0 40px 14px 0; border-bottom: 1px solid var(--sxr-line); }
.sxr-dlg .sxr-q { color: var(--sxr-grey); font-size: 12px; font-weight: 400; margin: 16px 0 10px; }
.sxr-dlg .sxr-pick { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--sxr-line); }
.sxr-dlg .sxr-pick > span { display: flex; gap: 6px; }
.sxr-dlg .sxr-pick button { background: none; border: 0; padding: 0; width: auto; height: auto; font-size: 28px; line-height: 1; cursor: pointer; color: var(--sxr-off); }
.sxr-dlg .sxr-pick button.on i { background: var(--sxr-goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sxr-dlg:focus { outline: none; }
.sxr-dlg .sxr-pick button:focus-visible { outline: 2px solid var(--sxr-gold); outline-offset: 3px; border-radius: 4px; }
.sxr-dlg .sxr-pick b { color: var(--sxr-gold); font-size: 13px; font-weight: 700; }
.sxr-dlg .sxr-box { border: 1.5px solid var(--sxr-line2); background: #fff; border-radius: 8px; padding: 10px 12px 8px; }
.sxr-dlg .sxr-box:focus-within { border: 2px solid transparent; padding: 9.5px 11.5px 7.5px;
    background: linear-gradient(#FFF4D6, #FFF4D6) padding-box, var(--sxr-goldframe) border-box; }
.sxr-dlg textarea { display: block; width: 100%; height: 88px; min-height: 0; resize: none; box-shadow: none !important; background: transparent !important; border: 0 !important; outline: 0; padding: 0 !important; border-radius: 0 !important;
    color: var(--sxr-ink); font: inherit; font-size: 12px; line-height: 18px; }
.sxr-dlg textarea::placeholder { color: #9CA3AF; }
.sxr-dlg .sxr-count { text-align: right; padding-top: 6px; color: var(--sxr-grey); font-size: 10px; }
.sxr-dlg .sxr-err { color: #D92D20; font-size: 12px; margin: 10px 0 0; }
.sxr-dlg .sxr-submit { display: block; width: 100%; height: 44px; margin-top: 18px; background: var(--sxr-goldbtn); color: #fff; border: 0; border-radius: 999px;
    font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 6px 16px rgba(242, 154, 0, .28); }
.sxr-dlg .sxr-submit:disabled { opacity: .6; cursor: default; }
body.sxr-lock { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
    .sxr-ov { animation: sxr-fade .15s ease-out; }
    .sxr-dlg { animation: sxr-rise .18s ease-out; }
    @keyframes sxr-fade { from { opacity: 0; } }
    @keyframes sxr-rise { from { opacity: 0; transform: translateY(8px); } }
}
