.gsd-pt-wrap { margin: 20px 0; }

.gsd-pt-toolbar{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	align-items:flex-end;
	margin: 0 0 14px 0;
	padding: 12px;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 10px;
	background: rgba(255,255,255,.7);
}

.gsd-pt-field label{
	display:block;
	font-size: 14px;
	line-height: 1.2;
	margin: 0 0 6px 0;
}

.gsd-pt-field input[type="search"],
.gsd-pt-field select{
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 8px;
}

.gsd-pt-field--inline label{
	display:flex;
	gap: 8px;
	align-items:center;
	margin: 0;
}

.gsd-pt-count{
	margin-left:auto;
	font-size: 14px;
	opacity:.8;
	white-space:nowrap;
}

.gsd-pt-table-wrap{
	overflow:auto;
	
}

.gsd-pt-table{
	width:100%;
	border-collapse: collapse;
	min-width: 760px;
	background: #fff;
}

.gsd-pt-table th,
.gsd-pt-table td{
	padding: 5px;
	border-bottom: 1px solid rgba(0,0,0,.08);
	vertical-align: middle;
	text-align: left;
}

.gsd-pt-table thead th{
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 1;
	border-bottom: 1px solid rgba(0,0,0,.15);
	font-size: 15px !important;
	font-family: var(--font-heading);
	line-height: 1.25 !important;
	font-weight: 500;
}
.gsd-pt-table td{
	font-size: 14px !important;
}
.gsd-pt-qty{
	width: 90px;
	padding: 8px 10px;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 8px;
}
button.gsd-pt-add {
	font-size:16px !important;
		padding:10px 12px!important;
}
.gsd-pt-row-msg{
	display:inline-block;
	margin-left: 10px;
	font-size: 13px;
	opacity: .85;
}
/* Sortable headers */
.gsd-pt-table thead th.is-sortable{
  cursor:pointer;
  user-select:none;
}
.gsd-pt-table thead th.is-sortable:focus{
  outline:2px solid currentColor;
  outline-offset:2px;
}
.gsd-pt-sort-ind{
  display:inline-block;
  width: 0.9em;
  text-align:center;
  margin-left: .25em;
  opacity:.7;
}
th.is-sorted-asc .gsd-pt-sort-ind::before{ content:"▲"; }
th.is-sorted-desc .gsd-pt-sort-ind::before{ content:"▼"; }

/* Pager */
.gsd-pt-pager{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  margin-top:12px;
  flex-wrap:wrap;
}
.gsd-pt-pagebtn{
  padding:6px 10px;
}
.gsd-pt-pages{
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap;
}
.gsd-pt-ellipsis{
  padding:0 4px;
  opacity:.7;
}

/* Part link */
.gsd-pt-part-link{
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gsd-pt-brand-link{
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gsd-pt-toolbar{
  flex-wrap: wrap;
  gap: 12px;
}
.gsd-pt-toolbar .gsd-pt-field{
  min-width: 1 1 auto;
}
.gsd-pt-showwrap,
.gsd-pt-actions { display:flex; align-items:flex-end; gap:10px; }
.gsd-pt-count { white-space:nowrap; }
.gsd-pt-bottombar{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
  margin-top:12px;
}
.gsd-pt-showwrap{
  display:flex;
  align-items:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.gsd-pt-count{ white-space:nowrap; }

/* Base pager buttons */
.gsd-pt-pager .gsd-pt-pagebtn,
.gsd-pt-pager .gsd-pt-page {
  background: #6e7073;         /* gray */
  color: #ffffff;              /* white text */
  border: 1px solid #6e7073;
  border-radius: 6px;
  padding: 8px 12px;
  line-height: 1;
  cursor: pointer;
}
/* Hover / focus */
.gsd-pt-pager .gsd-pt-pagebtn:hover,
.gsd-pt-pager .gsd-pt-page:hover {
  background: #2f6b4f;         /* darker gray */
  border-color: #2f6b4f;
}



/* Disabled */
.gsd-pt-pager .gsd-pt-pagebtn:disabled,
.gsd-pt-pager .gsd-pt-page:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Current page (your JS sets aria-current="page" and disables it) */
.gsd-pt-pager .gsd-pt-page[aria-current="page"],
.gsd-pt-pager .gsd-pt-pagebtn[aria-current="page"] {
  background: #facc15;         /* yellow */
  color: #111827;              /* dark text */
  border-color: #facc15;
  font-weight: 700;
  opacity: 1;
}
/* Toolbar */
.gsd-pt-toolbar{
	display:row;
	flex-flow: row nowrap;
	gap:8px;
	align-items:end;
	margin-bottom:20px;
}

.gsd-pt-field label{
	display:block;
	font-size:.85rem;
	font-weight:600;
	margin:0 0 6px;
}

.gsd-pt-field input,
.gsd-pt-field select{
	width:100%;
	min-height:42px;
	padding:10px 12px;
	border:1px solid #d0d5dd;
	border-radius:6px;
	background:#fff;
}

.gsd-pt-field-search{
	min-width:220px;
}

.gsd-pt-actions{
	display:flex;
	gap:10px;
	flex-wrap:wrap;
	align-items:end;
}

/* -----------------------------------------
   Product Table Sortable Header Styling
   Match Dealer Portal Quote Table style
----------------------------------------- */

.gsd-pt-table th.gsd-pt-th{
  vertical-align: middle;
  padding: 0 !important;
}

.gsd-pt-sort-btn,
.gsd-pt-th-static{
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
  color: var(--wp--preset--color--industrial-navy);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 0;
  box-sizing: border-box;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.gsd-pt-sort-btn{
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.gsd-pt-table th .gsd-pt-th-label{
  color: var(--wp--preset--color--industrial-navy);
}

.gsd-pt-sort-btn:hover,
.gsd-pt-sort-btn:focus{
  background: rgba(0, 37, 81, 0.06);
}

.gsd-pt-sort-btn:focus-visible{
  outline: 2px solid var(--wp--preset--color--harvest-gold);
  outline-offset: -2px;
}

.gsd-pt-sort-arrows{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: .7;
  font-size: 10px;
  opacity: .75;
  flex: 0 0 auto;
  gap: 1px;
}

.gsd-pt-sort-arrow{
  color: var(--wp--preset--color--steel-gray);
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
  width: auto;
  height: auto;
  border: 0;
  display: block;
  line-height: 1;
}

.gsd-pt-sort-arrow-up::before{
  content: "▲";
}

.gsd-pt-sort-arrow-down::before{
  content: "▼";
}

/* Active sorted state */
.gsd-pt-th.is-sorted-asc .gsd-pt-sort-btn,
.gsd-pt-th.is-sorted-desc .gsd-pt-sort-btn{
  background: var(--wp--preset--color--industrial-navy);
  color: #fff;
}

.gsd-pt-th.is-sorted-asc .gsd-pt-th-label,
.gsd-pt-th.is-sorted-desc .gsd-pt-th-label{
  color: #fff;
}

.gsd-pt-th.is-sorted-asc .gsd-pt-sort-arrows,
.gsd-pt-th.is-sorted-desc .gsd-pt-sort-arrows{
  opacity: 1;
}

.gsd-pt-th.is-sorted-asc .gsd-pt-sort-arrow-up{
  color: var(--wp--preset--color--safety-yellow);
}

.gsd-pt-th.is-sorted-asc .gsd-pt-sort-arrow-down{
  color: #fff;
}

.gsd-pt-th.is-sorted-desc .gsd-pt-sort-arrow-down{
  color: var(--wp--preset--color--safety-yellow);
}

.gsd-pt-th.is-sorted-desc .gsd-pt-sort-arrow-up{
  color: #fff;
}
.gsd-pt-wrap--empty{
				margin: 0 0 24px;
			}
			.gsd-pt-empty-state{
				background-color: var(--wp--preset--color--industrial-navy);
	box-shadow: 0 16px 36px rgba(0, 37, 81, 0.28);
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.10);
				border-radius: 15px;
				overflow: hidden;
	width: clamp(300px, 600px, 100%);
	min-width: 300px;
	margin: 0 auto;
			}
			.gsd-pt-empty-state__inner{
				padding: 25px;
				text-align: center;
			}
			.gsd-pt-empty-state__title{
	margin: 0 0 12px;
	font-size: clamp(24px, 2vw, 30px);
	line-height: 1.15;
	color: #ffffff;
}

.gsd-pt-empty-state__copy{
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.65;
	font-weight: 500;
	color: rgba(255,255,255,.92);
}

.gsd-pt-empty-state__contact-options{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px 18px;
}

.gsd-pt-empty-state__contact{
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
}

.gsd-pt-empty-state__label{
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255,255,255,.72);
}

.gsd-pt-empty-state__name{
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
}

.gsd-pt-empty-state__email a{
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	word-break: break-word;
}

.gsd-pt-empty-state__email a:hover{
	text-decoration: underline;
}

.gsd-pt-empty-state__or{
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255,255,255,.70);
}
.gsd-pt-empty-state a.email{
	color: var(--wp--preset--color--graphite) !important;
	background-color: var(--wp--preset--color--safety-yellow) !important;
    text-decoration: none;
}
.gsd-pt-empty-state__fallback{
	display:flex;
	justify-content: center;
	flex-flow: row;
	gap:20px;
}

@media (max-width: 900px){
	.gsd-pt-empty-state{
		max-width: 70%;
	}
}

@media (max-width: 640px){
	.gsd-pt-empty-state{
		width: auto;
		max-width: 100%;
		min-width: 300px;
	}

	.gsd-pt-empty-state__inner{
		padding: 22px 18px;
	}

	.gsd-pt-empty-state__contact-options{
		flex-direction: column;
		align-items: flex-start;
	}

	.gsd-pt-empty-state__contact{
		width: 100%;
	}
}