/* kilif-tasarla (design-studio) sayfasina OZEL kurallar — site.css'ten
   ayrildi, sadece Views/Design/Index.cshtml'de yukleniyor. */
.design-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}.design-option-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}.design-option-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    color: inherit;
}.design-option-card--featured {
    border-color: var(--border-strong);
    background: linear-gradient(180deg, white 0%, #FAFAFF 100%);
}.design-option-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}.design-option-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}.design-option-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gradient-hero);
    color: white;
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
}.design-option-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}.design-option-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}.design-option-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}.design-outofstock-banner {
    background: #fef3c7; border: 1px solid #f59e0b; color: #92400e;
    border-radius: .5rem; padding: .6rem .9rem;
    font-size: .88rem; display: flex; align-items: center; gap: .4rem;
    margin: .5rem 0;
}.design-cart-btn--outofstock { background: #9ca3af !important; cursor: not-allowed !important; }.design-cart-btn-row {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}.design-buy-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    background: var(--gradient-hero);
    color: #fff;
    border: none;
    border-radius: 0.6rem;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3);
}.design-buy-now-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(79, 70, 229, 0.4);
}.design-buy-now-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}@media (max-width: 991px) {
    
    .design-options { grid-template-columns: 1fr; }
    
    
    
    
    
    
}.design-studio-page {
    background: var(--bg-page);
    min-height: calc(100vh - 140px);
    padding: 1.5rem 0 3rem;
}.design-studio-container {
    max-width: 1180px;
}.design-studio-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start;
}.design-ai-quotes {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: linear-gradient(135deg, rgba(238,242,255,0.95) 0%, rgba(240,249,255,0.95) 50%, rgba(255,251,235,0.95) 100%);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-lg, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    pointer-events: none;
}.design-ai-quotes-inner {
    text-align: center;
    max-width: 320px;
}.design-ai-quotes-icon {
    font-size: 2.1rem;
    margin-bottom: 0.85rem;
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 10px rgba(79, 70, 229, 0.35));
}.design-ai-progress-wrap {
    width: 260px;
    height: 22px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 0.9rem;
    box-shadow: inset 0 1px 3px rgba(79, 70, 229, 0.08);
}.design-ai-progress-bar {
    position: relative;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f97316, #facc15, #4ade80, #38bdf8, #6366f1, #f97316);
    background-size: 300% 100%;
    border-radius: 8px;
    animation: progressShimmer 2.6s linear infinite;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}.design-ai-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 16px;
    background: radial-gradient(circle, rgba(255,255,255,0.95), transparent 70%);
    filter: blur(1px);
}.design-ai-quote-text {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    margin: 0;
}.design-ai-quote-text.design-ai-quote--visible {
    opacity: 1;
    transform: translateY(0);
}.design-ai-stage-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.01em;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin: 0 0 0.35rem;
    min-height: 1.1em;
}.design-ai-stage-text.design-ai-stage-text--visible {
    opacity: 1;
    transform: translateY(0);
}.design-studio-preview {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 2rem;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}.design-preview-stage {
    position: relative;
    width: 100%;
    max-width: 480px;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}.design-model-chip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 5px 10px;
    border-radius: 20px;
    pointer-events: none;
    animation: chipFadeIn 0.25s ease;
}.design-preview-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}.design-product-image {
    width: 100%;
    max-width: 100%;
    max-height: 560px;
    object-fit: contain;
}.design-preview-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}.design-not-found {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    gap: 0.5rem;
}.design-not-found-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}.design-not-found-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}.design-not-found-model {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}.design-not-found-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}.design-preview-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.85);
    z-index: 5;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}.design-preview-loader[hidden] {
    display: none !important;
}.design-preview-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: designSpin 0.8s linear infinite;
}.design-crop-layer {
    position: absolute;
    overflow: hidden;
    z-index: 4;
    border-radius: 16px;
    cursor: grab;
    touch-action: none;
}.design-crop-layer:active { cursor: grabbing; }.design-crop-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    user-select: none;
    pointer-events: none;
    will-change: transform;
    max-width: none;
}.design-product-image--editor {
    position: relative;
    z-index: 6;
    mix-blend-mode: multiply;
    pointer-events: none;
}.design-crop-controls {
    width: 100%;
    max-width: 480px;
    padding: .75rem 1rem;
    background: #f8f8fc;
    border: 1px solid #e8e8f0;
    border-radius: .75rem;
    margin-top: .5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}.design-crop-hint {
    font-size: .78rem;
    color: #888;
    text-align: center;
    margin: 0;
}.design-crop-zoom-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}.design-crop-zoom-slider {
    flex: 1;
    accent-color: #4f46e5;
    cursor: pointer;
    /* bkz. .design-range — aynı sebep, mobilde kaydırırken kazara tetiklenmesin */
    touch-action: pan-y;
}.design-crop-btn-row {
    display: flex;
    gap: .5rem;
}.design-crop-btn {
    flex: 1;
    padding: .55rem .75rem;
    border-radius: .5rem;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background .15s;
}.design-crop-btn--ghost {
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
}.design-crop-btn--ghost:hover { background: #f3f4f6; }.design-crop-btn--primary {
    background: #4f46e5;
    color: #fff;
}.design-crop-btn--primary:hover { background: #4338ca; }.design-user-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: normal;
    opacity: 0.95;
}.design-ai-gallery {
    margin-top: 0.75rem;
}.design-gallery-thumb--ai.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.25);
}.design-studio-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 1.75rem;
    position: sticky;
    top: 96px;
    /* .design-studio-grid'in 1fr sütunu, içindeki flex-shrink:0 elemanların
       (ör. "Eklendi ✓" olunca uzayan .design-text-add-btn) min-content
       genişliğine göre büyüyüp tüm sayfayı sağa taşırıyordu — grid item'ın
       kendi içeriğine göre büyümesini burada engelliyoruz. */
    min-width: 0;
}.design-panel-head {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}.design-panel-head h1 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    color: var(--text-dark);
}.design-panel-lead {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}.design-live-count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    padding: 0.3rem 0.7rem 0.3rem 0.55rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #047857;
}.design-live-count-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #10b981;
    animation: designLiveDotPulse 1.6s ease-in-out infinite;
}.design-step-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md, 12px);
    padding: 1.1rem 1.15rem;
    margin-bottom: 1rem;
}.design-step-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}.design-step-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--primary, #4F46E5);
    background: #eef2ff;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}.design-step-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.85rem;
}.design-step-change-link {
    background: none;
    border: none;
    color: var(--primary, #4F46E5);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}.design-step-model-confirmed {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: #eef2ff;
    border: 1.5px solid #c7d2fe;
    border-radius: var(--radius-md, 10px);
}.design-step-model-check {
    flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}.design-step-model-info { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }.design-step-model-confirmed .design-step-change-link { flex-shrink: 0; }.design-step-model-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }.design-step-model-info strong { font-size: 0.92rem; color: var(--text-dark); }.design-how-section { padding: 3rem 0; }.design-how-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0.3rem 0 2rem;
    text-wrap: balance;
}.design-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}@media (max-width: 900px) {
    .design-how-grid { grid-template-columns: 1fr; }
}.design-how-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 1.5rem 1.4rem 1.4rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
}.design-how-num {
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
}.design-how-num--1 { background: #3b82f6; }.design-how-num--2 { background: #8b5cf6; }.design-how-num--3 { background: #10b981; }.design-how-img-wrap {
    width: 100%;
    height: 11rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #f6f7fa;
    border: 1px solid var(--border);
}.design-how-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.6rem;
}.design-how-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
}.design-how-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary, #4F46E5);
    margin: 0 0 0.5rem;
}.design-how-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}.design-guide-banner {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    animation: guideFadeIn .35s ease;
}.design-artwork-banner {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
    border: 1.5px solid #86efac;
    border-radius: 14px;
    padding: .75rem 1rem;
    margin-bottom: 1.1rem;
    animation: guideFadeIn .35s ease;
}.design-artwork-thumb {
    width: 44px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}.design-artwork-banner-text {
    flex: 1;
    min-width: 0;
}.design-artwork-banner-text strong {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: #15803d;
    margin-bottom: .18rem;
}.design-artwork-banner-text span {
    font-size: .75rem;
    color: #4b7c59;
    line-height: 1.4;
}.design-artwork-arrow {
    flex-shrink: 0;
    color: #22c55e;
    animation: artworkArrow 1.1s ease-in-out infinite;
}.design-resume-dismiss {
    background: none;
    border: none;
    font-size: 1rem;
    color: #86efac;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    align-self: flex-start;
}.design-resume-dismiss:hover { color: #15803d; }.design-guide-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}.design-guide-text {
    flex: 1;
}.design-guide-text strong {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: #3730a3;
    margin-bottom: .15rem;
}.design-guide-text span {
    font-size: .78rem;
    color: #6366f1;
    line-height: 1.4;
}.design-guide-dismiss {
    background: none;
    border: none;
    font-size: 1rem;
    color: #a5b4fc;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}.design-guide-dismiss:hover { color: #6366f1; }.design-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
}.design-stars {
    color: #FBBF24;
    letter-spacing: 0.05em;
}.design-rating-count {
    color: var(--text-light);
    font-weight: 600;
}.design-select-row {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1rem;
}.design-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}.design-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: var(--font);
    background: white;
    color: var(--text-dark);
    appearance: none;
    background-image: 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='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.25rem;
    cursor: pointer;
    transition: border-color 0.2s;
}.design-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}.design-case-types {
    margin-bottom: 1rem;
}.design-case-compare-btn {
    background: none;
    border: 1.5px solid var(--primary, #4F46E5);
    color: var(--primary, #4F46E5);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}.design-case-compare-btn:hover { background: var(--primary, #4F46E5); color: #fff; }.design-case-compare-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}.design-case-compare-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}.design-case-compare-card--active { border-color: var(--primary, #4F46E5); background: #f5f6ff; }.design-case-compare-card.tier-premium { border-color: #c9a86a; }.design-case-compare-card.tier-ultra { border-color: #9c7a2e; }.design-case-compare-photos {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.6rem;
    background: #f6f7fa;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}.design-case-compare-photos img {
    flex: 0 0 auto;
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border);
    cursor: zoom-in;
}.design-case-compare-body { padding: 0.75rem 0.9rem 0.9rem; }.design-case-compare-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}.design-case-compare-name { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }.design-case-compare-price { font-weight: 700; color: var(--primary, #4F46E5); white-space: nowrap; }.design-case-compare-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0 0 0.65rem;
}.design-case-compare-select {
    background: var(--gradient-hero);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}.design-case-compare-empty { color: var(--text-muted); font-size: 0.85rem; }.design-case-type-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}.design-case-type-chip {
    flex: 1;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: 10px;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, outline-color 0.15s ease;
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    text-align: center;
}.design-case-type-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.15);
    transform: translateY(-1px);
}.design-case-type-chip.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    outline-color: var(--primary);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}.design-case-type-chip.tier-premium {
    border-color: #d97706;
    border-width: 2px;
    color: #92400e;
    font-weight: 700;
}.design-case-type-chip.tier-premium:hover {
    border-color: #b45309;
    background: rgba(251, 191, 36, 0.1);
    color: #78350f;
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.18);
}.design-case-type-chip.tier-premium.active {
    border-color: #b45309;
    background: #d97706;
    color: #fff;
    outline-color: #d97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
    transform: scale(1.06);
}.design-case-type-chip.tier-ultra {
    border-width: 2px;
    border-color: #b45309;
    color: #7c2d12;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}.design-case-type-chip.tier-ultra::after {
    content: '';
    position: absolute;
    top: 0; left: -130%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.4), transparent);
    animation: chip-shine 4.5s ease 2s infinite;
    pointer-events: none;
}.design-case-type-chip.tier-ultra:hover {
    border-color: #92400e;
    background: rgba(251, 191, 36, 0.12);
    color: #451a03;
    box-shadow: 0 3px 10px rgba(180, 83, 9, 0.2);
}.design-case-type-chip.tier-ultra.active {
    border-color: #92400e;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
    color: #fff;
    outline-color: #b45309;
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.4);
    transform: scale(1.06);
}.design-case-type-chip.tier-ultra.active::after { animation: none; }.design-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}.design-price-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}.design-price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}.design-flow-hint {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0 0 0.6rem;
    line-height: 1.5;
}.design-flow-hint strong {
    color: var(--primary, #4f46e5);
}.design-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 1rem;
}.design-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    border: none;
    background: none;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1.5px;
    transition: color 0.2s, border-color 0.2s;
}.design-tab svg {
    opacity: 0.7;
}.design-tab:hover {
    color: var(--text-muted);
}.design-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}.design-tab.active svg {
    opacity: 1;
}.design-tab--nudge {
    color: var(--primary);
    border-bottom-color: var(--primary);
    animation: designTabNudge 1.3s ease-in-out 3;
}.design-tab-panel {
    min-height: 220px;
}.design-tab-panel[hidden] {
    display: none !important;
}.design-chat {
    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    scroll-behavior: smooth;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none; 
}.design-chat::-webkit-scrollbar {
    width: 0;
}.design-chat-bubble {
    position: relative;
    padding: 0.85rem 1.05rem;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    line-height: 1.55;
    width: 100%;
    box-sizing: border-box;
}.design-chat-bubble p {
    margin: 0;
}.design-chat-bubble--bot {
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
    border: 1px solid #e0e7ff;
    color: var(--text-dark);
    align-self: stretch;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    margin-left: 2.35rem;
    width: calc(100% - 2.35rem);
}.design-chat-bubble--bot::before {
    content: '🎨';
    position: absolute;
    left: -2.35rem;
    top: 0;
    width: 1.9rem;
    height: 1.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    border-radius: 50%;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}.design-chat-bubble--loading {
    opacity: 0.7;
    font-style: italic;
}.design-chat-bubble--loading::before {
    animation: designAvatarPulse 1.1s ease-in-out infinite;
}.design-chat-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .65rem;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-sm);
    padding: .45rem .8rem;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
}.design-chat-cta-btn:hover { background: var(--bg-soft); }.design-clarify-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.35rem 0 0.35rem 2.35rem;
    width: calc(100% - 2.35rem);
    box-sizing: border-box;
}.design-clarify-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
}.design-clarify-card:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--bg-soft);
}.design-clarify-card:active:not(:disabled) {
    transform: scale(0.99);
}.design-clarify-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}.design-clarify-card-text strong {
    font-size: 0.86rem;
    color: var(--text-dark);
}.design-clarify-card-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}.design-clarify-card-check {
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 0.85rem;
    opacity: 0.35;
    transition: opacity 0.15s;
}.design-clarify-card:hover:not(:disabled) .design-clarify-card-check {
    opacity: 0.7;
}.design-clarify-card.selected .design-clarify-card-check {
    opacity: 1;
}.design-clarify-card:disabled {
    cursor: default;
}.design-clarify-card:disabled:not(.selected) {
    opacity: 0.5;
}.design-clarify-card.selected {
    border-color: #22c55e;
    background: #f0fdf4;
}.design-options-intro {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
    margin: 0;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border);
}.design-options-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}.design-options-chip {
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    white-space: nowrap;
    line-height: 1.5;
}.design-options-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}.design-options-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}.design-options-create-btn {
    width: 100%;
    margin-top: 0.75rem;
    background: var(--gradient-hero);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}.design-options-create-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.5);
}.design-options-create-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
}.design-style-picker {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin: 0.4rem 0;
}.design-style-picker-label {
    display: block;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}.design-style-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}.design-style-chip {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.32rem 0.85rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    white-space: nowrap;
    line-height: 1.4;
}.design-style-chip:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}.design-style-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}.design-style-chip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}.design-chat-bubble--user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    width: auto;
    max-width: 85%;
}.design-chat-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.08);
    font-size: 1rem;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    transition: background 0.15s, color 0.15s;
}.design-chat-close:hover {
    background: rgba(79, 70, 229, 0.16);
    color: var(--primary);
}.design-chat-input-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}.design-chat-input {
    flex: 1;
    padding: 0.85rem 1.15rem;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    font-size: 0.92rem;
    font-family: var(--font);
    background: var(--bg-page);
    resize: none;
    overflow: hidden;
    min-height: 50px;
    max-height: 160px;
    overflow-y: auto;
    line-height: 1.5;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}.design-chat-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}.design-chat-input--shake {
    animation: designChatInputShake 0.4s ease;
    border-color: #ef4444;
}.design-chat-send {
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: none;
    background: var(--gradient-hero);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
    transition: transform 0.15s, box-shadow 0.2s;
}.design-chat-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(79, 70, 229, 0.45);
}.design-chat-send[hidden] {
    display: none;
}.design-send-pulse {
    animation: send-pulse 1.2s ease-in-out infinite;
}.design-upload-zone {
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}.design-upload-zone:hover,
.design-upload-zone.dragover {
    border-color: var(--primary);
    background: var(--bg-soft);
}.design-upload-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 2rem 1.5rem;
    color: var(--text-muted);
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius-md);
}.design-upload-loading p {
    margin: 0;
    font-size: .9rem;
}.design-upload-zone p {
    margin: 0.75rem 0 0.25rem;
    color: var(--text-dark);
}.design-upload-zone span {
    font-size: 0.8rem;
}.design-upload-preview {
    text-align: center;
}.design-upload-preview img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    object-fit: contain;
}.design-upload-remove {
    border: none;
    background: none;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}.design-upload-thumbs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 0.85rem;
}.design-upload-thumb {
    position: relative;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    flex-shrink: 0;
}.design-upload-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}.design-upload-thumb-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    font-size: 0.65rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}.design-upload-thumb-add {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 10px;
    border: 1.5px dashed var(--border);
    background: var(--surface, #f8f8f8);
    color: var(--primary, #4f46e5);
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}.design-collage-options {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem;
    background: #fbfbfd;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}.design-collage-layout-row {
    display: flex;
    gap: 0.5rem;
}.design-collage-layout-chip {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.4rem;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-dark);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
}.design-collage-layout-chip:hover { border-color: var(--primary, #4f46e5); }.design-collage-layout-chip.active {
    border-color: var(--primary, #4f46e5);
    background: #eef2ff;
    color: var(--primary, #4f46e5);
}.design-collage-layout-icon {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    gap: 2px;
    padding: 3px;
    border-radius: 6px;
    background: var(--border);
}.design-collage-layout-icon span {
    background: #fff;
    border-radius: 2px;
}.design-collage-layout-icon--flat span {
    width: 100%;
    height: 100%;
}.design-collage-layout-icon--rows {
    grid-template-rows: 1fr 1fr;
}.design-collage-layout-icon--cols {
    grid-template-columns: 1fr 1fr;
}.design-collage-layout-icon--combo3 {
    grid-template-rows: 1.3fr 1fr;
    grid-template-columns: 1fr 1fr;
}.design-collage-layout-icon--combo3 span:first-child { grid-column: 1 / 3; }.design-collage-color-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}.design-collage-color-chip {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    padding: 0;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.1s;
}.design-collage-color-chip:hover { transform: scale(1.1); }.design-collage-color-chip.active {
    border-color: var(--primary, #4f46e5);
    box-shadow: 0 0 0 1px var(--primary, #4f46e5);
}.design-collage-color-chip--none {
    background: linear-gradient(to top right, transparent calc(50% - 1px), #e11d48 50%, transparent calc(50% + 1px)), #fff;
}.design-edit-tools {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}.design-edit-tools label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}.design-range {
    width: 100%;
    accent-color: var(--primary);
    touch-action: pan-y;
}.design-range-wrap {
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}.design-range--native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}.design-range-track {
    position: relative;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: var(--border, #e5e7eb);
    touch-action: pan-y;
}.design-range-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 999px;
    background: var(--primary);
    pointer-events: none;
}.design-range-thumb {
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    touch-action: none;
    cursor: grab;
}.design-range-thumb:active,
.design-range-thumb--dragging {
    cursor: grabbing;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%) scale(1.08);
}.design-range-thumb:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}.design-editor-canvas-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}.design-editor-canvas {
    display: block;
    width: 200px;
    height: 300px;
    margin: 0 auto 0.25rem;
    border-radius: var(--radius-sm, 8px);
    cursor: grab;
    touch-action: none;
    /* Düz gri yerine klasik "şeffaflık" satranç deseni — kullanıcı "Şeffaf"
       arka planı seçtiğinde canvas'ın gerçekten şeffaf olduğunu (düz beyazla
       karışmadan) görebilsin diye. */
    background-image:
        linear-gradient(45deg, #e2e2e2 25%, transparent 25%),
        linear-gradient(-45deg, #e2e2e2 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e2e2e2 75%),
        linear-gradient(-45deg, transparent 75%, #e2e2e2 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    background-color: #f8f8f8;
}.design-editor-canvas:active {
    cursor: grabbing;
}.design-editor-template {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}.design-editor-hint {
    font-size: 0.72rem;
    color: var(--text-light);
    text-align: center;
    margin: 0 0 0.75rem;
}.design-editor-hint--error {
    color: #B91C1C;
    font-weight: 600;
}.design-editor-hint--success {
    color: #15803D;
    font-weight: 600;
}.design-editor-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}.design-editor-btn-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.1rem;
}.design-editor-btn {
    flex: 1;
    min-height: 44px;
    padding: 0.5rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 8px);
    background: var(--surface, #f8f8f8);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    transition: background 0.15s;
}.design-editor-btn:hover {
    background: var(--border);
}.design-editor-btn--danger {
    color: #B91C1C;
    border-color: #FCA5A5;
}.design-editor-btn--danger:hover {
    background: #FEF2F2;
}.design-reset-undo-toast {
    background: #1f2937;
    color: #fff;
    border: none;
}.design-reset-undo-btn {
    background: none;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    border-radius: 999px;
    padding: .3rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}.design-reset-undo-btn:hover {
    background: rgba(255,255,255,.12);
}.design-edit-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}.design-editor-slider-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}.design-edit-val {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary, #4f46e5);
    min-width: 2.5rem;
    text-align: right;
}.design-editor-bgimg-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.1rem;
    flex-wrap: wrap;
}.design-editor-bgimg-chip {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    transition: border-color 0.15s, transform 0.1s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-light);
    background-color: var(--surface, #f8f8f8);
    border-style: solid;
    border-color: var(--border);
}.design-editor-bgimg-chip:hover {
    transform: scale(1.08);
}.design-editor-bgimg-chip.active {
    border-color: var(--primary, #4f46e5);
    box-shadow: 0 0 0 1px var(--primary, #4f46e5);
}.design-editor-bgimg-upload {
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    color: var(--primary, #4f46e5);
    border: 2px dashed var(--border);
}.design-editor-bgimg-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}.design-editor-bgimg-custom {
    background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red) !important;
    position: relative;
    overflow: hidden;
}.design-editor-bgimg-custom input[type="color"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    padding: 0;
}.design-editor-bgimg-upload--wide {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 0.6rem;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.4rem;
}.design-detail-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}.design-detail-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    background: var(--surface, #f8f8f8);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}.design-detail-btn:hover { border-color: var(--primary, #4f46e5); }.design-detail-btn.active {
    border-color: var(--primary, #4f46e5);
    background: #eef1ff;
}.design-detail-icon {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF2FF;
    color: var(--primary, #4f46e5);
}.design-detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}.design-detail-text strong {
    font-size: 0.85rem;
    color: var(--text-dark);
}.design-detail-text span {
    font-size: 0.74rem;
    color: var(--text-light);
}.design-detail-btn--soon .design-detail-soon-note {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary, #4f46e5);
    margin-top: 0.15rem;
}.design-detail-panel {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem;
    background: #fbfbfd;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}.design-text-input-row {
    display: flex;
    gap: 0.5rem;
}.design-text-input {
    flex: 1;
    min-width: 0;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
    font-family: var(--font);
}.design-text-input:focus {
    outline: none;
    border-color: var(--primary, #4f46e5);
}.design-text-add-btn {
    flex-shrink: 0;
    background: var(--gradient-hero);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}.design-text-subhead { margin-top: 0.1rem; }.design-text-font-row,
.design-text-effect-row {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}.design-text-font-chip,
.design-text-effect-chip {
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}.design-text-font-chip:hover,
.design-text-effect-chip:hover { border-color: var(--primary, #4f46e5); }.design-text-font-chip.active,
.design-text-effect-chip.active {
    background: var(--primary, #4f46e5);
    border-color: var(--primary, #4f46e5);
    color: #fff;
}.design-text-color-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}.design-text-color-chip {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    padding: 0;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.1s;
}.design-text-color-chip:hover { transform: scale(1.1); }.design-text-color-chip.active {
    border-color: var(--primary, #4f46e5);
    box-shadow: 0 0 0 1px var(--primary, #4f46e5);
}.design-text-color-custom {
    position: relative;
    overflow: hidden;
    background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red);
}.design-text-color-custom input[type="color"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    padding: 0;
}.design-text-delete-btn {
    width: 100%;
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}.design-text-delete-btn:hover { background: #fee2e2; }.design-text-hint {
    margin: 0;
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.5;
}.design-occasion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}.design-occasion-chip {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem 0.5rem;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}.design-occasion-chip:hover { border-color: var(--primary, #4f46e5); }.design-occasion-chip.active {
    background: var(--gradient-hero);
    border-color: transparent;
    color: #fff;
}.design-occasion-emoji-row {
    display: flex;
    gap: 0.4rem;
}.design-occasion-emoji-btn {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}.design-occasion-emoji-btn:hover { border-color: var(--primary, #4f46e5); }.design-cart-form {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}.design-cart-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}@media (max-width: 991px) {
    .design-studio-grid {
        grid-template-columns: 1fr;
    }

    .design-studio-panel {
        order: -2;
        position: static;
        padding-bottom: 0.5rem;
    }

    /* Mobilde JS (setupResponsiveCaseTypesPlacement) bu alanı
       .design-studio-grid'in doğrudan çocuğu yapıp buraya taşıyor — tasarım
       oluşturma alanı (panel, order:-2) ile ürün resimleri (preview,
       order varsayılan:0) arasında, gerçekten ayrı bir div olarak duruyor. */
    

    .design-studio-preview {
        min-height: 420px;
    }

    .design-cart-form {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 0.875rem 1.25rem;
        padding-bottom: calc(0.875rem + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(0, 0, 0, 0.07);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.09);
        z-index: 50;
        margin: 0;
        border-radius: 0;
    }

    .design-cart-form .design-cart-btn {
        border-radius: 14px;
        font-size: 1rem;
        letter-spacing: 0.01em;
    }

    .design-studio-page {
        padding-bottom: 80px;
    }
}@media (max-width: 640px) {
    .design-studio-preview {
        min-height: 340px;
        padding: 0.85rem;
        border-radius: 14px;
    }

    .design-panel-head h1 {
        font-size: 1rem;
    }
    .design-panel-lead {
        font-size: 0.8rem;
    }
    .design-panel-head {
        margin-bottom: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .design-chat-input {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    

    .design-gallery-thumb {
        width: 56px;
        height: 72px;
    }

    .design-guide-banner {
        padding: 0.65rem 0.75rem;
        gap: 0.5rem;
    }
    .design-guide-icon { font-size: 1.1rem; }
    .design-guide-text strong { font-size: 0.8rem; }
    .design-guide-text span { font-size: 0.73rem; }

    .design-chat-bubble--user {
        max-width: 92%;
    }

    .design-case-types {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .design-case-type-btn {
        font-size: 0.78rem;
        padding: 0.35rem 0.65rem;
    }

    .design-add-to-cart-btn {
        width: 100%;
        justify-content: center;
    }
}.design-image-gallery {
    width: 100%;
    max-width: 480px;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}.design-image-gallery-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    text-align: center;
}.design-image-gallery-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}.design-gallery-thumb {
    position: relative;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: white;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}.design-see-in-case-btn {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 999px;
    background: var(--primary, #4f46e5);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    z-index: 3;
}.design-see-in-case-btn--loading {
    opacity: 0.75;
    pointer-events: none;
}.design-see-in-case-btn--loading svg {
    animation: design-gallery-preview-spin 0.8s linear infinite;
}.design-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}.design-gallery-thumb:hover,
.design-gallery-thumb.active {
    border-color: var(--primary);
    transform: scale(1.04);
}.design-gallery-thumb--artwork {
    position: relative;
}.design-gallery-artwork-label {
    display: none;
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(22,163,74,.92);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
    padding: 3px 0;
    letter-spacing: .02em;
    line-height: 1.2;
}@media (max-width: 576px) {
    .design-gallery-thumb--artwork {
        height: 90px;
        min-width: 68px;
    }
}.design-cart-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}.design-cart-row .design-cart-form {
    flex: 1;
    min-width: 0;
}.design-wa-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}.design-wa-action:hover {
    background: #1e293b;
    color: #fff;
    text-decoration: none;
}.design-editor-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    background: var(--bg-soft);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}.design-editor-empty svg {
    opacity: 0.4;
}.design-editor-empty p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}.design-editor-empty strong {
    color: var(--primary);
}.design-case-type-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}.design-case-type-badge {
    position: absolute;
    top: -0.6rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}.design-case-type-thumb {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: #fff;
    cursor: zoom-in;
    transition: transform 0.15s, border-color 0.15s;
}.design-case-type-thumb:hover {
    transform: scale(1.08);
    border-color: #a5b4fc;
}.design-img-lightbox {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.88); cursor: zoom-out;
    align-items: center; justify-content: center;
}.design-img-lightbox.open { display: flex; }.design-img-lightbox img {
    max-width: 92vw; max-height: 92vh;
    object-fit: contain; border-radius: 8px;
    box-shadow: 0 8px 48px rgba(0,0,0,.5);
}.design-img-lightbox-close {
    position: absolute; top: 1.25rem; right: 1.5rem;
    background: rgba(255,255,255,.15); border: none; color: #fff;
    width: 38px; height: 38px; border-radius: 50%; font-size: 1.2rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}.design-img-lightbox-close:hover { background: rgba(255,255,255,.3); }.design-case-info-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    background: none;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}.design-case-info-btn:hover {
    background: var(--primary);
    color: #fff;
}