:root{
  --brand:#55A098;
  --brand-dark:#407872;
  --blue-dark:#111E49;
  --soft:#EBF5FB;
  --bg:#F7F9FB;
  --text:#111827;
  --muted:#6B7280;
  --line:#E5E7EB;
  --white:#FFFFFF;
  --green:#0E7C66;
  --orange:#B45309;
  --radius:16px;
  --max:1440px;
  --shadow:0 10px 30px rgba(17,24,39,.06);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Outfit, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max);margin:0 auto;padding:0 28px}

.topbar{
  background:var(--blue-dark);
  color:#fff;
  font-size:13px;
}
.topbar .wrap{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  min-height:38px;
}
.topbar strong{font-weight:700}
.toplinks{display:flex;gap:18px;color:rgba(255,255,255,.82)}

.header{
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
}
.header-main{
  display:grid;
  grid-template-columns:210px 1fr auto;
  gap:22px;
  align-items:center;
  min-height:78px;
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  font-size:27px;
  letter-spacing:-.04em;
  color:var(--blue-dark);
}
.logo-mark{
  width:40px;height:40px;border-radius:12px;
  background:linear-gradient(135deg,var(--brand),var(--blue-dark));
  box-shadow:0 10px 24px rgba(85,160,152,.24);
}

.search{
  display:grid;
  grid-template-columns:160px 1fr 110px;
  border:2px solid var(--brand);
  border-radius:999px;
  overflow:hidden;
  background:#fff;
  min-height:48px;
}
.search select,
.search input{
  border:0;
  outline:0;
  padding:0 18px;
  font:inherit;
  background:#fff;
}
.search select{
  color:var(--muted);
  border-right:1px solid var(--line);
}
.search button{
  border:0;
  background:var(--brand);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.header-actions{
  display:flex;
  gap:16px;
  align-items:center;
  color:var(--text);
  font-size:14px;
  white-space:nowrap;
}
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  background:#F3F6F8;
  border:1px solid var(--line);
  font-weight:700;
}

.nav{
  border-top:1px solid var(--line);
  background:#fff;
}
.nav .wrap{
  display:flex;
  gap:26px;
  align-items:center;
  min-height:48px;
  font-size:14px;
  font-weight:700;
  color:#2f3744;
}
.nav .departments{
  background:var(--blue-dark);
  color:#fff;
  padding:12px 18px;
  border-radius:10px;
}

.hero{
  background:
    radial-gradient(circle at 86% 8%, rgba(85,160,152,.18), transparent 34rem),
    linear-gradient(180deg,#fff 0%,#F7F9FB 100%);
  padding:38px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns:280px 1fr 300px;
  gap:22px;
  align-items:stretch;
}
.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.dept-panel{
  padding:18px;
}
.dept-panel h3{
  margin:0 0 14px;
  font-size:16px;
}
.dept-list{
  display:grid;
  gap:6px;
  font-size:14px;
}
.dept-list a{
  display:flex;
  justify-content:space-between;
  padding:10px 8px;
  border-radius:10px;
  color:#374151;
}
.dept-list a:hover{
  background:var(--soft);
  color:var(--blue-dark);
}

.hero-main{
  padding:42px;
  position:relative;
  overflow:hidden;
  min-height:380px;
  background:
    linear-gradient(135deg,rgba(235,245,251,.9),rgba(255,255,255,.92)),
    radial-gradient(circle at 80% 20%, rgba(85,160,152,.22), transparent 30rem);
}
.eyebrow{
  color:var(--brand-dark);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  font-weight:900;
  margin-bottom:16px;
}
h1{
  max-width:760px;
  margin:0;
  font-size:clamp(42px,5vw,72px);
  line-height:.96;
  letter-spacing:-.06em;
}
.lead{
  max-width:660px;
  margin:22px 0 0;
  color:#4B5563;
  font-size:20px;
  line-height:1.45;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  font-weight:800;
  border:1px solid var(--line);
  background:#fff;
}
.btn-primary{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}

.member-card{
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:linear-gradient(180deg,var(--blue-dark),#17245e);
  color:#fff;
}
.member-card small{
  color:rgba(255,255,255,.72);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
}
.member-card h2{
  margin:12px 0;
  font-size:30px;
  letter-spacing:-.05em;
}
.member-card p{color:rgba(255,255,255,.78);margin:0}
.member-card .btn{margin-top:24px;color:#fff;background:var(--brand);border-color:var(--brand)}

.section{
  padding:52px 0;
}
.section-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:end;
  margin-bottom:22px;
}
.section h2{
  margin:0;
  font-size:34px;
  letter-spacing:-.045em;
}
.section-head p{
  margin:8px 0 0;
  color:var(--muted);
}

.brand-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:14px;
}
.brand-card{
  padding:22px 16px;
  text-align:center;
  font-weight:900;
  color:var(--blue-dark);
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.benefit{
  padding:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.benefit span{
  display:inline-flex;
  color:var(--brand-dark);
  background:#E8F5F2;
  font-weight:900;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:16px;
}
.benefit h3{margin:0 0 8px;font-size:20px}
.benefit p{margin:0;color:var(--muted)}

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.product{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
}
.product:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
.product-img{
  height:240px;
  background:linear-gradient(135deg,#EEF2F7,#F8FAFC);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9CA3AF;
  font-weight:800;
}
.product-body{padding:16px}
.product h3{margin:0 0 8px;font-size:16px;line-height:1.3}
.badges{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.badge{
  font-size:11px;
  padding:5px 8px;
  border-radius:999px;
  font-weight:800;
  background:#E8F5F2;
  color:var(--green);
}
.badge.orange{
  background:#FFF7ED;
  color:var(--orange);
}
.price-row{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-top:12px;
}
.price strong{
  display:block;
  color:var(--blue-dark);
  font-size:22px;
  line-height:1;
}
.price small{color:var(--muted)}
.add{
  background:var(--brand);
  color:#fff;
  border:0;
  border-radius:10px;
  padding:10px 12px;
  font-weight:900;
}

.wholesale-strip{
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.strip-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}
.strip-item{
  padding:28px;
  border-right:1px solid var(--line);
}
.strip-item:last-child{border-right:0}
.strip-item strong{
  display:block;
  font-size:24px;
  color:var(--blue-dark);
}
.strip-item span{color:var(--muted);font-size:14px}

footer{
  background:#05070B;
  color:#CBD5E1;
  padding:54px 0;
  margin-top:40px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr repeat(3,1fr);
  gap:30px;
}
footer h3, footer h4{color:#fff;margin:0 0 12px}
footer p, footer a{color:#94A3B8;font-size:14px;display:block;margin:8px 0}

@media(max-width:1000px){
  .header-main{grid-template-columns:1fr;gap:12px;padding:14px 0}
  .search{grid-template-columns:1fr 90px}
  .search select{display:none}
  .hero-grid{grid-template-columns:1fr}
  .brand-grid{grid-template-columns:repeat(2,1fr)}
  .benefits,.product-grid,.strip-grid,.footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .topbar .wrap,.nav .wrap{overflow:auto}
  .header-actions{display:none}
  h1{font-size:42px}
  .hero-main{padding:28px}
  .benefits,.product-grid,.strip-grid,.footer-grid{grid-template-columns:1fr}
  .brand-grid{grid-template-columns:1fr}
}
  
/* Original MyDeme/Rey-style header variation */
.original-style{
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 6px 18px rgba(17,24,39,.055);
  position:sticky;
  top:0;
  z-index:20;
}
.original-header-grid{
  min-height:92px;
  display:grid;
  grid-template-columns:1fr 160px 1fr;
  align-items:center;
  gap:24px;
}
.original-menu{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:#111827;
}
.original-menu a{
  position:relative;
  padding:10px 0;
}
.original-menu a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:4px;
  height:2px;
  background:#111827;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease;
}
.original-menu a:hover::after,
.original-menu a:first-child::after{
  transform:scaleX(1);
}
.center-logo{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:var(--blue-dark);
  min-width:120px;
}
.center-logo-mark{
  width:42px;
  height:42px;
  display:block;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.9), transparent 18px),
    linear-gradient(135deg,var(--brand),var(--blue-dark));
  border-radius:14px;
  box-shadow:0 12px 24px rgba(85,160,152,.18);
}
.center-logo-text{
  font-size:11px;
  font-weight:900;
  letter-spacing:-.03em;
}
.original-tools{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:16px;
}
.compact-search{
  width:min(100%,260px);
}
.compact-search input{
  width:100%;
  height:38px;
  border:1px solid var(--line);
  background:#F5F7FA;
  border-radius:0;
  padding:0 14px;
  font:inherit;
  font-size:13px;
  outline:0;
}
.compact-search input:focus{
  border-color:var(--brand);
  background:#fff;
  box-shadow:0 0 0 3px rgba(85,160,152,.10);
}
.tool-icon{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#111827;
  font-size:13px;
  font-weight:900;
}
.tool-icon.account{
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--brand);
  color:#fff;
  font-size:10px;
  box-shadow:0 8px 18px rgba(85,160,152,.22);
}
@media(max-width:900px){
  .original-header-grid{
    grid-template-columns:1fr;
    min-height:auto;
    padding:14px 28px;
    text-align:center;
  }
  .original-menu,
  .original-tools{
    justify-content:center;
    flex-wrap:wrap;
  }
  .center-logo{order:-1}
}

  
/* Updated MyDeme header + modern membership-style mega menus */
.original-menu{
  gap:18px;
  position:relative;
}
.mega-trigger{
  position:relative;
  display:flex;
  align-items:center;
}
.mega-trigger > a::after{
  content:"";
  display:inline-block;
  width:5px;
  height:5px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  margin-left:8px;
}
.mega-menu{
  position:fixed;
  left:50%;
  top:127px;
  width:min(1180px,calc(100vw - 48px));
  transform:translateX(-50%) translateY(8px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 30px 80px rgba(17,24,39,.16);
  z-index:50;
  text-transform:none;
  letter-spacing:0;
  color:var(--text);
  overflow:hidden;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.mega-wrap{
  display:grid;
  grid-template-columns:330px 1fr;
  gap:0;
}
.mega-wrap.compact{
  grid-template-columns:360px 1fr;
}
.mega-feature{
  padding:34px;
  background:
    radial-gradient(circle at 90% 20%, rgba(85,160,152,.22), transparent 16rem),
    linear-gradient(180deg,#EBF5FB,#F7FBFC);
  border-right:1px solid var(--line);
}
.mega-feature span{
  display:inline-flex;
  color:var(--brand-dark);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.mega-feature h3{
  margin:0;
  font-size:31px;
  line-height:1.02;
  letter-spacing:-.055em;
  color:var(--blue-dark);
}
.mega-feature p{
  margin:16px 0 0;
  color:#4B5563;
  font-size:14px;
  line-height:1.55;
  font-weight:500;
}
.mega-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:22px;
  min-height:40px;
  padding:0 16px !important;
  border-radius:999px !important;
  background:var(--brand) !important;
  color:#fff !important;
  font-size:13px;
  font-weight:900;
}
.mega-cta::after{display:none !important}
.mega-cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  padding:34px;
}
.mega-cols h4{
  margin:0 0 12px;
  color:var(--blue-dark);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.mega-cols a{
  display:block;
  padding:9px 0 !important;
  color:#475467;
  font-size:14px;
  font-weight:700;
  border-radius:0 !important;
}
.mega-cols a:hover{
  color:var(--brand-dark);
  background:transparent !important;
}
.mega-cols a::after{display:none !important}
.mega-tiles{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  padding:34px;
}
.mega-tiles a{
  display:block;
  padding:18px !important;
  border:1px solid var(--line);
  border-radius:16px !important;
  background:#fff;
}
.mega-tiles a:hover{
  background:#F7F9FB !important;
  border-color:rgba(85,160,152,.35);
}
.mega-tiles a::after{display:none !important}
.mega-tiles strong{
  display:block;
  color:var(--blue-dark);
  font-size:16px;
  margin-bottom:5px;
}
.mega-tiles em{
  display:block;
  color:var(--muted);
  font-style:normal;
  font-weight:500;
  font-size:13px;
  line-height:1.4;
}
.topbar{
  background:#fff;
  color:#4B5563;
  border-bottom:1px solid var(--line);
}
.topbar strong{
  color:var(--blue-dark);
}
.toplinks a:hover{
  color:var(--brand-dark);
}
.center-logo-mark{
  border-radius:50%;
}
@media(max-width:900px){
  .mega-menu{
    position:static;
    transform:none;
    width:100%;
    opacity:1;
    visibility:visible;
    display:none;
    box-shadow:none;
    margin-top:8px;
  }
  .mega-trigger:hover .mega-menu,
  .mega-trigger:focus-within .mega-menu{
    display:block;
    transform:none;
  }
  .mega-wrap,
  .mega-wrap.compact,
  .mega-cols,
  .mega-tiles{
    grid-template-columns:1fr;
  }
  .mega-feature{
    border-right:0;
    border-bottom:1px solid var(--line);
  }
}

  
/* Requested branded MyDeme topbar update */
.topbar{
  background:
    linear-gradient(135deg, rgb(64 120 114 / 54%), rgb(64 120 114 / 55%)),
    radial-gradient(circle at 80% 20%, rgb(64 120 114 / 37%), rgb(64 120 114 / 0%) 30rem) !important;
  color:#ffffff !important;
  border-bottom:none !important;
}
.topbar .wrap{
  min-height:38px !important;
}
.topbar strong{
  color:#ffffff !important;
  font-weight:800;
}
.toplinks{
  color:rgba(255,255,255,.88) !important;
}
.toplinks a{
  color:rgba(255,255,255,.88) !important;
  transition:opacity .2s ease, color .2s ease;
}
.toplinks a:hover{
  color:#ffffff !important;
  opacity:1;
}

/* WordPress / WooCommerce additions */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.footer-grid--enterprise {
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 24px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: #94A3B8;
}
.vendor-cta-panel { min-height: auto; }
.vendor-dropship-section .benefits { grid-template-columns: repeat(3, 1fr); }
ul.products.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
ul.products.product-grid li.product { margin: 0; width: 100%; }
.product-img img { width: 100%; height: 240px; object-fit: cover; }
.center-logo .custom-logo { max-height: 42px; width: auto; }
.vendor-shop { padding: 40px 0 60px; }
@media (max-width: 1100px) {
  .footer-grid--enterprise { grid-template-columns: 1fr 1fr; }
  .vendor-dropship-section .benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid--enterprise,
  .vendor-dropship-section .benefits { grid-template-columns: 1fr; }
}



/* Vendor pre-built content pages */
.vendor-page-hero {
	background:
		radial-gradient(circle at 86% 8%, rgba(85,160,152,.16), transparent 34rem),
		linear-gradient(180deg,#fff 0%,#F7F9FB 100%);
	padding: 76px 0 54px;
	border-bottom: 1px solid var(--line, #E5E7EB);
}

.vendor-wrap {
	max-width: var(--max, 1440px);
	margin: 0 auto;
	padding: 0 28px;
}

.vendor-eyebrow {
	color: var(--brand-dark, #407872);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 12px;
	font-weight: 900;
	margin: 0 0 14px;
}

.vendor-page-hero h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(42px, 6vw, 82px);
	line-height: .96;
	letter-spacing: -.06em;
	color: var(--text, #111827);
}

.vendor-page-lead {
	max-width: 760px;
	margin: 22px 0 0;
	color: #4B5563;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.45;
}

.vendor-page-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 28px;
}

.vendor-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	font-weight: 800;
	border: 1px solid var(--line, #E5E7EB);
	background: #fff;
	color: var(--text, #111827);
	text-decoration: none;
}

.vendor-btn-primary {
	background: var(--brand, #55A098);
	border-color: var(--brand, #55A098);
	color: #fff;
}

.vendor-page-content {
	padding: 56px 0;
	background: var(--bg, #F7F9FB);
}

.vendor-content-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.vendor-info-card {
	background: #fff;
	border: 1px solid var(--line, #E5E7EB);
	border-radius: 16px;
	padding: 26px;
	box-shadow: 0 10px 30px rgba(17,24,39,.05);
}

.vendor-info-card span {
	display: inline-flex;
	color: var(--brand-dark, #407872);
	background: #E8F5F2;
	font-weight: 900;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.vendor-info-card h2 {
	margin: 0 0 10px;
	font-size: 22px;
	letter-spacing: -.035em;
	color: var(--text, #111827);
}

.vendor-info-card p {
	margin: 0;
	color: var(--muted, #6B7280);
	line-height: 1.55;
}

.vendor-info-card a {
	display: inline-flex;
	margin-top: 16px;
	color: var(--brand-dark, #407872);
	font-weight: 800;
}

@media (max-width: 980px) {
	.vendor-content-grid {
		grid-template-columns: 1fr;
	}
}
