/* Hadron_Engraving: blok „Dodaj dedykację” na karcie produktu (mobile first). */
@font-face { font-family: 'hadron-engraving-cormorant'; font-display: swap; font-weight: 400;
  src: url('../fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'hadron-engraving-cormorant'; font-display: swap; font-weight: 400;
  src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'hadron-engraving-playfair'; font-display: swap; font-weight: 400;
  src: url('../fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'hadron-engraving-playfair'; font-display: swap; font-weight: 400;
  src: url('../fonts/playfair-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'hadron-engraving-greatvibes'; font-display: swap; font-weight: 400;
  src: url('../fonts/greatvibes-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'hadron-engraving-greatvibes'; font-display: swap; font-weight: 400;
  src: url('../fonts/greatvibes-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'hadron-engraving-montserrat'; font-display: swap; font-weight: 400;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'hadron-engraving-montserrat'; font-display: swap; font-weight: 400;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.hadron-engraving { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; margin: 0 0 20px; padding: 14px 16px; border: 1px solid #e3ded6; border-radius: 10px; background: #fbfaf8; }
.hadron-engraving .he-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; cursor: pointer; font-weight: 600; font-size: 16px; }
.hadron-engraving .he-toggle-input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: #1f1f1f; }
.hadron-engraving .he-badge { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #1f1f1f; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.hadron-engraving .he-body { margin-top: 12px; }
.hadron-engraving .he-body[hidden] { display: none; }
.hadron-engraving .he-techniques { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.hadron-engraving .he-techniques[hidden] { display: none; }
.hadron-engraving .he-techniques legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.hadron-engraving .he-technique { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid #d6d0c6; border-radius: 8px; background: #fff; cursor: pointer; margin: 0; }
.hadron-engraving .he-technique:has(input:checked) { border-color: #1f1f1f; box-shadow: inset 0 0 0 1px #1f1f1f; }
.hadron-engraving .he-technique input { width: 18px; height: 18px; margin: 0; accent-color: #1f1f1f; }
.hadron-engraving .he-technique-price { margin-left: auto; font-size: 14px; color: #555; white-space: nowrap; }
.hadron-engraving .he-preview { position: relative; width: 100%; max-width: 480px; margin: 0 auto; border-radius: 8px; overflow: hidden; background: #f0ede8; }
.hadron-engraving .he-plate { display: block; width: 100%; height: auto; }
.hadron-engraving .he-area { position: absolute; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hadron-engraving .he-text { width: 100%; white-space: pre; line-height: 1.2; text-shadow: 0 1px 0 rgba(255,255,255,.75), 0 -1px 0 rgba(0,0,0,.12); word-break: keep-all; }
.hadron-engraving .he-text.is-placeholder { opacity: .35; }
.hadron-engraving .he-note { margin: 6px 0 12px; font-size: 12px; color: #6b6b6b; text-align: center; }
.hadron-engraving .he-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.hadron-engraving .he-input { width: 100%; min-height: 104px; padding: 10px 12px; font-size: 16px; line-height: 1.4; border: 1px solid #c9c2b6; border-radius: 8px; background: #fff; resize: vertical; box-sizing: border-box; }
.hadron-engraving .he-input.is-over { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.hadron-engraving .he-counter { margin-top: 4px; font-size: 13px; color: #555; text-align: right; }
.hadron-engraving .he-counter.is-over { color: #b3261e; font-weight: 600; }
.hadron-engraving .he-samples { margin-top: 10px; }
.hadron-engraving .he-samples-label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.hadron-engraving .he-samples-list { display: flex; max-width: 100%; min-width: 0; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.hadron-engraving .he-sample { flex: 0 0 auto; max-width: 240px; min-height: 44px; padding: 8px 12px; border: 1px solid #d6d0c6; border-radius: 8px; background: #fff; font-size: 13px; line-height: 1.35; text-align: left; white-space: pre-line; color: #1f1f1f; cursor: pointer; scroll-snap-align: start; }
.hadron-engraving .he-sample:active { background: #f2efe9; }
.hadron-engraving .he-desc { margin: 12px 0 0; font-size: 13px; color: #555; line-height: 1.45; }
.hadron-engraving .he-desc:empty { display: none; }
.hadron-engraving .he-confirm { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; font-size: 14px; line-height: 1.4; cursor: pointer; }
.hadron-engraving .he-confirm input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #1f1f1f; }
.hadron-engraving div.mage-error { display: none !important; }
.hadron-engraving .he-error { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; background: #fbeaea; color: #b3261e; font-size: 14px; font-weight: 600; }
.hadron-engraving .he-error[hidden] { display: none; }
.hadron-engraving .he-confirm.is-error { color: #b3261e; }
.hadron-engraving .he-confirm.is-error input { outline: 2px solid #b3261e; outline-offset: 2px; }
