/* =========================================================
   Allprint: single product + configurator + inquiry
   ========================================================= */

[hidden] { display: none !important; }
.ap-product__top { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .ap-product__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.ap-product__gallery { position: sticky; top: 130px; }
@media (max-width: 999px) { .ap-product__gallery { position: static; } }

/* Gallery */
.ap-gallery { display: grid; gap: 10px; }
.ap-gallery--multi { grid-template-columns: 1fr; }
@media (min-width: 700px) { .ap-gallery--multi { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; } }
.ap-gallery__main { position: relative; aspect-ratio: 1; background: var(--stone); border-radius: var(--radius); overflow: hidden; outline: none; }
.ap-gallery__main > img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; cursor: zoom-in; }
.ap-gallery__thumbs { display: flex; gap: 8px; overflow: auto; scrollbar-width: none; order: 2; }
.ap-gallery__thumbs::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .ap-gallery__thumbs { order: 0; flex-direction: column; max-height: 640px; } }
.ap-gallery__thumb { flex: none; width: 72px; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--stone); border: 2px solid transparent; transition: border-color .15s; }
@media (min-width: 700px) { .ap-gallery__thumb { width: 76px; } }
.ap-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ap-gallery__thumb:hover { border-color: var(--line); }
.ap-gallery__thumb.is-active { border-color: var(--accent); }
.ap-gallery__nav, .ap-gallery__zoom { position: absolute; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background .15s, transform .15s; }
.ap-gallery__nav:hover, .ap-gallery__zoom:hover { background: #fff; transform: scale(1.06); }
.ap-gallery__nav { top: 50%; margin-top: -21px; opacity: 0; }
.ap-gallery__main:hover .ap-gallery__nav, .ap-gallery__nav:focus-visible { opacity: 1; }
@media (hover: none) { .ap-gallery__nav { opacity: 1; } }
.ap-gallery__nav--prev { left: 12px; }
.ap-gallery__nav--prev .icon { transform: rotate(90deg); }
.ap-gallery__nav--next { right: 12px; }
.ap-gallery__nav--next .icon { transform: rotate(-90deg); }
.ap-gallery__zoom { top: 12px; right: 12px; }

/* Lightbox */
.ap-lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 10, 10, .94); display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity .2s; }
.ap-lightbox.is-open { visibility: visible; opacity: 1; }
.ap-lightbox img { max-width: min(92vw, 1400px); max-height: 88vh; object-fit: contain; background: #fff; border-radius: var(--radius); }
.ap-lightbox__close, .ap-lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.ap-lightbox__close:hover, .ap-lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.ap-lightbox__close { top: 18px; right: 18px; }
.ap-lightbox__nav { top: 50%; margin-top: -26px; }
.ap-lightbox__nav--prev { left: 18px; }
.ap-lightbox__nav--prev .icon { transform: rotate(90deg); }
.ap-lightbox__nav--next { right: 18px; }
.ap-lightbox__nav--next .icon { transform: rotate(-90deg); }
.ap-lightbox.is-single .ap-lightbox__nav { display: none; }
.ap-lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 600; }

/* Logo preview overlay */
.ap-logo-preview { position: absolute; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); cursor: move; touch-action: none; outline: 1px dashed rgba(0, 0, 0, .35); outline-offset: 4px; z-index: 2; }
.ap-logo-preview__art { transform: perspective(700px) rotateY(var(--tilt, 0deg)); transform-origin: 50% 50%; }
.ap-logo-preview img { width: 100%; height: auto; display: block; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .12)); }
.ap-logo-preview__handle { position: absolute; right: -8px; bottom: -8px; width: 16px; height: 16px; background: var(--accent); border: 2px solid #fff; border-radius: 50%; cursor: nwse-resize; touch-action: none; }
.ap-preview-tools { display: grid; gap: 8px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px; order: 1; }
@media (min-width: 700px) { .ap-gallery--multi .ap-preview-tools { grid-column: 2; } }
.ap-preview-tools__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ap-preview-tools__row--meta { padding-top: 8px; border-top: 1px solid var(--line); }
.ap-pt { display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.ap-pt output { min-width: 30px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ap-pt-check { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; }
.ap-pt-check input { accent-color: var(--accent); }
.ap-pt-reset { font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ap-logo-preview__rotate { position: absolute; left: 50%; top: -30px; width: 16px; height: 16px; margin-left: -8px; background: #fff; border: 2px solid var(--accent); border-radius: 50%; cursor: grab; touch-action: none; }
.ap-logo-preview__rotate::after { content: ""; position: absolute; left: 50%; top: 14px; width: 1px; height: 14px; background: var(--accent); }
.ap-preview-tools label { display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.ap-preview-tools input[type=range] { width: 96px; accent-color: var(--accent); }
.ap-preview-tools__hint { color: var(--muted); }
@media (max-width: 600px) { .ap-preview-tools__hint { display: none; } .ap-preview-tools input[type=range] { width: 80px; } }

/* Info column */
.ap-product__crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.ap-product__cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.ap-product__title { font-size: clamp(26px, 3vw, 38px); margin-bottom: 8px; }
.ap-product__meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.ap-product__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.ap-product__price-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ap-product__price-value { font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.ap-product__price-value .from { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.ap-product__price-value del { color: var(--muted); font-size: 18px; }
.ap-product__price-note { font-size: 13px; color: var(--muted); }
.ap-product__short { font-size: 15px; margin-bottom: 20px; }
.ap-product__short ul { padding-left: 1.2em; list-style: disc; }

/* Woo variations form: keep selects, hide its qty/button */
.ap-product__form .variations { width: 100%; border-collapse: collapse; margin-bottom: 4px; }
.ap-product__form .variations tr, .ap-product__form .variations th, .ap-product__form .variations td, .ap-product__form .variations tbody { display: block; }
.ap-product__form .variations tr { padding: 0 0 16px; }
.ap-product__form .variations th { font-size: 13.5px; font-weight: 700; padding: 0 0 8px; display: flex; align-items: baseline; gap: 6px; }
.ap-product__form .variations td { padding: 0; }
.ap-product__form .variations select { width: 100%; height: 46px; padding: 0 40px 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; }
.ap-product__form .reset_variations { display: inline-block; margin-top: 2px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.ap-product__form .woocommerce-variation-price, .ap-product__form .woocommerce-variation-availability, .ap-product__form .woocommerce-variation-add-to-cart, .ap-product__form .quantity, .ap-product__form .single_add_to_cart_button { display: none !important; }
.ap-product__form .woocommerce-variation-description { font-size: 14px; color: var(--muted); }
.ap-product__form .stock.out-of-stock { color: #b4231a; font-size: 14px; }

/* Configurator */
.ap-config { display: grid; gap: 28px; padding-top: 8px; }
.ap-config__label { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.ap-config__num { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12.5px; font-family: var(--font); }
.ap-config__hint { font-size: 13px; color: var(--muted); margin-top: 10px; }
.ap-config__hint--actions { margin-top: -14px; }

.ap-qty { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ap-qty__input { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ap-qty__btn { width: 44px; height: 48px; font-size: 20px; font-weight: 600; background: var(--stone); }
.ap-qty__btn:hover { background: var(--stone-2); }
.ap-qty__field { width: 80px; height: 48px; border: 0; text-align: center; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.ap-qty__field::-webkit-outer-spin-button, .ap-qty__field::-webkit-inner-spin-button { -webkit-appearance: none; }
.ap-qty__presets { display: flex; gap: 6px; flex-wrap: wrap; }
.ap-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.ap-chip:hover { border-color: var(--ink); }
.ap-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ap-chip--radio { position: relative; }
.ap-chip--radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.ap-chip--radio:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.ap-chip--radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.ap-methods { display: grid; gap: 8px; }
.ap-method { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ap-method:hover { border-color: var(--ink); }
.ap-method:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-soft); }
.ap-method input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin: 0; }
.ap-method__body { flex: 1; display: grid; gap: 2px; }
.ap-method__name { font-weight: 700; font-size: 15px; }
.ap-method__desc { font-size: 13px; color: var(--muted); }
.ap-method__price { font-weight: 700; font-size: 14.5px; text-align: right; white-space: nowrap; }
.ap-method__price small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }

.ap-tiers { margin-top: 12px; font-size: 13px; }
.ap-tiers summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.ap-tiers table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.ap-tiers th, .ap-tiers td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.ap-tiers th:first-child, .ap-tiers td:first-child { text-align: left; }
.ap-tiers th { font-size: 11.5px; color: var(--muted); font-weight: 700; }

.ap-positions { display: flex; flex-wrap: wrap; gap: 8px; }

.ap-upload__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 150px; padding: 26px 20px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--stone); text-align: center; transition: border-color .15s, background .15s; }
.ap-upload__btn:hover, .ap-upload__btn .icon { color: var(--accent); }
.ap-upload__text { font-weight: 700; font-size: 15px; display: grid; gap: 4px; justify-items: center; }
.ap-upload__text small { font-weight: 500; font-size: 12.5px; color: var(--muted); }
.ap-upload__done { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--stone); font-weight: 600; font-size: 14px; }
.ap-upload__done img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 4px; }
.ap-upload__remove { margin-left: auto; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.ap-upload__remove:hover { background: var(--stone-2); }

.ap-summary { padding: 20px 22px; background: var(--stone); border-radius: var(--radius); }
.ap-summary__rows { display: grid; gap: 6px; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ap-summary__row { display: flex; justify-content: space-between; gap: 12px; }
.ap-summary__row em { font-style: normal; color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.ap-summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; }
.ap-summary__total span { font-weight: 700; font-size: 14px; }
.ap-summary__total strong { font-family: var(--font-head); font-size: 28px; font-weight: 700; margin-left: auto; }
.ap-summary__total small { width: 100%; text-align: right; font-size: 12.5px; color: var(--muted); }
.ap-summary__unit { margin-top: 6px; text-align: right; font-size: 13px; font-weight: 600; color: var(--accent); }

.ap-actions { display: grid; gap: 10px; }
@media (min-width: 480px) { .ap-actions { grid-template-columns: 1fr 1fr; } .ap-actions--single { grid-template-columns: 1fr; } }
.ap-actions .btn { width: 100%; }

.ap-product__trust { display: grid; gap: 8px; margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.ap-product__trust li { display: flex; align-items: center; gap: 8px; }
.ap-product__trust .icon { color: var(--accent); }

/* About + facts */
.ap-about { display: grid; gap: 32px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .ap-about { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; } }
.ap-about__title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }
.ap-about__subtitle { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--font); font-weight: 700; margin-bottom: 14px; }
.ap-about__prose { font-size: 16px; max-width: 64ch; }
.ap-about__prose ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.ap-about__prose ul li { position: relative; padding-left: 26px; }
.ap-about__prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--accent); }
.ap-about__facts { background: var(--stone); border-radius: var(--radius); padding: 24px; align-self: start; }
.ap-facts { margin: 0; display: grid; }
.ap-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ap-facts div:last-child { border-bottom: 0; }
.ap-facts dt { color: var(--muted); font-weight: 600; }
.ap-facts dd { margin: 0; font-weight: 600; }
.ap-facts__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.ap-facts__note .icon { color: var(--accent); flex: none; margin-top: 2px; }

.ap-howto { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 760px) { .ap-howto { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.ap-howto__card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.ap-howto__card .icon { color: var(--accent); margin-bottom: 14px; }
.ap-howto__card h3 { font-size: 17px; margin-bottom: 8px; }
.ap-howto__card p { font-size: 14.5px; color: var(--ink-2); }

/* Related */
.single-product .related { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.single-product .related > h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }
.single-product .related ul.products { display: grid; gap: 28px 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .single-product .related ul.products { grid-template-columns: repeat(4, 1fr); gap: 28px 20px; } }

/* Modal */
.ap-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; }
@media (min-width: 700px) { .ap-modal { align-items: center; padding: 24px; } }
.ap-modal.is-open { visibility: visible; }
.ap-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.ap-modal.is-open .ap-modal__backdrop { opacity: 1; }
.ap-modal__panel { position: relative; width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: var(--radius) var(--radius) 0 0; padding: 24px; transform: translateY(24px); opacity: 0; transition: transform .3s var(--ease), opacity .3s; }
@media (min-width: 700px) { .ap-modal__panel { border-radius: var(--radius); padding: 32px; } }
.ap-modal.is-open .ap-modal__panel { transform: none; opacity: 1; }
.ap-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ap-modal__head h2 { font-size: 26px; }

/* Inquiry form */
.ap-inquiry__product { display: grid; gap: 6px; padding: 14px 16px; background: var(--stone); border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; }
.ap-inquiry__product div { display: flex; justify-content: space-between; gap: 12px; }
.ap-inquiry__product span { color: var(--muted); }
.ap-inquiry__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .ap-inquiry__grid { grid-template-columns: 1fr 1fr; } .ap-field--full { grid-column: 1 / -1; } }
.ap-field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.ap-field input, .ap-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 400; font-size: 15px; background: #fff; }
.ap-field input:focus, .ap-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ap-field input[type=file] { padding: 10px; font-size: 14px; }
.ap-hp { position: absolute; left: -9999px; }
.ap-inquiry__foot { margin-top: 20px; display: grid; gap: 10px; }
.ap-inquiry__foot .ap-config__hint { margin: 0; }
.ap-inquiry__msg:empty { display: none; }
.ap-inquiry__msg { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: #e8f6ee; color: #14532d; font-weight: 600; }
.ap-inquiry__msg.is-error { background: #fdecec; color: #8a1c1c; }
.ap-inquiry--page { max-width: 760px; }

/* ---------- Inquiry page + drop zone ---------- */
.inquiry-page { background: var(--stone); }
.inquiry-page__inner { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 80px); }
@media (min-width: 1000px) { .inquiry-page__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: start; } }
.inquiry-page__title { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 16px; }
.inquiry-page__lead { font-size: 17px; color: var(--ink-2); max-width: 46ch; }
.inquiry-page__steps { display: grid; gap: 14px; margin: 32px 0; counter-reset: s; }
.inquiry-page__steps li { position: relative; padding-left: 44px; counter-increment: s; }
.inquiry-page__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.inquiry-page__steps strong { display: block; font-size: 16px; }
.inquiry-page__steps span { font-size: 14.5px; color: var(--muted); }
.inquiry-page__contact { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 15px; padding-top: 24px; border-top: 1px solid var(--line); }
.inquiry-page__contact a, .inquiry-page__contact span { display: inline-flex; align-items: center; gap: 8px; }
.inquiry-page__contact .icon { color: var(--accent); }
.inquiry-page__contact a:hover { color: var(--accent); }
.inquiry-page__card { background: #fff; border-radius: 12px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .25); }
.inquiry-page__card .ap-inquiry--page { max-width: none; }

.ap-drop { position: relative; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--stone); transition: border-color .15s, background .15s; cursor: pointer; }
.ap-drop:hover, .ap-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.ap-drop__inner { display: grid; justify-items: center; gap: 6px; padding: 30px 20px; text-align: center; pointer-events: none; }
.ap-drop__inner .icon { color: var(--accent); margin-bottom: 4px; }
.ap-drop__inner strong { font-size: 15px; }
.ap-drop__inner small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.ap-drop__files { display: grid; gap: 6px; padding: 0 14px 14px; }
.ap-drop__files:empty { display: none; }
.ap-drop__files li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; border-radius: 6px; font-size: 13.5px; font-weight: 600; }
.ap-drop__files li img { width: 32px; height: 32px; object-fit: contain; border-radius: 4px; background: var(--stone); }
.ap-drop__files li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-drop__files li small { color: var(--muted); font-weight: 500; }
.ap-drop__files li button { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-size: 16px; }
.ap-drop__files li button:hover { background: var(--stone); color: var(--ink); }

/* Chip checkboxes in forms */
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-chip--check { position: relative; font-weight: 600; }
.ap-chip--check input { position: absolute; opacity: 0; width: 0; height: 0; }
.ap-chip--check:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.ap-chip--check:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.ap-field > span em { font-style: normal; font-weight: 500; color: var(--muted); }

/* ---------- Variation swatches / chips ---------- */
.ap-opts__current { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.ap-opts__current:not(:empty)::before { content: ': '; }
.ap-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-opt { position: relative; cursor: pointer; transition: border-color .15s, box-shadow .15s, color .15s, background .15s; }
.ap-opt--text { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 14px; background: #fff; }
.ap-opt--text:hover { border-color: var(--ink); }
.ap-opt--text.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ap-opt--dot, .ap-opt--img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent; padding: 3px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ap-opt--dot i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.ap-opt--img { padding: 0; overflow: hidden; border-radius: 8px; width: 44px; height: 44px; }
.ap-opt--img img { width: 100%; height: 100%; object-fit: cover; }
.ap-opt--dot:hover, .ap-opt--img:hover { border-color: var(--line); box-shadow: none; }
.ap-opt--dot.is-active, .ap-opt--img.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px #fff inset; }
.ap-opt.is-disabled { opacity: .3; cursor: not-allowed; }
.ap-opt.is-disabled::after { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; height: 1.5px; background: var(--muted); transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Quantity presets with unit price ---------- */
.ap-chip--qty { flex-direction: column; gap: 1px; min-height: 48px; padding: 6px 14px; border-radius: var(--radius); line-height: 1.1; }
.ap-chip--qty small { font-size: 11px; font-weight: 500; color: var(--muted); }
.ap-chip--qty.is-active small { color: rgba(255, 255, 255, .7); }
.ap-qty { align-items: flex-start; }

/* ---------- Price ladder ---------- */
.ap-ladder { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.ap-ladder__title { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ap-ladder__title span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.ap-ladder__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 6px; }
.ap-ladder__list li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 6px; background: var(--stone); font-size: 12px; color: var(--muted); }
.ap-ladder__list li strong { font-size: 14px; color: var(--ink); }
.ap-ladder__list li.is-active { background: var(--ink); color: rgba(255, 255, 255, .7); }
.ap-ladder__list li.is-active strong { color: #fff; }

/* ---------- Lead time ---------- */
.ap-summary__lead { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ap-summary__lead .icon { color: var(--accent); }

/* ---------- Mobile sticky bar ---------- */
.ap-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .3); }
.ap-sticky__price { flex: 1; min-width: 0; display: grid; line-height: 1.15; }
.ap-sticky__price strong { font-family: var(--font-head); font-size: 18px; }
.ap-sticky__price small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-sticky__inq { padding-inline: 16px; }
.ap-sticky__cart { width: 46px; padding: 0; }
@media (min-width: 1000px) { .ap-sticky { display: none !important; } }

/* Tighter spacing around the variations form */
.ap-product__form form.cart { display: block; margin: 14px 0 6px; }
.ap-product__form .single_variation_wrap, .ap-product__form .reset_variations_alert, .ap-product__form template { display: none !important; }
.ap-product__form .variations tr { padding: 0 0 12px; }
.ap-product__form .variations tr:last-child { padding-bottom: 0; }
.ap-product__form .variations { margin-bottom: 0; }
.ap-config { padding-top: 6px; }

/* =========================================================
   Configurator v2 (08.10.2026): compact steps, size matrix,
   print places with files
   ========================================================= */
.ap-config { gap: 18px; padding-top: 4px; }
.ap-product__form .variations tr.ap-var-hidden { display: none; }

/* "from" price */
.ap-from { padding: 14px 16px; border-radius: 10px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.ap-from__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ap-from__label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ap-from__price { font-family: var(--font-head); font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); line-height: 1; }
.ap-from__qty { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ap-from__note { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }

/* steps */
.ap-step { padding-top: 16px; border-top: 1px solid var(--line); }
.ap-step__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ap-step__head h3 { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.ap-step__num { display: inline-flex; flex: none; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.ap-step__aside { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ap-step .ap-config__hint { margin-top: 8px; font-size: 12.5px; }
.ap-step .ap-qty__btn, .ap-step .ap-qty__field { height: 44px; }
.ap-step .ap-chip--qty { min-height: 44px; padding: 5px 12px; }

/* method segmented chips */
.ap-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-seg__opt { position: relative; display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; line-height: 1.15; transition: border-color .15s, background .15s, color .15s; }
.ap-seg__opt:hover { border-color: var(--ink); }
.ap-seg__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.ap-seg__name { font-weight: 700; font-size: 14px; }
.ap-seg__price { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.ap-seg__opt:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.ap-seg__opt:has(input:checked) .ap-seg__price { color: rgba(255, 255, 255, .7); }
.ap-seg__opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.ap-seg__desc { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.ap-scale { margin-top: 10px; }
.ap-scale summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--accent); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.ap-scale summary::-webkit-details-marker { display: none; }
.ap-scale summary::before { content: "+"; display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; line-height: 1; }
.ap-scale[open] summary::before { content: "−"; }
.ap-scale summary span { font-weight: 500; color: var(--muted); }
.ap-scale .ap-ladder__list { margin-top: 10px; }

/* size matrix */
.ap-matrix { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.ap-mx { display: grid; gap: 4px; padding: 8px 8px 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; transition: border-color .15s, background .15s; }
.ap-mx:focus-within { border-color: var(--ink); }
.ap-mx.has-qty { border-color: var(--accent); background: var(--accent-soft); }
.ap-mx__size { font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.ap-mx__in { width: 100%; height: 36px; border: 0; border-radius: 6px; background: var(--stone); text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.ap-mx.has-qty .ap-mx__in { background: #fff; }
.ap-mx__in::-webkit-outer-spin-button, .ap-mx__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ap-mx__in:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.ap-mx__note { min-height: 13px; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.ap-mx.is-disabled { opacity: .45; }
.ap-mx.is-disabled .ap-mx__in { cursor: not-allowed; }
.ap-matrix__lock { display: none; }
.ap-matrix.is-locked .ap-mx { opacity: .35; pointer-events: none; }
.ap-matrix.is-locked .ap-matrix__lock { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.ap-matrix.is-locked .ap-matrix__lock::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .55); border-radius: 8px; z-index: -1; }

/* print places: chips to choose, one column of selected places with files */
.ap-pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-pchip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.ap-pchip:hover { border-color: var(--ink); }
.ap-pchip input { position: absolute; opacity: 0; width: 0; height: 0; }
.ap-pchip__check { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: 50%; color: transparent; transition: background .15s, border-color .15s; }
.ap-pchip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.ap-pchip.is-on .ap-pchip__check { background: #fff; border-color: #fff; color: var(--ink); }
.ap-pchip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.ap-places { display: grid; gap: 8px; margin-top: 10px; }
.ap-place { display: none; gap: 8px; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.ap-place.is-on { display: grid; }
.ap-place.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ap-place.is-over { border-style: dashed; border-color: var(--accent); background: var(--accent-soft); }
.ap-place__head { display: flex; align-items: center; gap: 10px; }
.ap-place__name { font-weight: 700; font-size: 14.5px; }
.ap-place__count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.ap-place__files { display: grid; gap: 6px; }
.ap-place__files:empty { display: none; }
.ap-place__add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; padding: 6px 10px; border: 1.5px dashed var(--line); border-radius: 8px; font-weight: 700; font-size: 13.5px; color: var(--ink-2); transition: border-color .15s, color .15s; }
.ap-place__add small { font-weight: 500; color: var(--muted); }
.ap-place__add:hover { border-color: var(--accent); color: var(--accent); }
.ap-file { display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 5px; border-radius: 6px; background: var(--stone); font-size: 13px; }
.ap-file img, .ap-file__ext { flex: none; width: 30px; height: 30px; border-radius: 4px; background: #fff; object-fit: contain; }
.ap-file__ext { display: inline-flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 800; color: var(--accent); }
.ap-file__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ap-file small { color: var(--muted); }
.ap-file.is-busy { opacity: .7; }
/* the design being moved on the image when a place has several (Tõnis #86) */
.ap-file.is-editing { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.ap-file.is-editing .ap-file__adjust { background: var(--accent-dark); }
.ap-file__rm { flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--muted); }
.ap-file__rm:hover { background: var(--stone-2); color: var(--ink); }
.ap-warn { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 11px 13px; border-radius: 8px; background: var(--accent-soft); font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.ap-warn .icon { flex: none; color: var(--accent); margin-top: 2px; }

/* compact summary */
.ap-summary { padding: 16px 18px; border-radius: 10px; }
.ap-summary__rows { font-size: 13.5px; gap: 5px; padding-bottom: 10px; }
.ap-summary__total { padding-top: 10px; }
.ap-summary__total strong { font-size: 26px; }
.ap-summary__approx { font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.ap-summary__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.ap-summary__foot .ap-summary__lead { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; color: var(--ink-2); }
.ap-summary__foot .ap-summary__lead .icon { color: var(--accent); }
.ap-summary__foot .ap-summary__unit { margin: 0; font-weight: 700; color: var(--accent); }
.ap-config__hint--actions { margin-top: -8px; }

.ap-about--facts-only { grid-template-columns: minmax(0, 560px) !important; }

/* ---------- Inquiry page v2: form first ---------- */
.inquiry-page--v2 { padding-block: clamp(32px, 4.5vw, 64px) clamp(48px, 6vw, 88px); }
.inq-head { display: grid; gap: 20px; align-items: end; }
@media (min-width: 960px) { .inq-head { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }
.inq-head .inquiry-page__title { margin-bottom: 10px; }
.inq-head__lead { font-size: 17px; color: var(--ink-2); max-width: 56ch; }
.inq-head__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-weight: 600; font-size: 14.5px; }
@media (min-width: 960px) { .inq-head__contact { flex-direction: column; align-items: flex-start; gap: 6px; padding-left: 24px; border-left: 1px solid var(--line); } }
.inq-head__contact-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.inq-head__contact a, .inq-head__hours { display: inline-flex; align-items: center; gap: 8px; }
.inq-head__contact .icon { color: var(--accent); }
.inq-head__contact a:hover { color: var(--accent); }
.inq-head__hours { color: var(--muted); font-weight: 500; }

.inq-steps { display: grid; gap: 10px; margin: 28px 0 20px; counter-reset: s; }
@media (min-width: 760px) { .inq-steps { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.inq-steps li { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 52px; border-radius: 10px; background: rgba(255, 255, 255, .6); counter-increment: s; font-size: 13.5px; }
.inq-steps li::before { content: counter(s); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.inq-steps strong { font-size: 14.5px; }
.inq-steps span { color: var(--muted); }

.inq-card { position: relative; overflow: hidden; padding: clamp(22px, 3.2vw, 44px); border-radius: 18px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 40px 80px -50px rgba(13, 23, 48, .35); }
.inq-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-tint)); }
.ap-inq-wide__grid { display: grid !important; gap: 32px; grid-template-columns: 1fr !important; }
@media (min-width: 1000px) { .ap-inq-wide__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) !important; gap: 36px 48px; } .ap-inq-sec--contact { grid-column: 1 / -1; } }
.ap-inq-sec { display: grid; gap: 16px; min-width: 0; align-content: start; }
.ap-inq-sec__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 2px; }
.ap-inq-sec__num { flex: none; display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: var(--accent); color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 800; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.ap-inq-sec__title { font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }
.ap-inq-sec__head p { margin-top: 2px; font-size: 13.5px; color: var(--muted); }

/* fields */
.ap-inq-wide .ap-field { font-size: 13px; font-weight: 700; color: var(--ink-2); gap: 7px; }
.ap-inq-wide .ap-field em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.ap-inq-wide .ap-field input, .ap-inq-wide .ap-field textarea { min-height: 50px; padding: 13px 16px; border: 1.5px solid transparent; border-radius: 12px; background: #f5f4f0; font-size: 15px; transition: background .15s, border-color .15s, box-shadow .15s; }
.ap-inq-wide .ap-field textarea { min-height: 96px; resize: vertical; }
.ap-inq-wide .ap-field input:hover, .ap-inq-wide .ap-field textarea:hover { background: #efeee9; }
.ap-inq-wide .ap-field input:focus, .ap-inq-wide .ap-field textarea:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ap-inq-input { position: relative; display: block; }
.ap-inq-input input { padding-left: 46px !important; }
.ap-inq-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: inline-flex; transition: color .15s; }
.ap-inq-input:focus-within .ap-inq-ico { color: var(--accent); }
.ap-inq-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .ap-inq-row { grid-template-columns: 1fr 1fr; } }

/* method chips with check */
.ap-inq-chips { gap: 8px; }
.ap-inq-chips .ap-chip { gap: 0; min-height: 42px; padding: 0 16px; border-color: var(--line); background: #fff; font-weight: 600; font-size: 14px; transition: all .15s; }
.ap-inq-chips .ap-chip .icon { width: 0; opacity: 0; margin-right: 0; transition: width .15s, opacity .15s, margin .15s; }
.ap-inq-chips .ap-chip:hover { border-color: var(--accent); color: var(--accent); }
.ap-inq-chips .ap-chip:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; }
.ap-inq-chips .ap-chip:has(input:checked) .icon { width: 14px; opacity: 1; margin-right: 6px; }
.ap-inq-chips .ap-chip--soft { border-style: dashed; }

/* fancy drop zone */
.ap-drop--fancy { border: 2px dashed color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 16px; background: linear-gradient(180deg, var(--accent-soft), #fff); }
.ap-drop--fancy:hover, .ap-drop--fancy.is-over { border-color: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, #fff), #fff); }
.ap-drop--fancy .ap-drop__inner { gap: 8px; padding: 34px 20px 30px; }
.ap-drop__icon { display: inline-flex; width: 62px; height: 62px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 12px 28px -12px rgba(13, 23, 48, .35); margin-bottom: 6px; transition: transform .25s var(--ease); }
.ap-drop--fancy:hover .ap-drop__icon, .ap-drop--fancy.is-over .ap-drop__icon { transform: translateY(-3px); }
.ap-drop--fancy .ap-drop__inner .icon { margin: 0; }
.ap-drop--fancy strong { font-family: var(--font-head); font-size: 17px; }
.ap-drop__or { font-size: 12px; color: var(--muted); }
.ap-drop__btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; }
.ap-drop__types { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 8px; }
.ap-drop__types i { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 3px 7px; border-radius: 5px; background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.ap-drop--fancy small { font-size: 12px; }

/* promise card */
.ap-inq-promise { display: grid; gap: 12px; padding: 20px 22px; border-radius: 16px; background: var(--hero-bg); color: #fff; }
.ap-inq-promise__title { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.ap-inq-promise ul { display: grid; gap: 8px; }
.ap-inq-promise li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255, 255, 255, .82); }
.ap-inq-promise li .icon { flex: none; margin-top: 2px; color: var(--accent-tint); }
.ap-inq-promise__badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; }

/* contact panel */
.ap-inq-sec--contact { padding: clamp(18px, 2.4vw, 26px); border-radius: 16px; background: var(--stone); }
.ap-inq-sec--contact .ap-field input { background: #fff; }
.ap-inq-sec--contact .ap-field input:hover { background: #fff; border-color: var(--line); }
.ap-inq-contact { display: grid; gap: 14px; }
@media (min-width: 640px) { .ap-inq-contact { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ap-inq-contact { grid-template-columns: repeat(4, 1fr); } }

/* footer */
.ap-inq-wide__foot { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 26px; padding-top: 0; border-top: 0; }
.ap-inq-wide__foot .ap-config__hint { display: inline-flex; align-items: center; gap: 8px; max-width: none; }
@media (min-width: 760px) { .ap-inq-wide__foot .ap-config__hint { white-space: nowrap; } }
.ap-inq-wide__foot .ap-config__hint .icon { color: var(--accent); flex: none; }
.ap-inq-submit { min-width: 240px; min-height: 58px; border-radius: 12px; font-size: 16px; box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--accent) 80%, transparent); transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.ap-inq-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -16px color-mix(in srgb, var(--accent) 90%, transparent); }
.ap-inq-submit .icon { transition: transform .2s; }
.ap-inq-submit:hover .icon { transform: translateX(4px); }
@media (max-width: 600px) { .ap-inq-submit { width: 100%; } }

/* ---------- Inquiry basket ---------- */
@media (min-width: 1280px) { .ap-inq-row--3 { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 560px) and (max-width: 1279px) { .ap-inq-row--3 > :last-child { grid-column: 1 / -1; } }
.ap-inq-input--select select { width: 100%; min-height: 50px; padding: 13px 40px 13px 46px; border: 1.5px solid transparent; border-radius: 12px; background: #f5f4f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2377776f' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.ap-inq-input--select select:hover { background-color: #efeee9; }
.ap-inq-input--select select:focus { outline: none; background-color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ap-inq-tip { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; line-height: 1.5; }
.ap-inq-tip .icon { flex: none; margin-top: 2px; }
.ap-inq-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px; margin-left: 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; vertical-align: 3px; }

.ap-qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ap-qitem { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 12px 48px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: opacity .2s, box-shadow .2s; }
.ap-qitem:hover { box-shadow: 0 6px 20px rgba(17, 17, 17, .06); }
.ap-qitem.is-busy { opacity: .45; pointer-events: none; }
.ap-qitem__img { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--stone); cursor: zoom-in; }
a.ap-qitem__img { cursor: pointer; }
.ap-qitem__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ap-qitem__badge { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.ap-qitem__body { min-width: 0; align-self: center; }
.ap-qitem__name { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.3; color: var(--ink); text-decoration: none; margin-bottom: 8px; }
.ap-qitem__name:hover { color: var(--accent); }
.ap-qitem__meta { display: grid; gap: 3px; margin: 0; font-size: 13.5px; line-height: 1.45; }
.ap-qitem__meta div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
.ap-qitem__meta dt { color: var(--muted); }
.ap-qitem__meta dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.ap-qitem__meta a { color: var(--accent); }
.ap-qitem__rm { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.ap-qitem__rm:hover { background: #fbeaea; color: #b42318; }
.ap-qmore { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 10px 16px; border: 1.5px dashed var(--line); border-radius: 12px; color: var(--accent); font-weight: 700; font-size: 14.5px; text-decoration: none; transition: border-color .15s, background .15s; }
.ap-qmore:hover { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 559px) {
	.ap-qitem { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding-right: 40px; }
	.ap-qitem__meta div { grid-template-columns: 1fr; gap: 0; }
	.ap-qitem__meta div + div { margin-top: 4px; }
}

/* "Added" confirmation in the product page modal */
#ap-inquiry-modal .ap-modal__panel { max-width: 560px; }
#ap-modal-title { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.ap-added__tick { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: #fff; flex: none; }
.ap-added__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 20px; }
.ap-added__item > img { width: 96px; height: 96px; object-fit: contain; border-radius: 10px; background: var(--stone); mix-blend-mode: multiply; }
.ap-added__body strong { display: block; font-size: 16px; line-height: 1.3; margin-bottom: 10px; }
.ap-added__body .ap-inquiry__product { margin: 0; padding: 10px 12px; font-size: 13.5px; }
.ap-added__actions { display: grid; gap: 10px; margin-bottom: 12px; }
@media (min-width: 520px) { .ap-added__actions { grid-template-columns: 1fr 1fr; } }
.ap-added__actions .btn { justify-content: center; }
.ap-added__count { opacity: .8; font-weight: 600; }
.ap-actions__inquiry.is-busy { opacity: .7; cursor: progress; }

/* Logo preview: discoverability */
.ap-preview-tools { position: relative; border-color: var(--accent-tint); box-shadow: 0 0 0 3px var(--accent-soft); }
.ap-preview-tools__head { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ap-preview-tools__head strong { display: block; font-size: 14px; color: var(--ink); }
.ap-preview-tools__head span:not(.ap-preview-tools__icon) { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.ap-preview-tools__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; }
.ap-preview-tools.is-glow { animation: ap-glow 1.6s ease 2; }
@keyframes ap-glow { 0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); } 50% { box-shadow: 0 0 0 7px rgba(27, 47, 94, .22); } }
.ap-logo-preview.is-glow { animation: ap-glow-outline 1.2s ease 3; }
@keyframes ap-glow-outline { 0%, 100% { outline-color: rgba(0, 0, 0, .35); outline-offset: 4px; } 50% { outline-color: var(--accent); outline-offset: 8px; } }
.ap-pv-hint { position: absolute; left: 50%; bottom: 12px; z-index: 3; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(17, 17, 17, .78); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; pointer-events: none; backdrop-filter: blur(4px); transition: opacity .3s, transform .3s; }
.ap-pv-hint.is-out { opacity: 0; transform: translate(-50%, 6px); }
.ap-file__adjust { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ap-file__adjust:hover { background: var(--accent-dark); }
.ap-toast__link { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }
@media (max-width: 600px) { .ap-pv-hint { font-size: 11.5px; bottom: 8px; } }

/* Logo toolbar: its own row under the image, never covering it (feedback #66) */
.ap-pvbar { position: relative; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 22px -14px rgba(17, 17, 17, .3); font-size: 12.5px; cursor: default; container-type: inline-size; }
@media (min-width: 700px) { .ap-gallery--multi .ap-pvbar { grid-column: 2; } }
.ap-pvbar__tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--stone); flex: none; }
.ap-pvbar__tabs button { padding: 6px 9px; border-radius: 8px; font-weight: 700; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.ap-pvbar__tabs button:hover { color: var(--ink); }
.ap-pvbar__tabs button.is-active { background: var(--accent); color: #fff; }
.ap-pvbar__ctrl { flex: 1; min-width: 90px; }
.ap-pvbar__slider { display: none; align-items: center; gap: 8px; }
.ap-pvbar__slider.is-active { display: flex; }
.ap-pvbar__slider input[type=range] { flex: 1; min-width: 0; accent-color: var(--accent); }
.ap-pvbar__slider output { min-width: 34px; text-align: right; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.ap-pvbar__actions { display: flex; align-items: center; gap: 4px; flex: none; }
.ap-pvbar__btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 9px; border-radius: 8px; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.ap-pvbar__btn:hover { background: var(--stone); }
.ap-pvbar__knock input { accent-color: var(--accent); margin: 0; }
.ap-pvbar__knock .is-short { display: none; }
.ap-pvbar__reset { width: 32px; padding: 0; justify-content: center; }
.ap-pvbar.is-glow { animation: ap-glow 1.6s ease 2; }
.ap-pv-hint { bottom: auto; top: 14px; }
.ap-pv-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
@media (min-width: 700px) { .ap-gallery--multi .ap-pv-note { grid-column: 2; } }
/* the toolbar is its own container: shorter labels, then tabs on their own row when narrow */
@container (max-width: 620px) { .ap-pvbar__knock .is-long { display: none; } .ap-pvbar__knock .is-short { display: inline; } .ap-pvbar__tabs button { padding: 6px 7px; } }
@container (max-width: 470px) { .ap-pvbar__tabs { flex: 1 1 100%; } .ap-pvbar__tabs button { flex: 1; } }
.ap-pvbar__ctrl { overflow: hidden; }
@media (max-width: 699px) {
	.ap-pvbar { box-shadow: none; }
	.ap-pvbar__tabs { flex: 1 1 100%; justify-content: space-between; }
	.ap-pvbar__tabs button { flex: 1; }
}
@media (max-width: 699px) {
	.ap-pv-hint { left: 12px; right: 64px; top: 12px; transform: none; justify-content: flex-start; white-space: normal; width: max-content; max-width: calc(100% - 76px); }
	.ap-pv-hint.is-out { transform: translateY(-6px); }
}

/* ---------- Feedback #55: fit the sticky gallery, colour groups, all logos, overview, description ---------- */
.ap-gallery__thumb.is-off { display: none; }
.ap-gallery--one .ap-gallery__nav { display: none; }
@media (min-width: 1000px) {
	/* the whole gallery (image + toolbar) stays in view on laptop screens */
	/* image + toolbar + overview together fit the screen */
	/* the image never changes size: room for the logo toolbar is kept from the start on printable products */
	.ap-gallery { --ap-tools-h: 0px; --ap-gfit: calc(100svh - 196px - var(--ap-tools-h)); }
	.ap-gallery.ap-gallery--print { --ap-tools-h: 108px; }
	.ap-gallery__main { width: min(100%, max(340px, var(--ap-gfit))); justify-self: start; }
	.ap-gallery > .ap-pvbar, .ap-gallery > .ap-pv-note, .ap-gallery > .ap-overview { width: min(100%, max(340px, var(--ap-gfit))); }
	.ap-gallery--multi .ap-gallery__thumbs { max-height: min(640px, max(340px, var(--ap-gfit))); }
	/* hint on the left so it never covers the zoom button */
	.ap-pv-hint { left: 12px; transform: none; }
	.ap-pv-hint.is-out { transform: translateY(-6px); }
}
.ap-pvbar { flex-wrap: wrap; }
.ap-pvbar__ctrl { flex: 1 1 120px; }

.ap-logo-ghosts { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ap-logo-ghost { position: absolute; display: block; padding: 0; border: 0; background: none; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); pointer-events: auto; cursor: pointer; outline: 1px dashed transparent; outline-offset: 4px; transition: outline-color .15s; }
.ap-logo-ghost:hover, .ap-logo-ghost:focus-visible { outline-color: rgba(17, 17, 17, .35); }
.ap-logo-ghost .ap-logo-preview__art { display: block; }
.ap-logo-ghost img { width: 100%; height: auto; display: block; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .12)); }

.ap-overview { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
@media (min-width: 700px) { .ap-gallery--multi .ap-overview { grid-column: 2; } }
.ap-overview__label { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.25; max-width: 64px; }
.ap-overview__items { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ap-overview__item { flex: none; display: grid; gap: 3px; justify-items: center; padding: 0; background: none; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.ap-overview__item img { width: 74px; height: 74px; object-fit: cover; border-radius: 9px; border: 2px solid transparent; background: var(--stone); transition: border-color .15s; }
.ap-overview__item:hover img { border-color: var(--line); }
.ap-overview__item.is-active img { border-color: var(--accent); }
.ap-overview__all { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .15s; }
.ap-overview__all:hover { background: var(--accent); }
@media (max-width: 480px) { .ap-overview { flex-wrap: wrap; } .ap-overview__label { max-width: none; flex: 1 1 100%; } .ap-overview__all { margin-left: auto; } }

.ap-pdesc { margin: 0 0 22px; }
.ap-pdesc__title { font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.ap-pdesc__body { font-size: 15px; }
.ap-pdesc__body > *:last-child { margin-bottom: 0; }
.ap-pdesc.is-clamp .ap-pdesc__body { max-height: 8.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.ap-pdesc__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 0; background: none; font-size: 14px; font-weight: 700; color: var(--accent); }
.ap-pdesc__more .is-less, .ap-pdesc.is-open .ap-pdesc__more .is-more { display: none; }
.ap-pdesc.is-open .ap-pdesc__more .is-less { display: inline; }
.ap-pdesc.is-open .ap-pdesc__more .icon { transform: rotate(180deg); }

/* Inquiry: delivery choice (feedback #55 p7): rows in a narrow column, cards side by side when there is room */
.ap-dlv { container-type: inline-size; }
.ap-dlv__opts { display: grid; gap: 10px; }
.ap-dlv__opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ap-dlv__opt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(27, 47, 94, .07), rgba(27, 47, 94, 0) 55%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.ap-dlv__opt:hover { border-color: #c4c8d3; transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(17, 24, 39, .45); }
.ap-dlv__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.ap-dlv__opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27, 47, 94, .12), 0 16px 30px -20px rgba(27, 47, 94, .6); }
.ap-dlv__opt:has(input:checked)::before { opacity: 1; }
.ap-dlv__opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.ap-dlv__ico { position: relative; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--stone); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background .2s, color .2s, transform .25s; }
.ap-dlv__opt:hover .ap-dlv__ico { transform: rotate(-6deg); }
.ap-dlv__opt:has(input:checked) .ap-dlv__ico { background: var(--accent); color: #fff; transform: none; }
.ap-dlv__tick { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #1e9e5a; color: #fff; border: 2px solid #fff; display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.ap-dlv__opt:has(input:checked) .ap-dlv__tick { opacity: 1; transform: scale(1); }
.ap-dlv__txt { position: relative; flex: 1; display: grid; gap: 2px; min-width: 0; }
.ap-dlv__txt strong { font-family: var(--font-head); font-size: 16px; line-height: 1.2; color: var(--ink); }
.ap-dlv__txt small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.ap-dlv__price { position: relative; flex: none; padding: 5px 11px; border-radius: 999px; background: var(--stone); font-size: 12.5px; font-weight: 800; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
.ap-dlv__price.is-free { background: #e4f4ea; color: #1e7a45; }
.ap-dlv__opt:has(input:checked) .ap-dlv__price:not(.is-free) { background: var(--accent); color: #fff; }
@container (min-width: 620px) {
	.ap-dlv__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ap-dlv__opt { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
	.ap-dlv__price { margin-top: auto; }
}
.ap-dlv__more { display: none; gap: 10px; margin-top: 10px; }
.ap-dlv:has(input[name="delivery"][value="parcel"]:checked) .ap-dlv__more--parcel,
.ap-dlv:has(input[name="delivery"][value="courier"]:checked) .ap-dlv__more--courier { display: grid; }
.ap-dlv__carriers { display: flex; flex-wrap: wrap; gap: 8px; }

/* "Added to inquiry" modal: wide two-side preview on top, print places one per line */
.ap-added__item.is-wide { grid-template-columns: minmax(0, 1fr); }
.ap-added__item.is-wide > img { width: 100%; height: auto; max-height: 260px; aspect-ratio: auto; padding: 8px; }
.ap-added__body .ap-inquiry__product div.is-list { align-items: flex-start; }
.ap-added__places { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; justify-items: end; }
.ap-added__places li { display: flex; align-items: center; gap: 8px; }
.ap-added__places b { font-weight: 700; }
.ap-added__places em { font-style: normal; font-size: 12px; color: var(--muted); }
.ap-added__logos { display: inline-flex; gap: 4px; }
.ap-added__logos img, .ap-added__logos i { width: 28px; height: 28px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: #fff; object-fit: contain; mix-blend-mode: normal; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-style: normal; font-weight: 800; color: var(--muted); }

/* Basket: edit link, preview zoom; product page: edit mode bar */
.ap-qitem__edit { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; transition: border-color .15s, color .15s; }
.ap-qitem__edit:hover { border-color: var(--accent); color: var(--accent); }
.ap-zoom { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 10, 10, .9); animation: ap-fade .2s ease; }
.ap-zoom img { max-width: min(96vw, 1600px); max-height: 88vh; border-radius: var(--radius); background: #fff; }
.ap-zoom__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.ap-zoom__close:hover { background: rgba(255, 255, 255, .26); }
@keyframes ap-fade { from { opacity: 0; } to { opacity: 1; } }
.ap-editbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; padding: 10px 14px; border-radius: 12px; background: #eef1f8; color: var(--accent); font-size: 13.5px; font-weight: 700; }
.ap-editbar button { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* Embroidery price note (feedback #58) */
.ap-emb-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff6e5; color: #7a4b00; font-size: 13px; line-height: 1.45; }
.ap-emb-note .icon { flex: none; margin-top: 1px; }
.ap-summary__emb { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }

/* Back logo on a product without a back photo: the front photo flipped stands in for the back (feedback #67) */
#ap-main-img { transition: transform .45s cubic-bezier(.32, .72, 0, 1); }
#ap-main-img.is-mirror { transform: scaleX(-1); }
.ap-pv-side { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgba(17, 17, 17, .78); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; pointer-events: none; }

/* Thumb column fits the image height; arrows + fade only when it still overflows (feedback #68) */
@media (min-width: 700px) {
	.ap-gallery--multi { grid-template-columns: var(--thumb-col, 76px) minmax(0, 1fr); }
	.ap-gallery__thumbs { position: relative; --thumb: 76px; }
	.ap-gallery__thumbs .ap-gallery__thumb { width: var(--thumb); }
}
.ap-thumbs__arrow { display: none; position: sticky; z-index: 2; flex: none; align-self: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); align-items: center; justify-content: center; }
.ap-thumbs__arrow--up { top: 2px; margin-bottom: -38px; }
.ap-thumbs__arrow--down { bottom: 2px; margin-top: -38px; }
@media (min-width: 700px) {
	.ap-gallery__thumbs.is-cut-top .ap-thumbs__arrow--up, .ap-gallery__thumbs.is-cut-bottom .ap-thumbs__arrow--down { display: inline-flex; }
}


/* "Sinu kujundus" lives in the configurator next to the print places, not under the image */
.ap-config .ap-overview { width: auto !important; margin: 14px 0 0; grid-column: auto; }

/* "Too logo ka siia pildile": the logo stays on its photo until brought to another one */
.ap-pv-bring { position: absolute; left: 50%; bottom: 16px; z-index: 4; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(27, 47, 94, .7); transition: background .15s; animation: ap-bring-in .35s cubic-bezier(.32, .72, 0, 1); }
.ap-pv-bring:hover { background: var(--accent-dark); }
@keyframes ap-bring-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translateX(-50%); } }

/* Back view illustration for garments without a back photo (Kermo #78) */
.ap-gallery__thumb--mockup { position: relative; }
.ap-gallery__mocktag { position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); padding: 1px 5px; border-radius: 999px; background: rgba(17, 17, 17, .72); color: #fff; font-size: 9.5px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; pointer-events: none; }
.ap-mock-badge { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: none; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 700; pointer-events: none; }
.ap-gallery__main.is-mockup .ap-mock-badge { display: block; }

/* "Lisatud päringusse": preview as cards, details as a clean two-column list (Kermo 20.10) */
.ap-added__item.is-wide > img { padding: 0; max-height: 300px; background: none; border-radius: 0; mix-blend-mode: normal; }
#ap-added-name { font-size: 17px; margin-bottom: 12px; }
#ap-added-meta { display: block; padding: 2px 16px; border-radius: 12px; font-size: 14px; }
#ap-added-meta .ap-added__row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(17, 17, 17, .07); }
#ap-added-meta .ap-added__row:last-child { border-bottom: 0; }
#ap-added-meta .ap-added__row > span { color: var(--muted); font-size: 13px; }
#ap-added-meta .ap-added__row > strong { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: left; }
#ap-added-meta .ap-added__row.is-list { align-items: start; }
#ap-added-meta .ap-added__row.is-total > strong { font-size: 17px; font-weight: 800; }
#ap-added-meta .ap-added__places { justify-items: start; gap: 8px; }
#ap-added-meta .ap-added__places li { gap: 10px; }
#ap-added-meta .ap-added__places b { font-weight: 600; }
#ap-added-meta .ap-added__logos img, #ap-added-meta .ap-added__logos i { width: 32px; height: 32px; }
.ap-added__note { margin: 10px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.ap-added__note::before { content: "* "; }

/* colour without a photo of its own: say which colour the photo shows (Tõnis #90) */
.ap-colour-note { position: absolute; left: 12px; bottom: 12px; z-index: 3; max-width: calc(100% - 24px); padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 700; pointer-events: none; }
.ap-gallery__main.is-mockup .ap-colour-note { display: none; }
