.pcb-specs-btn,a[href^="#pcb-specs-"],a[href*="/fab-order/v1/files/"]{margin:0 4px 0 0;display:inline-block;padding:3px 12px;border:1px solid currentColor;border-radius:999px;font-size:12px;line-height:1.6;text-decoration:none;cursor:pointer;white-space:nowrap}
.pcb-specs-btn:hover,a[href^="#pcb-specs-"]:hover,a[href*="/fab-order/v1/files/"]:hover{background:rgba(0,0,0,.05)}
.pcb-specs-ov{position:fixed;inset:0;z-index:999999;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.pcb-specs-dlg{background:#fff;color:#1d2327;border-radius:14px;max-width:560px;width:100%;max-height:88vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.3);padding:0;font-size:14px}
.pcb-specs-dlg h4{margin:16px 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.4px;color:#646970}
.pcb-specs-dlg table{width:100%;border-collapse:collapse}
.pcb-specs-dlg th,.pcb-specs-dlg td{padding:7px 10px;border-bottom:1px solid #eee;text-align:left;vertical-align:top}
.pcb-specs-dlg th{width:42%;font-weight:600;color:#50575e;background:#f8f9fa}
.pcb-specs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:linear-gradient(135deg,#0b3b3a,#0f766e);color:#fff;border-bottom:4px solid #f59e0b}
.pcb-specs-head h3{margin:0;color:#fff;font-size:17px}
.pcb-specs-dlg .pcb-specs-x{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;margin:0;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:transparent;color:#fff;cursor:pointer;line-height:1;font-size:0;box-shadow:none}
.pcb-specs-dlg .pcb-specs-x:hover{background:rgba(255,255,255,.18)}
.pcb-specs-dlg .pcb-specs-x svg{display:block;width:16px;height:16px;max-width:none}
.pcb-specs-body{overflow:auto;padding:6px 18px 18px}
/* siparişlerde "Özellikler:" başlığı gösterilmez; yalnızca buton */
.wc-item-meta li:has(a[href^="#pcb-specs-"]) .wc-item-meta-label,
.wc-item-meta li:has(a[href^="#pcb-specs-"]) strong{display:none}
.wc-item-meta li:has(a[href^="#pcb-specs-"]) p{display:inline;margin:0}

/* Blok sepet: detay listesindeki butonlar gizli; adet kutusunun altındaki kopyalar görünür */
.wc-block-cart-items__row .wc-block-components-product-details a[href^="#pcb-specs-"],
.wc-block-cart-items__row .wc-block-components-product-details a[href*="/fab-order/v1/files/"],
.wc-block-cart-items__row .wc-block-components-product-details br{display:none}
.pcb-fab-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}

.pcb-specs-dlg tr.pcb-specs-h th { background: #0f766e; color: #fff; text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; }
.pcb-specs-dlg td:empty::after { content: '—'; color: #b6c2c0; }

/* Yönetici sipariş ekranı: dahili stok kodu ve "Özellikler:" etiketi gösterilmez; yalnızca düğme */
.woocommerce_order_items tr.item:has(.pcb-specs-btn) .wc-order-item-sku{display:none}
table.display_meta tr:has(.pcb-specs-btn) th{display:none}
table.display_meta tr:has(.pcb-specs-btn) td{padding:0}
table.display_meta tr:has(.pcb-specs-btn) td p{margin:0}

/* Yönetici: ürün adının altındaki özellik meta tablosu gizli (Özellikler sütununda gösterilir) */
.woocommerce_order_items td.name table.display_meta:has(.pcb-specs-btn){display:none}
.woocommerce_order_items th.item_specs,.woocommerce_order_items th.item_gerber,.woocommerce_order_items td.item_specs,.woocommerce_order_items td.item_gerber{text-align:center}

/* Kart önizleme galerisi */
.pcb-gal-img{cursor:zoom-in}
.wc-block-cart-item__image img[src*="/fab-order/v1/media/"],.wc-block-components-order-summary-item__image img[src*="/fab-order/v1/media/"]{cursor:zoom-in}
.pcb-gal-dlg{max-width:760px}
.pcb-gal-tabs{display:flex;gap:8px;margin:12px 0}
.pcb-gal-tab{border:1px solid #b8cbc8;background:#fff;color:#0b2530;border-radius:999px;padding:6px 18px;font-size:13px;font-weight:700;cursor:pointer}
.pcb-gal-tab.is-active{background:#0f766e;border-color:#0f766e;color:#fff}
.pcb-gal-stage{background:#0b2530;border-radius:12px;padding:12px;display:flex;align-items:center;justify-content:center;min-height:260px}
.pcb-gal-stage img{max-width:100%;max-height:62vh;width:auto;height:auto;background:#fff;border-radius:6px}

/* Yönetici sipariş kalemi: küçük resim ad ile çakışmasın */
.woocommerce_order_items td.thumb{width:52px;min-width:52px}
.woocommerce_order_items td.thumb .wc-order-item-thumbnail{width:auto;height:auto;margin:0}
.woocommerce_order_items td.thumb .cindenpcb-px-thumbs{display:block}
