/**
 * HIS Vendor Store Navigation
 *
 * @package HIS\PortalCore
 */

.his-vendor-store-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;

	width: 100%;
	margin: 1rem 0 1.5rem;
	padding: 0.75rem 1rem;

	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 4px;

	background: #fff;
}

.his-vendor-store-nav__primary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;

	min-width: 0;
}

.his-vendor-store-nav__utility {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.his-vendor-store-nav__link,
.his-vendor-store-nav__cart {
	display: inline-flex;
	align-items: center;

	min-height: 2.5rem;

	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;

	transition:
		color 0.2s ease,
		background-color 0.2s ease;
}

.his-vendor-store-nav__link {
	padding: 0.5rem 0;
}

.his-vendor-store-nav__link:hover,
.his-vendor-store-nav__link:focus-visible,
.his-vendor-store-nav__cart:hover,
.his-vendor-store-nav__cart:focus-visible {
	text-decoration: underline;
}

.his-vendor-store-nav__link.is-active {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.his-vendor-store-nav__cart {
	padding: 0.5rem 0.85rem;

	border: 1px solid currentColor;
	border-radius: 3px;

	white-space: nowrap;
}

.his-vendor-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;

	margin: 0.75rem 0 1rem;

	font-size: 0.9rem;
	line-height: 1.4;
}

.his-vendor-breadcrumb__link {
	text-decoration: none;
}

.his-vendor-breadcrumb__link:hover,
.his-vendor-breadcrumb__link:focus-visible {
	text-decoration: underline;
}

.his-vendor-breadcrumb__separator {
	opacity: 0.5;
}

.his-vendor-breadcrumb__current {
	font-weight: 600;
}

/* =========================================================
   HIS Vendor Header and profile panel
   ========================================================= */

.wcv-header-container.his-vendor-header {
	overflow: visible;
	min-height: 0;
	margin-bottom: 1.5rem;
	background: transparent;
}

.his-vendor-header .wcv-store-header,
.his-vendor-header .his-vendor-header__banner {
	width: 100%;
	margin: 0;
}

.wcv-header-container.his-vendor-header #banner-wrap.his-vendor-header__banner {
	overflow: hidden;
	aspect-ratio: 1140 / 250;
	min-height: 0;
	height: auto;
	background: #eef3fb;
}

.wcv-header-container.his-vendor-header #banner-wrap.his-vendor-header__banner img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: none;
	border-radius: 0;
	object-fit: contain;
	object-position: center;
}

.his-vendor-header .wcv-store-address-container.his-vendor-profile {
	display: block;
	width: 100%;
	margin: 0;
	padding: 1.5rem;
	border: 1px solid rgba(50, 74, 109, 0.14);
	border-top: 0;
	border-radius: 0 0 6px 6px;
	background: #dae7ff;
	color: #324a6d;
}

.his-vendor-profile__main {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
}

.his-vendor-profile__brand {
	flex: 0 0 132px;
}

.his-vendor-profile__brand .store-icon-img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 132px;
	padding: 0.5rem;
	border: 1px solid rgba(50, 74, 109, 0.14);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(28, 36, 75, 0.1);
}

.his-vendor-profile__brand .store-icon {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 6px;
	object-fit: contain;
}

.his-vendor-profile__content {
	flex: 1 1 auto;
	min-width: 0;
}

.his-vendor-profile__title {
	margin: 0;
	color: #1c244b;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
}

.his-vendor-profile__title a {
	color: inherit;
	text-decoration: none;
}

.his-vendor-profile__status,
.his-vendor-profile__links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
}

.his-vendor-profile__status {
	margin-top: 0.6rem;
}

.his-vendor-profile__status .wcv-vendor-badges {
	justify-content: flex-start;
	margin: 0;
}

.his-vendor-profile__description,
.his-vendor-profile__seller-info {
	max-width: 70rem;
	margin-top: 0.85rem;
	color: #324a6d;
	line-height: 1.6;
}

.his-vendor-profile__description > :last-child,
.his-vendor-profile__seller-info > :last-child,
.his-vendor-profile__website > :last-child {
	margin-bottom: 0;
}

.his-vendor-profile__links {
	margin-top: 0.9rem;
}

.his-vendor-profile__links a,
.his-vendor-profile__status a {
	color: #1c4f86;
}

.his-vendor-profile__links .social-icons {
	margin: 0;
	padding: 0;
}

.his-vendor-profile__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(50, 74, 109, 0.18);
}

.his-vendor-profile__meta-item {
	min-width: 0;
	padding: 0 1.25rem;
	border-left: 1px solid rgba(50, 74, 109, 0.14);
}

.his-vendor-profile__meta-item:first-child {
	padding-left: 0;
	border-left: 0;
}

.his-vendor-profile__meta-label {
	display: block;
	margin-bottom: 0.4rem;
	color: #1c244b;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
}

.his-vendor-profile .his-vendor-profile__meta-item a,
.his-vendor-profile .his-vendor-profile__meta-value {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	float: none;
	margin: 0;
	color: #324a6d;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none;
}

.his-vendor-profile__meta-item a:hover,
.his-vendor-profile__meta-item a:focus-visible {
	color: #004899;
	text-decoration: underline;
}

.his-vendor-profile .his-vendor-profile__meta-item address,
.his-vendor-profile .store-sales {
	margin: 0;
	color: inherit;
	font-style: normal;
}

.his-vendor-profile__meta-item .wcv-icon {
	flex: 0 0 auto;
	margin-top: 0.15rem;
	color: currentColor;
}

/*
 * Tablet / kleinere Desktop-Breiten.
 */
@media (max-width: 900px) {
	.his-vendor-profile__meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem 0;
	}

	.his-vendor-profile__meta-item:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}

	.his-vendor-store-nav {
		align-items: flex-start;
		flex-direction: column;
	}

	.his-vendor-store-nav__utility {
		width: 100%;
	}

	.his-vendor-store-nav__cart {
		justify-content: center;
		width: 100%;
	}
}

/*
 * Smartphone.
 */
@media (max-width: 600px) {
	.his-vendor-header .wcv-store-address-container.his-vendor-profile {
		padding: 1.1rem;
	}

	.his-vendor-profile__main {
		flex-direction: column;
		gap: 1rem;
	}

	.his-vendor-profile__brand,
	.his-vendor-profile__brand .store-icon-img {
		width: 104px;
		height: 104px;
		flex-basis: 104px;
	}

	.his-vendor-profile__meta {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.his-vendor-profile__meta-item,
	.his-vendor-profile__meta-item:nth-child(3) {
		padding: 0.9rem 0;
		border-top: 1px solid rgba(50, 74, 109, 0.12);
		border-left: 0;
	}

	.his-vendor-profile__meta-item:first-child {
		padding-top: 0;
		border-top: 0;
	}

	.his-vendor-store-nav {
		padding: 0.75rem;
	}

	.his-vendor-store-nav__primary {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		width: 100%;
	}

	.his-vendor-store-nav__link {
		width: 100%;
		padding: 0.65rem 0;

		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}

	.his-vendor-store-nav__link:last-child {
		border-bottom: 0;
	}
}

/* =========================================================
   Public vendor store membership notice
   ========================================================= */

.his-public-vendor-notice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;

	width: 100%;
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;

	border: 1px solid rgba(0, 0, 0, 0.12);
	border-left: 4px solid currentColor;
	border-radius: 4px;

	background: rgba(0, 0, 0, 0.035);
}

.his-public-vendor-notice__content {
	flex: 1 1 auto;
	min-width: 0;
}

.his-public-vendor-notice__title {
	margin: 0 0 0.25rem;

	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.his-public-vendor-notice__text {
	margin: 0;

	font-size: 0.95rem;
	line-height: 1.5;
}

.his-public-vendor-notice__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;

	min-height: 2.75rem;
	padding: 0.65rem 1rem;

	border: 1px solid currentColor;
	border-radius: 3px;

	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.his-public-vendor-notice__action:hover,
.his-public-vendor-notice__action:focus-visible {
	text-decoration: underline;
}

@media (max-width: 767px) {

	.his-public-vendor-notice {
		align-items: stretch;
		flex-direction: column;
		gap: 1rem;
	}

	.his-public-vendor-notice__action {
		width: 100%;
		white-space: normal;
	}
}
