/* استایل‌های بخش آپشن‌ها */
.options-section {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  background: #f9f9f9;
}

.option-type-card {
  padding: 12px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.option-items {
  border-left: 2px solid #f0f0f0;
  padding-left: 10px;
}

.option-card {
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.option-card:hover {
  border-color: var(--bs-primary);
  background-color: rgba(13, 110, 253, 0.05);
}

.option-item .form-check-input:checked ~ .option-card {
  border-color: var(--bs-primary);
  background-color: rgba(13, 110, 253, 0.1);
}

.disabled-option {
  opacity: 0.6;
  background-color: #f8f9fa;
}

.option-item .form-check-input {
  margin-top: 0.8em;
}

/* استایل کنترلرهای تعداد */
.quantity-control {
    gap: 5px;
}

.btn-quantity {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-quantity:hover {
    background: #e9ecef;
}

.btn-quantity:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: 'Dana', sans-serif;
    font-weight: 500;
}


/* استایل‌های اصلی */
.product-details-container {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.product-details-container:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* استایل تب‌ها */
.nav-pills .nav-link {
    color: #495057;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-pills .nav-link:hover {
    color: #0d6efd;
    background-color: #f8f9fa;
}

.nav-pills .nav-link.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

/* استایل بخش مشخصات فنی */
.specs-card {
    background: white;
}

.specs-row {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.specs-row:last-child {
    border-bottom: none;
}

.specs-row.odd {
    background-color: #f9f9f9;
}

.specs-row:hover {
    background-color: #f5f7ff !important;
}

.specs-key i {
    transition: transform 0.3s ease;
}

.specs-row:hover .specs-key i {
    transform: scale(1.3);
    color: #6a11cb !important;
}

/* استایل بخش توضیحات */
.product-description {
    line-height: 2;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* استایل‌های مخصوص موبایل */
@media (max-width: 991px) {
    .fixed-section {
        padding: 10px 15px !important;
        border-top: 1px solid #e0e0e0;
        background: #fff !important;
    }
    
    .fixed-section .quantity-control {
        gap: 8px;
        margin: 0;
        justify-content: center;
    }
    
    .fixed-section .btn-quantity {
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .fixed-section .btn-quantity:hover {
        background: #e9ecef;
        border-color: #0d6efd;
        transform: scale(1.05);
    }
    
    .fixed-section .btn-quantity:active {
        transform: scale(0.95);
    }
    
    .fixed-section .quantity-input {
        width: 70px;
        height: 45px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        background: #fff;
    }
    
    .fixed-section .butn {
        height: 45px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .fixed-section .butn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .fixed-section h4 {
        font-size: 18px !important;
        margin-bottom: 5px !important;
        color: #0d6efd !important;
    }
    
    .fixed-section small {
        font-size: 11px !important;
        color: #666 !important;
    }
    
    .fixed-section p {
        font-size: 11px !important;
        margin: 5px 0 !important;
    }
    
    /* بهبود نمایش در موبایل */
    .fixed-section #product-list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .fixed-section .price-section {
        flex: 1;
        text-align: right;
        min-width: 120px;
    }
    
    .fixed-section .action-section {
        flex: 1;
        text-align: left;
        min-width: 200px;
    }
    
    /* بهبود نمایش متن‌ها */
    .fixed-section .fsz-12 {
        font-size: 11px !important;
    }
    
    .fixed-section .color-green2 {
        color: #28a745 !important;
    }
    
    .fixed-section .text-danger {
        color: #dc3545 !important;
    }
}

/* واکنشگرایی */
@media (max-width: 768px) {
    .specs-row {
        flex-direction: column;
    }
    
    .specs-key, .specs-value {
        width: 100%;
        padding: 0.25rem 0;
    }
    
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* بهبود بیشتر برای موبایل‌های کوچک */
    .fixed-section {
        padding: 8px 10px !important;
    }
    
    .fixed-section .btn-quantity {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .fixed-section .quantity-input {
        width: 60px;
        height: 40px;
        font-size: 14px;
    }
    
    .fixed-section .butn {
        height: 40px;
        font-size: 13px;
    }
    
    .fixed-section h4 {
        font-size: 16px !important;
    }
}



