/* #region Image silder / builder-view */
.product-customisable .images .slides {
	list-style: none;
	margin: 0;
}

.product-customisable .flex-viewport {
	width: 100%;
}

.product-customisable .product-image {
	width: 100%;
	background-color: #fff;
	border-radius: 5px;
	padding: 50px;
	/* max-height: calc(100vh - 200px); */

	opacity: 0;
	animation-name: custom-product-fadein;
	animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
	animation-duration: 800ms;
	animation-delay: 200ms;
	animation-fill-mode: forwards;
}

@keyframes custom-product-fadein {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

.builder-view {
	position: relative;
}

.builder-view .area {
	width: 100px;
	height: 100px;
	position: absolute;
	background-color: transparent;
	border: transparent 1px dashed;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	cursor: pointer;
	--icon-size: 20px;
}

.product-customise-designer .builder-view .area {
	padding: var(--icon-size);
	box-sizing: content-box;
}

.product-customisable .product-image:hover .area {
	border-color: rgba(150, 150, 150, 0.8);
}

.product-customisable .builder-view .area:hover,
.product-customisable .builder-view .area.highlight {
	border-color: var(--primary-color);
	background-color: rgba(255, 255, 255, 0.05);
}

.product-customisable .builder-view .area img {
	object-fit: contain;
	max-width: 100%;
	max-height: 100%;
}

.product-customisable .builder-view .area:not(.ui-draggable-dragging, .ui-rotatable-rotating):hover :is(.ui-rotatable-handle, .ui-resize, .ui-remove),
.product-customisable .builder-view .area.ui-rotatable-rotating .ui-rotatable-handle {
	display: block;
}

.ui-rotatable-handle,
.ui-resize,
.ui-remove {
	display: none;
	height: var(--icon-size);
	width: var(--icon-size);
	cursor: pointer;
	background-size: 100%;
	position: absolute;
	top: calc(var(--icon-size) * -0.5);
}

.ui-rotatable-handle {
	background-image: url(/wp-content/themes/zo24/images/circle_rotate.svg);
	left: calc(var(--icon-size) * -0.5);
}

.ui-resize {
	background-image: url(/wp-content/themes/zo24/images/circle_resize.svg);
	left: calc(var(--icon-size) * 0.5 + 5px);
}

.ui-remove {
	background-image: url(/wp-content/themes/zo24/images/circle_remove.svg);
	right: calc(var(--icon-size) * -0.5);
}

@media (hover: none) and (pointer: coarse) {
	.product-customisable .product-image .area {
		border-color: rgba(150, 150, 150, 0.8);
	}
}

/* #endregion */

/* #region Product slider - logo add / variant select */
#product-slider-add-logo {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 1;
	cursor: pointer;

	width: 60px;
	height: 60px;
	border-radius: 100%;
	background-color: var(--primary-color);
	color: #fff;

	display: flex;
	align-items: center;
	justify-content: center;
}

#product-slider-add-logo::after {
	content: "+";
	font-size: 50px;
}

#logo-variant-selector {
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 1;

	min-width: 220px;
	background-color: #fff;
	border-radius: 5px;
	padding: 15px 20px 10px;
	box-shadow: rgba(0, 0, 0, 0.2) 0 3px 6px;

	display: flex;
	flex-direction: column;
	gap: 15px;
}

#logo-variant-selector .close {
	position: absolute;
	top: 15px;
	right: 15px;
	padding: 5px;
	cursor: pointer;
	width: auto;
}

#logo-variant-selector h5 {
	font-size: 14px;
	font-weight: 500;
}

#logo-variant-selector ul {
	list-style-type: none;
	display: flex;
	flex-direction: column;
	gap: 10px;

	max-height: 500px;
	overflow-y: auto;
	padding-bottom: 10px;
	border-bottom: solid 1px rgba(170, 170, 170, 0.2);
}

#logo-variant-selector ul::-webkit-scrollbar {
	width: 8px;
}

#logo-variant-selector ul::-webkit-scrollbar-track {
	background: #f6f6f6;
}

#logo-variant-selector ul::-webkit-scrollbar-thumb {
	background: #dddddd;
}

#logo-variant-selector ul::-webkit-scrollbar-thumb:hover {
	background: #bbbbbb;
}

#logo-variant-selector ul li {
	cursor: pointer;
	padding-right: 5px;

	display: flex;
	align-items: center;
	gap: 10px;
}

#logo-variant-selector ul li img {
	width: 32px;
	height: 32px;
	object-fit: contain;

	background: repeating-conic-gradient(#ddd 0% 25%, #f0f0f0 0% 50%) 50% / 4px 4px;
	padding: 2px;
	border-radius: 2px;
	border: solid 1px #c9c9c9;
}

#logo-variant-selector ul li.active,
#logo-variant-selector ul li:hover {
	color: var(--primary-color);
}

#logo-variant-selector ul li.active::after {
	content: "Current";
	margin-left: auto;
	font-size: 10px;
	color: rgba(153, 153, 153, 0.5);
}

#logo-variant-selector ul li.active img {
	border-color: var(--primary-color);
}

/* #endregion */

/* #region logo size slider */
.product-customisable {
	align-items: flex-start;
}

.logo-size-slider-card {
	display: none;
	position: sticky;
	right: 0;
	bottom: 0;
	margin-top: 10px;
	width: 100%;
	min-height: 170px;
	background: #fff;
	border-radius: 5px;
	padding: 30px;
	flex-direction: column;
	gap: 5px;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.product-customisable.slider-shown {
	padding-bottom: 180px;
	pointer-events: none;
}

.product-customisable.slider-shown::after {
	content: " ";
	z-index: 9;
	display: block;
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.2);
}

.product-customisable.slider-shown .select {
	z-index: 0;
}

.product-customisable.slider-shown .flex-viewport {
	z-index: 10;
}

.product-customisable.slider-shown .logo-size-slider-card {
	pointer-events: all;
	display: flex;
	z-index: 10;
}

.logo-size-slider-card .text {
	color: #222;
	font-size: 14px;
	font-weight: 400;

	display: flex;
	justify-content: space-between;
}

.logo-size-slider-card .text p {
	padding: 0;
}

.logo-size-slider-card .text span {
	color: #aaa;
	font-size: 12px;
}

.logo-size-slider-card input[type="range"] {
	-webkit-appearance: none;
	height: 5px;
	background: #ebebeb;
	border-radius: 5px;
	background-image: linear-gradient(var(--primary-color), var(--primary-color));
	background-size: 100% 100%;
	background-repeat: no-repeat;
	margin: 10px 0;
}

.logo-size-slider-card input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	height: 20px;
	width: 20px;
	border-radius: 50%;
	background: #fff;
	cursor: ew-resize;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.5);
}

/* #endregion */

/* #region Right col */
.product-customisable .summary hr {
	border: none;
	height: 1px;
	background-color: rgba(170, 170, 170, 0.1);
	margin: 15px 0;
}

.product-customisable .select-title {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 5px;
}

/* #endregion */

/* #region Lines */
.product-lines {
	margin-bottom: 20px;
}

.product-lines .line-title {
	color: var(--primary-color);
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 5px;
}

.product-lines table {
	border-collapse: collapse;
	width: 100%;
	border-top: rgba(170, 170, 170, 0.2) 1px solid;
	font-size: 11px;
}

.product-lines tbody tr {
	border-bottom: rgba(170, 170, 170, 0.2) 1px solid;
}

.product-lines tfoot tr {
	border-bottom: rgba(170, 170, 170, 0.5) 1px solid;
}

.product-lines table tr td {
	padding: 10px 0;
}

.product-lines table tr td:last-child {
	text-align: end;
}

.product-lines table .name {
	color: #555;
}

.product-lines table .sku {
	color: #aaa;
}

.product-lines table .price {
	white-space: nowrap;
	color: #222;
	font-size: 12px;
}

.product-lines tfoot {
	color: #555;
	font-weight: 700;
}

.product-lines tfoot span {
	color: #aaa;
	font-size: 10px;
	font-weight: 400;
	margin-left: 5px;
}

.product-lines tfoot .total {
	white-space: nowrap;
	color: #222;
	font-size: 12px;
}

/* #endregion */

/* #region inserted logos */

.inserted-logos {
	width: 100%;
	display: grid;
	align-items: start;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 10px 15px;
}

.inserted-logos .item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.product-customisable .inserted-logos .logo {
	cursor: pointer;
}

.inserted-logos .item .add-logo {
	width: 100px;
	height: 100px;
	background-color: #ebebeb;
	color: #fff;
	border-radius: 5px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.inserted-logos .item .add-logo::after {
	content: "+";
	font-size: 100px;
}

.inserted-logos .item:hover .add-logo {
	background-color: #ddd;
}

.inserted-logos .item:has(.add-logo) {
	cursor: pointer;
}

.inserted-logos .item .img-container {
	width: 100px;
	height: 100px;
	background: #fff;
	border: var(--primary-color) 2px solid;
	border-radius: 5px;
	padding: 5px;
	display: flex;
	position: relative;
}

.inserted-logos .item.logo .img-container {
	background: repeating-conic-gradient(#ddd 0% 25%, #f0f0f0 0% 50%) 50% / 20px 20px;
}

.inserted-logos .item .item-image {
	object-fit: contain;
}

.inserted-logos .item.logo .item-image {
	filter: drop-shadow(0px 0px 3px rgba(34, 34, 34, 0.25));
}

.inserted-logos .logo .item-remove {
	display: none;
	position: absolute;
	top: -7px;
	right: -7px;
	width: 20px;
	cursor: pointer;
	z-index: 1;
}

.product-customisable .inserted-logos .logo:hover .item-remove {
	display: block;
}

.inserted-logos .item .text {
	color: #555;
	font-size: 10px;
	font-weight: 400;
	text-align: center;
	padding: 0;
}

.inserted-logos .item .cost {
	font-weight: 600;
}

/* #endregion */

/* #region actions */
.single-customisable-product button {
	min-width: 120px;
	height: 50px;
	padding: 0 30px;
	background-color: #f7f7f7;
	border: none;
	border-radius: 3px;
	color: #222;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.product-customisable .product-actions {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.product-customisable .product-actions .btn-accept {
	background-color: var(--primary-color);
	color: #fff;
}

.product-customisable .product-actions .btn-cancel {
	background-color: #eaeaea;
}

.product-customisable .product-actions .btn-request {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding-right: 20px;
}

.product-customisable .product-actions .btn-request img {
	width: 30px;
	height: 30px;
	padding: 5px;
	background-color: var(--primary-color);
	border-radius: 5px;
}

/* #endregion*/

/* #region modal */
body.modal-open {
	height: 100vh;
	overflow: hidden;
	padding-right: 15px;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.modal.hide {
	display: none;
}

.modal-card {
	flex: 1;
	max-height: 90%;
	background-color: #fff;
	margin: 20px;
	border-radius: 5px;
	max-width: 850px;
	width: calc(100% - 20px);
	position: relative;
	overflow: hidden;
	max-height: 95vh;
}

.modal-inner {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 40px 35px 25px;
}

.modal-inner hr {
	width: calc(100% + 35px * 2);
	height: 1px;
	border: none;
	background-color: hsl(0deg 0% 96%);
	margin: 15px -35px;
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 5px;
	cursor: pointer;
}

.modal h2 {
	color: #222;
	font-size: 18px;
	font-weight: 500;
}

.modal h3 {
	color: #222;
	font-size: 14px;
	font-weight: 700;
}

.modal .modal-header .modal-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	background: #ebebeb;
	color: #222222;
	border: none;
	border-radius: 3px;
	padding: 10px 15px;
	height: auto;
	font-size: 12px;
	font-weight: normal;
	white-space: nowrap;
	cursor: pointer;
	position: relative;
}

.stock-modal .logo-order-dialog button {
	position: relative;
}

.modal .modal-header .modal-btn svg {
	width: 12px;
}

.modal .modal-header .modal-btn .count {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	background-color: #fff;
	border-radius: 100%;
	color: #3c3c3c;
	font-size: 10px;
	font-weight: 600;
}

.modal .modal-header .modal-btn .count:empty {
	display: none;
}

.modal .modal-header .modal-btn[data-filter="deleted"] {
	background-color: #e0e0e0;
	color: #808080;
}

.modal .modal-header .modal-btn:hover {
	background-color: #222222;
	color: #fff;
}

.modal .modal-header .modal-btn.active svg path,
.modal .modal-header .modal-btn:hover svg path {
	fill: #fff;
	opacity: 1;
}

.modal .modal-header .modal-btn.active {
	background-color: #222222;
	color: #fff;
}

.modal .modal-header .modal-btn.add-new,
.modal .modal-btn.add-new {
	background-color: #353535;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.modal button.add-new {
	flex-basis: 100%;
}

.modal .modal-btn.add-new::after {
	content: "+";
	width: 20px;
	height: 20px;
	vertical-align: middle;
	display: inline-flex;
	justify-content: center;
	background-color: #fff;
	color: #353535;
	border-radius: 3px;
	font-size: 20px;
	line-height: 20px;
	font-weight: 500;
}

.modal-header {
	display: flex;
	gap: 10px;
}

.modal-header button:last-child {
	margin-left: auto;
}

.modal input:not([type="checkbox"]),
.modal select,
.modal textarea {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	outline: none;
	border: rgba(170, 170, 170, 0.5) 1px solid;
	border-radius: 3px;
}

.modal input:not([type="checkbox"]),
.modal select {
	height: 45px;
	line-height: 45px;
}

.modal textarea {
	height: 150px;
	resize: none;
	line-height: 30px;
}

.modal input:focus,
.modal textarea:focus {
	border-color: rgba(170, 170, 170, 1);
}

.modal-search {
	position: relative;
	display: flex;
	align-items: center;
	margin: 10px 0px 10px 0px;
}

.modal-search input {
	padding-left: 35px;
}

.modal-search-icon {
	filter: invert(1);
	position: absolute;
	left: 10px;
	pointer-events: none;
}

.modal-search-clear {
	display: none;
	background-color: #eee;
	border-radius: 100%;
	padding: 5px;
	position: absolute;
	right: 10px;
	cursor: pointer;
}

.modal-filter div {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.modal-filter div span {
	margin-right: auto;
	font-size: 14px;
}

.modal-filter button {
	height: 40px;
	border-radius: 100px;
}

.modal-filter button.active {
	background-color: var(--primary-color);
	color: #fff;
}

.modal-body {
	min-height: 100px;
	height: 100%;
	position: relative;
	border-left: none;
	border-right: none;
	margin: 0 -35px;
	overflow-y: auto;
}

.modal-loading {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;

	position: absolute;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 1;

	color: var(--primary-color);
	font-size: 14px;
	font-weight: 700;
}

.modal-no-results {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	height: 100%;
	padding: 50px;
	color: #555;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

.modal-logo-grid {
	max-height: 100%;
	padding: 10px 35px;

	display: grid;
	justify-items: center;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 15px 10px;
}

.modal-logo-cell {
	width: 140px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	position: relative;
	cursor: pointer;
}

.modal-logo-cell .img-container {
	z-index: 1;
	display: flex;
	position: relative;
}

.modal-logo-cell .img-container,
.modal-logo-cell.stacked::before,
.modal-logo-cell.stacked::after {
	width: 100%;
	height: 140px;
	background: repeating-conic-gradient(#ddd 0% 25%, #f0f0f0 0% 50%) 50% / 10px 10px;
	border: 1px rgba(170, 170, 170, 0.5) solid;
	border-radius: 3px;
	padding: 5px;
}

.modal-logo-cell.stacked::before,
.modal-logo-cell.stacked::after {
	--offset: -2px;
	content: "";
	pointer-events: none;
	position: absolute;
	background: rgb(240, 240, 240, 50%);
	border: 1px rgba(170, 170, 170, 0.25) solid;
}

.modal-logo-cell.stacked::after {
	top: var(--offset);
	right: var(--offset);
}

.modal-logo-cell.stacked::before {
	top: calc(var(--offset) * 2);
	right: calc(var(--offset) * 2);
}

.modal-logo-cell.stacked:hover::before,
.modal-logo-cell.stacked:hover::after {
	border-color: rgba(85, 85, 85, 0.3);
}

.modal-logo-cell .stack-size,
.modal-logo-cell .logo-type {
	position: absolute;
	left: 2px;
	background-color: #fff;
	padding: 3px;
	pointer-events: none;
	transition: opacity 150ms;
}

.modal-logo-cell .stack-size {
	top: 2px;
	min-width: 24px;
	height: 24px;
	border-radius: 100vw;
	box-shadow: rgba(0, 0, 0, 0.2) 0 3px 6px;

	display: grid;
	justify-content: center;
	align-items: center;

	font-size: 11px;
	font-weight: 600;
}

.modal-logo-cell .logo-type {
	bottom: 2px;
	min-width: 20px;
	height: 20px;
	border-radius: 3px;

	display: flex;
	align-items: center;
	gap: 5px;
}

.modal-logo-cell .delete-logo {
	display: none;
	position: absolute;
	top: -7px;
	right: -7px;
	width: 20px;
	cursor: pointer;
	z-index: 1;
}

.modal-logo-cell.delete .delete-logo,
.modal-logo-cell:not([data-deleted="1"]):hover .delete-logo {
	display: block;
}

.tooltip-delete-logo {
	background-color: #222;
	color: #fff;
	display: flex;
	flex-direction: column;
	position: absolute;
	border-radius: 3px;
	padding: 7px 12px;
	z-index: 99999;
	top: -10px;
	left: calc(100% + 15px);
	white-space: nowrap;
}

.tooltip-delete-logo:before {
	content: "";
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16.971" height="16.971" viewBox="0 0 16.971 16.971">  <rect id="Rectangle_1334" data-name="Rectangle 1334" width="12" height="12" rx="2" transform="translate(0 8.485) rotate(-45)" fill="%23222"/></svg>');
	background-size: contain;
	width: 12px;
	height: 12px;
	position: absolute;
	right: calc(100% - 7px);
	top: 9px;
}

.tooltip-delete-logo a {
	padding-right: 30px;
	text-decoration: none;
	line-height: 1.8;
	opacity: 0.8;
}

.tooltip-delete-logo a:hover {
	opacity: 1;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="6.732" height="8.044" viewBox="0 0 6.732 8.044">  <g id="np_trash_5541004_000000" transform="translate(-10.246 -2.5)">    <path id="Path_352" data-name="Path 352" d="M16.727,14.62H10.5a.251.251,0,0,1,0-.5h6.23a.251.251,0,1,1,0,.5Z" transform="translate(0 -10.634)" fill="%23fff"/>    <path id="Path_353" data-name="Path 353" d="M34.416,3.987H31.794a.251.251,0,0,1-.251-.251V3.006a.506.506,0,0,1,.506-.506h2.113a.506.506,0,0,1,.506.506v.729a.251.251,0,0,1-.251.251Zm-2.37-.5h2.119V3.006L32.048,3Z" transform="translate(-19.493)" fill="%23fff"/>    <path id="Path_354" data-name="Path 354" d="M47.283,34.043a.251.251,0,0,1-.251-.251V29.857a.251.251,0,0,1,.5,0v3.935A.251.251,0,0,1,47.283,34.043Z" transform="translate(-33.67 -24.81)" fill="%23fff"/>    <path id="Path_355" data-name="Path 355" d="M31.795,34.043a.251.251,0,0,1-.251-.251V29.857a.251.251,0,0,1,.5,0v3.935A.251.251,0,0,1,31.795,34.043Z" transform="translate(-19.494 -24.81)" fill="%23fff"/>    <path id="Path_356" data-name="Path 356" d="M62.771,34.043a.251.251,0,0,1-.251-.251V29.857a.251.251,0,0,1,.5,0v3.935A.251.251,0,0,1,62.771,34.043Z" transform="translate(-47.847 -24.81)" fill="%23fff"/>    <path id="Path_357" data-name="Path 357" d="M20.29,21.174H17.571A1.234,1.234,0,0,1,16.338,20l-.281-5.623a.251.251,0,0,1,.251-.264h5.246a.251.251,0,0,1,.251.264L21.523,20a1.234,1.234,0,0,1-1.234,1.173Zm-3.718-6.557.268,5.359a.732.732,0,0,0,.731.7H20.29a.732.732,0,0,0,.731-.7l.268-5.359Z" transform="translate(-5.318 -10.63)" fill="%23fff"/>  </g></svg>');
	background-repeat: no-repeat;
	background-size: 10px;
	background-position: right 0px center;
}

.modal-logo-cell[data-deleted="1"] .img-container:after {
	content: "Recover";
	background-color: var(--primary-color);
	color: #fff;
	padding: 12px 20px;
	border-radius: 5px;
	font-size: 14px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
}

.modal-logo-cell[data-deleted="1"] .img-container:hover:after {
	display: block;
}

.modal-logo-cell .logo-type img {
	width: 14px;
	height: 14px;
}

.modal-logo-cell:hover :is(.stack-size, .logo-type) {
	opacity: 0;
}

.modal-logo-cell.highlight {
	color: var(--primary-color);
	order: -1;
}

.modal-logo-cell.highlight .img-container {
	border-color: var(--primary-color);
}

.modal-logo-cell:hover:not(.disabled) {
	border-color: #555;
}

.modal-logo-cell:hover:not(.disabled) .img-container {
	border-color: #999;
	box-shadow: rgba(85, 85, 85, 0.15) 0 0 7px;
}

.modal-logo-cell.disabled[data-deleted=""] {
	color: #ccc;
	cursor: not-allowed;
}

.modal-logo-cell.disabled[data-deleted=""] .img-container {
	opacity: 0.3;
}

.modal-logo-cell.disabled[data-deleted=""]::after {
	content: "This logo does not fit into this position";
	display: none;
	position: absolute;
	height: 140px;
	background-color: #f7f7f7;
	padding: 20px;
	border-radius: 3px;
	color: #222;
	align-items: center;
	text-align: center;
}

.modal-logo-cell.disabled[data-deleted=""]:hover::after {
	display: flex;
}

.modal-logo-cell img {
	height: 100%;
	filter: drop-shadow(0px 0px 3px rgba(34, 34, 34, 0.25));
	object-fit: contain;
}

.modal-logo-cell .logo-size-price {
	display: flex;
	justify-content: space-between;
}

.modal-footer {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: flex-end;
	width: 100%;
	gap: 10px;
	margin-top: 10px;
}

.modal-footer>button:only-child {
	margin: 0 auto;
}

.modal-footer span {
	font-weight: 700;
}

.modal-footer .types {
	text-transform: capitalize;
}

/* #endregion */

/* #region modal upload overlay */
.modal .upload-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 99;
	background-color: #fff;
}

.modal .upload-overlay.hide {
	display: none;
}

.modal .drop {
	border: #aaa 1px dashed;
	border-radius: 5px;
	position: relative;
	overflow: hidden;
	padding: 30px;
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.modal .drop.dragged-over {
	border-color: #555;
	background-color: #f7f7f7;
}

input#logo-upload-file {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	top: 0;
	opacity: 0;
	cursor: pointer;
}

.modal .drop .info {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;

	color: #555555;
	font-size: 14px;
	font-weight: 400;
}

.upload-icon {
	text-align: center;
}

.modal .drop .info svg {
	width: 18px;
	height: 18px;
}

.modal .drop .info p {
	font-size: 12px;
	line-height: 1.3;
}

.modal .drop .info p:first-of-type {
	font-size: 18px;
}

.logo-modal .modal-btn-clear {
	display: none !important;
}

.modal .drop .info .filename:not(:empty) {
	min-width: min(300px, 100%);
	background-color: #99999933;
	border-radius: 5px;
	padding: 10px 15px;
	margin-top: 10px;
	color: #222;
	font-size: 14px;
	text-align: center;
}

.modal .drop .info .browse {
	color: var(--primary-color);
	font-weight: 400;
}

.modal.logo-modal .logo-upload-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.modal.logo-modal .logo-upload-form .btn {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff;
	position: relative;
	text-transform: uppercase;
	font-weight: 500;
}

.stock-modal .logo-order-dialog button svg,
.modal.logo-modal .logo-upload-form .btn svg {
	width: 30px;
	background-color: #fff;
	border-radius: 5px;
	padding: 7px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.stock-modal .logo-order-dialog button svg path,
.modal.logo-modal .logo-upload-form .btn svg path {
	fill: var(--primary-color);
}

.modal .divider {
	width: 100%;
	height: 1px;
	background-color: #d3d3d3;

	margin: 20px 0;

	display: flex;
	justify-content: center;
	align-items: center;
}

.modal .divider span {
	background: #fff;
	padding: 0 25px;

	color: #555;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
}

#logo-upload-name {
	width: 100%;
	height: 50px;
	border-right: 0;
}

.modal .name-wrap {
	width: 100%;
	display: flex;
}

.modal .name-wrap input[type="submit"],
.modal .name-wrap button {
	width: 115px;
	border: 0;
	background: var(--primary-color);
	color: #fff;
	height: 50px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	font-weight: bold;
	flex-shrink: 0;
}

.modal .name-wrap input[type="submit"]:disabled {
	background: #555;
}

.modal .name-wrap input[type="text"] {
	width: 100%;
	height: 50px;
	border-right: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

/* #endregion */

/* #region request modal */
.request-modal .modal-inner {
	height: 100%;
	padding: 50px 90px;
	align-items: center;
	overflow: auto;
}

.request-modal h1 {
	color: #222;
	font-size: 32px;
	font-weight: 400;
}

.request-modal h3 {
	color: #555;
	font-size: 12px;
	font-weight: 400;
}

.request-modal .custom-product-preview-container {
	flex: 100;
	margin: 20px 0;
}

.request-modal .custom-product-preview {
	height: 100%;
	border: rgba(112, 112, 112, 0.1) 1px solid;
	border-radius: 5px;
	padding: 20px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.request-modal .builder-view {
	/* height: 100%; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.request-modal .builder-view img {
	/* width: 100%; */
	/* height: auto; */
	max-height: min(25vh, 250px);
}

.request-modal .builder-view .area {
	cursor: unset;
}

.request-modal label {
	width: 100%;
	color: #222;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
}

.request-modal button.custom-product-next {
	background-color: #222;
}

.request-modal .custom-product-error {
	width: 100%;
	height: 20px;
	line-height: 20px;
	color: #db5b5b;
}

.request-modal .custom-product-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 99;
	background-color: #fff;
	overflow-y: auto;
}

.request-modal .custom-product-overlay.hide {
	display: none;
}

.request-modal .custom-product-overlay p {
	flex-basis: 100%;
	text-align: center;
	margin-top: 10px;
}

.request-modal .custom-product-overlay a {
	color: var(--primary-color);
	text-decoration: none;
}

.request-modal .custom-product-summary,
.request-modal .custom-product-logos {
	width: 100%;
}

.request-modal .btn-confirm {
	background-color: var(--primary-color);
	color: #fff;
	position: relative;
}

.request-modal .btn-confirm:disabled {
	color: transparent;
}

.request-modal .btn-confirm:disabled::after {
	content: "";
	position: absolute;
	top: calc(50% - 15px);
	left: calc(50% - 15px);
	border-radius: 50%;
	width: 30px;
	height: 30px;
	border: 3px solid transparent;
	border-top-color: #fff;
	animation: preoaderSpin 1s infinite linear;
}

/* #endregion */

/* #region how it works */
.single-customisable-product {
	background: #fff;
}

.single-customisable-product main.content {
	background: #f7f7f7;
	display: flex;
	flex-direction: column;
}

.how-it-works {
	margin-top: auto;
	width: 100%;
	background-color: #fff;
}

.how-it-works p {
	padding: 0;
}

.how-it-works .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding-bottom: 50px;
}

.how-it-works h1 {
	font-size: 32px;
	font-weight: 400;
}

.how-it-works h2 {
	font-size: 18px;
	font-weight: 400;
}

.how-it-works .steps {
	display: flex;
	flex-wrap: wrap;
	gap: 30px 0;
	margin: 35px 0;
}

.how-it-works .step {
	flex-basis: 200px;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	padding: 0 30px;
}

.how-it-works .step:not(:last-child) {
	border-right: rgba(112, 112, 112, 0.1) 1px solid;
}

.how-it-works .step .circle {
	width: 55px;
	height: 55px;
	border-radius: 100%;
	background-color: #f7f7f7;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--primary-color);
	font-size: 18px;
	font-weight: 700;
}

.how-it-works .step p:first-of-type {
	font-size: 16px;
	font-weight: 700;
}

.how-it-works .step a {
	color: var(--primary-color);
	text-decoration: none;
}

.how-it-works button {
	margin: 10px 0;
}

@media (max-width: 768px) {
	.how-it-works .step {
		min-width: 300px;
		flex: 1 0 100%;
		border: none !important;
	}
}

/* #endregion */

/* #region media queries */
@media (max-width: 992px) {
	.logo-size-slider-card {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.product-lines table tr td {
		padding: 2px 0;
		text-align: left;
	}

	.product-lines table tr td:last-child {
		padding-right: 0px;
		min-width: 100px;
	}

	.product-details {
		margin-top: 20px;
	}

	.details-table {
		margin-top: 10px;
	}

	.single-product .product .product-lines tbody tr {
		display: flex;
		flex-direction: column;
	}

	.single-product .product .product-lines tbody tr td:first-child {
		padding-top: 10px;
	}

	.single-product .product .product-lines tbody tr td:last-child {
		padding-bottom: 10px;
		text-align: left;
	}

	.single-product .product .product-lines table tr td {
		display: flex;
		align-items: center;
	}

	.single-product .product .product-lines table tfoot tr td {
		display: block;
	}

	.single-product .product .product-lines tfoot tr {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 15px 0px;
	}

	.modal-card {
		max-height: 100%;
		margin: 10px;
		margin-bottom: 50px;
	}

	.modal-body {
		margin: 0 -20px;
	}

	.modal-inner {
		padding: 25px 20px;
	}

	.modal-inner hr {
		width: calc(100% + 20px * 2);
		margin-left: -20px;
		margin-right: -20px;
	}

	.modal-filter div {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.modal-filter div span {
		flex-basis: 100%;
		width: 100%;
	}

	button.modal-btn-filter {
		flex: 1 0 40%;
		height: 35px;
	}

	.modal .modal-header button {
		height: 45px;
		padding: 0 10px;
		line-height: auto;
		white-space: pre-line;
		min-width: auto;
		font-size: 12px;
		line-height: 1.4;
	}

	.modal-header {
		gap: 5px;
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.modal .modal-header button.add-new::after {
		width: 15px;
		height: 15px;
		font-size: 15px;
		line-height: 15px;
	}

	.how-it-works {
		padding-top: 40px;
	}

	.how-it-works .container {
		gap: 5px;
	}

	.product-customisable {
		padding-bottom: 40px;
	}

	.product-customisable .product-actions {
		justify-content: center;
		gap: 10px;
		flex-direction: column-reverse;
	}

	.product-customisable .product-actions .btn-cancel {
		width: 100%;
		background-color: #f2f2f2;
	}

	.request-modal .modal-inner {
		padding: 20px;
	}

	.request-modal h1 {
		font-size: 25px;
	}

	.modal .name-wrap input[type="text"] {
		border: solid 1px #ccc;
		border-radius: 4px;
	}

	.modal .name-wrap {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.request-modal button.custom-product-next {
		width: 100%;
		border-radius: 4px;
	}

	.modal.request-modal .modal-footer {
		width: 100%;
	}

	.modal.request-modal .modal-footer button.btn.btn-cancel {
		width: 100%;
		border-radius: 4px;
	}

	.inserted-logos .item .text {
		margin-top: 0;
	}

	.product-lines tfoot span {
		margin-left: 0;
		display: block;
	}

	.modal-header button:last-child {
		margin-left: 0;
	}

	.modal .drop .info {
		text-align: center;
	}

	.product-customisable .product-actions .btn-request {
		justify-content: center;
	}

	.product-customisable .product-actions .btn-request img {
		position: absolute;
		right: 20px;
	}
}

/* #endregion */

/* Close Popup */

.single-customisable-product button.modal-close {
	height: 40px;
	min-width: 40px;
	padding: 0;
	font-size: 0;
	background-image: url(../images/close-icon.svg);
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 100px;
	top: 10px;
	right: 10px;
	opacity: .8;
	background-color: transparent;
}

.single-customisable-product button.modal-close:hover {
	opacity: 1;
}

.expired-notice {
	padding: 20px 0px 10px;

	.product-lines {
		.product-description {
			margin-top: 0px;

			>p {
				padding-bottom: 0px;
				font-size: 12px;
			}
		}

		.line-title {
			border-bottom: 1px solid #aaaaaa21;
			padding-bottom: 5px;
		}

		.product-info {
			display: flex;
			align-items: center;
			gap: 20px;
			text-decoration: none;
			width: 100%;
			font-weight: 500;
			padding: 10px 0px;

			img {
				width: 50px;
				height: 50px;
				object-fit: contain;

			}

			.title-and-subline {
				display: flex;
				flex-direction: column;
				gap: 2px;
				font-size: 14px;

				p {
					padding-bottom: 0px;
				}
			}

			.subline {
				font-size: 10px;
				color: #22222280;
			}

		}
	}
}