.ohs-share-box {
	margin: 1rem 0;
	padding: 1.5rem;
	border: 1px solid #e2e2e2;
	background: #fafafa;
	border-radius: 8px;
}

/* Progress Bar Styles */
.ohs-progress-container {
	margin-bottom: 1.5rem;
}

.ohs-share-remaining {
	margin: 0 0 0.75rem;
	font-size: 1.2em;
	font-weight: bold;
	color: #333;
}

.ohs-progress-bar {
	position: relative;
	height: 30px;
	background: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.ohs-progress-fill {
	position: absolute;
	top: 0;
	height: 100%;
	transition: width 0.3s ease;
}

.ohs-progress-sold {
	left: 0;
	background: #d9d9d9;
}

.ohs-progress-locked {
	background: #c4a35a;
}

.ohs-progress-available,
.ohs-progress-remaining {
	background: #1a365d;
}

.ohs-locked-note {
	margin: 0 0 0.75rem;
	color: #6b5424;
	font-weight: 600;
}

.ohs-progress-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.85em;
}

.ohs-progress-legend li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.ohs-swatch {
	display: inline-block;
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 2px;
}

.ohs-swatch-sold {
	background: #d9d9d9;
	border: 1px solid #c8c8c8;
}

.ohs-swatch-locked {
	background: #c4a35a;
}

.ohs-swatch-available {
	background: #1a365d;
}

/* Customer Information Fields */
.ohs-customer-fields {
	margin: 1.5rem 0;
	padding: 1rem;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.ohs-customer-fields h4 {
	margin: 0 0 1rem 0;
	font-size: 1.1em;
	color: #333;
}

.ohs-field-row {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}

.ohs-field-group {
	flex: 1;
	margin-bottom: 1rem;
}

.ohs-field-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: #333;
}

.ohs-field-group .required {
	color: #e74c3c;
}

.ohs-input {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1em;
	transition: border-color 0.3s ease;
}

.ohs-input:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ohs-share-select {
	width: 100%;
	max-width: 320px;
	margin: 0.5rem 0 0.75rem;
	padding: 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1em;
	background: #fff;
}

.ohs-share-price {
	margin: 0.5rem 0;
	font-size: 1.1em;
}

.ohs-monthly-note {
	margin: 0.5rem 0 0;
	font-size: 0.95em;
	opacity: 0.85;
}

.ohs-sold-out {
	margin: 0;
	font-weight: 600;
	color: #8b0000;
	padding: 1rem;
	background: #fff0f0;
	border-radius: 4px;
	text-align: center;
}

.ohs-contact-message {
	margin: 1rem 0;
	padding: 1rem;
	background: #f0f8ff;
	border-left: 4px solid #007bff;
	border-radius: 4px;
	font-weight: 500;
	color: #333;
}

.ohs-fixed-quantity {
	display: inline-block;
	min-width: 1.5rem;
	text-align: center;
}

.ohs-held-message,
.ohs-enquiry-success,
.ohs-enquiry-error {
	margin: 0.75rem 0;
	padding: 1rem;
	border-radius: 4px;
}

.ohs-held-message {
	background: #fff8e8;
	border-left: 4px solid #c4a35a;
}

.ohs-enquiry {
	margin-top: 1rem;
}

.ohs-enquiry-success {
	background: #f1f8f2;
	border-left: 4px solid #2e7d32;
}

.ohs-enquiry-error {
	background: #fff0f0;
	border-left: 4px solid #8b0000;
}

.ohs-enquiry-form .ohs-input.is-invalid {
	border-color: #8b0000;
	box-shadow: inset 0 0 0 1px #8b0000;
}

.ohs-enquiry-form .ohs-field-error {
	display: none;
	margin: 0.35rem 0 0;
	color: #8b0000;
	font-size: 0.85rem;
}

.ohs-enquiry-form .ohs-field-error.is-visible {
	display: block;
}

.ohs-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.woocommerce .woocommerce-info.ohs-hold-notice {
	display: block;
	justify-content: flex-start;
}

.ohs-hold-notice__text {
	display: inline;
}

.ohs-hold-notice .ohs-hold-countdown {
	display: inline;
	margin: 0 0.2em;
	font-variant-numeric: tabular-nums;
}

form.cart:has(.ohs-purchase-closed) .quantity,
form.cart:has(.ohs-purchase-closed) .single_add_to_cart_button,
form.cart:has(.ohs-purchase-closed) button[name="add-to-cart"] {
	display: none !important;
}

.single-horse-product__purchase:has(.ohs-purchase-title) > .single-horse-product__purchase-title {
	display: none;
}

.single-horse-product__availability.ohs-availability .single-horse-product__availability-text {
	max-width: 9.5rem;
	white-space: normal;
}

.horse-card__availability.ohs-availability {
	max-width: calc(100% - 40px);
	line-height: 1.3;
	text-align: center;
	white-space: normal;
}

.single-horse-product__availability.ohs-availability--unavailable .single-horse-product__availability-text,
.horse-card__availability.ohs-availability--unavailable {
	background: #6b7280;
	max-width: none;
}

.single-horse-product__purchase-form:not(:has(form)) {
	display: none;
	margin: 0;
}

.ohs-availability--poa .single-horse-product__availability-text,
.horse-card__availability.ohs-availability--poa {
	background: #1a365d;
}

.ohs-dialog {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.ohs-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.55);
}

.ohs-dialog__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 32rem);
	padding: 1.75rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.ohs-dialog__panel h3 {
	margin: 0 0 0.75rem;
}

.ohs-dialog__panel--error {
	border-top: 4px solid #8b0000;
}

.ohs-dialog__panel--success {
	border-top: 4px solid #1a365d;
}

.ohs-dialog__hold {
	font-weight: 600;
}

.ohs-dialog__note {
	color: #4b5563;
}

.ohs-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.ohs-dialog__actions .button {
	margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.ohs-field-row {
		flex-direction: column;
		gap: 0;
	}
	
	.ohs-progress-labels {
		flex-direction: column;
		gap: 0.25rem;
	}
}

.horses-archive.ohs-has-load-more .horses-archive__pagination {
	display: none;
}

.ohs-load-more {
	display: flex;
	justify-content: center;
	margin: 20px 0 50px;
}

.ohs-load-more__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	/* width:100%; */
	/* max-width: 188px; */
	padding: 16px 25px 16px 52px;
	border: 1px solid #b98626;
	background: transparent;
	color: #b98626;
	font-family: "tt-commons-pro", sans-serif;

	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.18em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-transition: all 0.8s ease-in-out;
    transition:  all 0.8s ease-in-out;
}
.ohs-load-more__button span{
	font-family: "tt-commons-pro", sans-serif;
}

.ohs-load-more__button:hover,
.ohs-load-more__button:focus-visible {
	background: #b98626;
	color: #fff;
}

.ohs-load-more__button:disabled,
.ohs-load-more__button.is-loading {
	cursor: wait;
	opacity: 0.7;
}
