@font-face {
    font-family: 'avenir_lt_std95_black';
    src: url('fonts/avenir_lt_std_95_black-webfont.woff2') format('woff2'),
    url('fonts/avenir_lt_std_95_black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
	color: #000;
    background-color: #fafafa; /* fallback color */
    /* Fallback image for browsers without image-set support */
    background-image: url('img/bg.png');
    /* Use WebP when supported; PNG remains as fallback in the set */
    background-image: -webkit-image-set(
            url('img/bg.webp') type('image/webp') 1x,
            url('img/bg.png') type('image/png') 1x
    );
    background-image: image-set(
            url('img/bg.webp') type('image/webp') 1x,
            url('img/bg.png') type('image/png') 1x
    );
    background-repeat: no-repeat;
    background-position: center -85px;
    background-size: cover;

    font-family: "Roboto", Helvetica, Arial, sans-serif;
	padding-bottom: 40px;
	font-size: 12px;
}

header {
    position: relative;
    padding-bottom: 30px;
}
header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    /* container max-width is 1240px => right edge at 50% + 620px */
    left: calc(50% + 620px);
    /* replaced solid color with a horizontally repeating strip */
    background-image: url('img/bg-strip.png');
    background-repeat: repeat-x;
    background-position: top left; /* start at the top-left of the right-side area */
    /* optional: make the strip tile at its natural width and match header height */
    background-size: auto 100%;
    pointer-events: none;
    z-index: 0; /* behind header contents */

}
/* ensure header contents sit above the red slab */
header > * {
    position: relative;
    z-index: 1;
}
header .container {
    position: relative; /* anchor for the pseudo-element below */
    max-width: 1240px;
    padding-left: 30px;
}
header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;                          /* stretches to header height */
    right: calc(50% - 620px);           /* container right edge = 50% + 620px */
    width: 40%;                          /* adjust as needed, or use a fixed px width */
    background-image: url('img/mitsu-header.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;            /* fit within the pseudo-element box */
    pointer-events: none;
    z-index: 1;                          /* above red slab, below real content */
}

/* keep header content above both background layers */
header .container > * {
    position: relative;
    z-index: 2;
}



/* Optional: on narrow viewports (container < 1240px), hide the slab */
@media (max-width: 1240px) {
    header::after {
        left: 100%;
    }
}


section.container {
	max-width: 1240px;
	background-color: white;
	padding: 40px 120px;
}

.header-block
{
	height: 14vw;
	display: flex;
	align-items: center;

}

.header-block > span {

}

.scan {
	position: absolute;
	right: 0;
	bottom: 10px;
}

.r290 {
    position: absolute;
    right: 115px;
    bottom: 10px;
}

h1 {
	font-size: 6em;
    font-family: avenir_lt_std95_black, serif;
    color: #ffffff;
    margin-top: 40px;
}
header span {
    font-family: avenir_lt_std95_black, serif;
    color: #ffffff;
    font-size: 2.5em;
    line-height: 1.3em;
}

h2 {
	color: #000;
	font-weight: 600;
	margin-bottom: 0;
	font-size: 5em;
	padding-bottom: 20px;
}
h2 .smaller {
	font-size: 45%;
}

h3 {
	color: #c1001f;
    font-size: 2em;
    line-height: 1.1em;
    margin-top: 20px;
    font-weight: bold;
	display: block;
	width: 100%;
	float: left;
}
.rus h3{
	text-transform: uppercase;
}
h4 {
	margin-top: 0;
	font-weight: bold;
	padding-top: 10px;
	font-size: 1.5em;
}

h4 + p > strong {
	max-width: 80%;
    display: inline-block;
}

section.cookie-check {
	margin: 0 auto;
	position: fixed;
    bottom: 0;
    z-index: 1;
    right: 0;
    left: 0;
	background-color: #979696d1;
	color: #ffffff;
	font-size: 1em;
	padding: 8px 15px;
	text-align: center;
}

.btn-cta img {
	margin-bottom: -45px;
}

.instock, .instock-and-new {
    display: flex;
    align-items: center;   /* vertical centering */
    position: relative;    /* keep for the ::before badges */
}
.instock > img, .instock-and-new > img {
    max-width: 100%;
    height: auto;
    display: block;
}


.instock:before {
	position: absolute;
    top: 0;                     /* pin to top */
    left: 0;                    /* pin to left */

    content: '';
	background-image: url('img/available.png');
	background-position: 0 0;
	background-repeat: no-repeat;
	width: 54px;
	height: 54px;
	pointer-events: none;
	z-index: 1;
}
.instock-and-new:before {
    position: absolute;
    top: 0;                     /* pin to top */
    left: 0;                    /* pin to left */
    content: '';
    /* top badge, then bottom badge */
    background-image: url('img/available.png'), url('img/new.png');
    background-repeat: no-repeat, no-repeat;
    /* positions: first at top-left, second 8px below the first */
    background-position: left top, left 62px;
    /* sizes (adjust as needed) */
    background-size: 54px 54px, 54px 54px;

    /* box sized to contain both badges + 8px gap */
    width: 54px;
    height: 116px; /* 54 + 8 + 54 */

    pointer-events: none;
    z-index: 1;
}

.cookie-check button,
.cookie-check a {
	padding: 4px 8px;
	font-size: 1em;
	border: none;
	background: none;
	margin-top: 10px;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
}

.pct {
	color: #c1001f;
	font-size: 60%;
}
.mb {
	margin-bottom: 20px;
	padding-bottom: 20px;
	display: -ms-flex; display: -webkit-flex; display: flex;
}

.mb.border{
	border-bottom: 1px solid #c1001f;
}

.mb > div:last-child {
	display: flex;
}

.cookie-check button.em {
	background: #a5a5a5;
}


a {
	text-decoration: underline;
	    font-size: 1.1em;
}

.logo-wrapper {
	justify-content: end;
	align-items: end;
	padding-bottom: 30px;
}

.logo-white{
    position: absolute;
    right: 20px;
    bottom: 0;
}

.remotes {
	position: absolute;
	right: 10px;
	top: 5px;
	width: 200px;
}

.container {
	max-width: 1024px;
}

.slogan-wrapper{
	position: relative;
}

.content {
	flex: 1;
	z-index: 1;
    display: flex;           /* make the column a flex container */
    flex-direction: column;  /* stack its children vertically */
}
.content p {
	font-size: 1.2em;
	line-height: 1.3em;
}

.info {
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-end;
	justify-content: center;
	align-items: center;
}

.bottom-logos {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-right: -15px;
    margin-top: auto;
}
.bottom-logos img {
    margin-left: 10px;
}

.app {
	display: block;
}

.big{
	font-size: 4.5em;
	line-height: 1em;
	font-weight: bold;
}

.red {
	color: #c1001f;
}

.black {
	color: #000000;
}

header h4{
	margin-top: 0;
	padding-top: 0;
	font-size: 1.8em;
}

.type-and-energy {
	padding: 10px 0;
	min-width: 190px;
}

.cta {
	background-color: #c1001f;
	border-bottom-right-radius: 10px;
	padding: 4px 15px;
	min-width: 190px;
}

.cta a {
	text-decoration: none;
	font-size: 140%;
	color: #fff;
}

.arrow-right {
	width: 0;
	height: 0;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 15px solid #c1001f;
	display: inline-block;
	padding-right: 5px;
}

.link-red:hover,
.link-red:visited,
.link-red:active
{
	color: #fff;
}
.link-red:hover{
	background-color: #b1000c;
}

@media (min-width: 768px){
	.container {
	    width: 100%;
	}
}


@media (max-width: 1700px){

}

@media (max-width: 1400px){
	.header-img {
		width: 60%;
	}
}
@media (max-width: 1100px){
	.header-img {
		width: 70%;
	}
	.header-block
	{
		margin-bottom: 50px;
	}
    .logo-white{
        width: 150px;
    }
}

@media (max-width: 992px){
	body {
		font-size: 16px;
	}
	h1 {
		font-size: 3em;
		margin-top: 20px;
	}
    header span {
        font-size: 1.5em;
    }
	h2 {
		font-size: 2.8em;
	}
	h3 {
		font-size: 1.3em;
	}
	.big{
		font-size: 3em;
	}
	.logo-white{
		margin: 0;
	}
	.remotes {
		top: -1vw;
		width: 45%;
	}
	.header-img {
		width: 70%;
	}
	section.container {
		padding: 40px 40px;
	}

    header::before {
        right: 0;           /* container right edge = 50% + 620px */
    }
}

@media (max-width: 767px){
	header {
		background-image: none;
	}
	body {
		font-size: 16px;
	}
	.header-img {
		display: none;
	}

    .logo-white{
        float: right;
        width: 130px;
    }

	h1 {
		font-size: 2.5em;
	}
    header span {
        font-size: 1.1em;
    }

	.logo-wrapper
	{
		justify-content: flex-end;
	}
	.header-block
	{
		margin-bottom: 0;
		padding-top: 60px;
	}

	section.container {
		padding: 40px 20px;
	}

}
