/* Vendor Info Card Styles */

/* Main Container */
.vendor-info-card,
.hp-vendor--view-block.vendor-info-card {
	box-shadow: none!important;
	border: none!important;
	background: transparent!important;
}

/* Info Wrapper - container for header, more-link and registered-date */
.vendor-info-card .hp-vendor__info-wrapper,
.hp-vendor--view-block.vendor-info-card .hp-vendor__info-wrapper {
	padding: 18px;
	border: 0.5px solid #eeeaea;
	border-radius: 10px;
}

/* Header Section */
.vendor-info-card .hp-vendor__header,
.hp-vendor--view-block.vendor-info-card .hp-vendor__header {
	padding: 0px!important;
}

.vendor-info-card .hp-vendor__header--custom,
.hp-vendor--view-block.vendor-info-card .hp-vendor__header--custom {
	display: flex;
	align-items: stretch;
	gap: 1rem;
	padding: 0;
	margin-bottom: 1rem;
}

.vendor-info-card .hp-vendor__image,
.hp-vendor--view-block.vendor-info-card .hp-vendor__image {
	flex-shrink: 0;
	width: 25%;
	max-width: 75px;
	margin-bottom: 0px;
}

.vendor-info-card .hp-vendor__image img,
.hp-vendor--view-block.vendor-info-card .hp-vendor__image img {
	border-radius: 10px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vendor-info-card .hp-vendor__info,
.hp-vendor--view-block.vendor-info-card .hp-vendor__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
}

.vendor-info-card .hp-vendor__name,
.hp-vendor--view-block.vendor-info-card .hp-vendor__name {
	margin: 0;
	font-weight: 500;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 5%;
	color: #414141;
	text-transform: none;
}

.vendor-info-card .hp-vendor__name a,
.hp-vendor--view-block.vendor-info-card .hp-vendor__name a {
	text-decoration: none;
	color: inherit;
}

.vendor-info-card .hp-vendor__name a:hover,
.hp-vendor--view-block.vendor-info-card .hp-vendor__name a:hover {
	text-decoration: underline;
}

/* Last Online */
.vendor-info-card .hp-vendor__last-online,
.hp-vendor--view-block.vendor-info-card .hp-vendor__last-online {
	margin: 0;
	font-weight: 300;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 3%;
	color: #A6A6A6;
	text-transform: none;
	flex-shrink: 0;
}

.vendor-info-card .hp-vendor__rating,
.hp-vendor--view-block.vendor-info-card .hp-vendor__rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-weight: 300;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 5%;
	color: #00B13B;
	text-transform: none;
	flex-shrink: 0;
}

.vendor-info-card .hp-vendor__rating-value,
.hp-vendor--view-block.vendor-info-card .hp-vendor__rating-value {
	font-weight: 300;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 5%;
	color: #00B13B;
}

.vendor-info-card .hp-vendor__rating-stars,
.hp-vendor--view-block.vendor-info-card .hp-vendor__rating-stars {
	display: flex;
	align-items: center;
	gap: 2px;
}

.vendor-info-card .hp-vendor__rating-stars svg,
.hp-vendor--view-block.vendor-info-card .hp-vendor__rating-stars svg {
	width: 15px;
	height: 14px;
	flex-shrink: 0;
}

.vendor-info-card .hp-vendor__reviews-count,
.hp-vendor--view-block.vendor-info-card .hp-vendor__reviews-count {
	font-weight: 300;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 5%;
	color: #00B13B;
}

/* More Link */
.vendor-info-card .hp-vendor__more-link,
.hp-vendor--view-block.vendor-info-card .hp-vendor__more-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 13px 0;
	background: transparent;
	border-top: 0.3px solid #eeeaea;
	border-bottom: 0.3px solid #eeeaea;
	text-decoration: none;
	font-weight: 300;
	font-size: 15px;
	line-height: 100%;
	letter-spacing: 3%;
	margin-bottom: 0.75rem;
}

@media (max-width: 920px) {
	.hp-vendor__more-link {
		font-size: 12px;
	}

	.vendor-info-card .hp-vendor__registered-date-custom, .hp-vendor--view-block.vendor-info-card .hp-vendor__registered-date-custom {
		font-size: 12px;
	}

	.hp-vendor__view-number-btn, .hp-vendor__send-message-btn {
		font-size: 12px;
	}
}

.vendor-info-card .hp-vendor__more-link:hover,
.hp-vendor--view-block.vendor-info-card .hp-vendor__more-link:hover {
	text-decoration: none;
}

.vendor-info-card .hp-vendor__more-link svg,
.hp-vendor--view-block.vendor-info-card .hp-vendor__more-link svg {
	flex-shrink: 0;
	margin-left: auto;
}

/* Registered Date */
.vendor-info-card .hp-vendor__registered-date-custom,
.hp-vendor--view-block.vendor-info-card .hp-vendor__registered-date-custom {
	display: inline-block;
	font-weight: 200;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 5%;
	color: #6E6E6E;
	padding: 5px 10px;
	background-color: #F5F5F5;
	border-radius: 3px;
	margin-top: 0.5rem;
	text-transform: none;
}

/* Buttons (View Number, Send Message) */
.vendor-info-card .hp-vendor__view-number-wrapper,
.hp-vendor--view-block.vendor-info-card .hp-vendor__view-number-wrapper {
	margin-top: 2rem;
}

.vendor-info-card .hp-vendor__view-number-btn,
.hp-vendor--view-block.vendor-info-card .hp-vendor__view-number-btn {
	width: 100%;
	padding: 14px 0;
	font-weight: 500;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 5%;
	color: #2C2C2C;
	background-color: #F5F5F5;
	border: 1px solid #F5F5F5;
	border-radius: 10px;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s;
}

.vendor-info-card .hp-vendor__view-number-btn:disabled,
.hp-vendor--view-block.vendor-info-card .hp-vendor__view-number-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.vendor-info-card .hp-vendor__view-number-wrapper {
	display: flex;
	gap: 1rem;
}

.vendor-info-card .hp-vendor__send-message-btn,
.hp-vendor--view-block.vendor-info-card .hp-vendor__send-message-btn {
	width: 100%;
	padding: 14px 0;
	font-weight: 500;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 5%;
	color: #2C2C2C;
	background-color: #F5F5F5;
	border: 1px solid #F5F5F5;
	border-radius: 10px;
	text-align: center;
	cursor: not-allowed;
}

/* Hover state for vendor buttons (keep text color, only change background) */
.vendor-info-card .hp-vendor__view-number-btn:hover,
.hp-vendor--view-block.vendor-info-card .hp-vendor__view-number-btn:hover,
.vendor-info-card .hp-vendor__send-message-btn:hover,
.hp-vendor--view-block.vendor-info-card .hp-vendor__send-message-btn:hover {
	background-color: #e9e9e9;
	color: #2C2C2C;
}

.vendor-info-card .hp-vendor__send-message-btn:disabled,
.hp-vendor--view-block.vendor-info-card .hp-vendor__send-message-btn:disabled {
	opacity: 0.6;
}

/* Legal Basis */
.vendor-info-card .hp-vendor__legal-basis,
.hp-vendor--view-block.vendor-info-card .hp-vendor__legal-basis {
	margin-top: 2rem;
	padding-top: 2rem;
}

.vendor-info-card .hp-vendor__legal-basis-title,
.hp-vendor--view-block.vendor-info-card .hp-vendor__legal-basis-title {
	font-weight: 300;
	font-size: 20px;
	line-height: 100%;
	letter-spacing: 5%;
	color: #000;
	margin: 0 0 1rem 0;
}

.vendor-info-card .hp-vendor__legal-basis-text,
.hp-vendor--view-block.vendor-info-card .hp-vendor__legal-basis-text {
	font-weight: 300;
	font-size: 14px;
	line-height: 19px;
	letter-spacing: 5%;
	margin: 0 0 1rem 0;
}

.vendor-info-card .hp-vendor__legal-basis-text:last-child,
.hp-vendor--view-block.vendor-info-card .hp-vendor__legal-basis-text:last-child {
	margin-bottom: 0;
}
