/* WineInsight Price History — produktside-widget */

.wiph-widget { margin: 14px 0; }

.wiph-graph {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.wiph-sparkline {
	width: 130px;
	height: 32px;
	color: #5c1a1a; /* match jeres brandfarve her, samme sted som i deals-newsletter-skabelonen */
	flex-shrink: 0;
}
.wiph-badge { font-size: 13px; color: #555; }
.wiph-badge-lowest { color: #137333; font-weight: 600; }

/* Ingen baggrund/boks — starter som én ren knap, ingen ramme udenom det hele.
   Alle farver sat eksplicit i BÅDE normal- og hover-tilstand: mange temaer
   har en generel "button:hover"-regel (hvid tekst, mørk baggrund) der ellers
   overskriver vores, fordi den rammer ethvert <button>-element på sitet. */
.wiph-watch { font-size: 13px; }

.wiph-watch-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background-color: #fff;
	border: 1px solid #d8d2c4;
	border-radius: 999px;
	padding: 8px 16px;
	color: #5c1a1a !important; /* match jeres brandfarve her */
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.wiph-watch-toggle:hover,
.wiph-watch-toggle:focus {
	border-color: #5c1a1a;
	background-color: #fbf5f0;
	color: #5c1a1a !important;
	outline: none;
}

/* Skjult som udgangspunkt — vises først når man klikker knappen. Kolonne, så
   forklaringsteksten kan stå over selve inputfeltet. */
.wiph-watch-form {
	display: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	max-width: 360px;
}
.wiph-watch-desc {
	margin: 0;
	color: #6b6b6b;
	font-size: 12px;
	line-height: 1.5;
}

.wiph-watch-inputrow {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	width: 100%;
}

/* E-mail-felt og tilmeldingsknap smelter sammen til én rund "pille", i
   stedet for to løse bokse — samme afrundede sprog som toggle-knappen. */
.wiph-watch-inputgroup {
	display: flex;
	align-items: stretch;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	border-radius: 999px;
}
.wiph-watch-email {
	min-width: 210px;
	padding: 9px 16px;
	border: 1px solid #d8d2c4;
	border-right: none;
	border-radius: 999px 0 0 999px;
	font-size: 13px;
	font-family: inherit;
	color: #333 !important;
	background-color: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.wiph-watch-email::placeholder { color: #aaa; }
.wiph-watch-email:focus {
	outline: none;
	border-color: #5c1a1a;
	box-shadow: 0 0 0 3px rgba(92, 26, 26, .08);
	position: relative;
	z-index: 1;
}

.wiph-watch-submit {
	padding: 9px 20px;
	border: 1px solid #5c1a1a;
	border-radius: 0 999px 999px 0;
	background-color: #5c1a1a;
	color: #fff !important;
	cursor: pointer;
	font-weight: 600;
	font-family: inherit;
	font-size: 13px;
	white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease;
}
.wiph-watch-submit:hover,
.wiph-watch-submit:focus {
	background-color: #471414;
	border-color: #471414;
	color: #fff !important;
	outline: none;
}
.wiph-watch-submit:disabled { opacity: .6; cursor: default; }

.wiph-watch-cancel {
	background: none;
	border: none;
	color: #999 !important;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	padding: 4px 2px;
	flex-shrink: 0;
}
.wiph-watch-cancel:hover { color: #555 !important; }

.wiph-watch-msg { display: block; margin-top: 8px; font-size: 12px; }
.wiph-watch-msg.wiph-ok { color: #137333; }
.wiph-watch-msg.wiph-err { color: #b32d2e; }
