/*
 * Site stylesheet. Cleaned copy of the original main.css.
 *
 * The pages are still served without a doctype (quirks mode), where a bare
 * number such as "top: 5" is read as pixels. Every such value now carries
 * "px", so the rules mean the same thing and are also valid CSS.
 */

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

body,
html {
	font-family: 'Roboto', 'Arial', sans-serif;
	padding: 0;
	margin: 0;
	border: 0 none;
	width: 100%;
	min-height: 100%;
	background-color: #CCCCCC;
	background: linear-gradient(to top, #CCCCCC, #FFFFFF);
	background-size: cover;
	background-repeat: no-repeat;
}

a {
	text-decoration: none;
	color: #1da4c5;
}

a.selected {
	background-color: #1F75CC;
	color: white;
	z-index: 100;
}

.blue {
	color: #1da4c5;
}

.greymedium {
	font-size: 14pt;
	color: #666666;
}

.greylink a {
	color: #444444;
}

.leftborder {
	border-left: 1px #CCCCCC solid;
	padding-left: 7px;
}

.adminrow {
	font-size: 10pt;
}

/* Used inside product review HTML stored in the products table. */
.reviewtitle {
	text-decoration: underline;
	font-weight: 900;
}

/* ---------- Page frame ---------- */

.contentbox {
	width: 800px;
	margin: 0 auto;
	top: 100px;
	position: relative;
}

.wrapper {
	width: 983px;
	margin: 10px auto 0 auto;
	position: relative;
}

.frame {
	position: absolute;
	width: 980px;
	top: 40px;
	background-color: #bad8df;
	margin-top: 4px;
	border: 1px solid #9db3b8;
}

.mobilecontentwrapper {
	width: 100%;
	margin-top: 5pt;
	margin-bottom: 5pt;
}

.whitebox {
	position: relative;
	width: 960px;
	margin: 0 10px 10px 10px;
	border: 1px solid #9db3b8;
	background-color: white;
}

.whiteboxproduct {
	position: relative;
	width: 960px;
	margin: 0 10px 10px 10px;
	height: 270px;
	border: 1px solid #9db3b8;
	background: linear-gradient(rgb(220, 230, 230), white);
}

.clearbox {
	position: relative;
	width: 90%;
	margin: 0 10px 10px 10px;
	text-align: left;
	font-size: 10pt;
	left: 10px;
	top: 400px;
	padding-bottom: 100px;
}

/* ---------- Header and navigation ---------- */

.logonew {
	margin-top: 20px;
	margin-left: 25px;
	position: absolute;
	left: 0;
	top: 0;
}

.logo {
	position: absolute;
	left: 0;
	top: 5px;
}

.logomobile {
	left: 0;
	top: 5px;
	width: 100%;
}

.navright {
	position: absolute;
	right: 25px;
	top: 20px;
	font-family: 'Roboto', sans-serif;
}

.navright li {
	list-style-type: none;
	display: inline-block;
	margin-left: 10px;
	margin-right: 10px;
	color: #92989b;
	font-weight: 500;
	font-size: 16px;
}

.navright a,
.navright a:visited {
	color: #92989b;
	font-weight: 500;
	font-size: 16px;
}

.navright a:hover {
	color: #92988b;
}

.menu,
.menumembers {
	position: absolute;
	left: 385px;
	top: 28px;
	z-index: 5;
}

/* ---------- Footer ---------- */

.footer {
	background-color: #a0aea5;
	color: white;
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 70px;
}

.footer a {
	color: white;
}

.tos {
	position: relative;
	color: white;
	font-size: 8pt;
	padding: 5px;
	text-align: left;
}

/* ---------- Home page ---------- */

.productnamehomepage {
	font-size: 18pt;
	color: #444444;
}

.indexh1 {
	font-size: 16pt;
	color: #444444;
	font-weight: 500;
	text-align: left;
}

.indexh1mobile {
	font-size: 16pt;
	color: #444444;
	font-weight: 500;
	text-align: left;
	margin-left: 10pt;
}

.productoval {
	width: 95%;
	height: 100pt;
	margin: 5pt 15pt 5pt 5pt;
	border-radius: 15pt;
	border: 1pt solid #999999;
}

/* ---------- Mobile menu rows ---------- */

.homescreenbox {
	width: 88%;
	height: 30pt;
	background-color: #29b0d1;
	margin: 8px 15pt 8px 5pt;
	display: table;
	padding-left: 30px;
	overflow: hidden;
}

.homescreenboxtext {
	font-size: 14pt;
	color: white;
	display: table-cell;
	vertical-align: middle;
	height: 25pt;
	width: 360pt;
	padding-bottom: 0;
	z-index: 5;
}

.arrowbox {
	display: table-cell;
	vertical-align: middle;
	height: 30pt;
	z-index: 5;
	right: 5pt;
}

.arrowbox::after {
	position: relative;
	content: "";
	display: inline-block;
	width: 15pt;
	height: 15pt;
	border-right: 0.2em solid white;
	border-top: 0.2em solid white;
	transform: rotate(45deg);
	margin-right: 0.5em;
}

/* ---------- Product page ---------- */

.productphoto {
	position: absolute;
	left: 28px;
	top: 30px;
}

.productname {
	font-size: 24pt;
	color: #444444;
	position: relative;
	left: 110px;
	font-weight: 500;
	top: 270px;
	text-align: left;
}

.producth1 {
	font-size: 24pt;
	color: #444444;
	font-weight: 500;
	text-align: left;
	margin: 0;
	border: 0;
	padding: 0;
}

.producth1mobile {
	font-size: 20pt;
	color: #444444;
	font-weight: 500;
	text-align: left;
	margin: 0;
	border: 0;
	padding: 0;
	left: 13pt;
	position: relative;
}

.buynowbox {
	position: absolute;
	width: 297px;
	padding: 0;
	text-align: left;
	font-size: 10pt;
	right: 15px;
	top: 120px;
	border: 1px solid black;
	z-index: 8;
	background-color: white;
}

/* Specs and warranty icons. The hover fade used to be inline JavaScript
   written for old Internet Explorer, which threw an error everywhere else. */
.icon {
	opacity: 1;
	cursor: pointer;
}

.icon:hover {
	opacity: 0.6;
}

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

.button {
	position: relative;
	display: inline-block;
	background-color: #29b0d1;
	width: 127px;
	color: white;
	margin-left: 4px;
	margin-right: 4px;
	padding-top: 7px;
	padding-bottom: 7px;
	font-size: 10pt;
	text-align: center;
}

.button:hover {
	background-color: #19a0c1;
}

.button a {
	color: white;
}

.buttonorange {
	background-color: #e9a400;
}

.buttonorange:hover {
	background-color: #d99400;
}

/* ---------- Popups (specs, warranty, terms, privacy, CVV) ---------- */

.messageboxes {
	position: absolute;
	top: 10px;
}

.scrollcontent {
	width: 800px;
	height: 400px;
	overflow: scroll;
}

.messagepop,
.fixedpop,
.tinypop,
.tinypopmobile {
	background-color: #FFFFFF;
	border: 1px solid #999999;
	cursor: default;
	display: none;
	margin-top: 15px;
	text-align: left;
	z-index: 50;
	padding: 25px 25px 20px;
}

.messagepop {
	position: absolute;
	width: 830px;
	left: 50px;
}

.fixedpop {
	position: fixed;
	width: 830px;
	left: 50px;
}

.tinypop {
	position: fixed;
	width: 300px;
	left: 300px;
}

.tinypopmobile {
	position: fixed;
	width: 250px;
	left: 50px;
}

/* ---------- Forms ---------- */

fieldset {
	border: 2px solid #1c8ca7;
	border-radius: 5px;
	padding: 20px;
}

label {
	display: block;
	margin-bottom: 3px;
	padding-left: 15px;
	text-indent: -15px;
}

.form label {
	margin-left: 10px;
	color: #999999;
}

.billinglabel {
	padding-top: 8px;
}

input,
textarea,
select {
	padding: 4px;
	margin: 3px;
	border: solid 1px #B5B5B5;
	outline: 0;
	font: normal 13px/100% Verdana, Tahoma, sans-serif;
	background: #FFFFFF;
	box-shadow: rgba(0, 0, 0, 0.2) 0 0 8px;
}

input:disabled,
select:disabled {
	border: solid 1px #888888;
}

input:hover,
textarea:hover,
input:focus,
textarea:focus {
	border-color: #999999;
	box-shadow: rgba(0, 0, 0, 0.15) 0 0 8px;
}

textarea {
	width: 400px;
	max-width: 400px;
	height: 150px;
	line-height: 150%;
}

input[type="submit"] {
	position: relative;
	display: inline-block;
	background: #29b0d1;
	width: auto;
	color: white;
	margin-left: 4px;
	margin-right: 4px;
	padding: 8px 18px;
	font-size: 14px;
	text-align: center;
}

.yes input {
	width: 100px;
	background: #00FF00;
}

/* Large touch-friendly inputs on the mobile checkout form. */
.headerinputformmobile input {
	line-height: 40pt;
	font-size: 17pt;
}

.parsley-errors-list {
	list-style-type: none;
	color: red;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 10px;
}

/* ==================================================================
   Refurbished Warehouse — bright retail facelift (2026).
   Namespaced under .rw-* / body.rw-home so legacy pages are untouched.
   Pages run in quirks mode (no doctype); box-sizing reset is scoped.
   ================================================================== */
.rw-nav *, .rw-footer *, .rw-home *{ box-sizing:border-box; }

:root{
  --rw-bg:#ffffff; --rw-surface:#fff6f1; --rw-surface2:#fffaf7;
  --rw-fg:#1b1410; --rw-muted:#746a63; --rw-line:#f1e4db;
  --rw-accent:#ff3d14; --rw-accent2:#ff8a00;
  --rw-save:#0f9d58; --rw-save-bg:#e7f6ee;
  --rw-shadow:0 14px 34px rgba(255,61,20,.14);
  --rw-shadow-soft:0 8px 22px rgba(27,20,16,.08);
  --rw-radius:22px;
  --rw-display:"Fredoka","Trebuchet MS",system-ui,sans-serif;
  --rw-body:"Inter","Roboto",system-ui,-apple-system,sans-serif;
}

/* full-width home + white ground; drop the legacy 100px offset */
.contentbox{ top:0; }
body.rw-home{ background:#fff; }
body.rw-home .contentbox{ width:100%; max-width:none; margin:0; top:0; position:static; }

.rw-wrap{ width:100%; max-width:1180px; margin-left:auto; margin-right:auto;
  padding-left:max(18px, env(safe-area-inset-left,0px));
  padding-right:max(18px, env(safe-area-inset-right,0px)); }

.rw-home, .rw-nav, .rw-footer{ font-family:var(--rw-body); color:var(--rw-fg); line-height:1.5; text-align:left; }
.rw-home h1,.rw-home h2,.rw-home h3,.rw-nav .rw-logo,.rw-footer .rw-logo{ font-family:var(--rw-display); font-weight:700; margin:0; }
.rw-home img{ max-width:100%; display:block; }

/* ---------- nav ---------- */
.rw-nav{ position:sticky; top:0; z-index:30; background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:saturate(1.3) blur(10px); backdrop-filter:saturate(1.3) blur(10px);
  border-bottom:1px solid var(--rw-line); }
.rw-nav-row{ display:flex; align-items:center; gap:18px; padding-top:13px; padding-bottom:13px; }
.rw-logo{ display:inline-flex; align-items:center; gap:9px; font-size:1.3rem; letter-spacing:-.02em; color:var(--rw-fg); text-decoration:none; }
.rw-logo-ico{ width:26px; height:26px; flex:0 0 auto; animation:rwpulse 3.6s ease-in-out infinite; }
.rw-logo-accent{ color:var(--rw-accent); }
.rw-links{ display:flex; align-items:center; gap:20px; margin-left:10px; font-weight:600; font-size:.96rem; }
.rw-links a{ color:var(--rw-muted); text-decoration:none; transition:color .18s; }
.rw-links a:hover{ color:var(--rw-accent); }
.rw-links li{ list-style:none; display:inline; }
.rw-nav-spacer{ flex:1 1 auto; }
@media (max-width:760px){ .rw-links{ gap:14px; font-size:.86rem; flex-wrap:wrap; } }

/* ---------- hero ---------- */
.rw-hero{ position:relative; overflow:hidden; border-bottom:1px solid var(--rw-line);
  background:radial-gradient(120% 120% at 85% -10%, rgba(255,61,20,.16), rgba(255,255,255,0) 55%), var(--rw-surface); }
.rw-hero-grid{ display:flex; flex-wrap:wrap; align-items:center; gap:28px; padding-top:clamp(34px,6vw,66px); padding-bottom:clamp(34px,6vw,66px); }
.rw-hero-copy{ flex:1 1 340px; min-width:0; }
.rw-hero-art{ flex:1 1 300px; position:relative; min-height:250px; display:flex; align-items:center; justify-content:center; }
.rw-eyebrow{ display:inline-block; font-weight:700; font-size:.78rem; letter-spacing:.07em; text-transform:uppercase;
  color:var(--rw-accent); background:rgba(255,61,20,.12); padding:6px 12px; border-radius:999px; }
.rw-h1{ font-size:clamp(2.1rem,5.2vw,3.5rem); line-height:1.03; margin-top:16px; }
.rw-hl{ background:linear-gradient(100deg,var(--rw-accent),var(--rw-accent2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.rw-lede{ font-size:clamp(1rem,2.1vw,1.16rem); color:var(--rw-muted); margin-top:15px; max-width:30ch; }
.rw-cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.rw-btn{ font-family:var(--rw-body); font-weight:700; border-radius:999px; cursor:pointer; border:none; font-size:1rem; padding:13px 24px; text-decoration:none; display:inline-block; transition:transform .15s, box-shadow .2s, color .2s, border-color .2s; }
.rw-btn-primary{ background:linear-gradient(100deg,var(--rw-accent),var(--rw-accent2)); color:#fff; box-shadow:var(--rw-shadow); }
.rw-btn-primary:hover{ transform:translateY(-3px) scale(1.02); color:#fff; }
.rw-btn-ghost{ background:transparent; color:var(--rw-fg); border:2px solid var(--rw-line); }
.rw-btn-ghost:hover{ border-color:var(--rw-accent); color:var(--rw-accent); }
.rw-hero-copy > *{ opacity:0; animation:rwrise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.rw-hero-copy > :nth-child(1){ animation-delay:.05s; }
.rw-hero-copy > :nth-child(2){ animation-delay:.14s; }
.rw-hero-copy > :nth-child(3){ animation-delay:.23s; }
.rw-hero-copy > :nth-child(4){ animation-delay:.32s; }
.rw-hero-prod{ position:relative; width:78%; max-width:360px;
  filter:drop-shadow(0 26px 30px rgba(27,20,16,.28)); animation:rwbob 4.2s ease-in-out infinite; }
.rw-pricepop{ position:absolute; right:6%; top:4%; z-index:3; background:var(--rw-accent); color:#fff;
  font-family:var(--rw-display); font-weight:700; border-radius:50%; width:92px; height:92px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1;
  box-shadow:var(--rw-shadow); animation:rwpop 3s ease-in-out infinite; }
.rw-pricepop small{ font-size:.6rem; font-weight:600; opacity:.9; letter-spacing:.04em; }
.rw-pricepop b{ font-size:1.5rem; }

/* ---------- trust strip ---------- */
.rw-trust{ background:var(--rw-surface2); border-bottom:1px solid var(--rw-line); }
.rw-trust-row{ display:flex; flex-wrap:wrap; gap:12px 28px; justify-content:center; padding-top:15px; padding-bottom:15px;
  color:var(--rw-muted); font-weight:600; font-size:.92rem; text-align:center; }
.rw-trust-row span{ position:relative; padding-left:22px; }
.rw-trust-row span:before{ content:""; position:absolute; left:0; top:50%; width:14px; height:14px; margin-top:-7px;
  background:var(--rw-accent); border-radius:50%;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- product grid ---------- */
.rw-shop{ padding-top:clamp(36px,6vw,60px); padding-bottom:clamp(36px,6vw,60px); }
.rw-sechead{ margin-bottom:24px; }
.rw-sechead h2{ font-size:clamp(1.6rem,3.6vw,2.3rem); }
.rw-sechead p{ margin:6px 0 0; color:var(--rw-muted); }
.rw-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:20px; }
.rw-card{ position:relative; background:var(--rw-bg); border:1px solid var(--rw-line); border-radius:var(--rw-radius);
  padding:16px; display:flex; flex-direction:column; box-shadow:var(--rw-shadow-soft);
  transition:transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s; }
.rw-card:hover{ transform:translateY(-8px); box-shadow:var(--rw-shadow); }
.rw-save{ position:absolute; top:14px; left:14px; z-index:2; background:var(--rw-save-bg); color:var(--rw-save);
  font-weight:800; font-size:.76rem; padding:5px 10px; border-radius:999px; }
.rw-card-img{ display:flex; align-items:center; justify-content:center; height:190px; border-radius:16px; margin-bottom:12px; overflow:hidden;
  background:radial-gradient(70% 70% at 50% 35%, rgba(255,61,20,.07), rgba(255,255,255,0) 70%); }
.rw-card-img img{ max-width:84%; max-height:170px; object-fit:contain; transition:transform .3s; }
.rw-card:hover .rw-card-img img{ transform:scale(1.06) rotate(-1.5deg); }
.rw-card-name{ font-size:1.08rem; line-height:1.2; color:var(--rw-fg); }
.rw-price-row{ display:flex; align-items:baseline; gap:9px; margin-top:12px; }
.rw-price-now{ font-family:var(--rw-display); font-weight:700; font-size:1.5rem; color:var(--rw-accent); }
.rw-price-was{ color:var(--rw-muted); text-decoration:line-through; font-size:.95rem; }
.rw-buy{ margin-top:14px; text-align:center; font-family:var(--rw-body); font-weight:700; font-size:.96rem; color:#fff;
  background:linear-gradient(100deg,var(--rw-accent),var(--rw-accent2)); border:none; border-radius:14px; padding:12px; cursor:pointer;
  text-decoration:none; display:block; transition:transform .14s, filter .2s; }
.rw-buy:hover{ transform:translateY(-2px); filter:brightness(1.05); color:#fff; }
.rw-card a{ text-decoration:none; }

/* ---------- how it works ---------- */
.rw-how{ background:var(--rw-surface); border-top:1px solid var(--rw-line);
  padding-top:clamp(36px,6vw,56px); padding-bottom:clamp(36px,6vw,56px); }
.rw-how-title{ font-size:clamp(1.6rem,3.6vw,2.3rem); }
.rw-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:24px; }
.rw-step{ background:var(--rw-bg); border:1px solid var(--rw-line); border-radius:var(--rw-radius); padding:22px; }
.rw-step .rw-num{ font-family:var(--rw-display); font-weight:700; color:#fff; width:40px; height:40px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--rw-accent),var(--rw-accent2)); margin-bottom:12px; }
.rw-step h3{ font-size:1.12rem; }
.rw-step p{ margin:7px 0 0; color:var(--rw-muted); font-size:.95rem; }
@media (max-width:760px){ .rw-steps{ grid-template-columns:1fr; } }

.rw-seo{ color:var(--rw-muted); font-size:.95rem; }
.rw-seo h1{ font-size:1.2rem; color:var(--rw-fg); margin-bottom:8px; }

/* ---------- footer ---------- */
.rw-footer{ position:static; height:auto; background:var(--rw-bg); color:var(--rw-muted);
  border-top:1px solid var(--rw-line); padding-top:28px; padding-bottom:28px; font-size:.9rem; }
.rw-foot-row{ display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center; }
.rw-foot-links{ display:flex; gap:18px; flex-wrap:wrap; }
.rw-foot-links a{ color:var(--rw-muted); text-decoration:none; transition:color .18s; cursor:pointer; }
.rw-foot-links a:hover{ color:var(--rw-accent); }
.rw-foot-copy img{ display:inline; }

/* ---------- motion ---------- */
@keyframes rwrise{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:translateY(0); } }
@keyframes rwbob{ 0%,100%{ transform:translateY(-8px); } 50%{ transform:translateY(8px); } }
@keyframes rwpop{ 0%,100%{ transform:scale(1) rotate(-6deg); } 50%{ transform:scale(1.07) rotate(-6deg); } }
@keyframes rwpulse{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-3px); } }
@media (prefers-reduced-motion:reduce){
  .rw-home *, .rw-nav *{ animation:none !important; }
  .rw-hero-copy > *{ opacity:1; }
}

.rw-points{ margin-top:8px; display:inline-block; background:#fff4e6; color:#b45309;
  font-weight:700; font-size:.82rem; padding:4px 10px; border-radius:999px; }

/* ==================================================================
   Refurbished Warehouse — interior pages (product + text pages).
   ================================================================== */

/* Generic interior pages (FAQ, Offer, Contact, Terms, Privacy, Login...):
   a clean centred reading column instead of the legacy 800px box. */
.contentbox{ width:auto; max-width:920px; margin:0 auto; top:0; position:relative;
  padding:32px max(18px, env(safe-area-inset-left,0px)) 56px;
  font-family:var(--rw-body); color:var(--rw-fg); line-height:1.65; font-size:16px; }
.contentbox h1, .contentbox h2, .contentbox h3{ font-family:var(--rw-display); color:var(--rw-fg); line-height:1.15; text-wrap:balance; }
.contentbox h2{ font-size:1.9rem; margin:0 0 14px; }
.contentbox a{ color:var(--rw-accent); }
.contentbox table{ max-width:100%; }
.contentbox td{ font-family:var(--rw-body); }
body:not(.rw-home):not(.rw-product){ background:var(--rw-surface2); }

/* Home + product take the full width; their sections centre themselves. */
body.rw-home .contentbox, body.rw-product .contentbox{ max-width:none; width:100%; padding:0; margin:0; }
body.rw-product{ background:#fff; }

.rw-product *{ box-sizing:border-box; }
.rw-product{ font-family:var(--rw-body); color:var(--rw-fg); text-align:left; }

/* ---------- top: photo + buy box ---------- */
.rw-pd-top{ display:flex; flex-wrap:wrap; gap:36px; align-items:flex-start; padding-top:clamp(26px,4vw,48px); padding-bottom:clamp(30px,5vw,56px); }
.rw-pd-photo{ position:relative; flex:1 1 380px; min-width:0; display:flex; align-items:center; justify-content:center;
  min-height:380px; border-radius:28px; border:1px solid var(--rw-line);
  background:radial-gradient(75% 75% at 50% 40%, rgba(255,61,20,.10), rgba(255,255,255,0) 70%), var(--rw-surface); }
.rw-pd-photo img{ max-width:82%; max-height:340px; object-fit:contain;
  filter:drop-shadow(0 22px 26px rgba(27,20,16,.22)); animation:rwbob 4.6s ease-in-out infinite; }
.rw-pd-save{ top:18px; left:18px; font-size:.85rem; padding:6px 12px; }

.rw-pd-buy{ flex:1 1 360px; min-width:0; max-width:520px; }
.rw-pd-title{ font-family:var(--rw-display); font-weight:700; font-size:clamp(1.9rem,3.8vw,2.7rem); line-height:1.08; margin:14px 0 20px; }

.rw-pd-options{ display:flex; flex-direction:column; gap:10px; }
.rw-pd-opt{ display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:16px; border:2px solid var(--rw-line); background:#fff; cursor:default; }
.rw-pd-opt input{ accent-color:var(--rw-accent); width:18px; height:18px; margin:0; }
.rw-pd-optname{ font-weight:600; flex:1 1 auto; }
.rw-pd-optprice{ font-weight:600; color:var(--rw-muted); }
.rw-pd-optprice em{ font-style:normal; font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color:var(--rw-muted); background:var(--rw-line); padding:3px 8px; border-radius:999px; margin-left:6px; }
.rw-pd-opt-off{ opacity:.6; }
.rw-pd-opt-off .rw-pd-optprice{ text-decoration:line-through; }
.rw-pd-opt-off .rw-pd-optprice em{ text-decoration:none; display:inline-block; }
.rw-pd-opt-on{ border-color:var(--rw-accent); background:#fff8f5; box-shadow:0 6px 18px rgba(255,61,20,.10); }
.rw-pd-now{ font-family:var(--rw-display); font-weight:700; font-size:1.6rem; color:var(--rw-accent); }

.rw-pd-buy .rw-points{ margin-top:12px; }
.rw-pd-cta{ margin-top:18px; font-size:1.08rem; padding:16px; border-radius:16px; box-shadow:var(--rw-shadow); }

.rw-pd-info-row{ display:flex; gap:12px; margin-top:18px; flex-wrap:wrap; }
.rw-pd-info{ flex:1 1 200px; text-align:left; cursor:pointer; font-family:var(--rw-body);
  background:#fff; border:1px solid var(--rw-line); border-radius:14px; padding:12px 14px; color:var(--rw-fg);
  transition:border-color .18s, transform .15s; }
.rw-pd-info:hover{ border-color:var(--rw-accent); transform:translateY(-2px); }
.rw-pd-info b{ display:block; font-size:.95rem; }
.rw-pd-info span{ display:block; font-size:.82rem; color:var(--rw-muted); margin-top:2px; }

.rw-pd-perks{ list-style:none; margin:18px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px 18px; color:var(--rw-muted); font-weight:600; font-size:.88rem; }
.rw-pd-perks li{ position:relative; padding-left:20px; }
.rw-pd-perks li:before{ content:"✓"; position:absolute; left:0; color:var(--rw-save); font-weight:800; }

/* ---------- detail: description / review ---------- */
.rw-pd-detail{ background:var(--rw-surface2); border-top:1px solid var(--rw-line); padding-top:clamp(30px,5vw,52px); padding-bottom:clamp(40px,6vw,70px); }
.rw-pd-desc{ max-width:760px; margin:0 auto; font-size:1rem; line-height:1.7; color:#3a302a; }
.rw-pd-desc h2{ font-family:var(--rw-display); font-size:1.6rem; margin:0 0 16px; color:var(--rw-fg); }
.rw-pd-desc b, .rw-pd-desc strong{ color:var(--rw-fg); }
.rw-pd-desc hr{ border:0; border-top:1px solid var(--rw-line); margin:28px 0; }
.rw-pd-desc a{ color:var(--rw-accent); }
.rw-pd-desc img{ max-width:100%; height:auto; }
.rw-pd-desc table{ max-width:100%; }

@media (max-width:760px){
  .rw-pd-top{ gap:22px; }
  .rw-pd-photo{ min-height:260px; }
  .rw-pd-photo img{ max-height:230px; }
}

/* legacy popups: keep them on top and readable over the new layout */
.messagepop, .tinypop, .fixedpop{ z-index:60; font-family:var(--rw-body); }

/* ==================================================================
   Refurbished Warehouse — checkout (buy.php) + modal popups.
   CSS-only restyle: buy.php markup, field names and validation unchanged.
   ================================================================== */
body.rw-checkout .contentbox{ max-width:760px; }
body.rw-checkout .contentbox:before{ content:"Secure checkout"; display:block; font-family:var(--rw-display); font-weight:700;
  font-size:2rem; color:var(--rw-fg); margin:0 0 4px; }
body.rw-checkout .contentbox:after{ content:"🔒 Encrypted HTTPS · Free UPS ground shipping · 60-day money-back guarantee"; display:block;
  text-align:center; color:var(--rw-muted); font-size:.85rem; margin-top:18px; }
body.rw-checkout font{ font-size:inherit; font-family:inherit; }
body.rw-checkout img[src*="1pxline"]{ display:none; }

/* the form + order summary become cards */
body.rw-checkout #checkoutform{ display:block; margin-top:18px; }
body.rw-checkout #checkoutform > table:first-of-type{ width:100% !important; background:#fff; border:1px solid var(--rw-line);
  border-radius:20px; padding:14px 18px; box-shadow:var(--rw-shadow-soft); margin-bottom:18px; }
body.rw-checkout #checkoutform > table:first-of-type img[src*="products"]{ height:90px !important; width:auto; object-fit:contain; }
body.rw-checkout #checkoutform > table:first-of-type td{ color:var(--rw-fg); font-size:.98rem; }
body.rw-checkout #checkoutform > table:nth-of-type(2){ width:100%; background:#fff; border:1px solid var(--rw-line);
  border-radius:20px; box-shadow:var(--rw-shadow-soft); }
body.rw-checkout #checkoutform > table:nth-of-type(2) table{ margin:0 auto; }

body.rw-checkout td#txtBlack8, body.rw-checkout td.billinglabel{ font-family:var(--rw-body); color:var(--rw-fg); font-size:.95rem; padding:7px 8px; }
body.rw-checkout td.billinglabel{ color:var(--rw-muted); font-weight:600; white-space:nowrap; padding-top:16px; }
body.rw-checkout td[colspan="2"] u{ text-decoration:none; font-family:var(--rw-display); font-size:1.35rem; color:var(--rw-fg);
  display:inline-block; margin-top:18px; padding-bottom:4px; border-bottom:3px solid var(--rw-accent); }

/* inputs */
body.rw-checkout #checkoutform input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),
body.rw-checkout #checkoutform select{
  font-family:var(--rw-body); font-size:1rem; color:var(--rw-fg); height:44px; padding:0 12px; min-width:0;
  border:1.5px solid var(--rw-line); border-radius:12px; background:#fff; box-shadow:none; outline:none;
  transition:border-color .15s, box-shadow .15s; }
body.rw-checkout #checkoutform input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]){ width:280px; max-width:100%; }
body.rw-checkout #checkoutform input[name=zip], body.rw-checkout #checkoutform input[name=cc_zip],
body.rw-checkout #checkoutform input[name=cc_cvv2]{ width:110px; }
body.rw-checkout #checkoutform select{ min-width:120px; cursor:pointer; }
body.rw-checkout #checkoutform input:focus, body.rw-checkout #checkoutform select:focus{
  border-color:var(--rw-accent); box-shadow:0 0 0 4px rgba(255,61,20,.14); }
body.rw-checkout #checkoutform input[type=checkbox]{ accent-color:var(--rw-accent); width:18px; height:18px; vertical-align:middle; }
body.rw-checkout .blue, body.rw-checkout .contentbox a{ color:var(--rw-accent); cursor:pointer; }

/* place order */
body.rw-checkout #submitButton{ font-family:var(--rw-body); font-weight:800; font-size:1.1rem; color:#fff; cursor:pointer;
  background:linear-gradient(100deg,var(--rw-accent),var(--rw-accent2)); border:none; border-radius:16px;
  padding:16px 48px; margin-top:14px; box-shadow:var(--rw-shadow); transition:transform .15s, filter .2s; }
body.rw-checkout #submitButton:hover{ transform:translateY(-2px); filter:brightness(1.05); }

/* error messages from validation stay visible */
body.rw-checkout font[color=red], body.rw-checkout .error{ color:#d92d20 !important; font-weight:600; }

@media (max-width:640px){
  body.rw-checkout td.billinglabel{ white-space:normal; }
  body.rw-checkout #checkoutform input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]){ width:100%; }
}

/* ---------- popups → centred modals with a dimmed backdrop ---------- */
.messagepop, .fixedpop, .tinypop, .tinypopmobile{
  position:fixed !important; top:50% !important; left:50% !important; transform:translate(-50%,-50%);
  width:min(760px, 92vw) !important; max-height:84vh; margin:0 !important; overflow:hidden;
  background:#fff; border:none; border-radius:22px; padding:58px 28px 24px !important; z-index:100;
  box-shadow:0 0 0 100vmax rgba(27,20,16,.45), 0 30px 60px rgba(0,0,0,.25);
  font-family:var(--rw-body); color:var(--rw-fg); line-height:1.6; text-align:left; }
.tinypop, .tinypopmobile{ width:min(360px, 92vw) !important; text-align:center; }
.messagepop .scrollcontent, .fixedpop .scrollcontent{ max-height:calc(84vh - 100px); overflow:auto; padding-right:8px; }
.messagepop > br, .fixedpop > br, .tinypop br:first-of-type{ display:none; }
.messagepop .close, .fixedpop .close, .tinypop .close, .tinypopmobile .close{
  position:absolute; top:14px; right:16px; width:auto; margin:0; padding:8px 16px; border-radius:999px;
  background:var(--rw-surface); color:var(--rw-fg); font-weight:700; font-size:.88rem; cursor:pointer; border:1px solid var(--rw-line); }
.messagepop .close:hover, .fixedpop .close:hover, .tinypop .close:hover{ border-color:var(--rw-accent); color:var(--rw-accent); }
.messagepop h1, .messagepop h2, .messagepop h3, .fixedpop h1, .fixedpop h2, .fixedpop h3{ font-family:var(--rw-display); }

/* link-colour fixes: buttons that are <a> keep their own text colour */
.contentbox a.rw-buy, .contentbox a.rw-btn-primary, .contentbox a.rw-buy:hover, .contentbox a.rw-btn-primary:hover{ color:#fff; }
.contentbox a.rw-btn-ghost{ color:var(--rw-fg); }
.contentbox a.rw-btn-ghost:hover{ color:var(--rw-accent); }
.contentbox a.rw-card-img{ color:inherit; }
body.rw-checkout td.billinglabel{ vertical-align:middle !important; padding-top:7px; }
body.rw-checkout td#txtBlack8{ vertical-align:middle; }

/* modal sizing fix: legacy .scrollcontent had a fixed height */
.messagepop .scrollcontent, .fixedpop .scrollcontent{ height:auto !important; max-height:calc(84vh - 110px); }
.rw-nav{ z-index:40; }
.messageboxes{ position:relative; z-index:200; }

/* scrollcontent width fix + retire the old SSL badge */
.messagepop .scrollcontent, .fixedpop .scrollcontent{ width:auto !important; overflow:auto !important; }
body.rw-checkout img[src*="rapidssl"]{ display:none; }

/* ==================================================================
   Refurbished Warehouse — Offer + Contact pages (shared .rw-page).
   ================================================================== */
.rw-page *{ box-sizing:border-box; }
.rw-page{ text-align:left; padding-top:8px; }
.rw-page-title{ font-family:var(--rw-display); font-weight:700; font-size:clamp(2rem,4.4vw,2.8rem); line-height:1.05; margin:14px 0 10px; }
.rw-page-lede{ color:var(--rw-muted); font-size:1.08rem; margin:0 0 28px; max-width:56ch; }
.rw-page-h2{ font-family:var(--rw-display); font-size:1.6rem; margin:40px 0 4px; }
.rw-page-note{ color:var(--rw-muted); font-size:.92rem; margin:6px 0 14px; }
.rw-page .rw-num{ font-family:var(--rw-display); font-weight:700; color:#fff; width:40px; height:40px; flex:0 0 40px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--rw-accent),var(--rw-accent2)); }
.rw-link{ color:var(--rw-accent); cursor:pointer; text-decoration:underline; }

/* ---------- offer: steps ---------- */
.rw-offer-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:14px; counter-reset:none; }
.rw-offer-step{ display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--rw-line); border-radius:18px; padding:18px;
  box-shadow:var(--rw-shadow-soft); }
.rw-offer-step h3{ font-family:var(--rw-display); font-size:1.12rem; margin:6px 0 4px; }
.rw-offer-step p{ margin:0; color:var(--rw-muted); font-size:.95rem; line-height:1.55; }

/* ---------- offer: total to redeem ---------- */
.rw-offer-table{ display:flex; flex-direction:column; gap:10px; }
.rw-offer-row{ display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--rw-line); border-radius:16px;
  padding:10px 18px 10px 10px; text-decoration:none; color:var(--rw-fg) !important; transition:transform .15s, border-color .18s, box-shadow .2s; }
.rw-offer-row:hover{ transform:translateY(-2px); border-color:var(--rw-accent); box-shadow:var(--rw-shadow-soft); }
.rw-offer-row img{ width:64px; height:52px; object-fit:contain; flex:0 0 64px; }
.rw-offer-name{ flex:1 1 auto; font-weight:600; min-width:0; }
.rw-offer-total{ color:var(--rw-muted); white-space:nowrap; }
.rw-offer-total b{ color:var(--rw-accent); font-family:var(--rw-display); font-size:1.1rem; }
@media (max-width:560px){ .rw-offer-row{ flex-wrap:wrap; } .rw-offer-total{ width:100%; padding-left:80px; } }

/* ---------- contact ---------- */
.rw-contact-grid{ display:grid; grid-template-columns:260px 1fr; gap:20px; align-items:start; }
@media (max-width:760px){ .rw-contact-grid{ grid-template-columns:1fr; } }
.rw-contact-info{ display:flex; flex-direction:column; gap:12px; }
.rw-contact-info > div{ background:#fff; border:1px solid var(--rw-line); border-radius:16px; padding:16px; }
.rw-contact-info h3{ font-family:var(--rw-display); font-size:1.02rem; margin:0 0 4px; }
.rw-contact-info p{ margin:0; color:var(--rw-muted); font-size:.92rem; line-height:1.5; }
.rw-contact-card{ background:#fff; border:1px solid var(--rw-line); border-radius:22px; padding:26px; box-shadow:var(--rw-shadow-soft); min-width:0; }

.rw-form{ display:flex; flex-direction:column; gap:14px; }
.rw-field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:560px){ .rw-field-row{ grid-template-columns:1fr; } }
.rw-field{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.rw-field > span{ font-weight:600; font-size:.9rem; color:var(--rw-fg); }
.rw-field em{ font-style:normal; color:var(--rw-muted); font-weight:500; }
.rw-field input, .rw-field select, .rw-field textarea{ font-family:var(--rw-body); font-size:1rem; color:var(--rw-fg); width:100%;
  border:1.5px solid var(--rw-line); border-radius:12px; background:#fff; padding:11px 12px; outline:none; transition:border-color .15s, box-shadow .15s; }
.rw-field input, .rw-field select{ height:46px; padding-top:0; padding-bottom:0; }
.rw-field textarea{ resize:vertical; min-height:140px; line-height:1.5; }
.rw-field input:focus, .rw-field select:focus, .rw-field textarea:focus{ border-color:var(--rw-accent); box-shadow:0 0 0 4px rgba(255,61,20,.14); }
.rw-form .rw-btn{ align-self:flex-start; margin-top:4px; }
.rw-hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; }
.rw-form-error{ background:#fdecea; color:#b42318; border:1px solid #f6c9c4; border-radius:12px; padding:12px 14px; font-weight:600; margin-bottom:14px; }
.rw-contact-done{ text-align:center; padding:20px 6px; }
.rw-contact-done .rw-num{ margin:0 auto 12px; width:52px; height:52px; border-radius:50%; font-size:1.4rem; background:var(--rw-save); }
.rw-contact-done h2{ font-family:var(--rw-display); font-size:1.6rem; margin:0 0 6px; }
.rw-contact-done p{ color:var(--rw-muted); margin:0 0 18px; }

/* .rw-field: override legacy input rule (margin, grey shadow, 400px textarea) */
.rw-field input, .rw-field select, .rw-field textarea{ margin:0; max-width:none; box-shadow:none; font:400 1rem/1.4 var(--rw-body); }
.rw-field input, .rw-field select{ height:46px; padding:0 12px; }
.rw-field textarea{ height:auto; padding:11px 12px; }
.rw-field input:hover, .rw-field textarea:hover, .rw-field select:hover{ box-shadow:none; border-color:#e4d3c7; }
.rw-field input:focus, .rw-field select:focus, .rw-field textarea:focus{ border-color:var(--rw-accent); box-shadow:0 0 0 4px rgba(255,61,20,.14); }
.rw-offer-steps{ margin-bottom:16px; }

/* reset the legacy label indent on .rw-field */
.rw-field{ padding-left:0; text-indent:0; margin:0; }

/* ==================================================================
   Refurbished Warehouse — sign in, reset password, members area, admin.
   ================================================================== */
.rw-btn-block{ display:block; width:100%; text-align:center; }

/* ---------- sign in / reset ---------- */
.rw-auth-wrap{ max-width:440px; margin:10px auto 0; text-align:left; }
.rw-auth-wrap *{ box-sizing:border-box; }
.rw-auth-card{ background:#fff; border:1px solid var(--rw-line); border-radius:24px; padding:30px 28px 24px; box-shadow:var(--rw-shadow-soft); }
.rw-auth-card .rw-page-title{ margin-top:12px; }
.rw-auth-card .rw-page-lede{ margin-bottom:20px; font-size:1rem; }
.rw-auth-card .rw-form .rw-btn{ align-self:stretch; margin-top:6px; }
.rw-auth-links{ text-align:center; margin-top:16px; font-size:.92rem; }
.rw-auth-links a, .rw-auth-foot a{ color:var(--rw-accent); }
.rw-auth-foot{ text-align:center; color:var(--rw-muted); font-size:.92rem; margin-top:18px; }
.rw-form-error a{ color:inherit; text-decoration:underline; }

/* ---------- members dashboard ---------- */
body.rw-members .contentbox{ max-width:1120px; }
.rw-mem-grid{ display:grid; grid-template-columns:330px 1fr; gap:22px; align-items:start; }
@media (max-width:860px){ .rw-mem-grid{ grid-template-columns:1fr; } }
.rw-mem-reward{ background:#fff; border:1px solid var(--rw-line); border-radius:22px; padding:22px; box-shadow:var(--rw-shadow-soft);
  position:sticky; top:84px; display:flex; flex-direction:column; gap:14px; }
@media (max-width:860px){ .rw-mem-reward{ position:static; } }
.rw-mem-product{ display:flex; align-items:center; gap:14px; }
.rw-mem-product img{ width:92px; height:76px; object-fit:contain; flex:0 0 92px; border-radius:14px; background:var(--rw-surface); padding:6px; }
.rw-mem-product small{ color:var(--rw-muted); font-weight:600; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; }
.rw-mem-product h2{ font-family:var(--rw-display); font-size:1.3rem; line-height:1.15; margin:2px 0 0; }

.rw-progress{ height:12px; border-radius:999px; background:var(--rw-line); overflow:hidden; }
.rw-progress-bar{ height:100%; border-radius:999px; background:linear-gradient(90deg,var(--rw-accent2),var(--rw-accent));
  animation:rwgrow 1.1s cubic-bezier(.2,.8,.2,1) both; transform-origin:left; }
@keyframes rwgrow{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
.rw-progress-label{ color:var(--rw-muted); font-size:.92rem; margin-top:-6px; }
.rw-progress-label b{ color:var(--rw-fg); font-family:var(--rw-display); font-size:1.1rem; }

.rw-mem-stats{ margin:0; display:flex; flex-direction:column; border-top:1px solid var(--rw-line); }
.rw-mem-stats > div{ display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--rw-line); font-size:.94rem; }
.rw-mem-stats dt{ color:var(--rw-muted); }
.rw-mem-stats dd{ margin:0; font-weight:700; }
.rw-mem-avail dt{ color:var(--rw-fg); font-weight:700; }
.rw-mem-avail dd{ color:var(--rw-accent); font-family:var(--rw-display); font-size:1.15rem; }
.rw-mem-processing{ text-align:center; font-weight:700; color:var(--rw-save); background:var(--rw-save-bg); border-radius:14px; padding:12px; }
.rw-mem-signout{ text-align:center; color:var(--rw-muted) !important; font-size:.88rem; }

/* ---------- job lists ---------- */
.rw-mem-jobs{ display:flex; flex-direction:column; gap:18px; min-width:0; }
.rw-jobs{ background:#fff; border:1px solid var(--rw-line); border-radius:22px; padding:20px 22px; box-shadow:var(--rw-shadow-soft); }
.rw-jobs-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:12px; }
.rw-jobs-head h2{ font-family:var(--rw-display); font-size:1.35rem; margin:0; }
.rw-jobs-head span, .rw-jobs-head a{ color:var(--rw-muted); font-size:.88rem; }
.rw-job-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.rw-job-list a{ display:flex; align-items:center; gap:14px; justify-content:space-between; padding:13px 16px; border-radius:14px;
  border:1px solid var(--rw-line); background:var(--rw-surface2); color:var(--rw-fg) !important; text-decoration:none;
  transition:border-color .18s, transform .15s, background .18s; }
.rw-job-list a:hover{ border-color:var(--rw-accent); background:#fff; transform:translateX(3px); }
.rw-job-title{ font-weight:600; min-width:0; }
.rw-job-title small{ display:block; color:var(--rw-muted); font-weight:500; font-size:.8rem; }
.rw-job-pts{ flex:0 0 auto; color:var(--rw-save); background:var(--rw-save-bg); border-radius:999px; padding:4px 10px; font-size:.85rem; }
.rw-job-status{ flex:0 0 auto; font-size:.8rem; font-weight:700; border-radius:999px; padding:4px 10px; background:var(--rw-line); color:var(--rw-muted); }
.rw-job-status.ok{ background:var(--rw-save-bg); color:var(--rw-save); }
.rw-job-status.warn{ background:#fff4e6; color:#b45309; }
.rw-empty{ color:var(--rw-muted); background:var(--rw-surface2); border:1px dashed var(--rw-line); border-radius:14px; padding:18px; text-align:center; margin:0; }
.rw-job-stats{ display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
.rw-job-stats > *{ flex:1 1 120px; text-align:center; border-radius:14px; background:var(--rw-surface); padding:10px; text-decoration:none; color:var(--rw-fg) !important; }
.rw-job-stats b{ display:block; font-family:var(--rw-display); font-size:1.4rem; }
.rw-job-stats span{ color:var(--rw-muted); font-size:.82rem; }
.rw-jobs-foot{ display:inline-block; margin-top:12px; font-size:.88rem; }

/* ---------- admin (legacy panels, wider canvas) ---------- */
body.rw-admin .contentbox{ max-width:1240px; }
.rw-admin-wrap table{ font-family:var(--rw-body); font-size:.92rem; }
.rw-admin-wrap > table:first-of-type a{ display:inline-block; padding:8px 14px; border-radius:999px; border:1px solid var(--rw-line);
  background:#fff; color:var(--rw-fg) !important; text-decoration:none; font-weight:600; margin:2px; }
.rw-admin-wrap > table:first-of-type a:hover{ border-color:var(--rw-accent); color:var(--rw-accent) !important; }

/* ==================================================================
   Refurbished Warehouse — content pages: FAQ, rules, legal, survey,
   article, redeem, pay by check (shared .rw-doc).
   ================================================================== */
.rw-doc{ max-width:860px; margin:0 auto; }
.rw-doc a{ color:var(--rw-accent); }
.rw-doc .rw-btn, .rw-doc .rw-btn:hover{ color:#fff !important; text-decoration:none; }
.rw-doc-card{ background:#fff; border:1px solid var(--rw-line); border-radius:22px; padding:26px; box-shadow:var(--rw-shadow-soft); min-width:0; }
.rw-doc-back{ display:inline-block; font-size:.9rem; color:var(--rw-muted) !important; text-decoration:none; margin-bottom:6px; }
.rw-doc-back:hover{ color:var(--rw-accent) !important; }
p.rw-doc-back{ margin-top:22px; }

/* FAQ accordion */
.rw-faq{ display:flex; flex-direction:column; gap:10px; }
.rw-faq-item{ background:#fff; border:1px solid var(--rw-line); border-radius:16px; transition:border-color .18s, box-shadow .2s; }
.rw-faq-item[open]{ border-color:var(--rw-accent); box-shadow:var(--rw-shadow-soft); }
.rw-faq-item summary{ list-style:none; cursor:pointer; padding:16px 52px 16px 20px; font-weight:700; position:relative; font-size:1.02rem; }
.rw-faq-item summary::-webkit-details-marker{ display:none; }
.rw-faq-item summary::after{ content:"+"; position:absolute; right:18px; top:50%; transform:translateY(-50%); width:26px; height:26px; border-radius:999px;
  background:var(--rw-surface); color:var(--rw-accent); display:flex; align-items:center; justify-content:center; font-size:1.2rem; transition:transform .2s; }
.rw-faq-item[open] summary::after{ content:"\2013"; }
.rw-faq-a{ padding:0 20px 18px; color:var(--rw-muted); line-height:1.6; animation:rwfade .25s ease both; }
@keyframes rwfade{ from{ opacity:0; transform:translateY(-4px); } to{ opacity:1; transform:none; } }
.rw-doc-cta{ display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-top:28px; padding:22px 24px; border-radius:22px;
  background:linear-gradient(135deg,var(--rw-surface),#fff); border:1px solid var(--rw-line); }
.rw-doc-cta h3{ font-family:var(--rw-display); margin:0 0 4px; font-size:1.2rem; }
.rw-doc-cta p{ margin:0; color:var(--rw-muted); }

/* legal pages opened directly */
.rw-legal .rw-doc-card{ line-height:1.65; color:var(--rw-fg); }
.rw-legal h2{ font-family:var(--rw-display); }
.rw-legal h4{ font-family:var(--rw-display); font-size:1.05rem; margin:22px 0 6px; }

/* success / result card */
.rw-done{ text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px; }
.rw-done h2{ font-family:var(--rw-display); margin:4px 0 0; font-size:1.6rem; }
.rw-done p{ color:var(--rw-muted); margin:0 0 6px; max-width:46ch; }
.rw-done .rw-num{ width:52px; height:52px; border-radius:16px; font-size:1.4rem; }
.rw-done .rw-mem-stats{ width:100%; max-width:360px; text-align:left; }
.rw-redeem-img{ width:180px; height:140px; object-fit:contain; }

/* survey */
.rw-survey .rw-form{ gap:14px; }
.rw-q{ background:#fff; border:1px solid var(--rw-line); border-radius:18px; padding:18px 20px; margin:0; min-width:0; }
.rw-q legend{ float:left; width:100%; padding:0; margin-bottom:12px; font-weight:700; display:flex; gap:12px; align-items:flex-start; line-height:1.4; }
.rw-q legend + *{ clear:both; }
.rw-q-n{ flex:0 0 28px; height:28px; border-radius:9px; background:var(--rw-surface); color:var(--rw-accent); font-family:var(--rw-display);
  display:flex; align-items:center; justify-content:center; font-size:.9rem; }
.rw-q-opts{ display:flex; flex-direction:column; gap:8px; }
.rw-opt{ display:flex; align-items:center; gap:10px; padding:10px 14px; border:1px solid var(--rw-line); border-radius:12px; cursor:pointer;
  background:var(--rw-surface2); transition:border-color .15s, background .15s; padding-left:14px; text-indent:0; }
.rw-opt:hover{ border-color:var(--rw-accent); background:#fff; }
.rw-opt input{ margin:0; width:18px; height:18px; accent-color:var(--rw-accent); box-shadow:none; flex:0 0 18px; }
.rw-opt:has(input:checked){ border-color:var(--rw-accent); background:#fff4ef; }
.rw-q .rw-field{ margin-top:8px; }
.rw-q-error{ border-color:#f6c9c4; background:#fffafa; }
.rw-q-msg{ color:#b42318; font-weight:600; font-size:.9rem; margin:0 0 10px; }

/* article */
.rw-job-brief{ margin:0 0 18px; background:#fff; border:1px solid var(--rw-line); border-radius:18px; overflow:hidden; }
.rw-job-brief > div{ display:grid; grid-template-columns:140px 1fr; gap:14px; padding:12px 18px; border-bottom:1px solid var(--rw-line); }
.rw-job-brief > div:last-child{ border-bottom:0; }
.rw-job-brief dt{ color:var(--rw-muted); font-weight:600; }
.rw-job-brief dd{ margin:0; }
.rw-brief-warn{ background:#fff4e6; }
.rw-brief-warn dt, .rw-brief-warn dd{ color:#b45309; font-weight:600; }
@media (max-width:560px){ .rw-job-brief > div{ grid-template-columns:1fr; gap:2px; } }
.rw-article textarea{ min-height:420px; }

/* pay by check */
.rw-pay-grid{ display:grid; grid-template-columns:1fr 300px; gap:20px; align-items:start; }
@media (max-width:760px){ .rw-pay-grid{ grid-template-columns:1fr; } }
.rw-pay-summary{ text-align:center; }
.rw-pay-summary > img:first-child{ width:100%; max-width:220px; height:150px; object-fit:contain; }
.rw-pay-summary h3{ font-family:var(--rw-display); margin:8px 0 12px; }
.rw-pay-total{ display:flex; justify-content:space-between; align-items:baseline; border-top:1px solid var(--rw-line); padding-top:12px; }
.rw-pay-total b{ font-family:var(--rw-display); font-size:1.5rem; color:var(--rw-accent); }
.rw-pay-check{ width:100%; margin-top:16px; border-radius:10px; }
.rw-paycheck .rw-page-note{ text-align:center; margin:0; }

/* product options: undo the legacy label indent (text-indent:-15px slid the
   names under the radio and "Sold out" onto the price) and the legacy input
   padding/shadow on radios; top-align the specs/warranty cards. */
.rw-pd-opt{ text-indent:0; padding-left:16px; }
.rw-pd-optprice{ display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
.rw-pd-optprice em{ margin-left:0; }
input[type="radio"], input[type="checkbox"]{ padding:0; box-shadow:none; }
.rw-pd-opt input{ flex:0 0 18px; }
.rw-pd-info{ display:flex; flex-direction:column; justify-content:flex-start; align-items:flex-start; }
.rw-pd-opt-off .rw-pd-optprice{ text-decoration:none; }

/* checkout: order summary card (replaces the legacy nested tables) */
body.rw-checkout #checkoutform > table.rw-sum-wrap td{ padding:0; }
.rw-sum{ display:flex; align-items:center; gap:26px; padding:8px 10px; text-align:left; }
.rw-sum-img{ flex:0 0 180px; height:130px; display:flex; align-items:center; justify-content:center; background:var(--rw-surface); border-radius:16px; }
body.rw-checkout #checkoutform > table:first-of-type .rw-sum-img img{ height:auto !important; max-height:110px; max-width:160px; object-fit:contain; }
.rw-sum-body{ flex:1 1 auto; min-width:0; }
.rw-sum-label{ color:var(--rw-muted); font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.rw-sum-name{ font-family:var(--rw-display); font-weight:700; font-size:1.35rem; margin:2px 0 12px; }
.rw-sum-lines{ margin:0; }
.rw-sum-lines > div{ display:flex; justify-content:space-between; gap:16px; padding:7px 0; border-bottom:1px solid var(--rw-line); }
.rw-sum-lines dt{ color:var(--rw-muted); }
.rw-sum-lines dd{ margin:0; font-weight:600; font-variant-numeric:tabular-nums; }
.rw-sum-free{ color:var(--rw-save); }
.rw-sum-lines > .rw-sum-total{ border-bottom:0; padding-top:10px; }
.rw-sum-total dt{ color:var(--rw-fg); font-weight:700; }
.rw-sum-total dd{ font-family:var(--rw-display); font-size:1.35rem; color:var(--rw-accent); }
@media (max-width:560px){ .rw-sum{ flex-direction:column; align-items:stretch; gap:14px; } .rw-sum-img{ flex-basis:auto; } }
.rw-sum-pts{ display:inline-block; margin:-4px 0 10px; padding:4px 10px; border-radius:999px; background:#fff4e6; color:#b45309; font-weight:700; font-size:.85rem; }
.rw-sum-pts a{ color:inherit !important; text-decoration:underline; }
.rw-sum-lines > div{ align-items:baseline; }

/* form fields: --rw-line (#f1e4db) is too faint for input borders.
   #9c9087 is ~3.1:1 on white (WCAG non-text contrast minimum 3:1). */
:root{ --rw-input-line:#9c9087; }
body.rw-checkout #checkoutform input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),
body.rw-checkout #checkoutform select,
.rw-field input, .rw-field select, .rw-field textarea{ border-color:var(--rw-input-line); }
body.rw-checkout #checkoutform input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):hover,
body.rw-checkout #checkoutform select:hover,
.rw-field input:hover, .rw-field select:hover, .rw-field textarea:hover{ border-color:#6f645c; }
body.rw-checkout #checkoutform input:focus, body.rw-checkout #checkoutform select:focus,
.rw-field input:focus, .rw-field select:focus, .rw-field textarea:focus{ border-color:var(--rw-accent); }
.rw-opt, .rw-pd-opt-off{ border-color:#d9ccc2; }

/* mobile nav: logo never wraps; links drop to their own row below it and
   scroll sideways if they don't fit, instead of squeezing the logo. */
.rw-logo, .rw-logo > span{ white-space:nowrap; }
.rw-links a{ white-space:nowrap; }
@media (max-width:760px){
  .rw-nav-row{ flex-wrap:wrap; gap:8px 14px; padding-top:10px; padding-bottom:8px; }
  .rw-logo{ font-size:1.15rem; }
  .rw-nav-spacer{ display:none; }
  .rw-links{ order:3; width:100%; margin-left:0; flex-wrap:nowrap; gap:18px; overflow-x:auto; scrollbar-width:none;
    -webkit-overflow-scrolling:touch; padding:2px 0 4px; }
  .rw-links::-webkit-scrollbar{ display:none; }
}
@media (max-width:380px){ .rw-links{ gap:13px; font-size:.82rem; } }
/* checkout: inner form tables carry a fixed width='490' on desktop markup;
   let them shrink in narrow windows instead of scrolling sideways. */
@media (max-width:560px){
  body.rw-checkout #checkoutform table{ width:100% !important; max-width:100%; }
}
body.rw-checkout #checkoutform input, body.rw-checkout #checkoutform select, body.rw-checkout #checkoutform table, body.rw-checkout #checkoutform td{ box-sizing:border-box; }
.rw-sum-lines dd{ white-space:nowrap; }
/* small screens: the size=25 inputs set the table's min width; cap them to
   what's left beside the label column. */
@media (max-width:560px){
  body.rw-checkout #checkoutform input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),
  body.rw-checkout #checkoutform select{ width:100%; min-width:0; max-width:calc(100vw - 170px); }
  body.rw-checkout #checkoutform select#cc_exp_month, body.rw-checkout #checkoutform select#cc_exp_year{ width:96px; max-width:none; padding:0 6px; margin:2px 0; }
  body.rw-checkout #checkoutform font[size="-2"], body.rw-checkout #checkoutform font{ overflow-wrap:anywhere; }
}

/* phones: two-column deal grid with compact cards, tidier hero */
@media (max-width:560px){
  .rw-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .rw-card{ padding:10px 10px 12px; border-radius:18px; }
  .rw-card:hover{ transform:none; }
  .rw-save{ top:8px; left:8px; font-size:.66rem; padding:3px 7px; }
  .rw-card-img{ height:118px; margin:14px 0 8px; }
  .rw-card-img img{ max-width:92%; max-height:108px; }
  .rw-card-name{ font-size:.92rem; min-height:2.4em; }
  .rw-price-row{ flex-wrap:wrap; gap:2px 7px; margin-top:6px; }
  .rw-price-now{ font-size:1.18rem; }
  .rw-price-was{ font-size:.8rem; }
  .rw-card .rw-points{ font-size:.72rem; padding:3px 8px; margin-top:6px; }
  .rw-buy{ margin-top:auto; padding:10px 8px; font-size:.88rem; border-radius:12px; }
  .rw-card .rw-price-row + *, .rw-card .rw-points{ margin-bottom:10px; }
  .rw-price-row{ margin-bottom:10px; }

  .rw-hero .rw-eyebrow{ font-size:.68rem; letter-spacing:.05em; padding:5px 10px; }
  .rw-cta{ flex-wrap:nowrap; gap:10px; }
  .rw-cta .rw-btn{ flex:1 1 0; text-align:center; padding:12px 10px; font-size:.95rem; white-space:nowrap; }
  .rw-hero-art{ min-height:200px; }
}
.rw-seo p{ margin:0; max-width:68ch; line-height:1.6; }
.rw-seo a{ color:var(--rw-accent); }

/* phones: offer "Total to redeem" rows as image + two-line text;
   contact form before the info boxes, full-width send button */
@media (max-width:560px){
  .rw-offer-row{ display:grid; grid-template-columns:60px 1fr; grid-template-rows:auto auto; column-gap:12px; row-gap:2px;
    flex-wrap:nowrap; padding:10px 14px 10px 10px; }
  .rw-offer-row img{ grid-row:1 / span 2; width:60px; height:50px; }
  .rw-offer-name{ align-self:end; }
  .rw-offer-total{ width:auto; padding-left:0; align-self:start; font-size:.92rem; }
  .rw-offer-total b{ font-size:1rem; }
}
@media (max-width:760px){
  .rw-contact-card{ order:-1; }
}
@media (max-width:560px){
  .rw-contact-card{ padding:20px 18px; }
  .rw-contact .rw-form .rw-btn{ align-self:stretch; text-align:center; }
}
