/* PROMIDEA Gastro – Konfigurator Artikelseite */
.pg-cfgp { margin: 1.25rem 0 1rem; }
.pg-cfgp__group { margin: 0 0 1.25rem; }
.pg-cfgp__label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin: 0 0 .55rem; opacity: .75; }
.pg-cfgp__hint, .pg-cfgp__area { font-size: .85rem; opacity: .75; margin: .45rem 0 0; }
.pg-cfgp__area { margin: -0.5rem 0 1rem; }

.pg-sb { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .2rem; padding: .55rem .9rem; border: 1.5px solid #003087; border-radius: 10px; color: #003087; font-weight: 600; font-size: .9rem; text-decoration: none; }
.pg-sb:hover { background: #003087; color: #fff; }
.pg-vtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .6rem; }
.pg-vtiles--fin { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
.pg-vtile { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .55rem .4rem .6rem; background: #fff; border: 1.5px solid #e2e2e2; border-radius: 10px; cursor: pointer; font: inherit; color: inherit; text-align: center; transition: border-color .15s, box-shadow .15s; }
.pg-vtile:hover { border-color: #bbb; }
.pg-vtile[aria-pressed="true"] { border-color: #1f5fff; box-shadow: 0 0 0 3px rgba(31, 95, 255, .15); }
.pg-vtile img { width: 100%; aspect-ratio: 1; object-fit: contain; margin: 0 0 .25rem; }
.pg-vtile--sm img { max-width: 64px; }
.pg-vtile strong { font-size: .85rem; font-weight: 600; line-height: 1.2; }
.pg-vtile span { font-size: .75rem; opacity: .7; }

.pg-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.pg-chip { padding: .42rem .8rem; border: 1.5px solid #e2e2e2; border-radius: 999px; background: #fff; font: inherit; font-size: .85rem; color: inherit; cursor: pointer; }
.pg-chip:hover { border-color: #bbb; }
.pg-chip[aria-pressed="true"] { border-color: #1f5fff; background: #1f5fff; color: #fff; }
.pg-chip:disabled { opacity: .4; cursor: not-allowed; }
.pg-qchips { margin: 0 0 .6rem; width: 100%; }

.pg-live { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; padding: 1rem 1.1rem; margin: 1rem 0; background: #f5f7fb; border-radius: 12px; width: 100%; }
.pg-live > div { display: flex; flex-direction: column; }
.pg-live span { font-size: .75rem; opacity: .7; }
.pg-live strong { font-size: 1rem; font-weight: 600; }
.pg-live__total { grid-column: 1 / -1; border-top: 1px solid #dfe3ec; padding-top: .55rem; }
.pg-live__total strong { font-size: 1.35rem; }
.pg-live__msg { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: #b42318; }

/* Im dunklen Bestellblock: helle Schrift auf dunklem Grund */
form.cart .pg-qchips .pg-chip { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; font-weight: 600; }
form.cart .pg-qchips .pg-chip:hover { border-color: #fff; }
form.cart .pg-qchips .pg-chip[aria-pressed="true"] { background: #1f5fff; border-color: #1f5fff; color: #fff; }
form.cart .pg-live { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
form.cart .pg-live span { color: rgba(255, 255, 255, .78); opacity: 1; }
form.cart .pg-live strong { color: #fff; }
form.cart .pg-live strong[data-k="unit"] { color: #d4e000; }
form.cart .pg-live__total { border-top-color: rgba(255, 255, 255, .25); }
form.cart .pg-live__msg { color: #ffb4a8; }

.pg-tiers { margin: 1.75rem 0 0; }
.pg-tiers__title { font-size: 1rem; margin: 0 0 .6rem; }
.pg-tiers__table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.pg-tiers__table th, .pg-tiers__table td { padding: .45rem .6rem; border-bottom: 1px solid #eee; text-align: right; }
.pg-tiers__table th:first-child, .pg-tiers__table td:first-child { text-align: left; }
.pg-tiers__table thead th { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.pg-tiers__note { font-size: .8rem; opacity: .7; margin: .7rem 0 0; }

/* Bildansicht (Lightbox) */
.pg-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(6, 18, 40, .92); padding: 56px 64px; }
.pg-lb[hidden] { display: none; }
.pg-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.pg-lb__x { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: #003087; font-size: 32px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.pg-lb__x:hover, .pg-lb__x:focus-visible { background: #cedc00; color: #0b1a33; outline: none; }
.pg-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #003087; font-size: 32px; line-height: 1; cursor: pointer; }
.pg-lb__nav:hover { background: #fff; }
.pg-lb__nav[hidden] { display: none; }
.pg-lb__prev { left: 10px; }
.pg-lb__next { right: 10px; }
.pg-lb__count { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; color: #fff; font-size: .9rem; }
html.pg-lb-open { overflow: hidden; }
@media (max-width: 600px) { .pg-lb { padding: 64px 12px; } .pg-lb__nav { top: auto; bottom: 8px; transform: none; } }

/* Druckdaten: Logo, Vorschau, Ampel, Pantone, Position */
.pg-print { margin: 1.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid #e6e8ee; }
.pg-print [hidden] { display: none !important; }
.pg-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.2rem 1rem; border: 2px dashed #9fb0cf; border-radius: 12px; background: #f5f7fb; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.pg-drop:hover, .pg-drop.is-over { border-color: #003087; background: #eef2fa; }
.pg-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pg-drop strong { color: #003087; font-size: 1rem; }
.pg-drop span { font-size: .8rem; color: #3d4a5c; }
.pg-file { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border: 1.5px solid #dfe3ec; border-radius: 10px; background: #fff; }
.pg-file__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.pg-file__state { font-size: .82rem; color: #127a3a; white-space: nowrap; }
.pg-file { flex-wrap: wrap; }
.pg-file__state.is-bad { color: #b42318; white-space: normal; order: 3; flex-basis: 100%; }
.pg-file__rm, .pg-mini { padding: .3rem .7rem; border: 1.5px solid #c9d1e0; border-radius: 999px; background: #fff; font: inherit; font-size: .8rem; color: #003087; cursor: pointer; }
.pg-file__rm:hover, .pg-mini:hover { border-color: #003087; }
.pg-later { display: flex; align-items: center; gap: .4rem; margin: .7rem 0 0; font-size: .9rem; cursor: pointer; }
.pg-stage-wrap { margin: 0 0 1.25rem; }
.pg-stage { position: relative; width: 100%; aspect-ratio: 3 / 2; background: #fff; border: 1px solid #e2e5ec; border-radius: 12px; overflow: hidden; touch-action: none; }
.pg-stage__bg { display: block; width: 100%; height: 100%; }
.pg-stage__load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font-size: .85rem; color: #3d4a5c; background: #fff; }
.pg-area { position: absolute; }
.pg-area__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #d0278f; opacity: .7; pointer-events: none; }
.pg-plogo { position: absolute; cursor: move; outline: 1px dashed rgba(0, 48, 135, .55); outline-offset: 1px; touch-action: none; }
.pg-plogo canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.pg-plogo.is-white canvas { filter: drop-shadow(0 0 1px rgba(0, 0, 0, .8)); }
.pg-plogo__h { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; background: #003087; border: 2px solid #fff; border-radius: 3px; cursor: nwse-resize; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.pg-vtabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 .6rem; background: #eef1f6; border-radius: 999px; }
.pg-vtab { padding: .4rem 1rem; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: .85rem; font-weight: 600; color: #3d4a5c; cursor: pointer; }
.pg-vtab[aria-pressed="true"] { background: #003087; color: #fff; }
.pg-glass { position: relative; background: #fff; border: 1px solid #e2e5ec; border-radius: 12px; overflow: hidden; min-height: 200px; }
.pg-glass__c { display: block; width: 100%; height: auto; }
.pg-glass__msg { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0 auto; width: max-content; max-width: 90%; padding: .4rem .8rem; border-radius: 999px; background: rgba(0, 48, 135, .9); color: #fff; font-size: .82rem; text-align: center; }
.pg-stage__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .6rem 0 0; }
.pg-size { flex: 1; font-size: .88rem; font-weight: 600; color: #0b1a33; }
.pg-check { margin: 0 0 1.25rem; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid; font-size: .88rem; }
.pg-check__t { display: flex; align-items: center; gap: .5rem; }
.pg-check__t::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; flex: none; }
.pg-check ul { margin: .45rem 0 0; padding-left: 1.25rem; color: #0b1a33; }
.pg-check li { margin: .15rem 0; }
.pg-check--ok { border-color: #8fd3a8; background: #effaf3; color: #127a3a; }
.pg-check--warn { border-color: #f2c66d; background: #fff8e8; color: #9a5b00; }
.pg-check--bad { border-color: #f1a49a; background: #fff1ef; color: #b42318; }
.pg-pms__rows { display: grid; gap: .5rem; }
.pg-pms__row { display: grid; grid-template-columns: 6.5rem 28px 1fr; align-items: center; gap: .6rem; }
.pg-pms__n { font-size: .85rem; opacity: .8; }
.pg-pms__sw { width: 28px; height: 28px; border-radius: 6px; border: 1px solid #c9d1e0; background: repeating-linear-gradient(45deg, #fff 0 4px, #eef1f6 4px 8px); }
.pg-pms__sw.is-unknown { background: repeating-linear-gradient(45deg, #fff 0 4px, #f6d7e9 4px 8px); }
.pg-pms__row input, .pg-pos__note { width: 100%; padding: .55rem .7rem; border: 1.5px solid #c9d1e0; border-radius: 8px; font: inherit; background: #fff; color: #0b1a33; }
.pg-pms__row input:focus, .pg-pos__note:focus { outline: none; border-color: #003087; box-shadow: 0 0 0 3px rgba(0, 48, 135, .15); }
.pg-pos { display: grid; gap: .4rem; }
.pg-radio { display: flex; align-items: center; gap: .45rem; font-size: .92rem; cursor: pointer; }
.pg-print__err { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 10px; background: #fff1ef; color: #b42318; font-size: .9rem; font-weight: 600; }

.single-product form.variations_form table.variations,
.single-product form.variations_form .reset_variations,
.single-product form.variations_form .woocommerce-variation-price { display: none !important; }
