/**
 * Temiz Wear Cart Drawer
 *
 * Mobile-first WooCommerce side-cart interface.
 *
 * @package Temiz_Wear
 * @since   1.0.0
 */

/* ==================================================
   Design tokens
   ================================================== */

.temiz-cart-drawer {
	--tw-drawer-primary: var(--wp--preset--color--primary, #2e1a24);
	--tw-drawer-accent: var(--wp--preset--color--accent, #a8823d);
	--tw-drawer-base: var(--wp--preset--color--base, #f5efe3);
	--tw-drawer-surface: #ffffff;
	--tw-drawer-text: var(--wp--preset--color--text, #1c1c1a);
	--tw-drawer-muted: #6f6964;
	--tw-drawer-border: var(--wp--preset--color--border, #ded6ca);
	--tw-drawer-success: #287a4b;
	--tw-drawer-error: #b42318;
	--tw-drawer-overlay: rgb(19 13 16 / 58%);
	--tw-drawer-shadow: -24px 0 60px rgb(28 20 24 / 20%);
	--tw-drawer-width: 440px;
	--tw-drawer-header-height: 72px;
	--tw-drawer-radius: 10px;
	--tw-drawer-transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);

	position: fixed;
	inset: 0;
	z-index: 99999;
	display: block;
	width: 100%;
	height: 100%;
	color: var(--tw-drawer-text);
	font-family: inherit;
	visibility: hidden;
	pointer-events: none;
}

.temiz-cart-drawer[hidden] {
	display: none !important;
}

.temiz-cart-drawer *,
.temiz-cart-drawer *::before,
.temiz-cart-drawer *::after {
	box-sizing: border-box;
}

/* Page scroll lock */

html.has-temiz-cart-drawer-open,
body.has-temiz-cart-drawer-open {
	overflow: hidden;
	overscroll-behavior: none;
}

/* Drawer states */

.temiz-cart-drawer[data-state="opening"],
.temiz-cart-drawer[data-state="open"],
.temiz-cart-drawer[data-state="closing"] {
	visibility: visible;
	pointer-events: auto;
}

.temiz-cart-drawer__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--tw-drawer-overlay);
	opacity: 0;
	cursor: default;
	appearance: none;
	transition: opacity var(--tw-drawer-transition);
}

.temiz-cart-drawer[data-state="opening"] .temiz-cart-drawer__overlay,
.temiz-cart-drawer[data-state="open"] .temiz-cart-drawer__overlay {
	opacity: 1;
}

.temiz-cart-drawer[data-state="closing"] .temiz-cart-drawer__overlay {
	opacity: 0;
}

/* Drawer panel */

.temiz-cart-drawer__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: min(100%, var(--tw-drawer-width));
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--tw-drawer-surface);
	box-shadow: var(--tw-drawer-shadow);
	outline: none;
	transform: translate3d(100%, 0, 0);
	transition: transform var(--tw-drawer-transition);
	will-change: transform;
}

.temiz-cart-drawer[data-state="opening"] .temiz-cart-drawer__panel,
.temiz-cart-drawer[data-state="open"] .temiz-cart-drawer__panel {
	transform: translate3d(0, 0, 0);
}

.temiz-cart-drawer[data-state="closing"] .temiz-cart-drawer__panel {
	transform: translate3d(100%, 0, 0);
}

/* Header */

.temiz-cart-drawer__header {
	position: relative;
	z-index: 5;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	min-height: var(--tw-drawer-header-height);
	padding: 16px 20px;
	border-bottom: 1px solid var(--tw-drawer-border);
	background: var(--tw-drawer-surface);
}

.temiz-cart-drawer__header::before {
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--tw-drawer-primary),
		var(--tw-drawer-accent),
		var(--tw-drawer-primary)
	);
	content: "";
}

.temiz-cart-drawer__title {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	color: var(--tw-drawer-text);
	font-family: inherit;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.temiz-cart-drawer__header-count {
	color: var(--tw-drawer-muted);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
}

.temiz-cart-drawer__header [data-temiz-cart-count-label] {
	display: none !important;
}

.temiz-cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	margin: 0 -10px 0 0;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: var(--tw-drawer-base);
	color: var(--tw-drawer-text);
	cursor: pointer;
	appearance: none;
	transition:
		background-color 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

.temiz-cart-drawer__close:hover {
	border-color: var(--tw-drawer-border);
	background: var(--tw-drawer-surface);
	color: var(--tw-drawer-primary);
}

.temiz-cart-drawer__close:active {
	transform: scale(0.94);
}

.temiz-cart-drawer__close:focus-visible {
	outline: 2px solid var(--tw-drawer-accent);
	outline-offset: 2px;
}

.temiz-cart-drawer__close svg {
	display: block;
	width: 21px;
	height: 21px;
	pointer-events: none;
}

/* Replaceable content area */

.temiz-cart-drawer__content {
	position: relative;
	display: grid;
	flex: 1 1 auto;
	grid-template-rows: minmax(0, 1fr) auto;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: var(--tw-drawer-surface);
}

.temiz-cart-drawer__body {
	min-width: 0;
	min-height: 0;
	padding: 12px 20px 20px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #c9c0b7 transparent;
	-webkit-overflow-scrolling: touch;
}

.temiz-cart-drawer__body::-webkit-scrollbar {
	width: 5px;
}

.temiz-cart-drawer__body::-webkit-scrollbar-track {
	background: transparent;
}

.temiz-cart-drawer__body::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #c9c0b7;
}

/* Feedback message */

.temiz-cart-drawer__feedback {
	position: absolute;
	inset-block-start: 10px;
	inset-inline: 20px;
	z-index: 12;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: var(--tw-drawer-surface);
	box-shadow: 0 8px 24px rgb(28 20 24 / 14%);
	color: var(--tw-drawer-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 180ms ease,
		transform 180ms ease;
}

.temiz-cart-drawer__feedback:empty {
	display: none;
}

.temiz-cart-drawer__feedback[data-status="success"] {
	border-color: rgb(40 122 75 / 28%);
	background: #f0f8f3;
	color: var(--tw-drawer-success);
}

.temiz-cart-drawer__feedback[data-status="error"] {
	border-color: rgb(180 35 24 / 25%);
	background: #fff3f2;
	color: var(--tw-drawer-error);
}

/* Loading state */

.temiz-cart-drawer__loading {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgb(255 255 255 / 68%);
	color: var(--tw-drawer-primary);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	backdrop-filter: blur(1px);
	transition:
		opacity 180ms ease,
		visibility 180ms ease;
}

.temiz-cart-drawer__loading[hidden] {
	display: none !important;
}

.temiz-cart-drawer.is-updating .temiz-cart-drawer__loading:not([hidden]) {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.temiz-cart-drawer__spinner {
	display: block;
	width: 30px;
	height: 30px;
	animation: temiz-cart-drawer-spin 700ms linear infinite;
}

.temiz-cart-drawer.is-updating .temiz-cart-drawer__body,
.temiz-cart-drawer.is-updating .temiz-cart-drawer__footer {
	pointer-events: none;
}

@keyframes temiz-cart-drawer-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Cart items */

.temiz-cart-drawer__items {
	display: grid;
	gap: 12px;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.temiz-cart-drawer__item {
	display: grid !important;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 15px;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 12px;
	overflow: hidden;
	border: 1px solid rgb(222 214 202 / 78%);
	border-radius: var(--tw-drawer-radius);
	background: var(--tw-drawer-surface);
	box-shadow: 0 5px 18px rgb(46 26 36 / 5%);
	list-style: none;
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.temiz-cart-drawer__item:hover {
		border-color: rgb(168 130 61 / 42%);
		box-shadow: 0 8px 24px rgb(46 26 36 / 8%);
		transform: translateY(-1px);
	}
}

.temiz-cart-drawer__item-image {
	position: relative;
	align-self: stretch;
	width: 92px;
	min-height: 116px;
	overflow: hidden;
	border-radius: 7px;
	background: var(--tw-drawer-base);
}

.temiz-cart-drawer__item-image-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.temiz-cart-drawer__item-image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	object-position: center center;
}

.temiz-cart-drawer__item-image-link:hover img {
	transform: none;
}

.temiz-cart-drawer__item-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content;
	grid-template-rows: auto;
	align-content: start;
	column-gap: 12px;
	row-gap: 6px;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.temiz-cart-drawer__item-name {
	grid-column: 1 / -1;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 0;
	color: var(--tw-drawer-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.temiz-cart-drawer__item-name-link {
	display: -webkit-box;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transition: color 180ms ease;
}

.temiz-cart-drawer__item-name-link:hover {
	color: var(--tw-drawer-primary);
}

.temiz-cart-drawer__item-name-link:focus-visible {
	border-radius: 2px;
	outline: 2px solid var(--tw-drawer-accent);
	outline-offset: 3px;
}

/* Variation information */

.temiz-cart-drawer__item-meta {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--tw-drawer-muted);
	font-size: 11.5px;
	line-height: 1.45;
}

.temiz-cart-drawer__item-meta dl,
.temiz-cart-drawer__item-meta p {
	display: flex;
	flex-wrap: wrap;
	gap: 3px 5px;
	margin: 0;
	padding: 0;
}

.temiz-cart-drawer__item-meta dt,
.temiz-cart-drawer__item-meta dd {
	display: inline;
	float: none;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.temiz-cart-drawer__item-meta dt {
	color: var(--tw-drawer-muted);
}

.temiz-cart-drawer__item-meta dd {
	margin-inline-end: 8px;
	color: var(--tw-drawer-text);
}

.temiz-cart-drawer__item-meta p:last-child,
.temiz-cart-drawer__item-meta dd p {
	margin-bottom: 0;
}

.temiz-cart-drawer__item-backorder {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--tw-drawer-error);
	font-size: 11px;
	line-height: 1.4;
}

.temiz-cart-drawer__item-backorder p {
	margin: 0;
}

.temiz-cart-drawer__item-price {
	display: none;
}

.temiz-cart-drawer__item-subtotal {
	grid-column: 1 / -1;
	min-width: 0;
	max-width: 100%;
	margin-top: 2px;
	color: var(--tw-drawer-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.temiz-cart-drawer__item-subtotal del {
	margin-inline-end: 4px;
	color: var(--tw-drawer-muted);
	font-weight: 400;
	opacity: 0.7;
}

.temiz-cart-drawer__item-subtotal ins {
	color: var(--tw-drawer-primary);
	text-decoration: none;
}

/* Quantity controls */

.temiz-cart-drawer__quantity {
	grid-column: 1;
	display: grid;
	grid-template-columns: 36px 40px 36px;
	align-items: center;
	align-self: center;
	box-sizing: border-box;
	width: 114px;
	min-width: 114px;
	max-width: 114px;
	height: 38px;
	margin-top: 8px;
	overflow: hidden;
	border: 1px solid var(--tw-drawer-border);
	border-radius: 999px;
	background: var(--tw-drawer-surface);
	box-shadow: 0 2px 8px rgb(46 26 36 / 6%);
}

.temiz-cart-drawer__quantity-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 36px !important;
	min-width: 36px !important;
	max-width: 36px !important;
	height: 36px;
	min-height: 36px !important;
	max-height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--tw-drawer-text);
	cursor: pointer;
	flex: 0 0 36px;
	font: inherit;
	line-height: 1;
	appearance: none;
	-webkit-appearance: none;
	transition:
		background-color 160ms ease,
		color 160ms ease,
		opacity 160ms ease;
}

.temiz-cart-drawer__quantity-button:hover:not(:disabled) {
	background: rgb(245 239 227 / 78%);
	color: var(--tw-drawer-primary);
}

.temiz-cart-drawer__quantity-button:focus-visible {
	position: relative;
	z-index: 2;
	outline: 2px solid var(--tw-drawer-accent);
	outline-offset: -2px;
}

.temiz-cart-drawer__quantity-button:disabled {
	color: #aaa39d;
	cursor: not-allowed;
	opacity: 0.45;
}

.temiz-cart-drawer__quantity-button svg {
	display: block;
	width: 13px;
	height: 13px;
	pointer-events: none;
}

.temiz-cart-drawer__quantity-input {
	display: block;
	box-sizing: border-box;
	width: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	height: 36px;
	min-height: 36px !important;
	max-height: 36px;
	margin: 0;
	padding: 0 4px !important;
	border: 0;
	border-right: 1px solid var(--tw-drawer-border);
	border-left: 1px solid var(--tw-drawer-border);
	border-radius: 0;
	background: rgb(245 239 227 / 46%);
	box-shadow: none;
	color: var(--tw-drawer-text) !important;
	-webkit-text-fill-color: var(--tw-drawer-text) !important;
	font-family: inherit;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 36px !important;
	text-align: center;
	text-indent: 0 !important;
	font-variant-numeric: tabular-nums;
	opacity: 1;
	flex: 0 0 40px;
	appearance: textfield;
	-moz-appearance: textfield;
	-webkit-appearance: none;
}

.temiz-cart-drawer__quantity-input::-webkit-inner-spin-button,
.temiz-cart-drawer__quantity-input::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
}

.temiz-cart-drawer__quantity-input:focus {
	outline: none;
}

.temiz-cart-drawer__quantity-input:focus-visible {
	position: relative;
	z-index: 2;
	outline: 2px solid var(--tw-drawer-accent);
	outline-offset: -2px;
}

.temiz-cart-drawer__quantity-input[aria-invalid="true"] {
	background: #fff3f2;
	color: var(--tw-drawer-error) !important;
	-webkit-text-fill-color: var(--tw-drawer-error) !important;
}
/* Remove product */

.temiz-cart-drawer__remove {
	grid-column: 2;
	align-self: center;
	justify-self: end;
	position: static !important;
	inset: auto !important;
	float: none !important;
	display: inline-block;
	width: auto !important;
	min-width: 0 !important;
	max-width: 100%;
	margin: 6px 0 0;
	padding: 6px 8px;
	border: 0;
	border-radius: 5px;
	background: var(--tw-drawer-base);
	color: var(--tw-drawer-muted);
	font: inherit;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	appearance: none;
	transform: none !important;
	transition:
		background-color 180ms ease,
		color 180ms ease;
}

.temiz-cart-drawer__remove:hover {
	background: #fff3f2;
	color: var(--tw-drawer-error);
}

.temiz-cart-drawer__remove:focus-visible {
	border-radius: 2px;
	outline: 2px solid var(--tw-drawer-accent);
	outline-offset: 3px;
}

.temiz-cart-drawer__remove:disabled {
	cursor: wait;
	opacity: 0.45;
}

/* Footer summary */

.temiz-cart-drawer__footer {
	position: relative;
	z-index: 5;
	flex: 0 0 auto;
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--tw-drawer-border);
	background: #fbf8f4;
	box-shadow: 0 -10px 28px rgb(28 20 24 / 7%);
}

.temiz-cart-drawer__summary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0;
}

.temiz-cart-drawer__summary-label {
	color: var(--tw-drawer-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.temiz-cart-drawer__summary-value {
	color: var(--tw-drawer-primary);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	text-align: end;
}

.temiz-cart-drawer__summary-note {
	margin: 6px 0 14px;
	color: var(--tw-drawer-muted);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;
}

.temiz-cart-drawer__actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px;
	margin: 0;
}

/* Cart and checkout buttons */

.temiz-cart-drawer__view-cart-button,
.temiz-cart-drawer__checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 14px 20px;
	border: 1px solid var(--tw-drawer-primary);
	border-radius: 7px;
	background: var(--tw-drawer-primary);
	color: #ffffff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
	transform 180ms ease;
}

.temiz-cart-drawer__view-cart-button {
	border-color: var(--tw-drawer-primary);
	background: transparent;
	color: var(--tw-drawer-primary);
}

.temiz-cart-drawer__view-cart-button:hover {
	border-color: var(--tw-drawer-primary);
	background: var(--tw-drawer-base);
	color: var(--tw-drawer-primary);
}

.temiz-cart-drawer__checkout-button:hover {
	border-color: var(--tw-drawer-text);
	background: var(--tw-drawer-text);
	color: #ffffff;
}

.temiz-cart-drawer__view-cart-button:active,
.temiz-cart-drawer__checkout-button:active {
	transform: translateY(1px);
}

.temiz-cart-drawer__view-cart-button:focus-visible,
.temiz-cart-drawer__checkout-button:focus-visible {
	outline: 2px solid var(--tw-drawer-accent);
	outline-offset: 3px;
}

.temiz-cart-drawer__checkout-button svg {
	display: block;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
}

/* Empty cart */

.temiz-cart-drawer__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	padding: 48px 12px calc(48px + env(safe-area-inset-bottom));
	text-align: center;
}

.temiz-cart-drawer__empty-icon {
	display: block;
	width: 58px;
	height: 58px;
	margin: 0 0 23px;
	color: var(--tw-drawer-primary);
	opacity: 0.78;
}

.temiz-cart-drawer__empty-title {
	margin: 0 0 10px;
	color: var(--tw-drawer-text);
	font-family: inherit;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.temiz-cart-drawer__empty-text {
	max-width: 300px;
	margin: 0;
	color: var(--tw-drawer-muted);
	font-size: 13px;
	line-height: 1.65;
}

/* Disabled and busy controls */

.temiz-cart-drawer button:disabled,
.temiz-cart-drawer input:disabled {
	cursor: wait;
}

.temiz-cart-drawer.is-updating .temiz-cart-drawer__item {
	opacity: 0.72;
}

/* Accessibility */

.temiz-cart-drawer .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.temiz-cart-drawer .screen-reader-text:focus {
	z-index: 100000;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	white-space: normal !important;
}

/* Small mobile */

@media (max-width: 380px) {
	.temiz-cart-drawer {
		--tw-drawer-header-height: 66px;
	}

	.temiz-cart-drawer__header,
	.temiz-cart-drawer__body,
	.temiz-cart-drawer__footer {
		padding-inline: 16px;
	}

	.temiz-cart-drawer__feedback {
		inset-inline: 16px;
	}

	.temiz-cart-drawer__title {
		font-size: 18px;
	}

	.temiz-cart-drawer__item {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 12px;
		padding: 10px;
	}

	.temiz-cart-drawer__item-image {
		width: 82px;
	}

	.temiz-cart-drawer__item-content {
		column-gap: 8px;
	}

	.temiz-cart-drawer__item-name {
		font-size: 14px;
	}

	.temiz-cart-drawer__quantity {
		grid-template-columns: 32px 36px 32px;
		width: 102px;
		min-width: 102px;
		max-width: 102px;
		height: 34px;
	}

	.temiz-cart-drawer__quantity-button {
		width: 32px !important;
		min-width: 32px !important;
		max-width: 32px !important;
		height: 32px;
		min-height: 32px !important;
		max-height: 32px;
		flex-basis: 32px;
	}

	.temiz-cart-drawer__quantity-input {
		width: 36px !important;
		min-width: 36px !important;
		max-width: 36px !important;
		height: 32px;
		min-height: 32px !important;
		max-height: 32px;
		line-height: 32px;
		flex-basis: 36px;
	}

	.temiz-cart-drawer__footer {
		padding-top: 15px;
	}

	.temiz-cart-drawer__summary-note {
		margin-bottom: 13px;
	}
}

.temiz-cart-drawer__quantity {
	grid-template-columns: 32px 36px 32px;
	width: 102px;
	min-width: 102px;
	max-width: 102px;
	height: 34px;
}

.temiz-cart-drawer__quantity-button {
	width: 32px !important;
	min-width: 32px !important;
	max-width: 32px !important;
	height: 32px;
	min-height: 32px !important;
	max-height: 32px;
	flex-basis: 32px;
}

.temiz-cart-drawer__quantity-input {
	width: 36px !important;
	min-width: 36px !important;
	max-width: 36px !important;
	height: 32px;
	min-height: 32px !important;
	max-height: 32px;
	line-height: 32px !important;
	flex-basis: 36px;
}
/* Tablet and desktop */

@media (min-width: 768px) {
	.temiz-cart-drawer {
		--tw-drawer-width: 460px;
		--tw-drawer-header-height: 78px;
	}

	.temiz-cart-drawer__header {
		padding-inline: 24px;
	}

	.temiz-cart-drawer__body {
		padding-inline: 24px;
	}

	.temiz-cart-drawer__feedback {
		inset-inline: 24px;
	}

	.temiz-cart-drawer__footer {
		padding-inline: 24px;
	}

	.temiz-cart-drawer__title {
		font-size: 21px;
	}

	.temiz-cart-drawer__item {
		grid-template-columns: 100px minmax(0, 1fr);
		gap: 17px;
		padding: 14px;
	}

	.temiz-cart-drawer__item-image {
		width: 100px;
	}
}

/* Touch devices */

@media (hover: none) and (pointer: coarse) {
	.temiz-cart-drawer__close,
	.temiz-cart-drawer__quantity-button {
		-webkit-tap-highlight-color: transparent;
	}

	.temiz-cart-drawer__remove {
		min-height: 32px;
		padding-block: 8px;
	}
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
	.temiz-cart-drawer__overlay,
	.temiz-cart-drawer__panel,
	.temiz-cart-drawer__close,
	.temiz-cart-drawer__item-image img,
	.temiz-cart-drawer__item,
	.temiz-cart-drawer__view-cart-button,
	.temiz-cart-drawer__checkout-button,
	.temiz-cart-drawer__feedback {
		transition-duration: 1ms !important;
	}

	.temiz-cart-drawer__spinner {
		animation-duration: 1400ms;
	}
}

/* Forced colors */

@media (forced-colors: active) {
	.temiz-cart-drawer__panel,
	.temiz-cart-drawer__header,
	.temiz-cart-drawer__footer,
	.temiz-cart-drawer__item,
	.temiz-cart-drawer__quantity,
	.temiz-cart-drawer__view-cart-button,
	.temiz-cart-drawer__checkout-button {
		border-color: CanvasText;
	}

	.temiz-cart-drawer__overlay {
		background: rgb(0 0 0 / 70%);
	}
}