/**
 * @package KASA.Theme
 * @version 1.2.0
 * @date 2026-11-13
 * @file app/design/frontend/codeDESIGN/M2_custom/web/css/codedesign_cart_drawer.css
 * @author Milos Mandic | codeDESIGN
 * @link https://www.kasa-onlineshop.de
 */
/* codeDESIGN - codedesign_cart_drawer.css */
@charset "utf-8";



/* KASA CART DRAWER - VIEWPORT AND BACKDROP */
html:has(> body.kasa_custom_theme.kasa_cart_drawer_open) {
	overflow: hidden;
}
body.kasa_custom_theme.kasa_cart_drawer_open {
	overflow: hidden !important;
}
body.kasa_custom_theme div.kasa_cart_drawer_backdrop {
	background: rgb(37 36 34 / 48%);
	position: fixed;
	z-index: 879;
	inset: 0px;
}
body.kasa_custom_theme div.kasa_cart_drawer_backdrop[hidden] {
	display: none;
}
body.kasa_custom_theme div.minicart-wrapper.kasa_cart_drawer_root {
	width: 100vw;
	height: 100dvh;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 880;
	margin: 0px 0px 0px 0px;
	float: none;
	pointer-events: none;
}
body.kasa_custom_theme div.minicart-wrapper.kasa_cart_drawer_root > a.showcart {
	display: none;
}
body.kasa_custom_theme div.kasa_cart_drawer_dialog.ui-dialog {
	background: var(--paper, #ffffff);
	width: min(450px, 100vw) !important;
	height: 100vh !important;
	height: 100dvh !important;
	border: 0px;
	border-radius: 0px;
	position: absolute !important;
	top: 0px !important;
	left: auto !important;
	right: 0px !important;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	overflow: hidden;
	color: var(--ink, #252422);
	box-shadow: -8px 0px 32px rgb(37 36 34 / 18%);
	box-sizing: border-box;
	max-width: 100vw;
	max-height: 100dvh;
	font: 400 16px/1.5 Arial, Helvetica, sans-serif;
	pointer-events: auto;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-minicart {
	background: transparent;
	width: 100%;
	height: 100% !important;
	border: 0px;
	position: static;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	overflow: hidden;
	display: flex !important;
	flex-direction: column;
	box-shadow: none;
	box-sizing: border-box;
	min-width: 0px;
	min-height: 0px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-minicart::before,
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-minicart::after {
	display: none;
}



/* KASA CART DRAWER - HEADING AND KEYBOARD CONTROLS */
body.kasa_custom_theme div.kasa_cart_drawer_heading {
	border-bottom: 1px solid var(--line, #dcd9d5);
	padding: 16px 24px 16px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex: 0 0 auto;
	gap: 16px;
}
body.kasa_custom_theme div.kasa_cart_drawer_heading h2 {
	margin: 0px 0px 0px 0px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}
body.kasa_custom_theme button.kasa_cart_drawer_close {
	background: transparent;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line, #dcd9d5);
	border-radius: 0px;
	padding: 0px 0px 0px 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--ink, #252422);
	box-shadow: none;
	flex-shrink: 0;
	font: 400 28px/1 Arial, Helvetica, sans-serif;
}
body.kasa_custom_theme div.kasa_cart_drawer_dialog :is(a, button, input, select, [tabindex]):focus-visible {
	outline: 3px solid var(--red, #b32212);
	outline-offset: 2px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div#minicart-content-wrapper {
	padding: 24px 24px 24px 24px;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 1 1 auto;
	min-height: 0px;
	overscroll-behavior: contain;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div#minicart-content-wrapper > div.block-title,
body.kasa_custom_theme div.kasa_cart_drawer_root button#btn-minicart-close {
	display: none;
}
body.kasa_custom_theme div.kasa_cart_drawer_empty_link {
	border-top: 1px solid var(--line, #dcd9d5);
	padding: 16px 24px 16px 24px;
	flex: 0 0 auto;
}
body.kasa_custom_theme div.kasa_cart_drawer_empty_link a {
	font-size: 16px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-minicart:has(a.action.viewcart) div.kasa_cart_drawer_empty_link {
	display: none;
}



/* KASA CART DRAWER - NATIVE KO CONTENT AND SIDEBAR ACTIONS */
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-content :is(p, a, span, strong, label, input, button, select, option, dt, dd) {
	font-size: 16px;
	line-height: 1.5;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-content :is(div.items-total, div.subtotal, strong.subtitle, div.actions) {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-content div.minicart-items-wrapper {
	height: auto !important;
	border: 0px;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	overflow: visible;
	order: 1;
	max-height: none;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-content div.subtotal {
	border-top: 1px solid var(--line, #dcd9d5);
	padding: 16px 0px 0px 0px;
	order: 2;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.block-content > div.actions {
	order: 3;
}
body.kasa_custom_theme div.kasa_cart_drawer_root ol.minicart-items {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root li.product-item {
	border-bottom: 1px solid var(--line, #dcd9d5);
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 20px 0px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.product-item-details {
	min-width: 0px;
	overflow-wrap: anywhere;
}
body.kasa_custom_theme div.kasa_cart_drawer_root a {
	color: var(--red, #b32212);
	text-underline-offset: 3px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root input.cart-item-qty {
	background: var(--paper, #ffffff);
	width: 76px;
	height: 48px;
	border: 1px solid var(--line, #dcd9d5);
	border-radius: 0px;
	padding: 8px 8px 8px 8px;
	box-sizing: border-box;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.product.actions {
	margin: 12px 0px 0px 0px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.product.actions a.action {
	padding: 8px 0px 8px 0px;
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	box-sizing: border-box;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.product.actions a.action::before {
	display: none;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.product.actions a.action > span {
	width: auto;
	height: auto;
	position: static;
	margin: 0px 0px 0px 0px;
	overflow: visible;
	display: inline;
	clip: auto;
}
body.kasa_custom_theme div.kasa_cart_drawer_root button.update-cart-item {
	background: var(--wash, #f5f3f0);
	border: 1px solid var(--line, #dcd9d5);
	border-radius: 0px;
	padding: 8px 12px 8px 12px;
	color: var(--ink, #252422);
	box-shadow: none;
	min-height: 48px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root button#top-cart-btn-checkout {
	background: var(--red, #b32212);
	width: 100%;
	border: 1px solid var(--red, #b32212);
	border-radius: 0px;
	margin: 0px 0px 0px 0px;
	padding: 12px 16px 12px 16px;
	color: var(--paper, #ffffff);
	box-shadow: none;
	min-height: 48px;
	white-space: normal;
}
body.kasa_custom_theme div.kasa_cart_drawer_root button#top-cart-btn-checkout:hover {
	background: var(--red-hover, #8f1a0e);
	border-color: var(--red-hover, #8f1a0e);
}



/* KASA CART DRAWER - READABLE PRODUCT AND CONFIGURATION */
body.kasa_custom_theme div.kasa_cart_drawer_root a.product-item-photo,
body.kasa_custom_theme div.kasa_cart_drawer_root span.product-item-photo {
	width: 80px;
	float: left;
	max-width: 30%;
}
body.kasa_custom_theme div.kasa_cart_drawer_root span.product-image-container {
	width: 80px !important;
	max-width: 100%;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.product-item-details {
	padding: 0px 0px 0px 96px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root strong.product-item-name {
	margin: 0px 0px 8px 0px;
	display: block;
	font-size: 18px;
	line-height: 1.3;
}
body.kasa_custom_theme div.kasa_cart_drawer_root strong.product-item-name a,
body.kasa_custom_theme div.kasa_cart_drawer_root strong.product-item-name span {
	font-size: 18px;
	line-height: 1.3;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.kasa_cart_item_sku {
	margin: 0px 0px 8px 0px;
	color: var(--muted, #625f5b);
	overflow-wrap: anywhere;
}
body.kasa_custom_theme div.kasa_cart_drawer_root dl.product.options.list {
	margin: 8px 0px 8px 0px;
	overflow-wrap: anywhere;
}
body.kasa_custom_theme div.kasa_cart_drawer_root dl.product.options.list dd {
	margin: 0px 0px 8px 0px;
}
body.kasa_custom_theme div.kasa_cart_drawer_root div.product-item-pricing {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
@media (max-width: 389px) {

	body.kasa_custom_theme div.kasa_cart_drawer_heading,
	body.kasa_custom_theme div.kasa_cart_drawer_root div#minicart-content-wrapper,
	body.kasa_custom_theme div.kasa_cart_drawer_empty_link {
		padding: 16px 16px 16px 16px;
	}

}
