/*
Theme Name: Hello Elementor Child
Theme URI: https://resinsurplus.com/
Template: hello-elementor
Author: Mad Scientist Web Design
Author URI: https://madscientistwebdesign.com/
Description: Custom Theme for Resin Surplus
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1767632977
Updated: 2026-01-05 11:09:37

*/


.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('/wp-content/themes/hello-elementor-child/images/loader.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading .modal {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}


/* =========================
   ResinSurplus taxonomy layout
========================= */

.rs-market{
  max-width: 1220px;
  margin: 24px auto;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 18px;
}

.rs-sidebar{
  background: #f3f6fb;
  border: 1px solid #e3e8f1;
  border-radius: 10px;
  padding: 14px 14px 18px;
}

.rs-filter-block + .rs-filter-block{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e3e8f1;
}

.rs-filter-title{
  font-weight: 700;
  color: #27455f;
  font-size: 14px;
  margin: 0 0 10px;
}

.rs-check{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #2c4a63;
  font-size: 14px;
}

.rs-check:hover{
  background: #e9f0fb;
}

.rs-check.is-active{
  background: #2f66a8;
  color: #fff;
}

.rs-box{
  width: 14px;
  height: 14px;
  border: 1px solid #9fb0c4;
  border-radius: 3px;
  background: #fff;
  display: inline-block;
  position: relative;
  flex: 0 0 14px;
}

.rs-check.is-active .rs-box{
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.12);
}

.rs-mini-range{
  margin-top: 12px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e3e8f1;
  border-radius: 10px;
}

.rs-mini-range-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 12px;
  color: #44647d;
}

.rs-mini-range-pill{
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #d6deea;
  border-radius: 8px;
  background: #f7f9fd;
  color: #2c4a63;
}

.rs-mini-range-track{
  height: 4px;
  background: #dfe7f3;
  border-radius: 999px;
  position: relative;
  margin: 8px 0 10px;
}

.rs-mini-range-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #2f66a8;
  position: absolute;
  top: 50%;
  left: 28%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(47,102,168,.18);
}

.rs-main{
  background: #fff;
  border: 1px solid #e3e8f1;
  border-radius: 10px;
  padding: 16px;
}

.rs-head{
  padding-bottom: 10px;
  border-bottom: 1px solid #e9eef6;
  margin-bottom: 12px;
}

.rs-h1{
  margin: 0 0 6px;
  font-size: 44px;
  letter-spacing: .5px;
  color: #27455f;
  line-height: 1;
}

.rs-sub{
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
}

.rs-sub-strong{ color: #2c4a63; font-weight: 600; }
.rs-sub-muted{ color: #7a93ab; }

.rs-toolbar{
  display: grid;
  grid-template-columns: 1fr auto;

  align-items: center;

}

.rs-search{
  position: relative;
}

.rs-search input{
  width: 100%;
  height: 38px;
  border: 1px solid #d7e0ee;
  background: #f7f9fd;
  border-radius: 10px;
  padding: 0 12px 0 40px;
  outline: none;
}

.rs-search input:focus{
  border-color: #2f66a8;
  box-shadow: 0 0 0 3px rgba(47,102,168,.12);
}

.rs-search-ico{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: .55;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Zm11 3-6-6' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Zm11 3-6-6' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/contain;
  color: #27455f;
}

.rs-sort{
  font-size: 13px;
  color: #6f879f;
  white-space: nowrap;
}

.rs-sort a{
  text-decoration: none;
  color: #6f879f;
  font-weight: 600;
}

.rs-sort a.is-active{
  color: #2f66a8;
}

.rs-sort-sep{
  margin: 0 8px;
  opacity: .6;
}

.rs-chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.rs-chip{
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.rs-chip-blue{
  background: #2f66a8;
  color: #fff;
}

.rs-results{
  display: grid;
  gap: 14px;
}

.rs-card{
  display: grid;
  grid-template-columns: 160px 1fr 180px;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e3e8f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(18, 38, 63, 0.06);
}

.rs-card-left img{
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #f0f4fa;
}

.rs-card-title{
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  color: #24415a;
  text-decoration: none;
  margin: 2px 0 6px;
}

.rs-card-line{
  font-size: 13px;
  color: #6f879f;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rs-dot{ opacity: .65; }

.rs-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.rs-badge{
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.rs-badge-blue{ background: #2f66a8; color: #fff; }
.rs-badge-green{ background: #4f7a4b; color: #fff; }

.rs-spec{
  font-size: 13px;
  color: #2c4a63;
  margin-bottom: 10px;
}

.rs-actions{
  display: flex;
  gap: 8px;
}

.rs-btn{
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px 10px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: #2f66a8;
  color: #fff;
}

.rs-btn-ghost{
  background: #2f66a8;
  color: #fff;
  opacity: .95;
}

.rs-card-right{
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 10px;
}

.rs-price{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 6px;
}

.rs-price-num{
  font-size: 26px;
  font-weight: 900;
  color: #e06b47;
}

.rs-price-unit{
  font-size: 14px;
  font-weight: 800;
  color: #6f879f;
}

.rs-price-req{
  font-size: 16px;
  font-weight: 900;
  color: #e06b47;
}

.rs-thumb-right img{
  width: 120px;
  height: 78px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e3e8f1;
  background: #f0f4fa;
  display: block;
}

.rs-pagination{
  margin-top: 10px;
}

.rs-empty{
  padding: 22px 8px;
  color: #6f879f;
}

.rs-filter-block{
	max-height:200px;
	overflow-y:auto;
}



.rs-listing-header{
  --rs-blue:#2f6ea7;
  --rs-green:#2f6f50;
  --rs-price:#b34a3a;
  --rs-muted:#6b7280;
  --rs-border:#e6e9ef;

  background:#fff;
  border-top:1px solid var(--rs-border);
  border-bottom:1px solid var(--rs-border);
  padding:10px 0;
}

.rs-listing-header .rs-row{ padding:0 0 6px 0; }
.rs-listing-header .rs-row:last-child{ padding-bottom:0; }

.rs-listing-header .rs-row--top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.rs-listing-header .rs-title{
  font-weight:700;
  font-size:18px;
  line-height:1.2;
  color:#111827;
}

.rs-listing-header .rs-price{
  display:flex;
  align-items:baseline;
  gap:6px;
  white-space:nowrap;
}

.rs-listing-header .rs-price__amount{
  font-weight:700;
  font-size:18px;
  color:var(--rs-price);
}
.rs-listing-header .rs-price__unit{
  font-size:14px;
  color:#111827;
  opacity:.75;
}

.rs-listing-header .rs-row--sub{
  font-size:14px;
  color:#111827;
  opacity:.85;
}

.rs-listing-header .rs-row--chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding-top:2px;
}

.rs-listing-header .rs-chip{
  display:inline-flex;
  align-items:center;
  height:24px;
  padding:0 10px;
  border-radius:3px;
  font-size:13px;
  font-weight:600;
  color:#fff;
  letter-spacing:.1px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.rs-listing-header .rs-chip--blue{ background:var(--rs-blue); }
.rs-listing-header .rs-chip--green{ background:var(--rs-green); }

.rs-listing-header .rs-row--specs{
  font-size:14px;
  color:var(--rs-muted);
  padding-top:4px;
}

/* Mobile tighten */
@media (max-width: 767px){
  .rs-listing-header{ padding:8px 0; }
  .rs-listing-header .rs-title{ font-size:16px; }
  .rs-listing-header .rs-price__amount{ font-size:16px; }
  .rs-listing-header .rs-row--sub,
  .rs-listing-header .rs-row--specs{ font-size:13px; }
  .rs-listing-header .rs-chip{ height:22px; font-size:12px; padding:0 9px; }
}


/* ResinSurplus actions bar */
.rs-actions-bar{
  --rs-border:#dfe5ee;
  --rs-bg:#eef2f7;
  --rs-cell:#f6f8fb;
  --rs-text:#111827;

  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:16px;

  background:var(--rs-bg);
  border:1px solid var(--rs-border);
  border-radius:4px;
  padding:10px 12px;
}

.rs-actions-left{ flex: 1 1 auto; min-width: 220px; }
.rs-actions-right{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
}

/* “table” */
.rs-actions-table{
  border:1px solid var(--rs-border);
  border-radius:3px;
  overflow:hidden;
  background:#fff;
  max-width: 520px;
}
.rs-actions-row{
  display:grid;
  grid-template-columns: 180px 1fr;
}
.rs-actions-row + .rs-actions-row{
  border-top:1px solid var(--rs-border);
}
.rs-actions-cell{
  padding:10px 12px;
  font-size:14px;
  color:var(--rs-text);
}
.rs-actions-cell--label{
  background:var(--rs-cell);
  color:#4b5563;
  font-weight:600;
}
.rs-actions-cell--value{
  background:#fff;
  font-weight:500;
}

/* Buttons (Divi/Woo friendly) */
.rs-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:4px;
  text-decoration:none !important;
  font-weight:700;
  font-size:14px;
  line-height:1;
  border:1px solid transparent;
  cursor:pointer;
  white-space:nowrap;
}

.rs-btn--primary{
  color:#fff !important;
  border-color:#2e5f93;
  background: linear-gradient(180deg,#4f86bd 0%, #2f6ea7 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.rs-btn--primary:hover{
  filter: brightness(0.98);
}

.rs-btn--secondary{
  color:#fff !important;
  border-color:#2c4d78;
  background: linear-gradient(180deg,#3b6ea6 0%, #2b5f96 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}

/* Mobile stack */
@media (max-width: 767px){
  .rs-actions-bar{
    flex-direction:column;
    gap:12px;
  }
  .rs-actions-table{
    max-width:100%;
  }
  .rs-actions-row{
    grid-template-columns: 150px 1fr;
  }
  .rs-actions-right{
    justify-content:stretch;
  }
  .rs-actions-right .rs-btn,
  .rs-actions-right form{
    width:100%;
  }
  .rs-add-to-cart-form{ width:100%; }
}





/* Paste into your child theme style.css (or enqueue a dedicated cart.css) */

.rs-cart{
	--rs-bg: #f3f6fb;
	--rs-card: #ffffff;
	--rs-border: #d8e1ef;
	--rs-text: #1f2a3a;
	--rs-muted: #6b778c;

	/* “mockup-ish” blue */
	--rs-blue: #2f5f9c;
	--rs-blue-dark: #234a7a;

	background: var(--rs-bg);
	padding: 24px 0;
}

.rs-cart__layout{
	display:flex;
	gap:24px;
	align-items:flex-start;
}

.rs-cart__content{ flex: 1 1 auto; min-width: 0; }

.rs-cart__sidebar{
	flex: 0 0 360px;
	position: sticky;
	top: 24px;
}

@media (max-width: 1024px){
	.rs-cart__layout{ flex-direction: column; }
	.rs-cart__sidebar{ position: static; flex: 0 0 auto; width: 100%; }
}

.rs-cart__list{
	display:flex;
	flex-direction: column;
	gap: 14px;
}

.rs-cart__row{
	background: var(--rs-card);
	border: 1px solid var(--rs-border);
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
	padding: 14px;
	display:flex;
	align-items:center;
	gap: 14px;
}

.rs-cart__row--head{
	box-shadow: none;
	background: transparent;
	border: none;
	padding: 0 6px;
	border-radius: 0;
	color: var(--rs-muted);
	font-weight: 600;
	text-transform: none;
}

.rs-cart__row--head .rs-cart__cell{
	padding: 8px 0;
}

.rs-cart__cell{ min-width: 0; color: var(--rs-text); }
.rs-cart__remove{ flex: 0 0 34px; display:flex; justify-content:center; }
.rs-cart__thumb{ flex: 0 0 92px; }
.rs-cart__name{ flex: 1 1 auto; }
.rs-cart__price{ flex: 0 0 120px; text-align:right; }
.rs-cart__qty{ flex: 0 0 140px; text-align:right; }
.rs-cart__subtotal{ flex: 0 0 130px; text-align:right; font-weight: 700; }

.rs-cart__remove-link{
	width: 28px;
	height: 28px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius: 999px;
	border: 1px solid var(--rs-border);
	line-height: 1;
	text-decoration:none;
	font-size: 18px;
}

.rs-cart__thumb img{
	width: 92px;
	height: 92px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid var(--rs-border);
}

.rs-cart__product-title a{
	color: var(--rs-text);
	font-weight: 700;
	text-decoration: none;
}

.rs-cart__meta{
	margin-top: 6px;
	color: var(--rs-muted);
	font-size: 13px;
}

.rs-cart__actions{
	margin-top: 16px;
	background: var(--rs-card);
	border: 1px solid var(--rs-border);
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
	padding: 14px;
	display:flex;
	gap: 14px;
	align-items:center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.rs-cart__coupon{
	display:flex;
	gap: 10px;
	align-items:center;
	flex: 1 1 420px;
}

.rs-cart__coupon-input{
	width: min(320px, 100%);
	border: 1px solid var(--rs-border);
	border-radius: 8px;
	padding: 10px 12px;
}

.rs-cart__action-buttons{
	display:flex;
	gap: 10px;
	align-items:center;
	justify-content:flex-end;
	flex: 0 1 auto;
}

.rs-cart__btn{
	border-radius: 10px;
	padding: 10px 14px;
	border: 1px solid transparent;
}

.rs-cart__btn--primary{
	background: var(--rs-blue);
	border-color: var(--rs-blue);
	color: #fff;
}
.rs-cart__btn--primary:hover{ background: var(--rs-blue-dark); border-color: var(--rs-blue-dark); }

.rs-cart__btn--secondary{
	background: #ffffff;
	border-color: var(--rs-border);
	color: var(--rs-text);
}

.rs-cart__collaterals .cart_totals{
	background: var(--rs-card);
	border: 1px solid var(--rs-border);
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
	padding: 14px;
	float: none !important;
  width: 100% !important;
	
	
}

/* Make cart totals button match */
.rs-cart__collaterals .checkout-button,
.rs-cart__collaterals a.checkout-button{
	background: var(--rs-blue) !important;
	border-color: var(--rs-blue) !important;
	color: #fff !important;
	border-radius: 10px !important;
}
.rs-cart__collaterals .checkout-button:hover,
.rs-cart__collaterals a.checkout-button:hover{
	background: var(--rs-blue-dark) !important;
	border-color: var(--rs-blue-dark) !important;
}

/* Mobile: stack each cart “row” like a card with labels */
@media (max-width: 720px){
	.rs-cart__row--head{ display:none; }

	.rs-cart__row{
		flex-wrap: wrap;
	}

	.rs-cart__remove{ order: 1; }
	.rs-cart__thumb{ order: 2; }
	.rs-cart__name{ order: 3; flex: 1 1 100%; }
	.rs-cart__price{ order: 4; flex: 1 1 100%; text-align:left; }
	.rs-cart__qty{ order: 5; flex: 1 1 100%; text-align:left; }
	.rs-cart__subtotal{ order: 6; flex: 1 1 100%; text-align:left; }

	.rs-cart__price::before,
	.rs-cart__qty::before,
	.rs-cart__subtotal::before{
		content: attr(data-title) ": ";
		color: var(--rs-muted);
		font-weight: 600;
	}
}





.rs-cart__line2{
	color:#5f6f85;
	font-size:14px;
	margin-top:4px;
}

.rs-cart__chips{
	margin-top:6px;
	display:flex;
	gap:6px;
	flex-wrap:wrap;
}

.rs-chip{
	font-size:12px;
	padding:4px 8px;
	border-radius:999px;
	font-weight:600;
	white-space:nowrap;
}

.rs-chip--blue{
	background:#e8f0fb;
	color:#2f5f9c;
}

.rs-chip--green{
	background:#eaf6ee;
	color:#2b7a4b;
}

.rs-cart__specs{
	margin-top:6px;
	font-size:13px;
	color:#6b778c;
}

.checkout-button,
.rs-cart__btn{
	padding: 0px 20px 20px 20px !important;
}

.checkout-button,
#place_order{
	background:#2F5F9E !important;
}

.rs-cart__form{
	padding: 20px;
}

.rs-cart__sidebar{
	margin-right: 20px;
}





/* ===== ResinSurplus Checkout ===== */

.rs-checkout {
	margin-top: 30px;
}

.rs-order-title {
	font-size: 26px;
	margin: 30px 0 20px;
}

.rs-order-review {
	background: #f4f7fb;
	border-radius: 12px;
	padding: 20px;
}

.rs-order-item {
	display: flex;
	gap: 20px;
	background: #fff;
	border: 1px solid #dde5f1;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 16px;
	align-items: center;
}

.rs-order-image img {
	width: 120px;
	border-radius: 10px;
}

.rs-order-info {
	flex: 1;
}

.rs-order-name a {
	font-weight: 700;
	font-size: 18px;
	color: #1f2a3a;
	text-decoration: none;
}

.rs-order-sub {
	color: #6b778c;
	margin-top: 4px;
}

.rs-order-chips {
	margin-top: 6px;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.rs-chip {
	background: #e8f0fb;
	color: #2f5f9c;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 600;
}

.rs-order-price {
	font-size: 22px;
	font-weight: 700;
	color: #7a1e1e;
	white-space: nowrap;
}

.rs-per-unit {
	font-size: 14px;
	color: #6b778c;
	margin-left: 4px;
}

.rs-order-totals {
	background: #fff;
	border: 1px solid #dde5f1;
	border-radius: 12px;
	padding: 20px;
}


/* =========================
   ResinSurplus Thank You Page
   ========================= */

.rs-thankyou {
	position: relative;
	padding: 40px 0 70px;
}

/* Background like the mockup (set your pellet image URL here if you have it) */
.rs-thankyou::before{
	content:"";
	position:absolute;
	inset:0;
	background:
		linear-gradient(180deg, rgba(240,245,252,1) 0%, rgba(235,241,249,1) 100%);
	/* Optional: background-image: url('/wp-content/uploads/pellets-bg.jpg'); */
	/* background-size: cover; background-position: center; */
	opacity: 1;
	pointer-events:none;
}

.rs-thankyou__stage{
	position: relative;
	max-width: 920px;
	margin: 0 auto;
	padding: 0 18px;
}

.rs-thankyou__card{
	background:#fff;
	border: 1px solid #dbe5f2;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(16, 36, 70, 0.12);
	padding: 34px 28px 28px;
	text-align:center;
}

.rs-thankyou__card--error{
	border-color:#f3c2c2;
}

.rs-thankyou__heading{
	font-size: 34px;
	font-weight: 300;
	color:#5a6f8f;
	margin-bottom: 18px;
	letter-spacing: .2px;
}

.rs-thankyou__icon{
	width: 86px;
	height: 86px;
	border-radius: 999px;
	background:#3f8f4e;
	color:#fff;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size: 44px;
	font-weight: 800;
	margin: 0 auto 18px;
}

.rs-thankyou__icon--error{
	background:#b64545;
}

.rs-thankyou__title{
	font-size: 46px;
	line-height: 1.05;
	margin: 0 0 10px;
	color:#1d2b3d;
	font-weight: 800;
}

.rs-thankyou__subtitle{
	font-size: 20px;
	color:#3b4f6a;
	margin: 0 0 26px;
}

.rs-thankyou__buttons{
	display:flex;
	gap: 16px;
	justify-content:center;
	flex-wrap: wrap;
	margin-top: 22px;
}

.rs-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding: 10px 10px 10px 10px;
	border-radius: 0px;
	font-weight: 800;
	text-decoration:none;
	border: 1px solid transparent;
}

.rs-btn--primary{
	background: linear-gradient(180deg, #2b6fb0 0%, #1e5892 100%);
	color:#fff;
}

.rs-btn--secondary{
	background: linear-gradient(180deg, #2b6fb0 0%, #1e5892 100%);
	color:#fff;
	opacity: .92;
}

/* Tracker */
.rs-thankyou__tracker{
	margin-top: 18px;
}

.rs-tracker{
	position: relative;
	display:flex;
	justify-content: space-between;
	gap: 10px;
	padding: 18px 14px 12px;
	border: 1px solid #dbe5f2;
	border-radius: 10px;
	background: #f7faff;
}

.rs-tracker__rail{
	position:absolute;
	left: 52px;
	right: 52px;
	top: 32px;
	height: 4px;
	background:#cfe0f4;
	border-radius:999px;
}

.rs-tracker__step{
	position: relative;
	flex: 1;
	display:flex;
	flex-direction: column;
	align-items:center;
	gap: 10px;
	z-index: 2;
}

.rs-tracker__dot{
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background:#c3cedc;
	box-shadow: 0 0 0 4px #f7faff;
}

.rs-tracker__step.is-done .rs-tracker__dot{
	background:#2b6fb0;
}

.rs-tracker__label{
	font-size: 13px;
	color:#2b3f57;
	font-weight: 700;
}

/* Keep gateway instructions visible but separated */
.rs-thankyou__below{
	margin-top: 18px;
}

.rs-thankyou__below .woocommerce-order-overview,
.rs-thankyou__below .woocommerce-order-details,
.rs-thankyou__below .woocommerce-customer-details{
	background:#fff;
	border: 1px solid #dbe5f2;
	border-radius: 12px;
	padding: 18px;
}

/* Mobile tweaks */
@media (max-width: 640px){
	.rs-thankyou__heading{ font-size: 26px; }
	.rs-thankyou__title{ font-size: 34px; }
	.rs-btn{ min-width: 100%; }
	.rs-tracker__rail{ left: 34px; right: 34px; }
	.rs-tracker__label{ font-size: 12px; }
}



/* =========================
   MESSAGE SELLER MODAL
========================= */
#contact-seller-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    font-family: inherit;
}

/* Overlay */
#contact-seller-modal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Modal box */
#contact-seller-modal .modal-content {
    position: relative;
    max-width: 520px;
    margin: 8vh auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 24px 24px 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: rsModalIn 0.2s ease-out;
}

/* Header */
#contact-seller-modal h2 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 600;
}

/* Close button */
#contact-seller-modal .modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
}
#contact-seller-modal .modal-close:hover {
    opacity: 1;
}

/* =========================
   FORM STYLES
========================= */
#contact-seller-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#contact-seller-form label {
    font-size: 14px;
    font-weight: 500;
}

#contact-seller-form textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    font-size: 14px;
    line-height: 1.4;
}

#contact-seller-form textarea:focus {
    outline: none;
    border-color: #2ec1c3;
    box-shadow: 0 0 0 2px rgba(46,193,195,0.15);
}

/* File input */
#contact-seller-form input[type="file"] {
    font-size: 13px;
}

/* Submit button */
#contact-seller-form button[type="submit"] {
     margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: #111827;
  color: #ffffff;
  transition: background 0.2s ease;
	max-width: 200px;

}

#contact-seller-form button[type="submit"]:hover {
    background: #25aeb0;
}

/* Disabled state (AJAX send) */
#contact-seller-form button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =========================
   ANIMATION
========================= */
@keyframes rsModalIn {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {
    #contact-seller-modal .modal-content {
        margin: 10vh 16px;
        padding: 20px;
    }
}


/* ===============================
   COA MODAL – SCOPED STYLES
   =============================== */

#coa-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    font-family: inherit;
}

/* Overlay */
#coa-modal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

/* Modal box */
#coa-modal .modal-content {
    position: relative;
    max-width: 520px;
    width: calc(100% - 32px);
    margin: 8vh auto 0;
    background: #ffffff;
    border-radius: 10px;
    padding: 24px 26px 26px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: coaFadeIn 0.25s ease-out;
}

/* Header */
#coa-modal h2 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* Close button */
#coa-modal .modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

#coa-modal .modal-close:hover {
    color: #111827;
}

/* Labels */
#coa-modal label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

/* Inputs */
#coa-modal input[type="text"],
#coa-modal textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: #111827;
    background: #fff;
}

#coa-modal textarea {
    min-height: 90px;
    resize: vertical;
}

/* File input */
#coa-modal input[type="file"] {
    font-size: 13px;
    margin-top: 4px;
}

/* Form spacing */
#coa-modal form p {
    margin-bottom: 14px;
}

/* Submit button */
#coa-modal button[type="submit"],
.contact-seller-form button[type="submit"]{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #111827;
    color: #ffffff;
    transition: background 0.2s ease;
}

#coa-modal button[type="submit"]:hover {
    background: #000000;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    #coa-modal .modal-content {
        margin-top: 10vh;
        padding: 20px;
    }
}

/* Entrance animation */
@keyframes coaFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===============================
   ResinSurplus Survey Form
   =============================== */

#survey-form {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 20px 28px;
    font-family: inherit;
}

/* Fieldset layout */
#survey-form fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 18px 14px;
    margin-bottom: 18px;
    background: #ffffff;
}

/* Section titles */
#survey-form legend {
    padding: 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* Checkbox grid */
#survey-form fieldset {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    column-gap: 16px;
    row-gap: 10px;
}

/* Make legend span full width */
#survey-form fieldset > legend {
    grid-column: 1 / -1;
}

/* Checkbox labels */
#survey-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    line-height: 1.3;
}

/* Checkbox input */
#survey-form input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #111827;
    cursor: pointer;
}

/* Textarea section */
#survey-form textarea {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 110px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    background: #ffffff;
}

/* Helper text */
#survey-form p {
    grid-column: 1 / -1;
    margin: 4px 0 6px;
    font-size: 13px;
    color: #6b7280;
}

/* Actions */
#survey-form .rs-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

/* Submit button */
#survey-form .rs-btn {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #111827;
    color: #ffffff;
    transition: background 0.2s ease, transform 0.1s ease;
}

#survey-form .rs-btn:hover {
    background: #000000;
}

#survey-form .rs-btn:active {
    transform: translateY(1px);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    #survey-form fieldset {
        grid-template-columns: 1fr;
    }

    #survey-form {
        padding: 18px 14px;
    }
}
/* ===============================
   ResinSurplus – User Approval
   =============================== */

.rs-approval-form {
    margin-top: 20px;
}

/* Table container */
.rs-approval-table {
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    overflow: hidden;
}

/* Header */
.rs-approval-table thead th {
    background: #f6f7f7;
    font-weight: 600;
    font-size: 13px;
    color: #1d2327;
    padding: 12px 14px;
    border-bottom: 1px solid #dcdcde;
}

/* Rows */
.rs-approval-table tbody td {
    padding: 12px 14px;
    vertical-align: middle;
    font-size: 13px;
    color: #2c3338;
}

/* Zebra override (cleaner than default) */
.rs-approval-table tbody tr:nth-child(even) {
    background: #fbfbfc;
}

/* Hover */
.rs-approval-table tbody tr:hover {
    background: #f0f6fc;
}

/* Status labels */
.rs-approval-table .status-label {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Status colors */
.rs-approval-table .status-pending {
    background: #fff8e5;
    color: #8a6d3b;
}

.rs-approval-table .status-approved {
    background: #e6f4ea;
    color: #1e7e34;
}

.rs-approval-table .status-denied {
    background: #fdecea;
    color: #b02a37;
}

/* Action buttons */
.rs-approval-table .button {
    min-width: 78px;
    margin-right: 6px;
    font-weight: 600;
}

/* Approve button */
.rs-approval-table .button-primary {
    background: #2271b1;
    border-color: #2271b1;
}

.rs-approval-table .button-primary:hover {
    background: #135e96;
    border-color: #135e96;
}

/* Deny button */
.rs-approval-table .button-secondary {
    background: #f0f0f1;
    border-color: #c3c4c7;
    color: #1d2327;
}

.rs-approval-table .button-secondary:hover {
    background: #e5e5e7;
}

/* Responsive (mobile admin safe) */
@media (max-width: 782px) {
    .rs-approval-table thead {
        display: none;
    }

    .rs-approval-table,
    .rs-approval-table tbody,
    .rs-approval-table tr,
    .rs-approval-table td {
        display: block;
        width: 100%;
    }

    .rs-approval-table tr {
        border-bottom: 1px solid #dcdcde;
        padding: 10px 0;
    }

    .rs-approval-table td {
        padding: 6px 14px;
    }

    .rs-approval-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: #6c7781;
        margin-bottom: 2px;
    }
}




/* ===============================
   ResinSurplus – My Account
   =============================== */


/* Layout */
.woocommerce-account .woocommerce {
    display: flex;
    gap: 24px;
}

/* ===============================
   LEFT NAVIGATION
   =============================== */

.woocommerce-MyAccount-navigation {
    flex: 0 0 240px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 0;
}

/* Remove default list styling */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Nav items */
.woocommerce-MyAccount-navigation li {
    margin: 0;
}

/* Nav links */
.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover */
.woocommerce-MyAccount-navigation a:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Active link */
.woocommerce-MyAccount-navigation .is-active a {
    background: #111827;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    margin: 0 10px;
}

/* Logout emphasis */
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #b91c1c;
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fee2e2;
    color: #7f1d1d;
}

/* ===============================
   RIGHT CONTENT PANEL
   =============================== */

.woocommerce-MyAccount-content {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 22px 24px;
    min-height: 320px;
}

/* Headings / intro text */
.woocommerce-MyAccount-content p {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

/* Links inside content */
.woocommerce-MyAccount-content a {
    color: #111827;
    font-weight: 600;
    text-decoration: underline;
}

/* Notices */
.woocommerce-notices-wrapper {
    margin-bottom: 16px;
}

/* ===============================
   MOBILE RESPONSIVE
   =============================== */

@media (max-width: 900px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation {
        flex: none;
        width: 100%;
    }

    .woocommerce-MyAccount-navigation a {
        padding: 12px 16px;
    }

    .woocommerce-MyAccount-navigation .is-active a {
        margin: 6px 10px;
    }
}


.messages-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.message {
  display: flex;
  max-width: 70%;
}

.message-sent {
  justify-content: flex-start;
}

.message-received {
  justify-content: flex-end;
}

.message-bubble {
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
}

.message-sent .message-bubble {
  background: #e0f7fa;
  border-bottom-left-radius: 0;
}

.message-received .message-bubble {
  background: #c8e6c9;
  border-bottom-right-radius: 0;
}

.message-time {
  display: block;
  font-size: 11px;
  color: #666;
  margin-top: 5px;
  text-align: right;
}


/* ===============================
   My Account – Edit Listings
   =============================== */

/* Section heading */
.woocommerce-MyAccount-content h2 {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* Grid container */
.woocommerce-MyAccount-content .myaccount-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

/* Remove stray <p> spacing created by markup */
.woocommerce-MyAccount-content .myaccount-listings > p {
    display: none;
}

/* Card link wrapper */
.myaccount-listings .listing-card-link {
    text-decoration: none;
    color: inherit;
}

/* Listing card */
.myaccount-listings .listing-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

/* Hover */
.myaccount-listings .listing-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Thumbnail */
.myaccount-listings .listing-thumb {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.myaccount-listings .listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder image */
.myaccount-listings .listing-thumb .placeholder-img {
    object-fit: contain;
    padding: 8px;
}

/* Card body */
.myaccount-listings .listing-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Title */
.myaccount-listings .listing-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

/* Price */
.myaccount-listings .listing-price {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Listings without price */
.myaccount-listings .listing-body p:empty {
    display: none;
}

/* ===============================
   MOBILE ADJUSTMENTS
   =============================== */

@media (max-width: 600px) {
    .woocommerce-MyAccount-content .myaccount-listings {
        grid-template-columns: 1fr;
    }

    .myaccount-listings .listing-card {
        gap: 12px;
        padding: 12px;
    }
}


/* ===============================
   Notify Me Form
   =============================== */

.notify-me-form {
    max-width: 420px;
    margin: 0 auto;
    padding: 22px 22px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
}

/* Field spacing */
.notify-me-form p {
    margin-bottom: 14px;
}

/* Labels */
.notify-me-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* Inputs + textarea */
.notify-me-form input[type="text"],
.notify-me-form input[type="email"],
.notify-me-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
.notify-me-form input:focus,
.notify-me-form textarea:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* Textarea sizing */
.notify-me-form textarea {
    resize: vertical;
    min-height: 90px;
}

/* Submit button */
.notify-me-form button[type="submit"] {
    width: 100%;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #111827;
    color: #ffffff;
    transition: background 0.2s ease, transform 0.1s ease;
}

/* Button hover / active */
.notify-me-form button[type="submit"]:hover {
    background: #000000;
}

.notify-me-form button[type="submit"]:active {
    transform: translateY(1px);
}

/* Mobile spacing */
@media (max-width: 480px) {
    .notify-me-form {
        padding: 18px 16px 20px;
    }
}


/* ==================================
   ResinSurplus Listing Form
   ================================== */

.resinsurplus-listing-form {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

/* Paragraph spacing */
.resinsurplus-listing-form p {
    margin-bottom: 16px;
}

/* Labels */
.resinsurplus-listing-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* Inputs, selects, textarea */
.resinsurplus-listing-form input[type="text"],
.resinsurplus-listing-form input[type="number"],
.resinsurplus-listing-form textarea,
.resinsurplus-listing-form select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    color: #111827;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Textarea sizing */
.resinsurplus-listing-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Focus states */
.resinsurplus-listing-form input:focus,
.resinsurplus-listing-form textarea:focus,
.resinsurplus-listing-form select:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* Checkbox alignment */
.resinsurplus-listing-form input[type="checkbox"] {
    width: auto;
    margin-right: 6px;
    transform: translateY(1px);
}

.resinsurplus-listing-form p label input[type="checkbox"] {
    display: inline-block;
}

/* File upload */
.resinsurplus-listing-form input[type="file"] {
    font-size: 13px;
    border: none;
    padding: 4px 0;
}

/* Submit button */
.resinsurplus-listing-form button[type="submit"] {
    margin-top: 8px;
    padding: 12px 18px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: #111827;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

/* Button hover / active */
.resinsurplus-listing-form button[type="submit"]:hover {
    background: #000000;
}

.resinsurplus-listing-form button[type="submit"]:active {
    transform: translateY(1px);
}

/* Required indicator (optional visual) */
.resinsurplus-listing-form input[required],
.resinsurplus-listing-form textarea[required] {
    border-left: 3px solid #111827;
}

/* ===============================
   Responsive
   =============================== */
@media (max-width: 640px) {
    .resinsurplus-listing-form {
        padding: 20px 16px;
    }
}



.rs-actions {
  display: flex;
  gap: 10px;
}

.rs-actions-row {
  display: flex;
  gap: 10px;
}

/* Optional: make second row visually distinct */
.rs-actions-row-secondary {
  border-top: 1px solid #e5e5e5;
  padding-top: 10px;
}

/* Optional: center the inquire button */
.rs-actions-row-secondary {
  justify-content: flex-start; /* or center */
}

/* ===============================
   INQUIRY MODAL – ResinSurplus
   =============================== */

#buyer-inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  font-family: inherit;
}

/* Overlay */
#buyer-inquiry-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* Modal box */
#buyer-inquiry-modal .modal-content {
  position: relative;
  max-width: 560px;
  width: calc(100% - 32px);
  margin: 8vh auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 26px 26px 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  animation: rsModalIn 0.2s ease-out;
}

/* Header */
#buyer-inquiry-modal h2 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

/* Close */
#buyer-inquiry-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
  color: #6b7280;
}
#buyer-inquiry-modal .modal-close:hover {
  color: #111827;
}

/* ===============================
   FORM
   =============================== */

#buyer-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#buyer-inquiry-form label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

/* Inputs / selects / textarea */
#buyer-inquiry-form input[type="number"],
#buyer-inquiry-form input[type="text"],
#buyer-inquiry-form select,
#buyer-inquiry-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
}

#buyer-inquiry-form textarea {
  min-height: 100px;
  resize: vertical;
}

#buyer-inquiry-form input:focus,
#buyer-inquiry-form textarea:focus,
#buyer-inquiry-form select:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* Checkbox */
#buyer-inquiry-form .rs-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}

#buyer-inquiry-form .rs-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #111827;
}

/* Submit */
#buyer-inquiry-form button[type="submit"] {
  margin-top: 10px;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #111827;
  color: #ffffff;
}

#buyer-inquiry-form button[type="submit"]:hover {
  background: #000000;
}

/* Mobile */
@media (max-width: 520px) {
  #buyer-inquiry-modal .modal-content {
    margin: 10vh 16px;
    padding: 22px 20px;
  }

  #buyer-inquiry-form button[type="submit"] {
    width: 100%;
  }
}
/* ===============================
   ResinSurplus – Seller Inquiries
   =============================== */

.rs-inquiries-wrap {
    margin-top: 20px;
}

.rs-inquiries-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #111827;
}

/* Scroll container */
.rs-inquiries-scroll {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

/* Card */
.rs-inquiry-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Header row */
.rs-inquiry-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* Inquiry meta */
.rs-inquiry-meta {
    font-size: 14px;
    color: #374151;
}

.rs-inquiry-meta strong {
    color: #111827;
    font-weight: 600;
}

/* Status pill */
.rs-inquiry-status {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Status colors */
.rs-status-open {
    background: #e8f0fb;
    color: #1d4ed8;
}

.rs-status-responded {
    background: #e6f4ea;
    color: #15803d;
}

.rs-status-closed {
    background: #fdecea;
    color: #b91c1c;
}

/* Body text */
.rs-inquiry-body {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

/* Question block */
.rs-inquiry-questions {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: #1f2937;
}

/* Footer row */
.rs-inquiry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #6b7280;
}

/* Action button */
.rs-inquiry-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #111827;
    color: #111827;
    background: #ffffff;
    transition: all 0.15s ease;
}

.rs-inquiry-action:hover {
    background: #111827;
    color: #ffffff;
}

/* Empty state */
.rs-inquiries-empty {
    padding: 18px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

/* Scrollbar (WebKit only – subtle) */
.rs-inquiries-scroll::-webkit-scrollbar {
    width: 6px;
}

.rs-inquiries-scroll::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

/* ===============================
   Mobile adjustments
   =============================== */
@media (max-width: 640px) {
    .rs-inquiry-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .rs-inquiry-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

.rs-buy-now{
	color:white !Important;
}



@media (max-width: 980px) {

    .rs-market {
        grid-template-columns: 1fr;
    }

    .rs-sidebar {
        position: static;
        order: 1;
    }

    .rs-main {
        order: 2;
    }

    .rs-card {
        grid-template-columns: 120px 1fr 100px;
        gap: 12px;
        padding: 14px;
    }

    .rs-card-title {
        font-size: 16px;
    }
}

/* =========================
   MOBILE ≤ 768px
   ========================= */

@media (max-width: 768px) {

    .rs-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rs-card-left {
        text-align: center;
    }

    .rs-card-left img {
        max-width: 200px;
        margin: 0 auto;
    }

    .rs-card-right {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
    }

    .rs-price {
        font-size: 18px;
        font-weight: 600;
    }

    .rs-filter-block {
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .rs-check {
        display: flex;
        align-items: center;
      
    }
}


/* Hide WCFM "Add to My Store" menu item */
.wcfm_menu_items.wcfm_menu_wcfm-sell-items-catalog,
#add_new_product_dashboard{
    display: none !important;
}


/* Overall spacing between fields */
.resinsurplus-listing-form p {
    margin: 0 0 40px; /* space from previous field */
}

/* Label spacing */
.resinsurplus-listing-form label {
    display: block;
    margin-bottom: 4px; /* tighter to its field */
    font-weight: 600;
}

/* Inputs, selects, textareas */
.resinsurplus-listing-form input[type="text"],
.resinsurplus-listing-form input[type="number"],
.resinsurplus-listing-form input[type="file"],
.resinsurplus-listing-form select,
.resinsurplus-listing-form textarea {
    display: block;
    width: 100%;
    margin-top: 0;
}

/* Textarea height (optional but recommended) */
.resinsurplus-listing-form textarea {
    min-height: 120px;
}

/* File input exception */
.resinsurplus-listing-form input[type="file"] {
    margin-top: 6px;
}


/* ================================
   WCFM – Light / White Theme
   ================================ */

/* Main background */
#wcfm-main-content,
.wcfm-content-container,
.wcfm-main-content-wrap,
#wcfm-content {
    background: #ffffff !important;
    color: #111 !important;
}

/* Sidebar menu */
#wcfm_menu {
    background: #ffffff !important;
    border-right: 1px solid #e5e5e5;
}

/* Sidebar items */
#wcfm_menu .wcfm_menu_item {
    color: #111 !important;
    background: transparent !important;
    border-bottom: 1px solid #f0f0f0;
}

/* Sidebar icons */
#wcfm_menu .wcfm_menu_item span,
#wcfm_menu .wcfm_menu_item i {
    color: #111 !important;
}

/* Active / hover state */
#wcfm_menu .wcfm_menu_item.active,
#wcfm_menu .wcfm_menu_item:hover {
    background: #f7f7f7 !important;
    color: #000 !important;
}

/* Sub-menus */
.wcfm_sub_menu_items a {
    color: #111 !important;
    background: transparent !important;
}

/* Top header bar */
.wcfm-page-headig {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e5e5;
}

/* Header text */
.wcfm-page-heading-text,
.wcfm-store-name-heading-text a {
    color: #111 !important;
    font-weight: 600;
}

/* Header icons */
.wcfm_header_panel i,
.wcfm_header_panel span {
    color: #111 !important;
}

/* Notifications */
.unread_notification_count {
    background: #d32f2f !important;
    color: #fff !important;
}

/* Buttons */
.wcfm_submit_button,
.wcfm-button {
    background: #000 !important;
    color: #fff !important;
    border-radius: 4px;
}

/* Tables */
.wcfm-table,
.wcfm-table th,
.wcfm-table td {
    background: #ffffff !important;
    color: #111 !important;
    border-color: #e5e5e5;
}

/* Inputs */
#wcfm-content input,
#wcfm-content select,
#wcfm-content textarea {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #ccc;
}

/* Remove WCFM logo styling */
.wcfm_menu_logo img {
    filter: grayscale(100%);
    opacity: 0.7;
}


.wcfm_menu_logo{
	background: white !Important;
}

.wcfm_menu_logo h4 a{
	color: black;
}


#wcfm_menu span.wcfm_sub_menu_items{
	background: white !Important;
}

.wcfm_menu_logo h4, .wcfm_menu_logo h4 a, #wcfm-main-contentainer .wcfm-page-headig, #wcfm-main-contentainer .wcfm-page-headig .wcfmfa, .wcfm_menu_logo, .wcfm_menu_no_logo{
	color: black !Important;
}

.collapse-open {
  background: white !Important;
}

.page_collapsible, .collapse-close, .wcfm-collapse a.page_collapsible_dummy {
 background: white !Important;
}


.page_collapsible label,
.page_collapsible_content_holder{
	color:black !Important;
}



/* ==================================================
   WCFM Menu – Show ONLY Home, Settings, Withdrawals
   ================================================== */

#wcfm_menu .wcfm_menu_home {
    display: block !important;
}

#wcfm_menu .wcfm_menu_wcfm-settings {
    display: block !important;
}

#wcfm_menu .wcfm_menu_wcfm-withdrawal-requests {
    display: block !important;
}

.wcfm-page-headig,
.wcfm-top-element-container, .wcfm-top-element-container, .wcfm_menu_logo,
.wcfm_tutorials_wrapper{
	display:none !Important;
}

.wcfm-collapse-content {
	padding: 0px !important;
}

#wcfm_settings_form,
.wcfm-collapse .wcfm-container{
	margin-top: -27px;
}


.wcfm-container{
	padding-top: 50px !Important;
}


#wcfm-main-contentainer .wcfm-collapse {
  background: #fff !important;
}



/*
 Start: Hide irrelevant items
*/

#wcfm_settings_form .page_collapsible:not(
    #wcfm_settings_form_commission_head,
    #wcfm_settings_form_withdrawal_head,
    #wcfm_settings_form_payment_head
) {
    display: none !important;
}

/* Hide ALL WCFM menu items by default */
#wcfm_menu .wcfm_menu_items {
    display: none !important;
}

/* Show ONLY allowed items */
#wcfm_menu .wcfm_menu_wcfm-ledger,
#wcfm_menu .wcfm_menu_wcfm-settings,
#wcfm_menu .wcfm_menu_wcfm-withdrawal-requests {
    display: block !important;
}


/*
 End: Hide irrelevant items
*/






.rs-card-right {
  display: flex;
  justify-content: flex-end;
}

.rs-card-right-inner {
  display: flex;
  flex-direction: row;      /* FORCE horizontal */
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;      /* PREVENT wrapping */
}

.rs-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-align: right;
}

.rs-card-featured {
  width: 72px;
  height: 72px;
  flex-shrink: 0;           /* DO NOT let price push it down */
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-card-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.rs-card-right-inner {
  display: flex;

  gap: 16px;
}

.rs-price {
  display: flex;
}

.rs-price-unit {
  position: relative;
  padding-right: 16px; /* space before divider */
}

.rs-price-unit::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
 height: 70px;      /* match text height */
  background: #ccc;  /* divider color */
}

.rs-card-featured img {
  display: block;
}


.rs-badge-blue {
	background: #e7f0ff;
	color: #1e4fd8;
}


.rs-badge-green {
	background: #e6f7ef;
	color: #0f8a4b;
}


.rs-badge-purple {
	background: #f1e9ff;
	color: #6b3fd6;
}


.rs-badge-gray {
	background: #f3f4f6;
	color: #4b5563;
}





/* ==========================
   Toolbar wrapper
   ========================== */

.rs-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	margin: 12px 0 20px;
	background: linear-gradient(#f9fafb, #f1f5f9);
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	gap: 16px;
}

/* ==========================
   Search (left)
   ========================== */

.rs-search {
	position: relative;
	width: 100%;
	max-width: 420px;
}

.rs-search input {
	width: 100%;
	padding: 10px 12px 10px 36px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	font-size: 14px;
	background: #fff;
}

.rs-search input::placeholder {
	color: #9ca3af;
}

.rs-search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	color: #6b7280;
	pointer-events: none;
}

/* ==========================
   Sort (right)
   ========================== */

.rs-toolbar-right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 14px;
	white-space: nowrap;
}

.rs-sort-label {
	color: #374151;
	font-weight: 600;
}

.rs-sort {
	color: #1f2937;
	text-decoration: none;
	padding: 2px 4px;
}

.rs-sort:hover {
	text-decoration: underline;
}

.rs-sort.is-active {
	font-weight: 700;
	color: #1d4ed8;
}

.rs-sort-sep {
	color: #9ca3af;
	padding: 0 4px;
}

/* ==========================
   Responsive
   ========================== */

@media (max-width: 768px) {
	.rs-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.rs-toolbar-right {
		justify-content: flex-start;
	}
}



.rs-card > .rs-actions {
  grid-column: 1 / -1;
  width: 100%;
  overflow: hidden;
}

.rs-card > .rs-actions .rs-actions-row {
  display: grid;
  grid-template-columns: repeat(5, 20%);
  gap: 8px;
}

.rs-card > .rs-actions .rs-btn {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
	text-align: center;
}


@media (max-width: 768px) {
  .rs-card > .rs-actions .rs-actions-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .rs-card > .rs-actions .rs-actions-row {
    grid-template-columns: 1fr;
  }
}




/* Base button layout */
.rs-actions .rs-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* space between text and arrow */
    padding-right: 14px; /* room for arrow */
}

/* Down arrow */
.rs-actions .rs-btn::after {
    content: "▾"; /* downward arrow */
    font-size: 0.8em;
    line-height: 1;
    opacity: 0.75;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hover effect (optional but recommended) */
.rs-actions .rs-btn:hover::after {
    transform: translateY(2px);
    opacity: 1;
}


.rs-btn-disabled {
    background-color: #d1d5db !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
    cursor: not-allowed;
    opacity: 0.85;
}

.rs-btn-validated {
    background-color: #2F5F9E !important;
    border-color: #2F5F9E !important;
    color: #ffffff !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rs-btn-validated:hover {
    background-color: #15803d !important;
    border-color: #15803d !important;
}




 .rs-back-dashboard-wrap{
            position: fixed;
            left: 16px;
            bottom: 16px;
            z-index: 99999;
        }
        .rs-back-dashboard-btn{
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            line-height: 1;
            background: #111827;
            color: #fff;
            box-shadow: 0 10px 30px rgba(0,0,0,.18);
        }
        .rs-back-dashboard-btn:hover{
            opacity: .92;
            color: #fff;
        }




/* My Account left nav: sticky + scrollable */
.woocommerce-account .woocommerce{
  display: flex;
  gap: 24px;
}

/* Left column (nav) */
.woocommerce-account .woocommerce-MyAccount-navigation{
  position: sticky;
  top: 24px;                 /* adjust if you have a fixed header */
  align-self: flex-start;
  width: 280px;              /* adjust as needed */
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding-right: 10px;       /* space for scrollbar */
}

/* Make list clean and readable */
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Links */
.woocommerce-account .woocommerce-MyAccount-navigation a{
  display: block;
  padding: 10px 12px;
  text-decoration: none;
}

/* Active item */
.woocommerce-account .woocommerce-MyAccount-navigation .is-active > a,
.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"]{
  font-weight: 700;
}

/* Right column (content) */
.woocommerce-account .woocommerce-MyAccount-content{
  flex: 1;
  min-width: 0;
}

/* Optional: nicer scrollbar (safe defaults) */
.woocommerce-account .woocommerce-MyAccount-navigation{
  scrollbar-width: thin;                 /* Firefox */
}
.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar{
  width: 10px;
}
.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar-thumb{
  border-radius: 10px;
  background: rgba(0,0,0,.25);
}



/* =========================
   Report an Issue – High Contrast Button
========================= */
.rs-help {
	background: #2F5F9E;            /* strong blue */
	color: #ffffff !important;
	padding: 10px 16px;
	border-radius: 999px;           /* pill shape */
	font-weight: 700;
	text-decoration: none;

	box-shadow:
  0 4px 10px rgba(0, 0, 0, 0.35),
  0 2px 4px rgba(0, 0, 0, 0.2);

	transition: filter .15s ease, transform .15s ease;
}






















