/*
==================================================================================================================================
 																 Dekk24.no CSS
Produsert av Robert Steine @ 2010 - 2026
Alle rettigheter tilhører Robert Steine og er beskyttet under lov om opphavsrett.
==================================================================================================================================
*/


/*====
GENERAL
====*/

body,
html {
	height: 100%;
	margin: 0;
	padding: 0;
}


.alert-yellowbg {
	background: #F2DA54;
}


.navbar-toggler-icon {
	filter: invert(1);
}


/*====
IMAGE MANIPULATION
====*/

img.grey {
	filter: grayscale(100%);
	opacity: 0.5;
	transition:
		filter .2s ease,
		opacity .2s ease;
}


img.grey:hover {
	filter: grayscale(0%);
	opacity: 1;
}


/*====
FOOTER
====*/

.footer-container {
	background: #dadada;
	padding-top: 40px;
	padding-bottom: 50px;
	font-size: 0.8rem;
	color: #555555;
}


.footer-container h4 {
	font-weight: 500;
	font-size: 0.9rem;
	color: #333333;
}


.footer-container a {
	color: #555555;
	text-decoration: none;
}


/*====
CUSTOMER LOGIN AREA
====*/

.customer_login {
	min-height: 100%;
	margin: 0;
	padding: 0;

	background-image: url(/gfx/customer_login.jpg);
	background-size: cover !important;
	background-repeat: no-repeat;
}


/*====
VEHICLE SELECTOR MODAL
====*/

.vehicle-selector-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .5rem;
}


.vehicle-selector-item {
	display: flex;
	align-items: center;
	gap: .75rem;

	width: 100%;
	min-width: 0;
	min-height: 64px;

	padding: .65rem 1rem;

	border: 1px solid var(--bs-border-color);
	border-radius: var(--bs-border-radius);

	background: var(--bs-body-bg);
	color: var(--bs-body-color);

	font: inherit;
	font-weight: 500;
	text-align: left;

	cursor: pointer;

	transition:
		background-color .1s ease,
		border-color .1s ease;
}


.vehicle-selector-item:hover,
.vehicle-selector-item:focus-visible {
	background: var(--bs-tertiary-bg);
	border-color: var(--bs-secondary-border-subtle);
}


/*
	Fixed logo area keeps vehicle names aligned,
	regardless of the original logo proportions.
*/
.vehicle-selector-item-logo {
	display: block;
	flex: 0 0 44px;

	width: 44px;
	height: 44px;

	object-fit: contain;
	object-position: center;
}


.vehicle-selector-item-name {
	flex: 1 1 auto;
	min-width: 0;

	line-height: 1.25;
}


.vehicle-selector-item-arrow {
	flex: 0 0 auto;
	margin-left: auto;

	font-size: 1.25rem;
	line-height: 1;

	opacity: .5;
}


.vehicle-selector-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .35rem;

	font-size: .95rem;
}


.vehicle-selector-breadcrumb button {
	border: 0;
	padding: 0;

	background: transparent;
	color: var(--bs-link-color);

	font: inherit;
	text-decoration: none;

	cursor: pointer;
}


.vehicle-selector-breadcrumb button:hover {
	text-decoration: underline;
}


.vehicle-selector-breadcrumb-separator {
	color: var(--bs-secondary-color);
}


@media (max-width: 575.98px) {

	.vehicle-selector-list {
		grid-template-columns: 1fr;
	}


	.vehicle-selector-item {
		min-height: 58px;
		padding: .55rem .75rem;
	}


	.vehicle-selector-item-logo {
		flex-basis: 38px;

		width: 38px;
		height: 38px;
	}

}


/*====
GENERAL TEXT SIZES
====*/

.text-xs {
	font-size: 0.75rem;
}


.text-sm {
	font-size: 0.875rem;
}


.text-md {
	font-size: 1rem;
}


.text-lg {
	font-size: 1.125rem;
}


.text-xl {
	font-size: 1.25rem;
}


.text-2xl {
	font-size: 1.5rem;
}


.text-3xl {
	font-size: 1.75rem;
}


.text-4xl {
	font-size: 2rem;
}
.text-7xl {
	font-size: 3rem;
}

.text-10xl {
	font-size: 4rem;
}


/* ==========================================================================
   CAR TOP HEADER INFO
   ========================================================================== */

@media (min-width: 576px) {

	.border-sm-start {
		border-left: 1px solid var(--bs-border-color) !important;
	}


	.border-sm-end {
		border-right: 1px solid var(--bs-border-color) !important;
	}

}


#carinfo {
	background:
		linear-gradient(
			135deg,
			#eeeeef 0%,
			#e9ebed 50%,
			#e2e5e7 100%
		);

	border: 1px solid #d4d7da;

	box-shadow:
		0 3px 10px rgba(0,0,0,.05);
}


/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.product-grid-full {
	margin-left: calc(var(--bs-gutter-x) * -0.5);
	margin-right: calc(var(--bs-gutter-x) * -0.5);
}


/* --------------------------------------------------------------------------
   Card shell
   -------------------------------------------------------------------------- */

.catpanel {
	position: relative;
	overflow: hidden;

	height: 100%;
	margin-bottom: 1.25rem;

	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 0.85rem;

	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.03),
		0 4px 14px rgba(0, 0, 0, 0.04);

	transition:
		transform 160ms ease,
		box-shadow 160ms ease,
		border-color 160ms ease;
}


.catpanel:hover {
	transform: translateY(-3px);

	border-color: rgba(0, 0, 0, 0.13);

	box-shadow:
		0 4px 10px rgba(0, 0, 0, 0.05),
		0 12px 28px rgba(0, 0, 0, 0.08);
}


/* Remove old Bootstrap panel styling if still present */

.catpanel.panel,
.catpanel.panel-default {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}


/* --------------------------------------------------------------------------
   Card body
   -------------------------------------------------------------------------- */

.catpanel-body {
	position: relative;

	display: flex;
	flex-direction: column;

	height: 100%;
	padding: 1rem 1rem 1.1rem;

	background: #fff;
	border: 0;

	text-align: center;
}


/* Prevent old hover rules from fighting the new card */

.catpanel .hovercolor:hover {
	background: inherit;
}


/* --------------------------------------------------------------------------
   Product image
   -------------------------------------------------------------------------- */

.product-img-section {
	display: flex;
	align-items: center;
	justify-content: center;

	height: 220px;
	margin-bottom: 1rem;
	padding: 0.75rem;

	background: #fff;
}


.product-img-section a {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 100%;
}


.product-img-section img {
	display: block;

	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;

	margin: 0 auto;

	object-fit: contain;

	border-radius: 0;

	transition: transform 180ms ease;
}


/* Small visual zoom without changing layout */

.catpanel:hover .product-img-section img {
	transform: scale(1.025);
}


/* --------------------------------------------------------------------------
   Manufacturer + product title
   -------------------------------------------------------------------------- */

.product-txt-section {
	min-height: 92px;
	margin-bottom: 0.6rem;
}


/* Manufacturer */

.product-txt-section > p:first-child {
	margin: 0 0 0.35rem;

	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;

	letter-spacing: 0.04em;
	text-transform: uppercase;

	color: #6c757d;
}


/* Product name */

.product-txt-section h5 {
	margin: 0;

	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}


.product-txt-section h5 a {
	color: #212529;
	text-decoration: none;

	transition: color 120ms ease;
}


.product-txt-section h5 a:hover {
	text-decoration: none;
	color: #000;
}


/* --------------------------------------------------------------------------
   Price + stock / delivery status
   Anchored to the bottom of the card
   -------------------------------------------------------------------------- */

.product-card-bottom {
	width: 100%;
	margin-top: auto;
}


.product-card-price {
	margin: 0 0 0.45rem;

	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;

	color: #212529;
}


/* --------------------------------------------------------------------------
   Stock / delivery status
   -------------------------------------------------------------------------- */

.catpanel-latearea {
	min-height: 24px;

	margin: 0;
	padding-top: 0.15rem;

	font-size: 0.85rem;
	line-height: 1.4;

	color: #6c757d;
}


.catpanel-latearea small {
	font-size: inherit;
}


.catpanel-latearea .fa {
	margin-right: 0.25rem;
}


/* --------------------------------------------------------------------------
   Recommended product
   -------------------------------------------------------------------------- */

.catpanel-rec {
	border-width: 2px;
	border-color: rgba(33, 37, 41, 0.22);

	box-shadow:
		0 2px 6px rgba(0, 0, 0, 0.04),
		0 8px 22px rgba(0, 0, 0, 0.07);
}


.catpanel-body-rec {
	position: relative;
}


.catpanel-body-rec::after {
	content: "";
	position: absolute;

	top: 10px;
	right: 10px;

	width: 110px;
	height: 45px;

	background:
		url(/custom/dekk24/anbefalt_v3.png)
		no-repeat
		center;

	background-size: contain;

	z-index: 10;
	pointer-events: none;
}


/* --------------------------------------------------------------------------
   Late delivery
   Existing ASP adds .catpanel-body-late directly to the card
   -------------------------------------------------------------------------- */

.catpanel-body-late {
	background: #fff;
}


@media (max-width: 575.98px) {

	.catpanel-body-rec::after {
		top: 8px;
		right: 8px;

		width: 90px;
		height: 38px;
	}

}


/* --------------------------------------------------------------------------
   Product exclusion integration
   -------------------------------------------------------------------------- */

.product-exclusion-manager {
	margin: 0 0 15px 0;
}


.product-exclusion-manager .list-group {
	margin: 10px 0 0 0;
}


.product-exclusion-trigger {
	position: absolute;

	right: 0.65rem;
	bottom: 0.65rem;

	z-index: 15;

	padding: 0;
	margin: 0;

	border: 0;
	background: transparent;
	box-shadow: none;

	color: #dc3545;

	font-size: 1.15rem;
	line-height: 1;

	cursor: pointer;
}


.product-exclusion-trigger:hover,
.product-exclusion-trigger:focus {
	background: transparent;
	color: #b02a37;
	box-shadow: none;
}


.product-exclusion-is-excluded .catpanel-body {
	opacity: 0.25;
}


.product-exclusion-overlay {
	position: absolute;

	z-index: 20;

	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 1.5rem;

	background: rgba(255, 255, 255, 0.80);

	color: #dc3545;

	font-size: 1rem;
	font-weight: 700;
	text-align: center;

	cursor: default;
}


/* --------------------------------------------------------------------------
   Links / focus accessibility
   -------------------------------------------------------------------------- */

.catpanel a:focus-visible,
.catpanel button:focus-visible {
	outline: 3px solid rgba(13, 110, 253, 0.25);
	outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {

	.product-img-section {
		height: 190px;
	}

}


@media (max-width: 575.98px) {

	.catpanel {
		margin-bottom: 1rem;
		border-radius: 0.75rem;
	}


	.catpanel-body {
		padding: 0.9rem;
	}


	.product-img-section {
		height: 170px;
		margin-bottom: 0.75rem;
		padding: 0.5rem;
	}


	.product-txt-section {
		min-height: auto;
	}


	.product-txt-section h5 {
		font-size: 0.95rem;
	}


	.product-card-price {
		font-size: 1.15rem;
	}

}


/* --------------------------------------------------------------------------
   Respect reduced motion preference
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.catpanel,
	.product-img-section img {
		transition: none;
	}


	.catpanel:hover {
		transform: none;
	}


	.catpanel:hover .product-img-section img {
		transform: none;
	}

}


/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */


/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.product-breadcrumb {
	padding-top: 1rem;
}


.product-breadcrumb .breadcrumb {
	font-size: .875rem;
}


.product-breadcrumb a {
	color: var(--bs-secondary);
	text-decoration: none;
}


.product-breadcrumb a:hover {
	color: var(--bs-primary);
}


/* --------------------------------------------------------------------------
   Selected vehicle / fitment
   -------------------------------------------------------------------------- */

.product-vehicle-context {
	padding: 1rem 1.25rem;

	background: #f7f8f9;

	border: 1px solid var(--bs-border-color);
	border-left: 4px solid var(--d24-success);
	border-radius: .75rem;
}


.product-vehicle-icon {
	width: 48px;
	height: 48px;

	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;

	border-radius: 50%;

	background: rgba(var(--bs-success-rgb), .10);
	color: var(--d24-success);

	font-size: 1.1rem;
}


.product-fitment-message {
	color: var(--d24-success);

	font-size: .9rem;
	font-weight: 700;
}


/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.product-gallery {
	position: sticky;
	top: 1rem;
}


.product-main-image {
	min-height: 420px;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 1.5rem;

	background: #fff;

	border: 1px solid var(--bs-border-color);
	border-radius: 1rem;
}


.product-main-image a {
	width: 100%;
	height: 100%;

	display: flex;
	align-items: center;
	justify-content: center;
}


.product-main-image img {
	display: block;

	max-width: 100%;
	max-height: 500px;

	width: auto;
	height: auto;

	margin: 0 auto;

	object-fit: contain;
}


.product-thumbnails {
	justify-content: flex-start;
}


.product-thumbnail {
	width: 72px;
	height: 72px;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: .35rem;

	background: #fff;

	border: 1px solid var(--bs-border-color);
	border-radius: .5rem;

	transition:
		border-color 150ms ease,
		box-shadow 150ms ease;
}


.product-thumbnail:hover {
	border-color: rgba(var(--bs-primary-rgb), .55);

	box-shadow:
		0 2px 8px rgba(0,0,0,.08);
}


.product-thumbnail img {
	display: block;

	max-width: 100%;
	max-height: 100%;

	width: auto;
	height: auto;

	object-fit: contain;
}


/* --------------------------------------------------------------------------
   Product identity
   -------------------------------------------------------------------------- */

.product-buy-area {
	max-width: 720px;
}


.product-category {
	font-size: .8rem;
	font-weight: 700;

	letter-spacing: .055em;
	text-transform: uppercase;
}


.product-category a,
.product-category span {
	color: var(--d24-blue-light);
	text-decoration: none;
}


.product-category a:hover {
	color: var(--d24-blue-dark);
}


.product-manufacturer {
	min-height: 28px;

	display: flex;
	align-items: center;

	color: var(--bs-secondary-color);

	font-size: .875rem;
	font-weight: 600;

	letter-spacing: .03em;
	text-transform: uppercase;
}


.product-manufacturer-logo {
	display: block;

	max-width: 150px;
	max-height: 40px;

	width: auto;
	height: auto;
}


.product-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.12;

	letter-spacing: -.025em;
}


.product-number {
	letter-spacing: .01em;
}


.product-recommended {
	padding: .4rem .65rem;

	background: rgba(var(--bs-primary-rgb), .10);
	color: var(--d24-orange-hover);

	border-radius: 50rem;

	font-size: .75rem;
	font-weight: 700;

	letter-spacing: .04em;
	text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   Important product attributes
   -------------------------------------------------------------------------- */

.product-facts {
	max-width: 620px;
}


.product-fact {
	display: flex;
	align-items: center;
	gap: .75rem;

	min-height: 70px;

	padding: .75rem .85rem;

	background: #f7f8f9;

	border: 1px solid rgba(0,0,0,.045);
	border-radius: .65rem;
}


.product-fact-icon {
	width: 38px;
	height: 38px;

	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;

	border-radius: 50%;

	background: #fff;
	color: var(--d24-blue-dark);

	font-size: 1rem;

	box-shadow:
		0 1px 3px rgba(0,0,0,.06);
}


.product-fact-content {
	min-width: 0;
}


.product-fact-label {
	margin-bottom: .1rem;

	color: var(--bs-secondary-color);

	font-size: .7rem;
	font-weight: 600;
	line-height: 1.15;
}


.product-fact-value {
	color: #212529;

	font-size: .95rem;
	font-weight: 700;
	line-height: 1.2;
}


/* --------------------------------------------------------------------------
   Short description
   -------------------------------------------------------------------------- */

.product-short-description {
	padding: 1rem 1.15rem;

	background: #f7f8f9;

	border-left: 4px solid var(--bs-primary);
	border-radius: .4rem;

	font-size: 1rem;
	font-weight: 600;
	line-height: 1.55;
}


/* --------------------------------------------------------------------------
   Stock
   -------------------------------------------------------------------------- */

.product-stock-box {
	padding: 1rem 1.15rem;

	background: #fff;

	border: 1px solid var(--bs-border-color);
	border-radius: .75rem;
}


.product-stock-row {
	display: flex;
	align-items: center;
	gap: .65rem;

	min-height: 30px;

	font-size: .95rem;
}


.product-stock-row + .product-stock-row {
	margin-top: .25rem;
}


.product-stock-row > span:first-child {
	width: 18px;

	flex: 0 0 18px;

	text-align: center;
}


.product-stock-warning {
	padding: .75rem 1rem;

	background: rgba(var(--bs-warning-rgb), .12);

	border-radius: .5rem;

	color: #765c00;

	font-size: .9rem;
}


/* --------------------------------------------------------------------------
   Price
   -------------------------------------------------------------------------- */

.product-price-area {
	padding-top: .25rem;
}


.product-price {
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.05;

	letter-spacing: -.035em;

	color: #212529;
}


.product-old-price {
	margin-top: .5rem;

	color: var(--bs-secondary-color);

	font-size: 1rem;

	text-decoration: line-through;
}


.product-dealer-price {
	padding: 1rem;

	background: #f7f8f9;

	border-radius: .75rem;
}


/* --------------------------------------------------------------------------
   Buy form
   -------------------------------------------------------------------------- */

.product-buy-form {
	max-width: 620px;
}


.product-buy-form .form-control-lg {
	min-height: 50px;
}


.product-buy-form .btn-lg {
	min-height: 50px;

	font-weight: 700;
}


.product-klarna {
	max-width: 620px;

	padding: 1rem;

	background: #f7f8f9;

	border-radius: .75rem;
}


/* --------------------------------------------------------------------------
   Product description
   -------------------------------------------------------------------------- */

.product-detail-section {
	line-height: 1.65;
}


.product-description {
	color: #343a40;
}


.product-description img {
	max-width: 100%;
	height: auto;
}


/* --------------------------------------------------------------------------
   Specifications
   -------------------------------------------------------------------------- */

.product-specifications {
	padding: 1.25rem;

	background: #f7f8f9;

	border: 1px solid var(--bs-border-color);
	border-radius: .85rem;
}


.product-spec-grid {
	display: grid;
	grid-template-columns: 1fr;

	gap: 0;
}


.product-specifications-wide .product-spec-grid {
	grid-template-columns:
		repeat(2, minmax(0, 1fr));

	column-gap: 2.5rem;
}


.product-spec-item {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;

	min-width: 0;

	padding: .65rem .15rem;

	border-bottom: 1px solid rgba(0,0,0,.08);
}


.product-spec-item span {
	color: var(--bs-secondary-color);

	font-size: .9rem;
}


.product-spec-item strong {
	color: #212529;

	font-size: .9rem;
	font-weight: 600;

	text-align: right;
}


.product-specifications-wide {
	padding: 1.5rem;
}


/* --------------------------------------------------------------------------
   EU tyre data
   -------------------------------------------------------------------------- */

.product-eu-label,
.product-eu-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	padding: 1rem;

	background: #fff;

	border: 1px solid var(--bs-border-color);
	border-radius: .75rem;

	text-align: center;
}


.product-eu-label img {
	display: block;

	max-width: 100%;
	max-height: 150px;

	width: auto;
	height: auto;
}


.product-eu-icon {
	display: block;

	max-width: 72px;

	width: auto;
	height: auto;

	margin-bottom: .75rem;
}


.product-eu-title {
	margin-bottom: .25rem;

	color: var(--bs-secondary-color);

	font-size: .8rem;
	font-weight: 600;
}


.product-eu-value {
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.1;

	color: #212529;
}


/* --------------------------------------------------------------------------
   EU tyre data - compact product card version
   Prepared for later use in category listings
   -------------------------------------------------------------------------- */

.product-card-eu {
	display: grid;
	grid-template-columns: repeat(3, 1fr);

	gap: .35rem;

	width: 100%;
	margin-top: .65rem;
}


.product-card-eu-item {
	display: flex;
	flex-direction: column;
	align-items: center;

	padding: .4rem .25rem;

	background: #f7f8f9;

	border-radius: .35rem;

	line-height: 1.15;
}


.product-card-eu-item span {
	margin-bottom: .15rem;

	color: var(--bs-secondary-color);

	font-size: .65rem;
}


.product-card-eu-item strong {
	color: #212529;

	font-size: .78rem;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {

	.product-gallery {
		position: static;
	}


	.product-main-image {
		min-height: 340px;
	}


	.product-main-image img {
		max-height: 400px;
	}


	.product-buy-area {
		max-width: none;
	}


	.product-specifications-wide .product-spec-grid {
		grid-template-columns: 1fr;
	}

}


@media (max-width: 575.98px) {

	.product-breadcrumb {
		padding-top: .5rem;
	}


	.product-breadcrumb .breadcrumb {
		font-size: .78rem;
	}


	.product-vehicle-context {
		padding: .9rem 1rem;
	}


	.product-vehicle-icon {
		width: 42px;
		height: 42px;
	}


	.product-main-image {
		min-height: 280px;

		padding: 1rem;

		border-radius: .75rem;
	}


	.product-main-image img {
		max-height: 330px;
	}


	.product-thumbnail {
		width: 60px;
		height: 60px;
	}


	.product-title {
		font-size: 1.75rem;
	}


	.product-fact {
		min-height: 62px;

		padding: .6rem;
		gap: .55rem;
	}


	.product-fact-icon {
		width: 32px;
		height: 32px;

		flex-basis: 32px;

		font-size: .85rem;
	}


	.product-fact-label {
		font-size: .64rem;
	}


	.product-fact-value {
		font-size: .85rem;
	}


	.product-short-description {
		padding: .85rem 1rem;
	}


	.product-stock-box {
		padding: .9rem 1rem;
	}


	.product-price {
		font-size: 2rem;
	}


	.product-specifications {
		padding: 1rem;
	}


	.product-spec-item {
		padding: .6rem .1rem;
	}


	.product-eu-grid {
		--bs-gutter-x: .4rem;
	}


	.product-eu-label,
	.product-eu-item {
		min-height: 112px;

		padding: .45rem .15rem;

		border-radius: .55rem;
	}


	.product-eu-label img {
		max-height: 80px;
	}


	.product-eu-icon {
		max-width: 44px;

		margin-bottom: .35rem;
	}


	.product-eu-title {
		font-size: .62rem;
		line-height: 1.1;
	}


	.product-eu-value {
		font-size: 1rem;
	}

}




