/*
 * Hemp Trading Post Classic: version 2 styles for the vendor dashboard and the seller onboarding screens.
 * Loaded after v2.css on those pages (see inc/v2-onboarding.php).
 *
 * WC Vendors brings its own dashboard stylesheet (the Lato typeface, a blue accent, many
 * "!important" rules). This file puts the site's design on top of it: the site typefaces, green
 * in place of blue, the site's buttons, fields, tables and notices. The plugin's layout and
 * scripts are left alone. "!important" is used only where the plugin's own rule uses it.
 *
 * Contents: 1 applicant waiting for review  2 frame and type  3 menu  4 buttons and links
 *           5 fields  6 tables and lists  7 product form  8 notices and status labels
 *           9 orders and settings  10 phones
 */

/* 1. Applicant waiting for review ------------------------------------------------------------ */

.htp-pending {
	background: var(--htp-tint);
	border-left: 4px solid var(--htp-green);
	border-radius: var(--htp-radius);
	color: var(--htp-ink);
	margin: 0 0 32px;
	max-width: 760px;
	padding: 28px 32px;
}

.htp-v2 .htp-pending__title {
	font-size: 1.5rem;
	margin: 0 0 12px;
}

.htp-pending p {
	max-width: 62ch;
}

.htp-v2 .htp-pending__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin: 20px 0 0;
}

@media (max-width: 640px) {

	.htp-pending {
		padding: 20px;
	}
}

/* 2. Frame and type ----------------------------------------------------------------------------- */

.htp-v2 .wcvendors-pro-dashboard-wrapper,
.htp-v2 .wcv-grid {
	color: var(--htp-text);
	font-size: 1rem;
	line-height: 1.55;
}

.htp-v2 .wcv-grid h1,
.htp-v2 .wcv-grid h2,
.htp-v2 .wcv-grid h3,
.htp-v2 .wcv-grid h4,
.htp-v2 .wcv-grid h5,
.htp-v2 .wcv-grid h6 {
	color: var(--htp-ink);
	font-family: var(--htp-display) !important;
	font-weight: 400;
}

.htp-v2 .wcv-grid .wcv-tab-page-heading {
	font-size: 1.6rem;
	margin: 0;
}

.htp-v2 .wcv-grid .text-blue,
.htp-v2 .wcv-grid .blue-title {
	color: var(--htp-ink);
}

.htp-v2 .wcv-grid p,
.htp-v2 .wcv-grid li,
.htp-v2 .wcv-grid td,
.htp-v2 .wcv-grid label,
.htp-v2 .wcv-grid small {
	font-family: var(--htp-font);
}

/* Keyboard focus is always visible (the plugin switches it off in places). */
.htp-v2 .wcv-grid a:focus-visible,
.htp-v2 .wcv-grid button:focus-visible,
.htp-v2 .wcv-grid input:focus-visible,
.htp-v2 .wcv-grid select:focus-visible,
.htp-v2 .wcv-grid textarea:focus-visible,
.htp-v2 .wcv-grid [tabindex]:focus-visible,
.htp-v2 .wcv-grid .wcv-search-box-wrapper .wcv-search-button:focus-visible {
	outline: 3px solid var(--htp-ink);
	outline-offset: 2px;
}

/* 3. Menu ------------------------------------------------------------------------------------- */

/* The plugin's menu icons are drawn in white, so the menu keeps a dark bar: the site's ink in
   place of the plugin's grey, with the site's green for the screen that is open. */
.htp-v2 .wcv-grid .wcv-navigation {
	background: var(--htp-ink);
	border-radius: var(--htp-radius);
	padding: 6px;
}

.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu {
	gap: 4px;
}

.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu .wcv-dashboard-nav-item-link,
.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu.horizontal.primary .wcv-dashboard-nav-item-link,
.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu.horizontal.secondary .wcv-dashboard-nav-item .wcv-dashboard-nav-item-link {
	background: transparent;
	border-radius: 6px;
	color: #fff !important;
	font-size: 1rem;
	font-weight: 600;
	gap: 10px;
	min-height: 48px;
	padding: 10px 16px;
}

.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu .wcv-dashboard-nav-item-link:hover,
.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu.horizontal.secondary .wcv-dashboard-nav-item .wcv-dashboard-nav-item-link:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff !important;
}

.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu .wcv-dashboard-nav-item.active .wcv-dashboard-nav-item-link,
.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu.horizontal.secondary .wcv-dashboard-nav-item.active .wcv-dashboard-nav-item-link {
	background: var(--htp-green);
	color: #fff !important;
}

.htp-v2 .wcv-grid .wcv-navigation a.wcv-dashboard-nav-item-link:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -3px;
}

.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-nav-item-link svg {
	flex: none;
	margin: 0;
}

.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu-divider {
	border-top-color: rgba(255, 255, 255, 0.24);
}

/* The "more" button and its drop-down, shown when the menu does not fit on one line. */
.htp-v2 .wcv-grid .wcv-navigation #dashboard-menu-item-more-button {
	background: var(--htp-ink);
	border-radius: 0 var(--htp-radius) var(--htp-radius) 0;
}

.htp-v2 .wcv-grid .wcv-navigation #dashboard-menu-item-more-button:hover,
.htp-v2 .wcv-grid .wcv-navigation #dashboard-menu-item-more-button.show {
	background: #33423a;
}

.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu.horizontal.secondary {
	background: var(--htp-ink);
	border-radius: var(--htp-radius);
	box-shadow: 0 8px 24px rgba(29, 42, 33, 0.24);
	padding: 6px;
}

/* 4. Buttons and links -------------------------------------------------------------------------- */

.htp-v2 .wcv-grid .wcv-button,
.htp-v2 .wcv-grid .button,
.htp-v2 .wcv-grid input[type="submit"] {
	align-items: center;
	border: 2px solid var(--htp-green);
	border-radius: 6px;
	box-shadow: none;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 600;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 10px 22px;
}

.htp-v2 .wcv-grid .wcv-button:hover,
.htp-v2 .wcv-grid .button:hover,
.htp-v2 .wcv-grid input[type="submit"]:hover {
	background-color: var(--htp-green-dark) !important;
	border-color: var(--htp-green-dark) !important;
	box-shadow: none;
}

.htp-v2 .wcv-grid .wcv-button.wcv-button-blue,
.htp-v2 .wcv-grid input[type="submit"].wcv-button-blue,
.htp-v2 .wcv-button-blue {
	background: var(--htp-green);
	border-color: var(--htp-green);
	color: #fff;
}

.htp-v2 .wcv-grid .wcv-button svg,
.htp-v2 .wcv-grid .button svg {
	flex: none;
	margin: 0;
}

.htp-v2 .wcv-grid .wcv-button-group {
	gap: 12px;
	margin-top: 32px;
}

.htp-v2 .wcv-grid .wcv-button-group .wcv-button {
	padding: 10px 22px;
}

/* Second-rank buttons: white with a green edge. */
.htp-v2 .wcv-grid .wcv-button.wcv-button-outline,
.htp-v2 .wcv-grid .button.wcv-button-outline,
.htp-v2 .wcv-grid .wcv-button.wcv-button-link-secondary,
.htp-v2 .wcv-grid .button.wcv-button-link-secondary,
.htp-v2 .wcv-grid .wcv-section .wcv-view-more,
.htp-v2 .wcv-grid .wcv-section .wcv-view-btn {
	background-color: #fff !important;
	border: 2px solid var(--htp-green) !important;
	color: var(--htp-green-dark) !important;
}

.htp-v2 .wcv-grid .wcv-button.wcv-button-outline:hover,
.htp-v2 .wcv-grid .button.wcv-button-outline:hover,
.htp-v2 .wcv-grid .wcv-button.wcv-button-link-secondary:hover,
.htp-v2 .wcv-grid .button.wcv-button-link-secondary:hover,
.htp-v2 .wcv-grid .wcv-section .wcv-view-more:hover,
.htp-v2 .wcv-grid .wcv-section .wcv-view-btn:hover {
	background-color: var(--htp-tint) !important;
	border-color: var(--htp-green-dark) !important;
	color: var(--htp-green-dark) !important;
}

/* Quiet buttons (clear, cancel): white with a grey edge. */
.htp-v2 .wcv-grid .wcv-button.wcv-button-link-danger,
.htp-v2 .wcv-grid .button.wcv-button-link-danger,
.htp-v2 .wcv-grid .wcv-button.wcv-button-cancel,
.htp-v2 .wcv-grid .button.wcv-button-cancel {
	background-color: #fff !important;
	border: 2px solid var(--htp-line) !important;
	color: var(--htp-ink) !important;
	padding: 10px 18px;
}

.htp-v2 .wcv-grid .wcv-button.wcv-button-link-danger:hover,
.htp-v2 .wcv-grid .button.wcv-button-link-danger:hover,
.htp-v2 .wcv-grid .wcv-button.wcv-button-cancel:hover,
.htp-v2 .wcv-grid .button.wcv-button-cancel:hover {
	background-color: var(--htp-cream) !important;
	border-color: var(--htp-muted) !important;
	color: #8c2318 !important;
}

.htp-v2 .wcv-grid .wcv-button.wcv-button-secondary,
.htp-v2 .wcv-grid .button.wcv-button-secondary {
	background-color: var(--htp-ink) !important;
	border-color: var(--htp-ink) !important;
}

/* Buttons that look like links. */
.htp-v2 .wcv-grid .wcv-button.wcv-button-link,
.htp-v2 .wcv-grid .button.wcv-button-link,
.htp-v2 .wcv-grid .wcv-button.wcv-button-blue-underline,
.htp-v2 .wcv-grid .button.wcv-button-blue-underline {
	background: none !important;
	border: 0 !important;
	color: var(--htp-green-dark) !important;
	min-height: 44px;
	padding: 0 4px;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.htp-v2 .wcv-grid .wcv-button.wcv-button-link:hover,
.htp-v2 .wcv-grid .button.wcv-button-link:hover,
.htp-v2 .wcv-grid .wcv-button.wcv-button-blue-underline:hover,
.htp-v2 .wcv-grid .button.wcv-button-blue-underline:hover {
	background: none !important;
	color: var(--htp-ink) !important;
}

.htp-v2 .wcv-grid .wcv-button[disabled],
.htp-v2 .wcv-grid .button[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
}

/* The row of text links above lists ("All (3) | Processing (1)") and on the dashboard home. */
.htp-v2 .wcv-grid .quick-link-btn {
	color: var(--htp-green-dark);
	font-size: 1rem;
}

.htp-v2 .wcv-grid a.quick-link-btn,
.htp-v2 .wcv-grid .quick-link-btn.black a {
	align-items: center;
	color: var(--htp-green-dark);
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.htp-v2 .wcv-grid .quick-link-btn.black a {
	text-decoration: none !important;
}

.htp-v2 .wcv-grid .quick-link-btn.black a .wcv-ql-label {
	color: var(--htp-ink);
}

.htp-v2 .wcv-grid .quick-link-btn.black a .wcv-ql-count {
	color: var(--htp-muted);
}

.htp-v2 .wcv-grid .quick-link-btn.black.active a .wcv-ql-label,
.htp-v2 .wcv-grid .quick-link-btn.black.active a .wcv-ql-count {
	color: var(--htp-green-dark);
}

.htp-v2 .wcv-grid .quick-link-btn.black.active a .wcv-ql-label {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.htp-v2 .wcv-grid .quick-link-btn:not(:last-child)::after {
	color: var(--htp-line);
}

/* The "Add product" and "Export" buttons next to a page heading are full buttons. */
.htp-v2 .wcv-grid a.quick-link-btn.wcv-button {
	color: #fff;
	min-height: 48px;
	text-decoration: none;
}

/* 5. Fields ------------------------------------------------------------------------------------- */

.htp-v2 .wcv-grid label,
.htp-v2 .wcv-grid .wcv-form label {
	color: var(--htp-ink);
	font-size: 0.95rem;
	font-weight: 600;
}

.htp-v2 .wcv-grid input[type="text"],
.htp-v2 .wcv-grid input[type="number"],
.htp-v2 .wcv-grid input[type="url"],
.htp-v2 .wcv-grid input[type="email"],
.htp-v2 .wcv-grid input[type="password"],
.htp-v2 .wcv-grid input[type="search"],
.htp-v2 .wcv-grid input[type="tel"],
.htp-v2 .wcv-grid select,
.htp-v2 .wcv-grid textarea {
	background-color: #fff;
	border: 1px solid rgba(29, 42, 33, 0.45);
	border-radius: 6px;
	box-shadow: none;
	color: var(--htp-ink);
	font-size: 1rem;
	line-height: 1.4;
	min-height: 48px;
	padding: 10px 14px;
}

.htp-v2 .wcv-grid select {
	height: auto;
	padding-right: 36px;
}

.htp-v2 .wcv-grid textarea {
	min-height: 96px;
}

.htp-v2 .wcv-grid input[type="text"]:not(.wcv-datepicker):focus,
.htp-v2 .wcv-grid input[type="number"]:focus,
.htp-v2 .wcv-grid input[type="url"]:focus,
.htp-v2 .wcv-grid input[type="email"]:focus,
.htp-v2 .wcv-grid input[type="password"]:focus,
.htp-v2 .wcv-grid input[type="search"]:focus,
.htp-v2 .wcv-grid input[type="tel"]:focus,
.htp-v2 .wcv-grid select:focus,
.htp-v2 .wcv-grid textarea:focus {
	border-color: var(--htp-green);
}

.htp-v2 .wcv-grid ::placeholder {
	color: var(--htp-muted);
	opacity: 1;
}

/* Fields with something inside the frame: price with currency sign, date with calendar, search with button. */
.htp-v2 .wcv-grid .wcv-price-input-container,
.htp-v2 .wcv-grid .wcv-datepicker-wrapper,
.htp-v2 .wcv-grid .wcv-search-box-wrapper,
.htp-v2 .wcv-grid .wcv-select-container {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(29, 42, 33, 0.45);
	border-radius: 6px;
	display: flex;
	height: auto;
	line-height: 1.4;
	min-height: 48px;
}

.htp-v2 .wcv-grid .wcv-price-input-container:focus-within,
.htp-v2 .wcv-grid .wcv-datepicker-wrapper:focus-within,
.htp-v2 .wcv-grid .wcv-search-box-wrapper:focus-within {
	border-color: var(--htp-green);
	outline: 3px solid var(--htp-ink);
	outline-offset: 2px;
}

.htp-v2 .wcv-grid .wcv-price-input-container {
	gap: 4px;
	padding: 0 0 0 14px;
}

.htp-v2 .wcv-grid .wcv-price-input-container .wcv-price-symbol {
	color: var(--htp-muted);
	flex: none;
}

.htp-v2 .wcv-grid .wcv-price-input-container .wcv-price-input,
.htp-v2 .wcv-grid .wcv-datepicker-wrapper input[type="text"],
.htp-v2 .wcv-grid .wcv-search-box-wrapper input[type="text"].wcv-search-box-input {
	border: 0 !important;
	flex: 1 1 auto;
	min-height: 46px;
	min-width: 0;
	outline: 0;
	width: auto;
}

.htp-v2 .wcv-grid .wcv-price-input-container .wcv-price-input {
	padding-left: 4px;
}

.htp-v2 .wcv-grid .wcv-search-box-wrapper input[type="text"].wcv-search-box-input {
	height: 46px;
}

.htp-v2 .wcv-grid .wcv-datepicker-wrapper {
	padding: 0 0 0 14px;
}

.htp-v2 .wcv-grid .wcv-datepicker-wrapper input[type="text"] {
	font-size: 1rem;
	padding-left: 10px;
}

.htp-v2 .wcv-grid .wcv-search-box-wrapper {
	overflow: hidden;
	padding: 0;
}

.htp-v2 .wcv-grid .wcv-search-box-wrapper .control-group {
	flex: 1 1 auto;
	margin: 0;
	min-width: 0;
}

.htp-v2 .wcv-grid .wcv-search-box-wrapper .wcv-search-button {
	align-items: center;
	color: var(--htp-ink);
	flex: none;
	font-size: 0.95rem;
	font-weight: 600;
	gap: 6px;
	min-height: 46px;
	padding: 0 14px;
}

.htp-v2 .wcv-grid .wcv-search-box-wrapper .wcv-search-button:hover {
	color: var(--htp-green-dark);
}

/* The plugin's own drop-down (filters above the lists). */
.htp-v2 .wcv-grid .wcv-select-container {
	padding: 10px 40px 10px 14px;
}

.htp-v2 .wcv-grid .wcv-select-container::after {
	border-color: var(--htp-ink);
	right: 16px;
}

.htp-v2 .wcv-grid .wcv-select-container .wcv-select-placeholder,
.htp-v2 .wcv-grid .wcv-select-container span {
	color: var(--htp-ink);
	font-size: 1rem;
	font-weight: 400;
}

.htp-v2 .wcv-grid .wcv-select-container .wcv-select-list {
	border: 1px solid var(--htp-line);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(29, 42, 33, 0.14);
}

.htp-v2 .wcv-grid .wcv-select-container .wcv-select-list .wcv-select-item {
	color: var(--htp-ink);
	font-size: 1rem;
	min-height: 44px;
}

.htp-v2 .wcv-grid .wcv-select-container .wcv-select-list .wcv-select-item:hover {
	background: var(--htp-tint);
}

.htp-v2 .wcv-grid .wcv-select-container .wcv-select-list .wcv-select-item.selected,
.htp-v2 .wcv-grid .wcv-select-container .wcv-select-list .wcv-select-item.selected span {
	color: var(--htp-green-dark);
	font-weight: 600;
}

/* Tick boxes and switches. */
.htp-v2 .wcv-grid .wcv-checkbox-container {
	align-items: center;
	display: inline-flex;
	font-weight: 400;
	min-height: 44px;
}

.htp-v2 .wcv-grid .wcv-checkbox-container .checkmark {
	border: 1px solid rgba(29, 42, 33, 0.45);
	border-radius: 4px;
}

.htp-v2 .wcv-grid .wcv-checkbox-container input[type="checkbox"]:checked + .checkmark {
	background: var(--htp-green);
	border-color: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-form label.wcv-toggle .wcv-toggle-container input:checked + .slider {
	background-color: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-form label.wcv-toggle .wcv-toggle-container input:focus-visible + .slider {
	box-shadow: none;
	outline: 3px solid var(--htp-ink);
	outline-offset: 2px;
}

.htp-v2 .wcv-grid .wcv-form a {
	color: var(--htp-green-dark);
}

/* Room between fields: the plugin leaves 60px, which makes forms very long. */
.htp-v2 .wcv-grid .control-group,
.htp-v2 #wcv-product-edit .control-group {
	margin-bottom: 28px;
}

.htp-v2 .wcv-grid .wcv-filter-wrapper .control-group {
	margin-bottom: 16px;
}

.htp-v2 .wcv-grid .wcv-search-box-wrapper .control-group,
.htp-v2 .wcv-grid .wcv-search-box-wrapper .control-group .control {
	margin: 0;
}

.htp-v2 .wcv-grid .wcv-search-box-wrapper .control-group > label {
	display: none;
}

.htp-v2 .wcv-grid .wcv-filter-wrapper .wcv-flex-end {
	align-items: flex-end;
	gap: 8px;
}

.htp-v2 .wcv-grid .wcv-tab-page-heading.wcv-gap-bottom,
.htp-v2 .wcv-grid .wcv-tab-page-heading-wrapper {
	margin-bottom: 24px;
}

/* 6. Tables and lists ------------------------------------------------------------------------- */

.htp-v2 .wcv-grid .wcv-dashboard-table tr th,
.htp-v2 .wcv-grid table.wcv-dashboard-table th,
.htp-v2 .wcv-grid .wcvendors-table thead th {
	color: var(--htp-muted) !important;
	font-family: var(--htp-font);
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.htp-v2 .wcv-grid .wcvendors-table tbody tr td,
.htp-v2 .wcv-grid table.wcv-dashboard-table tr td {
	color: var(--htp-text);
}

.htp-v2 .wcv-grid table .row-actions a {
	color: var(--htp-ink);
}

.htp-v2 .wcv-grid table .row-actions .row-action-item.danger,
.htp-v2 .wcv-grid table .row-actions .row-action-item.danger a,
.htp-v2 .wcv-grid table .row-actions .row-action-item.danger:hover a {
	color: #a12a1e;
}

.htp-v2 .wcv-grid .wcv-product-title .wcv-product-title-text {
	color: var(--htp-ink);
	font-size: 1.25rem;
}

.htp-v2 .wcv-grid .wcv-product-details-table .wcv-product-cat,
.htp-v2 .wcv-grid .wcv-product-details-table .wcv-product-tag {
	color: var(--htp-green-dark);
	font-size: 0.95rem;
}

.htp-v2 .wcv-grid table .row-actions .row-action-item svg {
	fill: currentColor;
}

.htp-v2 .wcv-grid table .row-actions .row-action-item:hover a {
	color: var(--htp-green-dark);
}

.htp-v2 .wcv-grid ul.page-numbers span.page-numbers,
.htp-v2 .wcv-grid ul.page-numbers a.page-numbers {
	align-items: center;
	border-radius: 6px;
	color: var(--htp-ink);
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
}

.htp-v2 .wcv-grid ul.page-numbers span.page-numbers.current,
.htp-v2 .wcv-grid ul.page-numbers a.page-numbers.current {
	background: var(--htp-green);
	color: #fff;
}

/* Cards on the dashboard home. */
.htp-v2 .wcv-grid .wcv-section-bg-light {
	background: var(--htp-tint);
	border-radius: var(--htp-radius);
}

.htp-v2 .wcv-grid .wcv-section {
	border: 1px solid var(--htp-line);
	border-radius: var(--htp-radius);
	box-shadow: none;
}

.htp-v2 .wcv-grid .wcv-section .wcv-view-more,
.htp-v2 .wcv-grid .wcv-section .wcv-view-btn {
	align-items: center;
	border-radius: 6px;
	display: inline-flex;
	font-weight: 600;
	gap: 6px;
	min-height: 44px;
	padding: 8px 14px;
	text-decoration: none;
}

.htp-v2 .wcv-grid .wcv-section .wcv-view-more svg,
.htp-v2 .wcv-grid .wcv-section .wcv-view-more svg use {
	color: inherit;
	fill: currentColor;
	stroke: currentColor;
}

/* "Complete your setup" on the dashboard home. */
.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-dismiss {
	align-items: center;
	color: var(--htp-muted);
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-progress-bar {
	background: var(--htp-line);
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-progress-bar .wcv-store-setup-progress-bar-fill {
	background: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step .wcv-store-setup-step-icon {
	border-color: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step .wcv-store-setup-step-icon .wcv-step-icon,
.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step .wcv-store-setup-step-icon .wcv-step-icon use {
	fill: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.current .wcv-store-setup-step-icon,
.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.completed .wcv-store-setup-step-icon {
	background: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.current .wcv-store-setup-step-icon .wcv-step-icon,
.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.current .wcv-store-setup-step-icon .wcv-step-icon use,
.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.completed .wcv-store-setup-step-icon .wcv-step-icon,
.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.completed .wcv-store-setup-step-icon .wcv-step-icon use {
	fill: #fff;
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step .wcv-store-setup-step-content {
	border-color: var(--htp-line);
	border-radius: var(--htp-radius);
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step:not(.completed):hover .wcv-store-setup-step-content {
	border-color: var(--htp-green);
	box-shadow: none;
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-step-link {
	display: block;
	min-height: 44px;
	text-decoration: none;
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step .wcv-store-setup-step-title {
	color: var(--htp-green-dark);
	font-family: var(--htp-font) !important;
	font-weight: 600;
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step .wcv-store-setup-step-description {
	color: var(--htp-text);
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.current .wcv-store-setup-step-content,
.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-content-wrapper .wcv-store-setup-steps .wcv-store-setup-step.current .wcv-store-setup-step-content {
	background: var(--htp-green);
	border-color: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.current .wcv-store-setup-step-content .wcv-store-setup-step-title,
.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.current .wcv-store-setup-step-content .wcv-store-setup-step-description {
	color: #fff;
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step .wcv-store-setup-step-content .wcv-store-setup-step-proceed {
	color: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step .wcv-store-setup-step-content .wcv-store-setup-step-proceed svg {
	border-color: currentColor;
}

.htp-v2 .wcv-grid .wcv-store-setup-steps-wrapper .wcv-store-setup-steps .wcv-store-setup-step.current .wcv-store-setup-step-content .wcv-store-setup-step-proceed {
	color: #fff;
}

/* The three figures of the sales snapshot. */
.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item.gross-sales,
.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item.total-orders {
	background: var(--htp-tint);
}

.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item.gross-commissions {
	background: var(--htp-cream);
}

.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item .wcv-sales-snapshot-item-icon {
	background: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item.gross-commissions .wcv-sales-snapshot-item-icon {
	background: var(--htp-ink);
}

.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item .wcv-sales-snapshot-item-value,
.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item .wcv-sales-snapshot-item-value .amount {
	color: var(--htp-ink);
	font-family: var(--htp-display);
}

.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item .wcv-sales-snapshot-item-label {
	color: var(--htp-text);
}

.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item .wcv-sales-snapshot-item-comparison,
.htp-v2 .wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item .wcv-sales-snapshot-item-comparison span {
	color: var(--htp-muted);
}

/* Search-as-you-type boxes (categories, tags, country, state). Their look comes from WooCommerce's
   select2 stylesheet, which inc/v2-onboarding.php loads again on the dashboard. */
.htp-v2 .wcv-grid .select2-container {
	max-width: 100%;
}

.htp-v2 .wcv-grid .select2-container--default .select2-selection--single,
.htp-v2 .wcv-grid .select2-container--default .select2-selection--multiple {
	background: #fff;
	border: 1px solid rgba(29, 42, 33, 0.45);
	border-radius: 6px;
	min-height: 48px;
}

.htp-v2 .wcv-grid .select2-container--default .select2-selection--single {
	height: 48px;
}

.htp-v2 .wcv-grid .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--htp-ink);
	line-height: 46px;
	padding: 0 36px 0 14px;
}

.htp-v2 .wcv-grid .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
	right: 8px;
}

.htp-v2 .wcv-grid .select2-container--default .select2-selection--multiple .select2-selection__rendered {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 6px;
	margin: 0;
	padding: 1px 8px;
}

.htp-v2 .wcv-grid .select2-container--default .select2-selection--multiple .select2-selection__choice {
	background: var(--htp-tint);
	border: 1px solid var(--htp-line);
	border-radius: 4px;
	color: var(--htp-ink);
	line-height: 1.4;
	margin: 0;
	padding: 5px 8px;
}

.htp-v2 .wcv-grid .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: var(--htp-ink);
	margin-right: 6px;
}

.htp-v2 .wcv-grid .select2-container .select2-search--inline {
	flex: 1 1 120px;
	margin: 0;
}

.htp-v2 .wcv-grid .select2-container .select2-search--inline .select2-search__field {
	background: transparent;
	border: 0;
	margin: 0;
	min-height: 44px;
	padding: 0 4px;
	width: 100% !important;
}

/* The frame around the box shows the focus, so the typing field inside needs no second ring. */
.htp-v2 .wcv-grid .select2-container .select2-search--inline .select2-search__field:focus-visible {
	outline: 0;
}

.htp-v2 .wcv-grid .select2-container--default.select2-container--focus .select2-selection--single,
.htp-v2 .wcv-grid .select2-container--default.select2-container--focus .select2-selection--multiple,
.htp-v2 .wcv-grid .select2-container--default.select2-container--open .select2-selection--single,
.htp-v2 .wcv-grid .select2-container--default.select2-container--open .select2-selection--multiple {
	border-color: var(--htp-green);
	outline: 3px solid var(--htp-ink);
	outline-offset: 2px;
}

/* The lists of these boxes open at the end of the page, outside the dashboard frame. */
.htp-v2 .select2-dropdown {
	border: 1px solid rgba(29, 42, 33, 0.45);
	border-radius: 6px;
	color: var(--htp-ink);
	font-family: var(--htp-font);
	font-size: 1rem;
	overflow: hidden;
}

.htp-v2 .select2-container--default .select2-results__option {
	margin: 0;
	padding: 10px 14px;
}

.htp-v2 .select2-container--default .select2-results__option[aria-selected="true"],
.htp-v2 .select2-container--default .select2-results__option[data-selected="true"] {
	background: var(--htp-tint);
	color: var(--htp-ink);
}

.htp-v2 .select2-container--default .select2-results__option--highlighted[aria-selected],
.htp-v2 .select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--htp-green);
	color: #fff;
}

.htp-v2 .select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid rgba(29, 42, 33, 0.45);
	border-radius: 6px;
	min-height: 44px;
	padding: 8px 12px;
}

/* Phone number with its country code in one frame. */
.htp-v2 .wcv-grid .wcv-phone-input-wrapper {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(29, 42, 33, 0.45);
	border-radius: 6px;
	display: flex;
	height: auto;
	min-height: 48px;
	overflow: visible;
}

.htp-v2 .wcv-grid .wcv-phone-input-wrapper .select2-container {
	flex: none;
}

.htp-v2 .wcv-grid .wcv-phone-input-wrapper .select2-container--default .select2-selection--single {
	border: 0;
	border-radius: 6px 0 0 6px;
	height: 46px;
	min-height: 46px;
}

.htp-v2 .wcv-grid .wcv-phone-input-wrapper input#_wcv_store_phone {
	border: 0;
	border-left: 1px solid var(--htp-line);
	border-radius: 0 6px 6px 0;
	flex: 1 1 auto;
	line-height: 1.4;
	min-height: 46px;
	min-width: 0;
	width: auto;
}

/* The calendar of the date fields. */
.htp-v2 .flatpickr-calendar {
	font-family: var(--htp-font);
}

.htp-v2 .flatpickr-calendar .flatpickr-innerContainer .dayContainer .flatpickr-day.selected,
.htp-v2 .flatpickr-calendar .flatpickr-innerContainer .dayContainer .flatpickr-day.selected:hover {
	background: var(--htp-green);
	border-color: var(--htp-green);
	color: #fff;
}

.htp-v2 .flatpickr-calendar .flatpickr-innerContainer .dayContainer .flatpickr-day:hover,
.htp-v2 .flatpickr-calendar .flatpickr-innerContainer .dayContainer .flatpickr-day.today {
	border-color: var(--htp-green);
}

/* The small help marks next to labels. */
.htp-v2 .wcv-grid .wcv-tip .content {
	background-color: var(--htp-ink);
	font-family: var(--htp-font);
	font-weight: 400;
}

.htp-v2 .wcv-grid .wcv-tip .content .arrow {
	border-top-color: var(--htp-ink);
}

.htp-v2 .wcv-grid .wcv-tip .content .arrow.bottom {
	border-bottom-color: var(--htp-ink);
}

/* WordPress's own text editor (store description) keeps its own small grey buttons. */
.htp-v2 .wcv-grid .wp-editor-wrap .button,
.htp-v2 .wcv-grid .wp-editor-wrap .button:hover,
.htp-v2 .wcv-grid .wp-editor-wrap .wp-switch-editor {
	background-color: #f6f7f7 !important;
	border: 1px solid #dcdcde !important;
	border-radius: 3px;
	color: #2c3338 !important;
	display: inline-block;
	font-size: 13px;
	font-weight: 400;
	line-height: 2.15;
	min-height: 30px;
	padding: 0 8px;
}

.htp-v2 .wcv-grid .wp-editor-wrap .wp-switch-editor {
	border-radius: 3px 3px 0 0;
	min-height: 32px;
}

.htp-v2 .wcv-grid .wp-editor-wrap textarea.wp-editor-area {
	border: 0;
	border-radius: 0;
}

.htp-v2 .wcv-grid .wp-editor-container {
	border: 1px solid rgba(29, 42, 33, 0.45);
	border-radius: 6px;
	overflow: hidden;
}

/* 7. Product form ---------------------------------------------------------------------------- */

.htp-v2 .wcv-grid .wcv-product-media {
	background: var(--htp-tint);
	border-radius: var(--htp-radius);
}

.htp-v2 .wcv-grid .wcv-product-media .wcv-product-media-wrapper {
	align-items: flex-start;
}

.htp-v2 .wcv-grid .wcv-product-media .blue-title {
	font-family: var(--htp-display) !important;
	font-size: 1.15rem;
}

.htp-v2 .wcv-grid .wcv-upload-files-input {
	border: 2px dashed var(--htp-green);
	border-radius: var(--htp-radius);
}

.htp-v2 .wcv-grid .wcv-upload-files-input small,
.htp-v2 .wcv-grid .wcv-product-media small,
.htp-v2 .wcv-grid .wcv-product-media .wcv_gallery_msg,
.htp-v2 .wcv-grid .wcv-product-media .wcv_featured_image_msg {
	color: var(--htp-muted);
}

/* The folder drawing in the upload boxes is part of the plugin's picture file; it is toned to the site's green. */
.htp-v2 .wcv-grid .wcv-upload-files-input > svg {
	filter: grayscale(1) sepia(1) hue-rotate(70deg) saturate(1.6) brightness(0.8);
}

.htp-v2 .wcv-grid .wcv-upload-files-input .wcv-browser-file {
	min-height: 44px;
	padding: 8px 18px;
}

.htp-v2 .wcv-grid .wcv-featuredimg img:hover,
.htp-v2 .wcv-grid #product_images_container ul li.wcv-gallery-image:hover,
.htp-v2 .wcv-grid .wcv_variation .upload_image_button:hover {
	box-shadow: 0 0 0 2px var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-media-uploader-featured-delete,
.htp-v2 .wcv-grid #product_images_container ul ul.actions li a,
.htp-v2 .wcv-grid .wcv_variation .upload_image_button .wcv_remove {
	background: var(--htp-ink);
}

/* The folding sections (General, Inventory, Shipping and so on). */
.htp-v2 .wcv-grid .wcv-product-accordion {
	border-color: var(--htp-line);
	border-radius: var(--htp-radius);
}

.htp-v2 .wcv-grid .wcv-product-accordion .wcv-accordion-title {
	color: var(--htp-ink);
	cursor: pointer;
	height: auto;
	min-height: 64px;
	padding: 12px 20px;
}

.htp-v2 .wcv-grid .wcv-product-accordion .wcv-accordion-title h3 {
	font-size: 1.15rem;
	margin: 0;
}

.htp-v2 .wcv-grid .wcv-product-accordion .wcv-accordion-title.active,
.htp-v2 .wcv-grid .wcv-accordion-content.active .wcv-accordion-title {
	background: var(--htp-tint);
	color: var(--htp-ink);
}

.htp-v2 .wcv-grid .wcv-product-accordion .wcv-accordion-title.active h3 {
	color: var(--htp-ink);
}

.htp-v2 .wcv-grid .wcv-product-accordion .wcv-accordion-title svg,
.htp-v2 .wcv-grid .wcv-product-accordion .wcv-accordion-title svg use {
	color: var(--htp-ink);
	fill: currentColor;
	stroke: currentColor;
}

.htp-v2 .wcv-grid .wcv-accordion-content.active {
	border-color: var(--htp-line);
}

.htp-v2 .wcv-grid .wcv-accordion-content.active .wcv-accordion-title::after {
	border-color: var(--htp-ink);
}

.htp-v2 .wcv-grid a.sale_schedule,
.htp-v2 .wcv-grid a.cancel_sale_schedule {
	align-items: center;
	color: var(--htp-green-dark);
	display: inline-flex;
	min-height: 44px;
}

.htp-v2 .wcv-grid a.sale_schedule span,
.htp-v2 .wcv-grid a.cancel_sale_schedule span {
	border-bottom-color: currentColor;
}

.htp-v2 .wcv-grid .woocommerce_attribute,
.htp-v2 .wcv-grid .wcv_variation {
	border-color: var(--htp-line);
	border-radius: var(--htp-radius);
}

.htp-v2 .wcv-grid .woocommerce_attribute .caret,
.htp-v2 .wcv-grid .wcv_variation .caret,
.htp-v2 .wcv-grid .wcv_variation .caret:hover {
	color: var(--htp-ink);
}

.htp-v2 .wcv-grid .wcvendors-table .wcv-button.insert span {
	border-bottom-color: currentColor;
}

#wcv-product-edit .wcv-tabs .tabs-nav {
	background: var(--htp-tint);
}

/* WordPress's media window (choosing the product photo) opens on top of the page. The site's large
   headings and tall fields are kept out of it, and its selection marks use the site's green. */
.htp-v2 .media-modal h1,
.htp-v2 .media-modal h2,
.htp-v2 .media-modal h3 {
	color: #1d2327;
	font-family: var(--htp-font);
	font-weight: 600;
}

.htp-v2 .media-modal .media-frame-title h1 {
	font-size: 22px;
	line-height: 50px;
	margin: 0;
	padding: 0 16px;
}

.htp-v2 .media-modal .media-sidebar h2,
.htp-v2 .media-modal .attachment-details h2 {
	color: #50575e;
	font-size: 12px;
	line-height: 1.4;
	margin: 24px 0 8px;
	text-transform: uppercase;
}

.htp-v2 .media-modal .upload-ui h2 {
	font-size: 20px;
	line-height: 1.4;
	margin: 0 0 16px;
}

.htp-v2 .media-modal p {
	margin: 0 0 1em;
}

.htp-v2 .media-modal input[type="text"],
.htp-v2 .media-modal input[type="search"],
.htp-v2 .media-modal input[type="url"],
.htp-v2 .media-modal input[type="number"],
.htp-v2 .media-modal textarea,
.htp-v2 .media-modal select {
	border: 1px solid #8c8f94;
	border-radius: 4px;
	font-size: 14px;
	line-height: 2;
	min-height: 32px;
	padding: 0 8px;
}

.htp-v2 .media-modal textarea {
	line-height: 1.4;
	padding: 6px 8px;
}

.htp-v2 .media-modal select {
	height: auto;
	padding-right: 24px;
	width: auto;
}

.htp-v2 .media-modal .wp-core-ui .attachment.selected,
.htp-v2 .media-modal .wp-core-ui .attachment.details,
.htp-v2 .media-modal .attachment.selected,
.htp-v2 .media-modal .attachment.details {
	box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px var(--htp-green);
}

.htp-v2 .media-modal .attachment.details .check,
.htp-v2 .media-modal .attachment.selected .check:focus,
.htp-v2 .media-modal .media-frame.mode-grid .attachment.selected .check {
	background-color: var(--htp-green);
	box-shadow: 0 0 0 1px #fff, 0 0 0 2px var(--htp-green);
}

.htp-v2 .media-modal .media-router .media-menu-item.active,
.htp-v2 .media-modal .media-router .media-menu-item:focus {
	box-shadow: none;
	color: var(--htp-ink);
}

.htp-v2 .media-modal a {
	color: var(--htp-green-dark);
}

.htp-v2 .media-modal .delete-attachment,
.htp-v2 .media-modal .button-link-delete {
	color: #b32d2e;
}

/* 8. Notices and status labels ------------------------------------------------------------- */

.htp-v2 .wcv-grid .woocommerce-message,
.htp-v2 .wcv-grid .woocommerce-info,
.htp-v2 .wcv-grid .woocommerce-error,
.htp-v2 .wcv-grid .htp-note {
	background: var(--htp-tint);
	border: 0;
	border-left: 4px solid var(--htp-green);
	border-radius: 6px;
	color: var(--htp-ink);
	font-size: 1rem;
	margin: 0 0 24px;
	padding: 14px 18px;
}

.htp-v2 .wcv-grid .woocommerce-error {
	background: #fbeeec;
	border-left-color: #a12a1e;
}

/* WooCommerce moves the reading position to a new notice; the box itself needs no focus ring. */
.htp-v2 .wcv-grid .woocommerce-message[tabindex="-1"]:focus,
.htp-v2 .wcv-grid .woocommerce-info[tabindex="-1"]:focus,
.htp-v2 .wcv-grid .woocommerce-error[tabindex="-1"]:focus {
	outline: 0;
}

.htp-v2 .wcv-grid .htp-note--waiting {
	background: var(--htp-cream);
	border-left-color: var(--htp-ink);
}

.htp-v2 .wcv-grid .htp-note strong {
	display: block;
	font-family: var(--htp-display);
	font-size: 1.1rem;
	font-weight: 400;
	margin: 0 0 2px;
}

.htp-v2 .wcv-grid .htp-note p {
	margin: 0;
	max-width: 70ch;
}

.htp-v2 .wcv-grid .woocommerce-message a,
.htp-v2 .wcv-grid .woocommerce-info a,
.htp-v2 .wcv-grid .htp-note a {
	color: var(--htp-green-dark);
	font-weight: 600;
}

/* Status labels: green for done, cream for waiting, the site's error red for a problem. */
.htp-v2 .wcv-grid .wcv-status {
	background: var(--htp-cream);
	border-radius: 999px;
	color: var(--htp-ink);
	display: inline-block;
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.3;
	padding: 5px 12px;
	white-space: nowrap;
}

.htp-v2 .wcv-grid .wcv-status.wcv-status--completed,
.htp-v2 .wcv-grid .wcv-status.wcv-status--shipped,
.htp-v2 .wcv-grid .wcv-status.product-status--instock,
.htp-v2 .wcv-grid .wcv-status.product-status--publish {
	background: var(--htp-tint);
	color: var(--htp-green-dark);
}

.htp-v2 .wcv-grid .wcv-status.wcv-status--cancelled,
.htp-v2 .wcv-grid .wcv-status.product-status--outofstock {
	background: #fbeeec;
	color: #8c2318;
}

/* 9. Orders and settings ---------------------------------------------------------------------- */

.htp-v2 .wcv-grid .wcv-tabs .wcv-tabs-overflow-wrapper,
.htp-v2 .wcv-grid .wcv-tabs .tabs-nav {
	background: var(--htp-tint);
	border-radius: var(--htp-radius);
}

.htp-v2 .wcv-grid .wcv-tabs .wcv-tabs-overflow-wrapper .tabs-nav {
	background: transparent;
}

.htp-v2 .wcv-grid .wcv-tabs .tabs-nav li a {
	align-items: center;
	color: var(--htp-ink);
	display: flex;
	font-family: var(--htp-display);
	font-size: 1.15rem;
	min-height: 56px;
	padding: 12px 22px;
}

.htp-v2 .wcv-grid .wcv-tabs .tabs-nav li.active {
	background: #fff;
}

.htp-v2 .wcv-grid .wcv-tabs .tabs-nav li.active a {
	border-bottom: 3px solid var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-tabs .tabs-nav li a:focus-visible {
	outline: 3px solid var(--htp-ink);
	outline-offset: -3px;
}

.htp-v2 .wcv-grid .wcv-tabs .wcv-tabs-overflow-wrapper .wcv-more-btn[aria-expanded="true"],
.htp-v2 .wcv-grid .wcv-tabs .wcv-tabs-overflow-wrapper .wcv-more-btn.wcv-more-btn--active {
	background: #fff;
	color: var(--htp-green-dark);
}

.htp-v2 .wcv-grid .wcv-tabs .wcv-tabs-overflow-wrapper .wcv-more-btn.wcv-more-btn--active::after {
	background: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-tabs .wcv-tabs-overflow-wrapper .wcv-more-dropdown li a.active {
	background: var(--htp-tint);
	color: var(--htp-green-dark);
}

.htp-v2 .wcv-grid .wcv-store-setting-section-title {
	font-size: 1.4rem;
}

/* The API tab of the settings has its own colour names; they are pointed at the site's colours. */
.htp-v2 .wcv-api-credentials {
	--wcv-navy: var(--htp-green);
	--wcv-indigo: var(--htp-green-dark);
	--wcv-link: var(--htp-green-dark);
	--wcv-ink: var(--htp-ink);
	--wcv-body: var(--htp-text);
	--wcv-muted: var(--htp-muted);
	--wcv-border: var(--htp-line);
	font-family: var(--htp-font);
}

.htp-v2 .wcv-grid .wcv-api-credentials .wcv-api-btn {
	border-radius: 6px;
	font-family: var(--htp-font);
	font-weight: 600;
	min-height: 48px;
}

/* The order pop-up. */
.htp-v2 .wcv-modal .order-detail-icon {
	background: var(--htp-tint);
}

.htp-v2 .wcv-modal .order-detail-icon .wcv-icon {
	fill: var(--htp-green);
}

.htp-v2 .wcv-grid .wcv-star-rating::before,
.htp-v2 .wcv-grid .wcv-star-rating .wcv-star-rating-filled {
	color: var(--htp-green);
}

/* 10. Phones ----------------------------------------------------------------------------------- */

@media (max-width: 767px) {

	/* The menu as two columns of buttons in place of one long list. */
	.htp-v2 .wcv-grid .wcv-navigation {
		display: grid;
		gap: 4px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 28px;
		padding: 6px;
	}

	/* The plugin's script spreads the items over two lists; here they share one grid. */
	.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu,
	.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu.horizontal.secondary {
		display: contents;
	}

	/* Every item is on show, so the divider and the "more" button (switched on by the script) are not needed. */
	.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu .wcv-dashboard-menu-divider,
	.htp-v2 .wcv-grid .wcv-navigation #dashboard-menu-item-more-button {
		display: none !important;
	}

	.htp-v2 .wcv-grid .wcv-navigation .wcv-dashboard-menu .wcv-dashboard-nav-item-link {
		padding: 10px 12px;
	}

	.htp-v2 .wcv-grid .wcv-tab-page-heading {
		font-size: 1.4rem;
	}

	.htp-v2 .wcv-grid .quick-link-btn {
		font-size: 1rem;
		margin: 0;
	}

	.htp-v2 .wcv-grid .wcv-select-container,
	.htp-v2 .wcv-grid .wcv-datepicker-wrapper {
		height: auto;
		line-height: 1.4;
	}

	.htp-v2 .wcv-grid .wcv-select-container span,
	.htp-v2 .wcv-grid .wcv-select-container .wcv-select-item,
	.htp-v2 .wcv-grid .wcv-datepicker-wrapper input[type="text"].wcv-datepicker {
		font-size: 1rem;
	}

	.htp-v2 .wcv-grid .wcv-button-group .wcv-button {
		max-width: none;
		min-width: 0;
	}

	.htp-v2 .wcv-grid .wcv-tabs ul.tabs-nav li a {
		font-size: 1.05rem;
	}

	/* Product form: the product type gets the full width, and the upload boxes room for their button. */
	.htp-v2 .wcv-grid .wcv-product-type .wcv-cols-group > div {
		width: 100%;
	}

	.htp-v2 .wcv-grid .wcv-product-type #product-type {
		width: 100%;
	}

	.htp-v2 .wcv-grid .wcv-product-media .wcv-upload-files-input {
		padding: 16px 12px;
	}

	.htp-v2 .wcv-grid .wcv-upload-files-input .wcv-browser-file {
		font-size: 0.95rem !important;
		padding: 8px 12px;
		white-space: nowrap;
	}

	.htp-v2 .wcv-grid .wcv-button-group .wcv-button {
		font-size: 1rem;
		padding: 10px 12px;
	}

	/* Lists: the links of a row (edit, view, delete, category) are large enough for a finger. */
	.htp-v2 .wcv-grid .row-actions .row-action-item a,
	.htp-v2 .wcv-grid .wcv-product-details-table .wcv-product-cat,
	.htp-v2 .wcv-grid .wcv-product-details-table .wcv-product-tag {
		align-items: center;
		display: inline-flex;
		font-size: 0.95rem;
		min-height: 44px;
		min-width: 44px;
	}

	.htp-v2 .wcv-grid .details.full-span .wcv-product-details-table .wcv-product-cat,
	.htp-v2 .wcv-grid .details.full-span .wcv-product-details-table .wcv-product-tag {
		font-size: 0.95rem;
	}

	.htp-v2 .wcv-grid .wcv-form input[type="submit"].wcv-button {
		font-size: 1rem;
	}

	/* WordPress's text editor: buttons large enough for a finger. */
	.htp-v2 .wcv-grid .wp-editor-wrap .wp-switch-editor {
		min-height: 44px;
		padding: 0 14px;
	}

	.htp-v2 .wcv-grid .wp-editor-wrap .mce-toolbar .mce-btn button {
		min-height: 44px;
		min-width: 44px;
	}
}
