/* Character picker + Label style – polished for My Brand Shop */

.ila-character-picker,
.ila-style-options {
	margin: 1.25rem 0;
	padding: 1.25rem 1.35rem;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ila-picker-title {
	margin: 0 0 0.85rem;
	font-size: 1rem;
	font-weight: 600;
	color: #2c2c2c;
}

.ila-picker-hint {
	margin: 0 0 0.85rem;
	font-size: 0.875rem;
	color: #666;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-wrap: wrap;
}

.ila-back-cats {
	background: #fff;
	border: 1px solid #d0d4d9;
	border-radius: 6px;
	padding: 5px 12px;
	cursor: pointer;
	font-size: 0.8rem;
	color: #444;
	transition: border-color 0.15s, color 0.15s;
}
.ila-back-cats:hover {
	border-color: #ff6b4a;
	color: #ff6b4a;
}

.ila-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ila-cat-btn {
	background: #f7f8fa;
	border: 1.5px solid #e0e3e8;
	border-radius: 8px;
	padding: 0.5rem 0.95rem;
	cursor: pointer;
	font-size: 0.875rem;
	color: #333;
	transition: all 0.15s ease;
}
.ila-cat-btn:hover {
	border-color: #ff6b4a;
	background: #fff5f2;
}
.ila-cat-btn.is-active {
	border-color: #ff6b4a;
	background: #ff6b4a;
	color: #fff;
	box-shadow: 0 2px 6px rgba(255, 107, 74, 0.25);
}

.ila-image-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
	gap: 0.55rem;
	max-height: 260px;
	overflow-y: auto;
	padding: 0.15rem 0;
}

.ila-img-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	background: #fafbfc;
	border: 2px solid #e8eaed;
	border-radius: 8px;
	padding: 6px;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.ila-img-btn img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}
.ila-img-btn:hover {
	border-color: #ffb39a;
	background: #fff;
}
.ila-img-btn.is-selected {
	border-color: #ff6b4a;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.2);
}

.ila-no-images {
	color: #c0392b;
	font-size: 0.875rem;
	margin: 0.5rem 0 0;
}

.ila-style-options {
	margin-top: 0.75rem;
}

.ila-style-row {
	margin-bottom: 1rem;
}
.ila-style-row:last-of-type {
	margin-bottom: 0;
}

.ila-style-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ila-colour-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.ila-colour-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid transparent;
	cursor: pointer;
	padding: 0;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
	transition: transform 0.12s, box-shadow 0.12s;
}
.ila-colour-btn:hover {
	transform: scale(1.08);
}
.ila-colour-btn.is-selected {
	border-color: #333;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ff6b4a;
}

.ila-font-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.ila-font-btn {
	background: #fff !important;
	border: 1.5px solid #d5d8dd !important;
	border-radius: 8px !important;
	padding: 0.55rem 1rem !important;
	cursor: pointer;
	font-size: 0.9rem !important;
	line-height: 1.25 !important;
	color: #222 !important;
	min-width: 6rem;
	min-height: 2.4rem;
	text-align: center;
	transition: all 0.15s ease;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}
.ila-font-btn:hover {
	border-color: #ff6b4a !important;
	background: #fff8f6 !important;
}
.ila-font-btn.is-selected {
	border-color: #ff6b4a !important;
	background: #fff5f2 !important;
	color: #e85a3a !important;
	font-weight: 600 !important;
	box-shadow: 0 0 0 1px #ff6b4a;
}

.ila-size-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.ila-size-btn {
	background: #fff !important;
	border: 1.5px solid #d5d8dd !important;
	border-radius: 8px !important;
	padding: 0.55rem 1.15rem !important;
	cursor: pointer;
	font-size: 0.875rem !important;
	color: #333 !important;
	min-width: 5rem;
	min-height: 2.4rem;
	text-align: center;
	transition: all 0.15s ease;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}
.ila-size-btn:hover {
	border-color: #ff6b4a !important;
	background: #fff8f6 !important;
}
.ila-size-btn.is-selected {
	border-color: #ff6b4a !important;
	background: #ff6b4a !important;
	color: #fff !important;
	font-weight: 600 !important;
	box-shadow: 0 2px 6px rgba(255, 107, 74, 0.3);
}

/* Name / Surname / Sheets form */
.ila-name-form {
	margin: 1.25rem 0;
	padding: 1.25rem 1.35rem;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.ila-name-form .ila-field {
	margin: 0 0 1rem;
}
.ila-name-form .ila-field:last-child {
	margin-bottom: 0;
}
.ila-name-form label,
.ila-name-form legend {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.ila-name-form input[type="text"] {
	width: 100%;
	max-width: 320px;
	padding: 0.6rem 0.75rem;
	border: 1.5px solid #d5d8dd;
	border-radius: 8px;
	font-size: 1rem;
	color: #222;
}
.ila-name-form input[type="text"]:focus {
	border-color: #ff6b4a;
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.15);
}
.ila-name-form .required {
	color: #e85a3a;
}
.ila-sheets-field {
	border: none;
	padding: 0;
	margin: 0;
}
.ila-check {
	display: flex !important;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	color: #333 !important;
	margin-bottom: 0.45rem !important;
	cursor: pointer;
}
.ila-check input {
	width: 18px;
	height: 18px;
	accent-color: #ff6b4a;
}

.ila-colour-btn[data-colour="white"],
.ila-colour-btn[data-hex="#ffffff"] {
	box-shadow: inset 0 0 0 1px #ccc;
}

.ila-no-icon-btn{margin:0 0 .8rem;background:#fff;border:1.5px solid #d5d8dd;border-radius:8px;padding:.45rem .9rem;cursor:pointer;}
.ila-no-icon-btn.is-selected{border-color:#ff6b4a;background:#ff6b4a;color:#fff;}

/* Product 11000 skin */
body.ila-school-labels .ila-name-form,
body.ila-school-labels .ila-character-picker,
body.ila-school-labels .ila-style-options,
body.ila-school-labels .ila-live-preview {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin: 0 0 16px;
}
body.ila-school-labels .ila-picker-title,
body.ila-school-labels .ila-style-label,
body.ila-school-labels .ila-field label,
body.ila-school-labels .ila-sheets-field legend {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 14px;
	font-weight: 700;
	color: #1f2a37;
	text-transform: none;
	letter-spacing: 0;
	margin: 0 0 8px;
}
body.ila-school-labels .ila-count {
	font-style: normal;
	color: #9aa3af;
	font-weight: 500;
	font-size: 12px;
}
body.ila-school-labels .ila-field input[type="text"] {
	width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	background: #fff;
}
body.ila-school-labels .ila-field input[type="text"]:focus {
	outline: 2px solid #b7efe8;
	border-color: #2ec4b6;
}
body.ila-school-labels .ila-style-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
body.ila-school-labels .ila-style-card {
	display: block;
	border: 1.5px solid #e5e7eb;
	border-radius: 12px;
	padding: 10px 12px;
	cursor: pointer;
	background: #fff;
}
body.ila-school-labels .ila-style-card input { position: absolute; opacity: 0; }
body.ila-school-labels .ila-style-card strong { display: block; font-size: 14px; }
body.ila-school-labels .ila-style-card small { color: #6b7280; }
body.ila-school-labels .ila-style-card.is-selected {
	border-color: #f07b6a;
	background: #fff5f3;
	color: #c2412d;
}
body.ila-school-labels .ila-cat-btn,
body.ila-school-labels .ila-font-btn,
body.ila-school-labels .ila-size-btn,
body.ila-school-labels .ila-no-icon-btn {
	border-radius: 999px;
	border: 1.5px solid #e5e7eb;
	background: #fff;
	padding: 8px 14px;
	font-weight: 600;
}
body.ila-school-labels .ila-cat-btn.is-active,
body.ila-school-labels .ila-font-btn.is-selected,
body.ila-school-labels .ila-size-btn.is-selected,
body.ila-school-labels .ila-no-icon-btn.is-selected {
	border-color: #f07b6a;
	background: #fff5f3;
	color: #c2412d;
	box-shadow: none;
}
body.ila-school-labels .ila-colour-btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}
body.ila-school-labels .ila-colour-btn.is-selected {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2ec4b6;
	border-color: transparent;
}
body.ila-school-labels .ila-img-btn {
	border-radius: 8px;
}
body.ila-school-labels .ila-img-btn.is-selected {
	border-color: #2ec4b6;
	box-shadow: 0 0 0 2px #2ec4b6;
}
body.ila-school-labels .ila-back-cats {
	border-radius: 999px;
	color: #2aa89c;
	border-color: #b7efe8;
}

/* Keep plugin button labels visible against theme button styles */
body.ila-school-labels .ila-no-icon-btn,
body.ila-school-labels .ila-no-icon-btn:hover,
body.ila-school-labels .ila-no-icon-btn:focus,
body.ila-school-labels .ila-cat-btn,
body.ila-school-labels .ila-font-btn,
body.ila-school-labels .ila-size-btn,
body.ila-school-labels .ila-back-cats {
	color: #1f2a37 !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	text-indent: 0 !important;
	opacity: 1 !important;
	background-image: none !important;
}
body.ila-school-labels .ila-no-icon-btn .ila-no-icon-label {
	position: relative;
	z-index: 2;
	color: #1f2a37 !important;
	font-size: 14px !important;
	opacity: 1 !important;
	visibility: visible !important;
}
body.ila-school-labels .ila-no-icon-btn.is-selected,
body.ila-school-labels .ila-no-icon-btn.is-selected .ila-no-icon-label,
body.ila-school-labels .ila-cat-btn.is-active,
body.ila-school-labels .ila-font-btn.is-selected,
body.ila-school-labels .ila-size-btn.is-selected {
	color: #c2412d !important;
}
body.ila-school-labels .ila-sheet-thumb {
	display: block;
	width: 100%;
	height: 148px;
	object-fit: cover;
	object-position: top;
	border-radius: 8px;
	margin-bottom: 8px;
	background: #f4f6f8;
}
body.ila-school-labels .ila-style-card {
	position: relative;
}
@media (max-width: 700px) {
	body.ila-school-labels .ila-style-cards { grid-template-columns: 1fr; }
	body.ila-school-labels .ila-sheet-thumb { height: 180px; }
	body.ila-school-labels form.cart { flex-direction: column; align-items: stretch; }
	body.ila-school-labels form.cart .quantity,
	body.ila-school-labels .single_add_to_cart_button { width: 100%; }
	body.ila-school-labels .ila-image-grid { grid-template-columns: repeat(4, 1fr); max-height: 220px; }
	body.ila-school-labels .ila-preview-labels { justify-content: center; }
	body.ila-school-labels .ila-label-medium { width: 100%; max-width: 240px; }
}

body.ila-school-labels .ila-colour-mode { display: flex; gap: 8px; margin: 0 0 10px; flex-wrap: wrap; }
body.ila-school-labels .ila-multi-slots { display: flex; gap: 8px; margin: 0 0 10px; flex-wrap: wrap; }
body.ila-school-labels .ila-multi-slots[hidden],
body.ila-school-labels .ila-multi-hint[hidden] { display: none !important; }
body.ila-school-labels .ila-mode-btn,
body.ila-school-labels .ila-slot {
	border: 1.5px solid #e5e7eb; background: #fff; border-radius: 999px; padding: 7px 12px;
	font-weight: 700; color: #1f2a37 !important; cursor: pointer;
}
body.ila-school-labels .ila-mode-btn.is-selected { border-color: #f07b6a; background: #fff5f3; color: #c2412d !important; }
body.ila-school-labels .ila-slot { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
body.ila-school-labels .ila-slot.is-selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2ec4b6; }

body.ila-school-labels .ila-sheet-qty { display:flex; align-items:center; gap:6px; margin-top:8px; }
body.ila-school-labels .ila-sheet-qty button {
	width:32px; height:32px; border-radius:50%; border:1px solid #e5e7eb; background:#fff; font-weight:800; cursor:pointer; color:#1f2a37 !important;
}
body.ila-school-labels .ila-sheet-qty input { width:48px; text-align:center; border:1px solid #e5e7eb; border-radius:8px; height:32px; }
body.ila-school-labels .ila-sheet-total { font-weight:700; color:#e25b4a; margin:8px 0; }
body.ila-school-labels .ila-style-card:not(.is-selected) { opacity:.72; }

@font-face {
	font-family: "NLA Comic";
	src: url("../fonts/ComicNeue-Bold.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "NLA Comic";
	src: url("../fonts/ComicNeue-Bold.ttf") format("truetype");
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "NLA Rounded";
	src: url("../fonts/Nunito-Bold.ttf") format("truetype");
	font-weight: 700;
	font-display: swap;
}
body.ila-school-labels .ila-sheet-qty {
	display: flex;
	align-items: center;
	gap: 0;
	margin-top: 10px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	width: max-content;
	background: #fff;
}
body.ila-school-labels .ila-sheet-qty button {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 0 !important;
	background: #f7f8fa !important;
	color: #1f2a37 !important;
	font-size: 18px !important;
	font-weight: 700;
	cursor: pointer;
	line-height: 36px;
}
body.ila-school-labels .ila-sheet-qty input {
	width: 44px;
	height: 36px;
	border: 0;
	border-left: 1px solid #e5e7eb;
	border-right: 1px solid #e5e7eb;
	border-radius: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: #1f2a37 !important;
	background: #fff !important;
	-webkit-text-fill-color: #1f2a37;
	opacity: 1 !important;
	padding: 0;
}

body.ila-school-labels .ila-sheet-qty {
	display: inline-flex !important;
	align-items: stretch;
	border: 1px solid #d7dbe2;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	width: auto;
}
body.ila-school-labels .ila-sheet-qty button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #f3f4f6 !important;
	color: #1f2a37 !important;
	box-shadow: none !important;
	text-indent: 0 !important;
	line-height: 1 !important;
}
body.ila-school-labels .ila-sheet-qty button span {
	display: block;
	color: #1f2a37 !important;
	font-size: 22px !important;
	font-weight: 700;
	line-height: 1 !important;
	position: relative;
	z-index: 3;
	-webkit-text-fill-color: #1f2a37;
}
body.ila-school-labels .ila-sheet-note {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: #4b5563;
}
body.ila-school-labels .ila-sheet-note strong { color: #e25b4a; }

body.ila-school-labels .ila-sheet-qty button:before,
body.ila-school-labels .ila-sheet-qty button:after {
	content: none !important;
	display: none !important;
}
body.ila-school-labels .ila-sheet-qty button i {
	position: relative;
	display: block;
	width: 12px;
	height: 12px;
}
body.ila-school-labels .ila-sheet-qty button i:before,
body.ila-school-labels .ila-sheet-qty button i:after {
	content: "" !important;
	display: block !important;
	position: absolute;
	background: #1f2a37 !important;
}
body.ila-school-labels .ila-q-minus i:before,
body.ila-school-labels .ila-q-plus i:before {
	left: 0;
	right: 0;
	top: 5px;
	height: 2px;
}
body.ila-school-labels .ila-q-plus i:after {
	top: 0;
	bottom: 0;
	left: 5px;
	width: 2px;
}
body.ila-school-labels .ila-size-btn.is-selected,
body.ila-school-labels .ila-size-btn.is-selected:hover,
body.ila-school-labels .ila-size-btn.is-selected:focus {
	background: #f07b6a !important;
	border-color: #f07b6a !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

body.ila-school-labels .ila-q-minus,
body.ila-school-labels .ila-q-plus {
	background-color: #f3f4f6 !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 14px 14px !important;
	width: 36px !important;
	min-width: 36px !important;
	height: 36px !important;
	font-size: 0 !important;
	color: transparent !important;
}
body.ila-school-labels .ila-q-minus {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><rect x='1' y='6' width='12' height='2' fill='%231f2a37'/></svg>") !important;
}
body.ila-school-labels .ila-q-plus {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><rect x='1' y='6' width='12' height='2' fill='%231f2a37'/><rect x='6' y='1' width='2' height='12' fill='%231f2a37'/></svg>") !important;
}
body.ila-school-labels form.cart .quantity {
	display: none !important;
}
body.ila-school-labels .ila-print-plan {
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 700;
	color: #1f2a37;
}
@media (max-width: 700px) {
	body.ila-school-labels .ila-character-picker,
	body.ila-school-labels .ila-style-options,
	body.ila-school-labels .ila-name-form {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		max-width: 100%;
		overflow: hidden;
	}
	body.ila-school-labels .ila-category-list,
	body.ila-school-labels .ila-image-grid,
	body.ila-school-labels .ila-font-list,
	body.ila-school-labels .ila-size-list {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		max-width: 100%;
	}
	body.ila-school-labels .ila-cat-btn,
	body.ila-school-labels .ila-font-btn,
	body.ila-school-labels .ila-size-btn {
		margin: 0 !important;
		max-width: 100%;
	}
	body.ila-school-labels .ila-image-grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		width: 100%;
	}
	body.ila-school-labels .ila-style-cards {
		grid-template-columns: 1fr;
	}
}

body.ila-school-labels .ila-character-slot {
	min-height: 180px;
	margin-top: 12px;
	border: 1px dashed #d7e7e4;
	border-radius: 14px;
	background: #f7fbfb;
	padding: 12px;
}
body.ila-school-labels .ila-slot-status {
	min-height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #5b6775;
	font-weight: 700;
	margin: 0;
}

body.ila-school-labels .ila-sheet-qty {
	display: inline-flex !important;
	align-items: center;
	border: 1px solid #d7dbe2;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
body.ila-school-labels .ila-q-minus,
body.ila-school-labels .ila-q-plus {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #eef1f4 !important;
	color: #1f2a37 !important;
	-webkit-text-fill-color: #1f2a37 !important;
	font-size: 22px !important;
	font-weight: 700;
	line-height: 1 !important;
	cursor: pointer;
	user-select: none;
}
body.ila-school-labels .ila-sheet-qty input {
	width: 40px;
	height: 36px;
	border: 0;
	border-left: 1px solid #d7dbe2;
	border-right: 1px solid #d7dbe2;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: #1f2a37 !important;
	background: #fff !important;
	-moz-appearance: textfield;
	appearance: textfield;
}
body.ila-school-labels .ila-sheet-qty input::-webkit-outer-spin-button,
body.ila-school-labels .ila-sheet-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body.ila-school-labels .ila-sheet-total {
	margin: 2px 0 0;
	font-size: 18px;
	font-weight: 800;
	color: #e25b4a;
}

.ila-image-actions { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; flex-wrap: wrap; }
.ila-upload-btn { display: inline-flex; align-items: center; background: #fff; color: #1f2a37; font-weight: 600; border: 1.5px solid #e5e7eb; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.ila-upload-note { display: none; margin: 6px 0 10px; font-size: 13px; color: #4b5563; }
.ila-upload-note.is-on { display: block; }
.ila-upload-status { font-size: 13px; color: #0f766e; }

.nla-img-btn.is-dark, .ila-img-btn.is-dark, .bta-img.is-dark { background: #111 !important; }

.nla-cat-btn, .ila-cat-btn, .bta-cat { position: relative; z-index: 5; min-height: 44px; touch-action: manipulation; }

.nla-img-btn.is-dark img, .ila-img-btn.is-dark img, .bta-img.is-dark img { filter: brightness(0) invert(1); }
