/* BW 2Checkout Pricing — designed card. Matches Copernic's brand (square edges, orange accent).
   Accent driven by --bw2cp-accent (per-block). Layout mirrors their bw-desktop-pricing block. */
.bw2cp-card {
	--bw2cp-accent: #f36923;
	--bw2cp-ratio: 0.72;
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 320px;
	background: #fff;
	font-family: inherit;
	color: #1d2327;
}

/* Header (clickable) */
.bw2cp-header {
	position: relative;
	border-bottom: 5px solid #4b4b4b;
	background: var( --bw2cp-accent );
	color: #fff;
	padding: 26px 20px 22px;
	text-align: center;
}
.bw2cp-title-link {
	display: block;
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
	text-decoration: none;
}
.bw2cp-title-link:hover {
	color: #fff;
	opacity: 0.92;
}
.bw2cp-ribbon {
	position: absolute;
	top: 5px;
	right: 5px;
	color: var( --bw2cp-accent );
	background: #fff;
	font-size: 13px;
	line-height: 14px;
	padding: 6px 12px;
	font-weight: 700;
}
.bw2cp-ribbon:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -8px;
	border-style: solid;
	border-color: #fff;
	border-top-width: 13px;
	border-bottom-width: 13px;
	border-left-width: 8px;
	border-right-width: 0;
	border-left-color: transparent;
}
.bw2cp-ribbon:after {
	content: "";
	position: absolute;
	bottom: -11px;
	right: 0;
	border-style: solid;
	border-color: #c22a1a transparent transparent transparent;
	border-width: 11px 11px 0 0;
}

/* Price panel */
.bw2cp-price {
	background: linear-gradient( #ffeee6, #ffffff, #ffeee6 );
	padding: 22px 12px 18px;
	text-align: center;
}
/* Controls row: term dropdown + users, on one line, sitting under the title in the header */
.bw2cp-controls-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: nowrap;
	margin: 16px 0 0;
}

/* Custom term dropdown (white on the orange header) */
.bw2cp-dropdown {
	position: relative;
}
.bw2cp-dd-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	background: rgba( 255, 255, 255, 0.14 );
	border: 1px solid rgba( 255, 255, 255, 0.6 );
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 0 12px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s;
}
.bw2cp-dd-toggle:hover {
	background: rgba( 255, 255, 255, 0.26 );
}
.bw2cp-dd-caret {
	font-size: 9px;
	color: #fff;
	opacity: 0.85;
	line-height: 1;
}
.bw2cp-dd-menu {
	position: absolute;
	top: calc( 100% + 4px );
	left: 0;
	z-index: 30;
	min-width: 100%;
	margin: 0;
	padding: 4px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #d7c3b8;
	box-shadow: 0 8px 20px rgba( 20, 23, 28, 0.14 );
}
.bw2cp-dd-option {
	padding: 7px 16px;
	font-size: 13px;
	white-space: nowrap;
	cursor: pointer;
	text-align: left;
}
.bw2cp-dd-option:hover {
	background: #ffeee6;
}
.bw2cp-dd-option.is-active {
	color: var( --bw2cp-accent );
	font-weight: 700;
}

/* Everything sizes relative to .bw2cp-per-month's font-size (the "base"), which JS auto-fits to
   the card width so any currency/amount stays on one line. Change the base -> the whole price
   scales proportionally. */
.bw2cp-per-month {
	display: inline-flex;
	justify-content: center;
	align-items: flex-start;
	font-weight: 800;
	white-space: nowrap;
	line-height: var( --bw2cp-ratio );
	font-size: 84px; /* base; overridden inline on load and refined to fit by JS (fitPrice) */
}
.bw2cp-per-month.bw2cp-loading {
	opacity: 0.45;
}
.bw2cp-int {
	font-size: 1em;
	line-height: var( --bw2cp-ratio );
}
.bw2cp-sign {
	font-size: 0.47em;
	line-height: var( --bw2cp-ratio );
	margin-top: 0.06em;
}
.bw2cp-frac-month {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	padding-left: 0.06em;
}
.bw2cp-frac {
	font-size: 0.36em;
	line-height: var( --bw2cp-ratio );
	padding-bottom: 0.05em;
	border-bottom: 0.16em solid var( --bw2cp-accent );
}
.bw2cp-per {
	font-size: 0.2em;
	line-height: 1;
	padding-top: 0.35em;
}

/* Compact users box (white, matching the dropdown height) with stacked up/down on the right */
.bw2cp-users {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.bw2cp-users-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff;
	opacity: 0.92;
}
.bw2cp-num {
	display: inline-flex;
	align-items: stretch;
	height: 32px;
	background: rgba( 255, 255, 255, 0.14 );
	border: 1px solid rgba( 255, 255, 255, 0.6 );
}
.bw2cp-num .bw2cp-users-input {
	width: 40px;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: center;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: #fff !important;
	-moz-appearance: textfield;
}
.bw2cp-num .bw2cp-users-input:focus {
	outline: none;
	background: rgba( 255, 255, 255, 0.12 ) !important;
}
.bw2cp-num .bw2cp-users-input::-webkit-outer-spin-button,
.bw2cp-num .bw2cp-users-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.bw2cp-num-btns {
	display: flex;
	flex-direction: column;
	border-left: 1px solid rgba( 255, 255, 255, 0.45 );
}
.bw2cp-num-btns .bw2cp-step {
	border: 0;
	background: transparent;
	color: #fff;
	opacity: 0.8;
	font-size: 8px;
	line-height: 1;
	width: 20px;
	height: 16px;
	padding: 0;
	cursor: pointer;
}
.bw2cp-num-btns .bw2cp-step:hover {
	opacity: 1;
	background: rgba( 255, 255, 255, 0.2 );
}
.bw2cp-num-btns .bw2cp-step + .bw2cp-step {
	border-top: 1px solid rgba( 255, 255, 255, 0.45 );
}
.bw2cp-per-year {
	margin: 10px 0 0;
	font-size: 14px;
	color: #3c434a;
	min-height: 18px;
}

/* Extensions area */
.bw2cp-extensions {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #fff;
}
.bw2cp-icon-list {
	display: flex;
	flex-wrap: wrap;
	padding: 12px;
	justify-content: center;
}
.bw2cp-icon-list img {
	width: 20%;
	padding: 12px;
	box-sizing: border-box;
}
.bw2cp-gmail img {
	width: 100%;
	height: auto;
	display: block;
}
.bw2cp-footer {
	padding: 15px;
	display: flex;
	flex-direction: row;
	align-items: center;
	background: #ffeee6;
}
.bw2cp-footer-info {
	padding: 14px;
	text-align: left;
}
.bw2cp-footer-info .bw2cp-footer-title {
	font-weight: 700;
}
.bw2cp-footer-info p {
	margin: 0;
}
.bw2cp-footer img {
	max-width: 100px;
	height: auto;
	margin: auto;
}

/* Buy button + footer bits */
.bw2cp-buy {
	color: #fff;
	background: var( --bw2cp-accent );
	border: 1px solid var( --bw2cp-accent );
	text-align: center;
	padding: 13px 18px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	display: block;
	transition: 0.25s;
}
.bw2cp-buy:hover {
	background: #fff;
	color: var( --bw2cp-accent );
}
.bw2cp-currency-row {
	margin-top: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
.bw2cp-currency {
	padding: 3px 6px;
	border: 1px solid #d7c3b8;
	font: inherit;
	font-size: 12px;
}
.bw2cp-currency-note {
	font-size: 11px;
	color: #a08a7e;
	font-style: italic;
}
.bw2cp-mock-note {
	margin: 10px 12px 0;
	padding: 6px 10px;
	background: #fff8e1;
	border: 1px solid #f0e0a0;
	font-size: 11px;
}
.bw2cp-tax-note {
	margin: 8px 12px 4px;
	font-size: 11px;
	color: #a08a7e;
	text-align: center;
}
.bw2cp-error {
	color: #b32d2e;
}

@media ( max-width: 1024px ) {
	.bw2cp-footer {
		flex-direction: column;
	}
	.bw2cp-icon-list img {
		width: 25%;
	}
}
