/* Étiquettes à plat. --u = 1 mm réel, quelle que soit la taille d'affichage. */
.etq { container-type: inline-size; --ink: #262626; --accent: #5C5C5C; --line: #262626;
	clip-path: inset(calc(100% * 2 / var(--ph)) calc(100% * 2 / var(--pw))); }
.etq--75 { --pw: 152; --ph: 102; --fw: 82; --fx: 13; --lw: 40; --fs: 2.42; --title: 15; --ab: 12; }
.etq--33 { --pw: 134; --ph: 84; --fw: 66; --fx: 12; --lw: 40; --fs: 2.42; --title: 12.5; --ab: 12; }
.etq[data-style="champetre"] { --ink: #3B5637; --accent: #55703F; --line: #8FA67F; }
.etq[data-style="festif"] { --ink: #2C4A52; --accent: #B9503D; --line: #2C4A52; }
.etq[data-style="citron"] { --ink: #2F4A2B; --accent: #7A5E00; --line: #E3BE2E; }
.etq__page { --u: calc(100cqw / var(--pw)); position: relative; box-sizing: border-box; width: 100%; aspect-ratio: var(--pw) / var(--ph); overflow: hidden;
	background: #FBF6EC; color: var(--ink); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.etq__page *, .etq__page::before { box-sizing: border-box; }
.etq__page::before { content: ""; position: absolute; inset: calc(5 * var(--u)); border: calc(.3 * var(--u)) solid var(--line); border-radius: calc(2 * var(--u)); }
.etq p, .etq span { margin: 0; }
.etq__front { position: absolute; top: calc(8 * var(--u)); bottom: calc(8 * var(--u)); left: calc(var(--fx) * var(--u)); width: calc(var(--fw) * var(--u));
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; }
.etq__perso { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.etq [data-fit] { white-space: nowrap; line-height: 1.15; }
.etq .etq__title { font-family: "Great Vibes", cursive; font-size: calc(var(--title) * var(--k, 1) * var(--u)); }
.etq[data-style="champetre"] .etq__title { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; }
.etq[data-style="festif"] .etq__title { font-family: "Yeseva One", serif; font-weight: 400; font-size: calc(var(--title) * .75 * var(--k, 1) * var(--u)); }
.etq .etq__rule { width: calc(24 * var(--u)); height: calc(.3 * var(--u)); margin: calc(2.5 * var(--u)) 0 calc(2 * var(--u)); background: var(--accent); flex: none; }
.etq__sub { font: italic 500 calc(6 * var(--k, 1) * var(--u)) "Cormorant Garamond", serif; }
.etq__note { font: italic 500 calc(4.6 * var(--k, 1) * var(--u)) "Cormorant Garamond", serif; }
.etq .etq__top { margin-bottom: calc(1.5 * var(--u)); font: italic 500 calc(5.4 * var(--u))/1.2 "Cormorant Garamond", serif; color: var(--accent); }
/* Quantité nette : chiffres de plus de 4 mm de haut */
.etq__maker { display: flex; justify-content: space-between; align-items: flex-end; }
.etq__qty { font: 500 calc(6.35 * var(--u))/.8 "Cormorant Garamond", serif; font-variant-numeric: lining-nums; color: var(--ink); white-space: nowrap; }
.etq__legal { text-align: left; position: absolute; top: calc(8 * var(--u)); bottom: calc(8 * var(--u)); right: calc(8 * var(--u)); width: calc(var(--lw) * var(--u));
	display: flex; flex-direction: column; justify-content: center; gap: calc(1.7 * var(--u)); color: #222; font: 500 calc(var(--fs) * var(--u))/1.18 "Barlow Semi Condensed", sans-serif; }
.etq__legal b { font-weight: 700; }
.etq__logos { display: flex; align-items: flex-start; gap: calc(2.5 * var(--u)); }
.etq__ab { display: block; height: calc(var(--ab) * var(--u)); width: auto; max-width: none; }
.etq__ue img { display: block; height: calc(9.5 * var(--u)); width: auto; max-width: none; }
.etq__ue p { margin-top: calc(.5 * var(--u)); line-height: 1.1; white-space: nowrap; }
.etq__missing { margin: auto !important; padding: calc(4 * var(--u)); background: #FBE1DA; color: #8A2E1C; font-weight: 700; text-align: center; }
.etq__deco { display: none; flex: none; background: center / contain no-repeat; }
.etq[data-style="champetre"] .etq__deco { display: block; width: calc(40 * var(--u)); height: calc(11 * var(--u)); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 24'%3E%3Cpath d='M4 12 H84' stroke='%236F8B5E' stroke-width='1.2'/%3E%3Cg fill='%238FA67F'%3E%3Cpath d='M44 12 C40 4 32 2 28 4 C32 9 38 12 44 12Z'/%3E%3Cpath d='M44 12 C48 4 56 2 60 4 C56 9 50 12 44 12Z'/%3E%3Cpath d='M30 12 C26 6 19 5 16 7 C19 11 25 12 30 12Z'/%3E%3Cpath d='M58 12 C62 6 69 5 72 7 C69 11 63 12 58 12Z'/%3E%3Cpath d='M44 12 C40 20 33 22 29 20 C33 15 38 12 44 12Z' opacity='.7'/%3E%3Cpath d='M44 12 C48 20 55 22 59 20 C55 15 50 12 44 12Z' opacity='.7'/%3E%3C/g%3E%3C/svg%3E"); }
.etq[data-style="citron"] .etq__deco { display: block; width: calc(25 * var(--u)); height: calc(15 * var(--u)); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3Cpath d='M46 14 C56 2 76 0 88 8 C78 20 60 22 46 14Z' fill='%236F8B5E'/%3E%3Cpath d='M48 14 C60 11 72 9 84 9' stroke='%23FBF6EC' stroke-width='1.2' fill='none'/%3E%3Cpath d='M12 37 C10 35 12 31 17 31 C22 18 34 12 48 13 C64 14 76 23 78 32 C83 33 85 37 82 40 C79 42 77 42 75 43 C69 53 58 58 46 57 C32 56 22 49 18 41 C15 40 13 39 12 37Z' fill='%23F2CF3B'/%3E%3Cpath d='M27 31 C32 23 39 20 47 20' stroke='%23FBF6EC' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
.etq[data-style="festif"] .etq__front::before { content: ""; position: absolute; top: calc(-2.8 * var(--u)); left: 0; right: 0; aspect-ratio: 160 / 27; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 27'%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(6.7 4.7) rotate(27)' fill='%23E07A5F'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(20.0 10.0) rotate(17)' fill='%23E9B44C'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(33.3 12.7) rotate(6)' fill='%2381A88D'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(46.7 12.7) rotate(-6)' fill='%233D6B7D'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(60.0 10.0) rotate(-17)' fill='%23E8A5A0'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(73.3 4.7) rotate(-27)' fill='%23E07A5F'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(86.7 4.7) rotate(27)' fill='%23E9B44C'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(100.0 10.0) rotate(17)' fill='%2381A88D'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(113.3 12.7) rotate(6)' fill='%233D6B7D'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(126.7 12.7) rotate(-6)' fill='%23E8A5A0'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(140.0 10.0) rotate(-17)' fill='%23E07A5F'/%3E%3Cpath d='M-5 0 H5 L0 11 Z' transform='translate(153.3 4.7) rotate(-27)' fill='%23E9B44C'/%3E%3Cpath d='M0 1 Q40 25 80 1 M80 1 Q120 25 160 1' fill='none' stroke='%232C4A52' stroke-width='.9'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.etq[data-style="festif"] .etq__front { padding-top: calc(11 * var(--u)); }
.etq-preview { margin-top: 28px; display: grid; gap: 18px; }
