/* Genel tipografi ve koyu müze teması */
:root {
    --bg-deep: #0d1117;
    --bg-panel: rgba(22, 27, 34, 0.92);
    --text: #e6edf3;
    --muted: #8b949e;
    --accent: #58a6ff;
    --accent-hover: #79b8ff;
    --border: #30363d;
    --danger: #f85149;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: #000;
}

.museum-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-content {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Three.js tam ekran konteyner */
.scene-wrap {
    position: relative;
    flex: 1;
    min-height: 60vh;
    overflow: hidden;
}

.scene-wrap canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Üst bilgi çubuğu: başlık + gezinme */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.brand {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-main {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-main a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.nav-main a:hover {
    color: var(--accent-hover);
    border-color: var(--border);
    background: rgba(88, 166, 255, 0.08);
}

.nav-main a.is-active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(88, 166, 255, 0.12);
}

/* React HUD kökü (3D üzerinde şeffaf panel) */
#hud-root {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.hud-panel {
    pointer-events: auto;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: min(90vw, 520px);
    padding: 1rem 1.25rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.hud-panel h2 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.hud-panel p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.45;
}

.hud-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(240, 246, 252, 0.06);
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.btn:hover {
    background: rgba(88, 166, 255, 0.15);
    border-color: var(--accent);
}

.btn-primary {
    border-color: var(--accent);
    background: rgba(88, 166, 255, 0.2);
    color: var(--accent-hover);
}

/* Ayarlar sayfası: form */
.settings-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.settings-page-wide {
    max-width: 720px;
}

.settings-h2-client {
    font-size: 1.15rem;
    margin: 2rem 0 0.25rem;
}

.lead-tight {
    margin-bottom: 1rem !important;
}

.settings-card-form {
    margin-bottom: 0.5rem;
}

/* Ayarlar: açılır paneller (details) */
.settings-accordion {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    background: var(--bg-panel);
}

.settings-accordion > summary.settings-accordion-summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    position: relative;
    padding-right: 2.5rem;
}

.settings-accordion > summary.settings-accordion-summary::-webkit-details-marker {
    display: none;
}

.settings-accordion > summary.settings-accordion-summary::after {
    content: "▸";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    transition: transform 0.2s ease;
}

.settings-accordion[open] > summary.settings-accordion-summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.settings-accordion[open] > summary.settings-accordion-summary {
    border-bottom: 1px solid var(--border);
}

.settings-accordion-body {
    padding: 0 1.25rem 1.25rem;
}

.settings-accordion-lead {
    margin: 0 0 1rem !important;
    padding-top: 0.25rem;
}

.settings-accordion-form {
    margin: 0;
}

.settings-accordion-actions {
    margin-top: 1.25rem;
    margin-bottom: 0;
}

/* Ana panel içi alt gruplar — iç içe açılır (details) */
.settings-subsections {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-subsection {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.settings-subsection > .settings-subsection-summary {
    list-style: none;
    cursor: pointer;
    padding: 0.65rem 2.25rem 0.65rem 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
    border-left: 3px solid var(--accent, #58a6ff);
    user-select: none;
}

.settings-subsection > .settings-subsection-summary::-webkit-details-marker {
    display: none;
}

.settings-subsection > .settings-subsection-summary::after {
    content: "▸";
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    transition: transform 0.2s ease;
}

.settings-subsection[open] > .settings-subsection-summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.settings-subsection[open] > .settings-subsection-summary {
    border-bottom: 1px solid var(--border);
}

.settings-subsection-body {
    padding: 0.65rem 0.85rem 0.85rem;
}

.settings-subsection-body .renk-grid,
.settings-subsection-body .spot-grid {
    margin-bottom: 0;
}

.settings-subsection-body .giydir-grid {
    margin-bottom: 0;
}

.genel-aydin-grid {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.08);
}

.genel-aydin-grid .hint {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.settings-subsection-lead {
    margin: 0 0 0.85rem !important;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Ayarlar: her alanın altında ayrıntılı açıklama */
.settings-field-desc {
    margin: 0.2rem 0 0.85rem !important;
    padding: 0.4rem 0 0.4rem 0.65rem;
    font-size: 0.82rem;
    line-height: 1.48;
    color: var(--muted);
    border-left: 2px solid rgba(88, 166, 255, 0.35);
}

.settings-field-desc:last-child {
    margin-bottom: 0 !important;
}

.form-row-color + .settings-field-desc,
.form-row-inline + .settings-field-desc {
    margin-top: -0.35rem !important;
}

.renk-grid {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.12);
}

.renk-grid-hint {
    margin: 0.75rem 0 0 !important;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.spot-grid {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.1);
}

.spot-grid .hint {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.spot-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-row-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-row-inline label {
    margin: 0;
    font-size: 0.9rem;
}

.input-num-short {
    width: 5.5rem;
    max-width: 100%;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-input, rgba(255, 255, 255, 0.06));
    color: inherit;
}

.form-row-color {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-row-color:last-of-type {
    margin-bottom: 0;
}

.form-row-color label {
    flex: 1 1 200px;
    margin: 0;
    font-size: 0.9rem;
}

.input-color {
    width: 52px;
    height: 40px;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    background: var(--bg-deep);
}

.giydir-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.giydir-row {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.15);
}

.giydir-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.giydir-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.giydir-thumb {
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #111;
}

.giydir-sil {
    font-size: 0.85rem;
    color: var(--muted);
    cursor: pointer;
}

.giydir-yok {
    margin: 0 0 0.5rem !important;
}

.giydir-file {
    width: 100%;
    font-size: 0.85rem;
    color: var(--muted);
}

.giydir-arka-uv {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border);
}

.giydir-arka-uv-title {
    font-weight: 600;
    margin: 0 0 0.5rem !important;
    color: var(--text);
}

.settings-page h1 {
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
}

.lead {
    color: var(--muted);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}

.settings-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.settings-card h2 {
    font-size: 1rem;
    margin: 0 0 1rem;
    color: var(--muted);
    font-weight: 600;
}

.form-row {
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
}

.form-row input[type="range"] {
    width: 100%;
}

.form-row select {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-deep);
    color: var(--text);
    font-size: 0.9rem;
}

.input-text-wide,
.input-textarea {
    width: 100%;
    max-width: 28rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-deep);
    color: var(--text);
    font-size: 0.9rem;
    box-sizing: border-box;
}

.input-textarea {
    resize: vertical;
    min-height: 3.25rem;
    line-height: 1.4;
}

.hint {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.35rem;
}

.status-msg {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--accent);
}

.status-msg.err {
    color: var(--danger);
}

.site-footer {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    text-align: center;
}

/* smd4 ile aynı tek sahne: giriş + koridor + odalar (#app-root) */
.main-museum-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
}

.main-museum-shell #app-root {
    flex: 1;
    min-height: 100vh;
    position: relative;
}

.app-root {
    position: relative;
    background: #1a1a22;
    display: flex;
    flex-direction: column;
}

.app-loading,
.app-error,
.app-empty {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8e8f0;
    padding: 24px;
    text-align: center;
}

/* Müze ilk yükleme: ayarlardan logo + metin + dönen kum saati (createMuseumScene bitene kadar) */
.museum-boot-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: var(--museum-boot-bg, #1a1a22);
    color: #e8e8f0;
}

.museum-boot-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: min(92vw, 420px);
    text-align: center;
}

.museum-boot-logo {
    max-width: min(280px, 72vw);
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.museum-boot-hourglass-wrap {
    animation: museum-boot-hourglass-spin 2.4s linear infinite;
    color: rgba(232, 232, 240, 0.92);
}

.museum-boot-hourglass-svg {
    display: block;
    margin: 0 auto;
}

@keyframes museum-boot-hourglass-spin {
    to {
        transform: rotate(360deg);
    }
}

.museum-boot-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.45;
    opacity: 0.95;
    white-space: pre-wrap;
}

.app-err-detail {
    margin-top: 12px;
    opacity: 0.85;
    max-width: 520px;
}

.app-banner {
    flex-shrink: 0;
    background: #5c4a2a;
    color: #fff8e8;
    padding: 8px 16px;
    font-size: 0.88rem;
    text-align: center;
}

.museum-canvas-wrap {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 400px;
}

#museum-canvas {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
}

/* Telefon/tablet: sayfa kaydırması yerine bakış sürüklemesi */
#museum-canvas.museum-canvas--touch-nav {
    touch-action: none;
}

.museum-touch-hud {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 8px 10px;
    pointer-events: none;
    background: linear-gradient(to top, rgba(10, 9, 8, 0.55), transparent);
}

.museum-touch-hud__dpad {
    display: grid;
    grid-template-columns: minmax(52px, 1fr) minmax(52px, 1fr) minmax(52px, 1fr);
    grid-template-rows: auto auto auto;
    gap: 6px;
    width: min(100%, 240px);
    pointer-events: auto;
    touch-action: manipulation;
}

.museum-touch-btn {
    min-height: 48px;
    min-width: 48px;
    padding: 6px;
    font-size: 1.2rem;
    line-height: 1;
    border: 1px solid rgba(255, 250, 235, 0.2);
    border-radius: 10px;
    background: rgba(32, 30, 26, 0.78);
    color: #f8f4ea;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.museum-touch-btn:active {
    background: rgba(55, 50, 42, 0.92);
}

.museum-touch-btn--action {
    font-weight: 700;
    font-size: 1rem;
}

.museum-hint {
    position: fixed;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    background: rgba(20, 20, 28, 0.75);
    color: #e8e8f0;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.92rem;
    pointer-events: none;
}

.museum-crosshair {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 55;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    line-height: 0;
    color: transparent;
    pointer-events: none;
    user-select: none;
    /* Orta nişangah: ince çizgiler + koyu kontur (açık/koyu sahnede okunur) */
    background:
        linear-gradient(#fff, #fff) center/2px 22px no-repeat,
        linear-gradient(#fff, #fff) center/22px 2px no-repeat;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.65));
}

.museum-crosshair::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Ayarlardan seçilen nişangah şekilleri */
.museum-crosshair--nokta {
    background:
        radial-gradient(circle, #fff 0 4px, transparent 4px) center/100% 100% no-repeat;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 3px rgba(0, 0, 0, 0.55));
}

.museum-crosshair--nokta::after {
    display: none;
}

.museum-crosshair--halka {
    background: none;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.85));
}

.museum-crosshair--halka::after {
    width: 32px;
    height: 32px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.55);
}

.museum-crosshair--minimal {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 2px, transparent 2px) center/100% 100% no-repeat;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.9));
}

.museum-crosshair--minimal::after {
    display: none;
}

/* Müze — ayarlardan gelen tasarımcı / telif (sağ alt) */
.museum-designer-credit {
    position: fixed;
    bottom: 10px;
    right: 12px;
    left: auto;
    max-width: min(92vw, 22rem);
    margin: 0;
    z-index: 60;
    text-align: right;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(210, 216, 235, 0.78);
    pointer-events: none;
    white-space: pre-line;
}

.museum-designer-credit p {
    margin: 0;
}

/* Ürün modalı — tam ekrana yakın, sol görsel / sağ bilgi */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(6, 6, 10, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-sizing: border-box;
}

.product-modal-inner {
    position: relative;
    width: min(calc(100vw - 10px), 1920px);
    height: min(calc(100vh - 10px), 1200px);
    max-height: calc(100vh - 10px);
    display: flex;
    flex-direction: column;
    background: #101018;
    border-radius: 10px;
    padding: 0;
    color: #e8e8f0;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}

.product-modal-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    padding: 8px 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-modal-close-x {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #4a4a58;
    background: #252530;
    color: #eee;
    cursor: pointer;
    font-size: 0.95rem;
}

.product-modal-close-x:hover {
    background: #343444;
}

.product-modal-split {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr minmax(280px, min(40vw, 520px));
    gap: 0;
}

@media (max-width: 800px) {
    .product-modal-split {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(200px, 42vh) 1fr;
    }
}

.product-modal-col-visual {
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #060608;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 800px) {
    .product-modal-col-visual {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

.product-modal-image-wrap {
    position: relative;
    flex: 1;
    min-height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-modal-zoom-float {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    padding: 6px 8px;
    background: rgba(8, 8, 12, 0.65);
    border-radius: 8px;
}

.product-modal-zoom-float .product-modal-zoom-range {
    width: min(50vw, 240px);
    vertical-align: middle;
    cursor: pointer;
}

.product-modal-col-info {
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #12121a;
}

.product-modal-info-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 14px 10px;
    -webkit-overflow-scrolling: touch;
}

.product-modal-info-footer {
    flex-shrink: 0;
    padding: 10px 14px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: center;
}

.product-modal-close-bottom {
    padding: 10px 32px;
    border-radius: 8px;
    border: 1px solid #555;
    background: #2a2a34;
    color: #eee;
    cursor: pointer;
    font-size: 1rem;
}

.product-modal-close-bottom:hover {
    background: #3a3a48;
}

.product-modal-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-modal-noimg {
    padding: 48px;
    color: #888;
}

.product-modal-lens {
    position: fixed;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 101;
    background-repeat: no-repeat;
}

.product-modal-dl {
    margin: 0;
    padding: 0;
}

.product-modal-field-row {
    display: grid;
    grid-template-columns: minmax(7rem, 32%) 1fr;
    gap: 8px 14px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 480px) {
    .product-modal-field-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.product-modal-dl .product-modal-field-row:last-child {
    border-bottom: none;
}

.product-modal-dt {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9ea0c0;
    line-height: 1.4;
}

.product-modal-dd {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    min-width: 0;
}

.product-modal-dd-plain {
    word-break: break-word;
}

.product-modal-dd-multiline {
    white-space: pre-wrap;
    word-break: break-word;
}

.product-modal-dd-url {
    overflow-wrap: anywhere;
}

.product-modal-link {
    color: #9ec8ff;
    word-break: break-all;
}

.product-modal-link:hover {
    text-decoration: underline;
}

.product-modal-no-fields {
    margin: 0;
    color: #a0a0b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Ayarlar: modal alanları tablosu */
.settings-table-wrap {
    overflow-x: auto;
    margin-top: 0.5rem;
}

.settings-modal-alan-tablo {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.settings-modal-alan-tablo th,
.settings-modal-alan-tablo td {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 10px;
    vertical-align: middle;
    text-align: left;
}

.settings-modal-alan-tablo th {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.settings-modal-alan-tablo td:nth-child(1) {
    width: 4.5rem;
    text-align: center;
}

.settings-modal-alan-tablo td:nth-child(2) {
    width: 5rem;
    text-align: center;
}

.settings-modal-sira-input {
    width: 3.75rem;
    max-width: 100%;
    box-sizing: border-box;
}

.settings-modal-alan-check {
    display: inline-flex;
    margin: 0;
    justify-content: center;
}

.settings-modal-alan-aciklama {
    color: rgba(255, 255, 255, 0.88);
}

.settings-modal-etiket-input {
    width: 100%;
    max-width: 28rem;
    box-sizing: border-box;
}
