/**
 * Single Product & Floral Form CSS
 * Derin Flowers tarzı çiçek sipariş formu stilleri
 *
 * @package ViralFlowers
 */

.vf-single-product-wrap {
    padding: 40px 0 80px;
}

.vf-product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

/* 1. ÜRÜN GALERİSİ */
.vf-product-gallery-col {
    position: sticky;
    top: 90px;
}

.woocommerce-product-gallery {
    border-radius: var(--vf-radius-lg);
    overflow: hidden;
    background-color: var(--vf-gray-50);
    box-shadow: var(--vf-shadow-sm);
}

.woocommerce-product-gallery__image {
    border-radius: var(--vf-radius-lg);
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--vf-radius-lg);
}

.flex-control-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding: 0;
}

.flex-control-thumbs li {
    width: 80px;
    height: 95px;
    border-radius: var(--vf-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.flex-control-thumbs li img.flex-active,
.flex-control-thumbs li:hover {
    border-color: var(--vf-primary);
}

/* 2. ÜRÜN BİLGİLERİ */
.vf-product-summary-col {
    padding-left: 10px;
}

.vf-product-meta-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.vf-sku-badge {
    background-color: var(--vf-gray-100);
    color: var(--vf-gray-700);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--vf-radius-sm);
}

.vf-stock-badge {
    background-color: #ecfdf5;
    color: #059669;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--vf-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vf-stock-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #059669;
    border-radius: 50%;
}

.vf-single-product-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--vf-dark);
    margin-bottom: 12px;
}

.vf-product-price-box {
    margin-bottom: 20px;
}

.vf-product-price-box .price {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--vf-primary);
}

.vf-product-price-box del {
    font-size: 1.3rem;
    color: var(--vf-gray-400);
    font-weight: 500;
    margin-right: 10px;
}

.vf-product-price-box ins {
    text-decoration: none;
}

.vf-product-short-desc {
    font-size: 0.96rem;
    color: var(--vf-gray-700);
    line-height: 1.6;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--vf-border);
}

/* ====================================================
   3. ÇİÇEKÇİLİK SİPARİŞ FORMU (FLORAL FORM)
==================================================== */
.vf-floral-form-container {
    background-color: #fafbf9;
    border: 1.5px solid #e2ede6;
    border-radius: var(--vf-radius-lg);
    padding: 24px;
    margin-bottom: 30px;
}

.vf-form-step {
    border: none;
    margin-bottom: 24px;
    padding: 0;
}

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

.vf-step-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vf-dark);
    margin-bottom: 14px;
    width: 100%;
}

.vf-step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--vf-primary);
    color: var(--vf-white);
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Adım 1: Teslimat Türü Kartları */
.vf-delivery-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.vf-delivery-type-label {
    cursor: pointer;
}

.vf-delivery-type-label input {
    display: none;
}

.vf-delivery-type-card {
    border: 2px solid var(--vf-gray-200);
    border-radius: var(--vf-radius);
    padding: 14px;
    background-color: var(--vf-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.2s ease;
}

.vf-delivery-type-card i {
    font-size: 1.6rem;
    color: var(--vf-gray-500);
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.vf-delivery-type-card strong {
    font-size: 0.95rem;
    color: var(--vf-dark);
    margin-bottom: 2px;
}

.vf-delivery-type-card small {
    font-size: 0.75rem;
    color: var(--vf-gray-500);
}

.vf-delivery-type-label.active .vf-delivery-type-card {
    border-color: var(--vf-primary);
    background-color: var(--vf-primary-light);
}

.vf-delivery-type-label.active .vf-delivery-type-card i {
    color: var(--vf-primary);
}

/* Adım 2: Gün ve Saat Seçimi */
.vf-day-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.vf-day-pill {
    background-color: var(--vf-white);
    border: 2px solid var(--vf-gray-200);
    border-radius: var(--vf-radius);
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vf-day-date {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--vf-dark);
}

.vf-day-title {
    font-size: 0.76rem;
    color: var(--vf-gray-500);
    margin-top: 2px;
}

.vf-cal-icon {
    font-size: 1.25rem;
    color: var(--vf-accent);
    margin-bottom: 2px;
}

.vf-day-pill:hover {
    border-color: var(--vf-primary);
}

.vf-day-pill.active {
    border-color: var(--vf-primary);
    background-color: var(--vf-primary);
}

.vf-day-pill.active .vf-day-date,
.vf-day-pill.active .vf-day-title,
.vf-day-pill.active .vf-cal-icon {
    color: var(--vf-white);
}

.vf-custom-date-wrap {
    margin-bottom: 18px;
    background: var(--vf-white);
    padding: 12px;
    border-radius: var(--vf-radius-sm);
    border: 1px dashed var(--vf-border);
}

.vf-custom-date-wrap label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Saat Dilimleri */
.vf-sublabel {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vf-gray-700);
    margin-bottom: 8px;
}

.vf-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vf-time-slot-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: var(--vf-white);
    border: 1.5px solid var(--vf-gray-200);
    border-radius: var(--vf-radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--vf-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.vf-time-slot-btn i {
    font-size: 0.8rem;
    color: var(--vf-gray-500);
}

.vf-time-slot-btn:hover {
    border-color: var(--vf-primary);
}

.vf-time-slot-btn.active {
    background-color: var(--vf-primary);
    border-color: var(--vf-primary);
    color: var(--vf-white);
}

.vf-time-slot-btn.active i {
    color: var(--vf-white);
}

/* Adım 3 & 4: Form Inputları */
.vf-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.vf-field-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--vf-gray-700);
    margin-bottom: 6px;
}

/* Adım 5: Kart Notu */
.vf-card-note-box {
    background-color: var(--vf-white);
    border: 1.5px dashed #f4b8b8;
    border-radius: var(--vf-radius);
    padding: 16px;
}

.vf-card-envelope-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--vf-secondary);
    margin-bottom: 10px;
}

.vf-card-textarea {
    width: 100%;
    border: 1px solid var(--vf-gray-200);
    border-radius: var(--vf-radius-sm);
    padding: 12px;
    font-size: 0.9rem;
    resize: vertical;
    outline: none;
    font-family: inherit;
    line-height: 1.5;
}

.vf-card-textarea:focus {
    border-color: var(--vf-secondary);
    box-shadow: 0 0 0 3px rgba(244, 132, 132, 0.15);
}

.vf-note-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.82rem;
}

.vf-anon-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--vf-gray-700);
}

.vf-char-counter {
    color: var(--vf-gray-500);
    font-weight: 600;
}

/* 4. SEPETE EKLEME ALANI */
.single_variation_wrap {
    margin-top: 20px;
}

.woocommerce-variation-add-to-cart,
form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.quantity {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--vf-gray-200);
    border-radius: var(--vf-radius);
    overflow: hidden;
    height: 52px;
}

.quantity input.qty {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    background: transparent;
    outline: none;
}

.single_add_to_cart_button {
    flex: 1;
    height: 52px;
    background-color: var(--vf-primary) !important;
    color: var(--vf-white) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: var(--vf-radius) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.single_add_to_cart_button:hover {
    background-color: var(--vf-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 41, 0.3) !important;
}

/* Güven Rozetleri (Sepet altı) */
.vf-product-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--vf-border);
}

.vf-perk-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vf-dark);
}

.vf-perk-item i {
    color: var(--vf-primary);
    font-size: 1.1rem;
}

/* 5. ÜRÜN SEKMELERİ (TABS) */
.vf-product-tabs-section {
    margin-top: 50px;
    border-top: 1px solid var(--vf-border);
    padding-top: 40px;
}

.vf-tab-nav {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--vf-gray-100);
    margin-bottom: 30px;
}

.vf-tab-nav-btn {
    background: none;
    border: none;
    padding: 12px 18px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vf-gray-500);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.vf-tab-nav-btn.active {
    color: var(--vf-primary);
}

.vf-tab-nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--vf-primary);
}

.vf-tab-panel {
    display: none;
    line-height: 1.7;
    color: var(--vf-gray-700);
}

.vf-tab-panel.active {
    display: block;
}
