/*
 * 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; }
