/**
 * Nexvia Digital Studio — Sanal Çiçek Buketi Tasarımcısı Stilleri
 * Floral Composition Engine & Luxury Wrap Styling
 */

.blk-flower-wrap {
    position: relative;
    width: 100%;
    margin: 40px 0;
    padding: 30px 20px;
    background: radial-gradient(circle at top center, #181d2a 0%, #0d0f17 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    color: #f1f5f9;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    overflow: hidden;
}

/* Başlık */
.bouquet-header-box {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.bouquet-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bouquet-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.bouquet-sub {
    font-size: 0.98rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* 2 Kolonlu Stüdyo */
.bouquet-studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 900px) {
    .bouquet-studio-grid {
        grid-template-columns: 1fr;
    }
}

/* Sol Panel: Seçim Kontrolleri */
.bouquet-controls-panel {
    background: rgba(18, 21, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.controls-section {
    margin-bottom: 24px;
}

.controls-section:last-child {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 6px;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d4af37;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stem-counter {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.section-hint {
    font-size: 0.84rem;
    color: #94a3b8;
    margin-bottom: 14px;
}

/* Çiçek Seçici Izgarası */
.flower-picker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 480px) {
    .flower-picker-grid {
        grid-template-columns: 1fr;
    }
}

.flower-choice-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    outline: none;
    color: #f1f5f9;
}

.flower-choice-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.flower-choice-btn.selected {
    background: rgba(225, 29, 72, 0.12);
    border-color: rgba(225, 29, 72, 0.5);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
}

.choice-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.choice-info {
    flex: 1;
    min-width: 0;
}

.choice-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.choice-meaning {
    font-size: 0.74rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.choice-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    color: transparent;
    transition: all 0.2s ease;
}

.flower-choice-btn.selected .choice-check {
    background: #e11d48;
    border-color: #e11d48;
    color: #fff;
}

/* Ambalaj Kağıdı Butonları */
.wrap-color-options {
    display: flex;
    gap: 12px;
}

.wrap-color-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 0.84rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.wrap-color-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.wrap-color-btn.active {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    color: #fff;
}

.wrap-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wrap-swatch.blush { background: #f472b6; }
.wrap-swatch.cream { background: #fef08a; }
.wrap-swatch.burgundy { background: #881337; }

/* Sağ Panel: Canlı Buket Görselleştirici */
.bouquet-canvas-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bouquet-visualizer-card {
    position: relative;
    width: 100%;
    min-height: 480px;
    background: radial-gradient(circle at 50% 30%, #202636 0%, #12151e 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Buket Sahnesi */
.bouquet-stems-stage {
    position: relative;
    width: 320px;
    height: 380px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Arka ve Ön Yeşillik Katmanları (SVG / CSS) */
.foliage-layer {
    position: absolute;
    width: 260px;
    height: 280px;
    bottom: 80px;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.back-foliage {
    background-image: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.25) 0%, transparent 70%);
    z-index: 1;
}

.front-foliage {
    z-index: 3;
}

/* Çiçeklerin Yerleştiği Küme */
.stems-cluster {
    position: absolute;
    bottom: 120px;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.bouquet-stem-item {
    position: absolute;
    transform-origin: bottom center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: popInStem 0.4s ease forwards;
}

@keyframes popInStem {
    from { transform: scale(0) translateY(40px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.stem-flower-head {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

/* Buket Sarma Konisi (Wrap Cone) */
.bouquet-wrap-cone {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 160px;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.wrap-cone-left,
.wrap-cone-right {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    transition: border-color 0.4s ease;
}

/* Blush Wrap */
.wrap-blush .wrap-cone-left {
    border-width: 0 0 150px 100px;
    border-color: transparent transparent #db2777 transparent;
}
.wrap-blush .wrap-cone-right {
    border-width: 0 100px 150px 0;
    border-color: transparent transparent #be185d transparent;
}

/* Cream Wrap */
.wrap-cream .wrap-cone-left {
    border-width: 0 0 150px 100px;
    border-color: transparent transparent #fef08a transparent;
}
.wrap-cream .wrap-cone-right {
    border-width: 0 100px 150px 0;
    border-color: transparent transparent #fde047 transparent;
}

/* Burgundy Wrap */
.wrap-burgundy .wrap-cone-left {
    border-width: 0 0 150px 100px;
    border-color: transparent transparent #881337 transparent;
}
.wrap-burgundy .wrap-cone-right {
    border-width: 0 100px 150px 0;
    border-color: transparent transparent #4c0519 transparent;
}

.wrap-ribbon {
    position: absolute;
    bottom: 30px;
    width: 70px;
    height: 18px;
    background: #d4af37;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.ribbon-knot {
    color: #881337;
    font-size: 0.85rem;
}

/* Bukete Sıkıştırılan Kart */
.tucked-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    background: #fdfbf7;
    border-radius: 14px;
    padding: 16px 18px;
    color: #1e293b;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    margin-top: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 5;
    transform: rotate(-1deg);
}

.tucked-card-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #881337;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-salutation {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.card-body-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 10px;
}

.card-signature {
    font-size: 0.95rem;
    font-weight: 700;
    color: #9f1239;
    text-align: right;
}
